]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Only support ifunc in nptl/pt-vfork.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8820e3ac
RH
12014-05-23 Richard Henderson <rth@twiddle.net>
2
3 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4 [!HAVE_IFUNC] (vfork_compat): Remove.
5 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6
e59252a5
JM
72014-05-23 Joseph Myers <joseph@codesourcery.com>
8
9 [BZ #16978]
10 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12 variable.
13
132c7f5f
RH
142014-05-23 Richard Henderson <rth@twiddle.net>
15
bc89e962
RH
16 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20
21 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
22 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
23 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
24 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
29 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
37 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
39 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
42 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
46 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
47 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
49 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
50 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
52 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
53 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
54 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
55 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
56 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
57 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
58 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
59 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
60 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
61 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
62 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
63 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
64 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
65 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
66 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
67 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
68 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
69 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
70 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
71 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
72 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
73 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
74 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
75 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
76 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
77
e2fa4bc2
RH
78 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
79 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
80 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
81 before exiting on error.
82 (__libc_vfork): New strong alias.
83 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
84 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
85
279b24e2
RH
86 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
87 that was previously under [RESET_PID].
88 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
89
132c7f5f
RH
90 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
91
b72592e7
JM
922014-05-23 Joseph Myers <joseph@codesourcery.com>
93
94 [BZ #16977]
95 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
96 value when x - 1 is zero.
97 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
98 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
99 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
100 0.0L for an argument of 1.0L.
101 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
102 Likewise.
103 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
104 value when x - 1 is zero.
105 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
106 * sysdeps/i386/fpu/libm-test-ulps: Update.
107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
108
2302d679
RV
1092014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
110
111 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
112 alphasort and versionsort.
113
32999d63
AZ
1142014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
115
116 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
117 macro.
118 [copysignf]: Likewise.
119
019324d0
SP
1202014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
121
122 * crypt/md5-crypt.c: Fix formatting.
123
34fff5c2
KS
1242014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
125
126 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
127 (b64_from_24bit): New function.
128
3d2badac
AZ
1292014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
130
131 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
132 libc_hidden_builtin_def to ifunc.
133 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
134 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
135
f7bb179f 1362014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
137
138 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
139 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
140
4134b50d
JM
1412014-05-21 Joseph Myers <joseph@codesourcery.com>
142
bb7d0337
JM
143 * nscd/Depend (linuxthreads): Remove.
144 (nptl): Add.
145 * resolv/Depend (linuxthreads): Remove.
146 * rt/Depend (linuxthreads): Remove.
147
4134b50d
JM
148 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
149 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
150 $(common-objpfx)elf/.
151 (link-libc-before-gnulib): Likewise.
152 (elfobjdir): Remove variable.
153 * Makefile (install): Use $(elf-objpfx) instead of
154 $(common-objpfx)elf/.
155 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
156 $(elfobjdir)/.
157 (link-libc-deps): Likewise.
158 ($(common-objpfx)libc.so): Likewise.
159 ($(common-objpfx)linkobj/libc.so): Likewise.
160 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
161 instead of $(common-objpfx)elf/.
162 (symbolic-link-list): Likewise.
163 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
164 [$(cross-compiling) = no]: Likewise.
165 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
166 $(elfobjdir)/.
167 (static-gnulib-arch): Likewise.
168 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
169 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
170 $(common-objpfx)elf/.
171
3612eb8f
RH
1722014-05-21 Richard Henderson <rth@redhat.com>
173
a6b3657b
RH
174 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
175 (SINGLE_THREAD_P): Use the correct width load. Fold
176 into the ldr offset.
177
3612eb8f
RH
178 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
179 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
180
175cef41
JM
1812014-05-20 Joseph Myers <joseph@codesourcery.com>
182
183 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
184 (libgcc_s_resume): Use __attribute_used__.
185 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
186 Likewise.
187
e13bccd3
AZ
1882014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189
190 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
191 optimization when used with float constants.
192
7c112a38
AZ
193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
194
ae75a883
AJ
1952014-05-20 Aurelien Jarno <aurelien@aurel32.net>
196
197 [BZ #16915]
198 * locale/nl_langinfo_l.c: Make direct reference to every
199 _nl_current_CATEGORY symbol.
200 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
201 (tests-static): Add tst-langinfo-static.
202 (tests-special): Add tst-langinfo-static.out.
203 ($(objpfx)tst-langinfo.out): Redirect output.
204 ($(objpfx)tst-langinfo-static.out): New.
205 * localedata/tst-langinfo.sh: Send output to stdout.
206 * localedata/tst-langinfo-static.c: New file.
207
4406c41c
AJ
208 [BZ #16965]
209 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
210 when the shift amount is modulo the limb size.
211
4c0a1e63
RH
2122014-05-20 Richard Henderson <rth@redhat.com>
213
de9d8f20
RH
214 [BZ #16967]
215 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
216 Change type of sa_flags from unsigned int to int.
217
4c0a1e63
RH
218 [BZ #16966]
219 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
220
221 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
222
a60339aa
WN
2232014-05-20 Will Newton <will.newton@linaro.org>
224
225 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
226 Test the return value of the system call in the nocancel case.
227
7d05a816
YR
2282014-05-20 Will Newton <will.newton@linaro.org>
229 Yvan Roux <yvan.roux@linaro.org>
230
231 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
232 #include of asm/ptrace.h.
233 (PTRACE_GET_THREAD_AREA): Remove #undef.
234 (PTRACE_GETHBPREGS): Likewise.
235 (PTRACE_SETHBPREGS): Likewise.
236 (struct user_regs_struct): New structure.
237 (struct user_fpsimd_struct): New structure.
238 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
239 #include of asm/ptrace.h and second #include of sys/user.h.
240 (PTRACE_GET_THREAD_AREA): Remove #undef.
241 (PTRACE_GETHBPREGS): Likewise.
242 (PTRACE_SETHBPREGS): Likewise.
243 (ELF_NGREG): Use new struct user_regs_struct.
244 (elf_fpregset_t): Use new struct user_fpsimd_struct.
245
af121e37
AZ
2462014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
247
248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
250
834caf06
JM
2512014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
252
253 [BZ #16958]
254 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
255 membar to avoid block loads/stores to overlap previous stores.
256
e184a918
RH
2572014-05-17 Richard Henderson <rth@redhat.com>
258
259 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
260 Create the __##syscall_name##_nocancel entry point.
261 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
262 Remove; let the sysdep-cancel.h code create it.
263
f56c7a6a
DM
2642014-05-17 David S. Miller <davem@davemloft.net>
265
266 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
267 Protect with __USE_GNU.
268 (TIOCSET_TEMPT): Likewise.
269 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
270 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
271 these are already provided in bits/ioctl-types.h
272
f75616b2
RM
2732014-05-16 Roland McGrath <roland@hack.frob.com>
274
3edeca86
RM
275 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
276 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
277
f75616b2
RM
278 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
279 Use wait4 regardless of [__NR_waitpid].
280
deb0f7f6
MR
2812014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
282
283 PR libgcc/60166
284 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
285 (_FP_NANSIGN_Q): Set the quiet bit.
286
79520f4b
JM
2872014-05-16 Joseph Myers <joseph@codesourcery.com>
288
289 * benchtests/Makefile
290 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
291 not $(common-objpfx)math/libm.so.
292 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
293 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
294 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
295 $(common-objpfx)dlfcn/libdl.so.
296 ($(objpfx)tst-audit8): Depend on $(libm), not
297 $(common-objpfx)math/libm.so.
298 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
299 not $(common-objpfx)dlfcn/libdl.so.
300 * math/Makefile
301 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
302 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
303 [$(build-shared) = yes].
304 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
305 $(common-objpfx)nptl/libpthread.so.
306 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
307 $(common-objpfx)math/libm.so$(libm.so-version) or
308 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
309 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
310 $(common-objpfx)dlfcn/libdl.so.
311 * setjmp/Makefile (link-libm): Remove variable.
312 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
313 * stdio-common/Makefile (link-libm): Remove variable.
314 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
315 * stdlib/Makefile (link-libm): Remove variable.
316 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
317 ($(objpfx)tst-strtod-round): Likewise.
318 ($(objpfx)tst-tininess): Likewise.
319 ($(objpfx)tst-strtod-underflow): Likewise.
320 ($(objpfx)tst-strtod6): Likewise.
321 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
322 $(libdl), not $(common-objpfx)nptl/libpthread.so and
323 $(common-objpfx)dlfcn/libdl.so.
324
026b0fe4
AZ
3252014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
326
327 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
328 BSD terminal modes definitions.
329
def4bcb2
RM
3302014-05-16 Roland McGrath <roland@hack.frob.com>
331
fe39b021
RM
332 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
333 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
334
1d1fc46e 335 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
336 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
337 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
338 Don't do #include_next.
339 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
340 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
341 Don't do #include_next.
342 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
343 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
344 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
345 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
346
c72399fb
AM
3472014-05-16 Allan McRae <allan@archlinux.org>
348
d51d659d
AM
349 * po/sv.po: Update Swedish translation from translation project.
350
c72399fb
AM
351 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
352 in sed expression.
353
d0583c40
AJ
3542014-05-16 Aurelien Jarno <aurelien@aurel32.net>
355
356 [BZ #16917]
357 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
358 errno if the TIOCGPTN ioctl fails with an error different than
359 EINVAL.
360 * login/tst-ptsname.c: New file.
361 * login/Makefile (tests): Add tst-ptsname.
362
d16e6ec7
AJ
363 [BZ #16943]
364 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
365 and prlimit64.
366
cf26a0cb
SP
3672014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
368
369 [BZ #16849]
370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
371 herrno to return EAI_AGAIN.
372
5675da1e
RM
3732014-05-14 Roland McGrath <roland@hack.frob.com>
374
a5d87b3d
RM
375 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
376 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
377 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
378 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
379 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
380 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
381 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
382 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
384 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
385 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
386 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
387 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
388 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
389 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
390 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
391 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
392 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
393 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
394 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
395 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
396 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
397 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
398 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
399 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
400 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
401 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
402 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
403 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
404 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
406 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
408 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
410 Moved ...
411 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
413 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
415 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
417 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
419 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
423 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
427 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
429 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
433 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
435 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
437 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
439 Moved ...
440 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
442 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
444 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
446 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
448 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
450 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
452 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
456 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
458 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
460 Moved ...
461 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
463 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
464
039890a6
RM
465 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
466 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
467 (libpthread-sysdep_routines): Add elision-related stuff here instead.
468 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
469 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
470 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
471 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
472 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
473 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
474 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
475 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
476 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
477 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
478 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
479 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
480 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
481 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
482 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
483 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
484 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
485 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
486 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
487 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
488 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
489 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
490 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
491 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
492 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
493 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
494 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
495 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
496
65c89320
RM
497 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
498 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
499
348f8e8c
RM
500 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
501 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
502 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
503 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
504 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
505 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
506 Moved ...
507 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
508 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
509 Moved ...
510 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
511 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
512 Moved ...
513 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
514 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
515 Moved ...
516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
517 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
518 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
519 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
520 Moved ...
521 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
522 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
523 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
524 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
525 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
526 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
527 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
528 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
529 Moved ...
530 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
531 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
532 Moved ...
533 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
534 ... here.
535 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
536 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
537 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
538 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
539 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
540 Moved ...
541 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
542 ... here.
543 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
544 Moved ...
545 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
546 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
547 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
548 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
549 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
550 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
551 Moved ...
552 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
553 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
554 Moved ...
555 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
556 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
557 Moved ...
558 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
559 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
560 Moved ...
561 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
562 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
563 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
564 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
565 Moved ...
566 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
567 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
568 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
569 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
570 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
571 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
572 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
573 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
574 Moved ...
575 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
576 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
577 Moved ...
578 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
579 ... here.
580 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
581 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
582 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
583 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
584 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
585 Moved ...
586 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
587 ... here.
588 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
589 Moved ...
590 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
591 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
592 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
593 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
594 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
595 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
596 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
597 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
598 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
599 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
600 Moved ...
601 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
602 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
603 Moved ...
604 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
605 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
606 Moved ...
607 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
608 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
609 Moved ...
610 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
611 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
612 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
613 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
614 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
615 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
616 Moved ...
617 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
618 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
619 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
620 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
621 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
622 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
623 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
624 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
625 Moved ...
626 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
627 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
628 Moved ...
629 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
630 ... here.
631 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
632 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
633 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
634 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
635 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
636 Moved ...
637 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
638 ... here.
639 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
640 Moved ...
641 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
642 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
643 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
644 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
645 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
646 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
647 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
648 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
649 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
650 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
651 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
652
5085af05
RM
653 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
654 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
655
708f0813
RM
656 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
657 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
658
c96067bc
RM
659 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
660 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
661 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
662 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
663 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
664 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
665 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
666 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
667 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
668 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
669 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
670 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
671 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
672 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
673 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
674 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
675 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
676 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
677 Moved ...
678 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
679 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
680 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
681 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
682 Moved ...
683 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
684 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
685 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
686 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
687 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
688 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
689 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
690 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
691 Moved ...
692 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
693 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
694 Moved ...
695 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
696 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
697 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
698 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
699 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
700 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
701 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
702 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
703 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
704 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
705 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
706 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
707 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
708 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
709 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
710 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
711 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
712
ec136444
RM
713 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
714 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
715 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
716 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
717 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
718
2fbdf533
RM
719 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
720 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
721 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
722 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
723 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
724 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
725 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
726 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
727 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
728 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
729
4c68138b
RM
730 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
731 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
732
4eaae765
RM
733 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
734 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
735 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
736 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
737 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
738 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
739 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
740 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
741 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
742 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
743 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
744 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
745 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
746 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
748 Update #include.
749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
750 Likewise.
751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
752 Likewise.
753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
754 Likewise.
755 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
756 Likewise.
757 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
758 Likewise.
759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
760 Likewise.
761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
762 Likewise.
763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
764 Likewise.
765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
766 Likewise.
4ef6befa
RM
767 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
768 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
769 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
770 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
771 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
772 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
773 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
774 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
775 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
776 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
777 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
778 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
779 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
780 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
781 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 782
941d7dfd
RM
783 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
784 that was previously under [RESET_PID].
785 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
786 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
787 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
788
1b731c35
RM
789 * sysdeps/i386/nptl/Implies: New file.
790 * sysdeps/x86_64/nptl/Implies: New file.
791 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
792 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
793 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
794 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
795
e2787137
RM
796 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
797 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
798 (__libc_vfork): New strong alias.
799 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
800 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
801
802 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
803 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
804 (__libc_vfork): New strong alias.
805 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
806 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
807
5675da1e
RM
808 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
809 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
810 (__libc_vfork): New strong alias.
811 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
812 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
813 * nptl/pt-vfork.c: New file.
814 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
815 (libpthread: GLIBC_2.20): New version set (empty).
816
4f02e2b8
WN
8172014-05-14 Will Newton <will.newton@linaro.org>
818
819 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
820 rather than #if.
821
0bf061d3
JM
8222014-05-14 Joseph Myers <joseph@codesourcery.com>
823
1a84c3d6
JM
824 [BZ #16564]
825 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
826 arguments with exponent 65 or above.
827 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
828 arguments 0x1p113L or above.
829 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
830 to arguments 0x1p107L or above.
831 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
832 positive arguments with exponent 65 or above.
833 * math/auto-libm-test-in: Add more tests of log1p.
834 * math/auto-libm-test-out: Regenerated.
835
01dbacd2
JM
836 [BZ #16928]
837 * math/s_cacos.c (__cacos): Ensure zero real part of result from
838 non-finite arguments is +0.
839 * math/s_cacosf.c (__cacosf): Likewise.
840 * math/s_cacosl.c (__cacosl): Likewise.
841 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
842 * sysdeps/i386/fpu/libm-test-ulps: Update.
843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
844
913d03c8
JM
845 [BZ #16927]
846 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
847 value.
848 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
849 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
850 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
851 for explicit high bit of mantissa when testing for argument equal
852 to 1.
853 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
854 * sysdeps/i386/fpu/libm-test-ulps: Update.
855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
856
0bf061d3
JM
857 [BZ #16516]
858 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
859 (__erf): Scale by 16 instead of 8 in potentially underflowing
860 case. Ensure exception if result actually underflows.
861 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
862 (__erff): Scale by 16 instead of 8 in potentially underflowing
863 case. Ensure exception if result actually underflows.
864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
865 (efx8): Remove variable.
866 (__erfl): Scale by 16 instead of 8 in potentially underflowing
867 case. Ensure exception if result actually underflows.
868 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
869 (efx8): Remove variable.
870 (__erfl): Scale by 16 instead of 8 in potentially underflowing
871 case. Ensure exception if result actually underflows.
872 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
873 (efx8): Remove variable.
874 (__erfl): Scale by 16 instead of 8 in potentially underflowing
875 case. Ensure exception if result actually underflows.
876 * math/auto-libm-test-in: Add more tests of erf.
877 * math/auto-libm-test-out: Regenerated.
878
73ba67cb
AS
8792014-05-14 Andreas Schwab <schwab@suse.de>
880
3d8c8bff
AS
881 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
882 Remove code conditionalized on USE___THREAD.
883
73ba67cb
AS
884 * config.h.in (HAVE_PT_CHOWN): Define as 0.
885 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
886 not definedness.
887
5c521ecd
JM
8882014-05-14 Joseph Myers <joseph@codesourcery.com>
889
5e7698c6
JM
890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
891 Define unconditionally.
892 (__ASSUME_O_CLOEXEC): Likewise.
893 (__ASSUME_SOCK_CLOEXEC): Likewise.
894 (__ASSUME_IN_NONBLOCK): Likewise.
895 (__ASSUME_PIPE2): Likewise.
896 (__ASSUME_EVENTFD2): Likewise.
897 (__ASSUME_SIGNALFD4): Likewise.
898 (__ASSUME_DUP3): Likewise.
899 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
900 (__ASSUME_DUP3): Do not define.
901 (__ASSUME_EVENTFD2): Likewise.
902 (__ASSUME_IN_NONBLOCK): Likewise.
903 (__ASSUME_O_CLOEXEC): Likewise.
904 (__ASSUME_PIPE2): Likewise.
905 (__ASSUME_SIGNALFD4): Likewise.
906 (__ASSUME_SOCK_CLOEXEC): Likewise.
907 (__ASSUME_UTIMES): Undefine.
908 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
909 (__ASSUME_UTIMES): Do not define.
910 (__ASSUME_O_CLOEXEC): Likewise.
911 (__ASSUME_SOCK_CLOEXEC): Likewise.
912 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
913 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
914 0x020621].
915 (__ASSUME_PIPE2): Likewise.
916 (__ASSUME_EVENTFD2): Likewise.
917 (__ASSUME_SIGNALFD4): Likewise.
918 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
919 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
920 Do not define.
921 (__ASSUME_EVENTFD2): Likewise.
922 (__ASSUME_SIGNALFD4): Likewise.
923 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
924 (__ASSUME_32BITUIDS): Likewise.
925 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
926 (__ASSUME_IPC64): Likewise.
927 (__ASSUME_ST_INO_64_BIT): Likewise.
928 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
929 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
930 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
931 (__ASSUME_UTIMES): Do not define.
932 (__ASSUME_PSELECT): Likewise.
933 (__ASSUME_PPOLL): Likewise.
934 (__ASSUME_O_CLOEXEC): Likewise.
935 (__ASSUME_SOCK_CLOEXEC): Likewise.
936 (__ASSUME_IN_NONBLOCK): Likewise.
937 (__ASSUME_PIPE2): Likewise.
938 (__ASSUME_EVENTFD2): Likewise.
939 (__ASSUME_SIGNALFD4): Likewise.
940 (__ASSUME_DUP3): Likewise.
941 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
942 (__ASSUME_UTIMES): Likewise.
943 (__ASSUME_O_CLOEXEC): Likewise.
944 (__ASSUME_SOCK_CLOEXEC): Likewise.
945 (__ASSUME_IN_NONBLOCK): Likewise.
946 (__ASSUME_PIPE2): Likewise.
947 (__ASSUME_EVENTFD2): Likewise.
948 (__ASSUME_SIGNALFD4): Likewise.
949 (__ASSUME_DUP3): Likewise.
950 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
951 (__ASSUME_UTIMES): Likewise.
952 (__ASSUME_O_CLOEXEC): Likewise.
953 (__ASSUME_SOCK_CLOEXEC): Likewise.
954 (__ASSUME_IN_NONBLOCK): Likewise.
955 (__ASSUME_PIPE2): Likewise.
956 (__ASSUME_EVENTFD2): Likewise.
957 (__ASSUME_SIGNALFD4): Likewise.
958 (__ASSUME_DUP3): Likewise.
959 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
960 Likewise.
961 (__ASSUME_UTIMES): Likewise.
962 (__ASSUME_EVENTFD2): Likewise.
963 (__ASSUME_SIGNALFD4): Likewise.
964 * sysdeps/unix/sysv/linux/tile/kernel-features.h
965 (__ASSUME_O_CLOEXEC): Likewise.
966 (__ASSUME_SOCK_CLOEXEC): Likewise.
967 (__ASSUME_IN_NONBLOCK): Likewise.
968 (__ASSUME_PIPE2): Likewise.
969 (__ASSUME_EVENTFD2): Likewise.
970 (__ASSUME_SIGNALFD4): Likewise.
971 (__ASSUME_DUP3): Likewise.
972 (__ASSUME_UTIMES): Undefine.
973
5c521ecd
JM
974 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
975 feclearexcept. Remove symbol versioning code.
976 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
977 symbol versioning code.
978 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
979 symbol versioning code.
980 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
981 feupdateenv. Remove symbol versioning code.
982 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
983 fegetexceptflag. Remove symbol versioning code.
984 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
985 fesetexceptflag. Remove symbol versioning code.
986 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
987 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
988 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
989 (__posix_fadvise64_l32): Remove prototype.
990 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
991 code.
992
5da9dfad
RM
9932014-05-13 Roland McGrath <roland@hack.frob.com>
994
995 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
996 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
997 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
998 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
999
893b4f37
SK
10002014-05-13 Sami Kerola <kerolasa@iki.fi>
1001
1002 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1003 current working directory
1004
e0db6517
RM
10052014-05-13 Roland McGrath <roland@hack.frob.com>
1006
58aa195d
RM
1007 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1008 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1009 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1010 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1011 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1012 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1013 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1014 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1015 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1016 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1017 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1018 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1019 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1020 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1021 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1022 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1023 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1024 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1025 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1026 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1027 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1028 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1029 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1030 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1031 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1032 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1033 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1034 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1035 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1036 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1037 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1038 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1039 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1040 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1041 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1042 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1043 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1044 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1045 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1046 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1047 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1048 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1049
8c6d01f0
RM
1050 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1051 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1052
1053 * sysdeps/unix/sysv/linux/arm/Makefile
1054 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1055 Add rt-aeabi_unwind_cpp_pr1.
1056 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1057 Add nptl-aeabi_unwind_cpp_pr1.
1058 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1059 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1060 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1061 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1062 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1063 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1064
1065 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1066 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1067 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1068 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1069
bba6da4e
RM
1070 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1071 Deconditionalize the code that was previously under [RESET_PID].
1072 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1073
e0db6517
RM
1074 * sysdeps/generic/exit-thread.h: New file.
1075 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1076 * include/unistd.h (__exit_thread): Remove declaration.
1077 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1078 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1079 * csu/libc-start.c: Include <exit-thread.h>.
1080 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1081 * nptl/pthread_create.c: Include <exit-thread.h>.
1082 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1083 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1084 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1085 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1086 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1087 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1088 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1089 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1090 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1091 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1092 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1093 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1094 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1095 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1096 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1097 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1098 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1099
01eb16fd
AS
11002014-05-13 Andreas Schwab <schwab@suse.de>
1101
1102 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1103
637461d9
JM
11042014-05-12 Joseph Myers <joseph@codesourcery.com>
1105
1106 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1107 (__ASSUME_UTIMES): Do not condition on kernel version.
1108 (__ASSUME_PSELECT): Define unconditionally.
1109 (__ASSUME_PPOLL): Likewise.
1110 (__ASSUME_ATFCTS): Likewise.
1111 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1112 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1113 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1114 (__ASSUME_UTIMENSAT): Define unconditionally.
1115 (__ASSUME_PRIVATE_FUTEX): Likewise.
1116 (__ASSUME_FALLOCATE): Likewise.
1117 (__ASSUME_O_CLOEXEC): Likewise.
1118 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1119 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1120 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1121 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1122 (__ASSUME_IN_NONBLOCK): Likewise.
1123 (__ASSUME_PIPE2): Likewise.
1124 (__ASSUME_EVENTFD2): Likewise.
1125 (__ASSUME_SIGNALFD4): Likewise.
1126 (__ASSUME_DUP3): Likewise.
1127 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1128 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1129 (__ASSUME_AT_RANDOM): Likewise.
1130 (__ASSUME_PREADV): Likewise.
1131 (__ASSUME_PWRITEV): Likewise.
1132 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1133 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1134 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1135 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1136 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1137 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1138 (__ASSUME_O_CLOEXEC): Define unconditionally.
1139 (__ASSUME_PSELECT): Do not undefine conditionally.
1140 (__ASSUME_PPOLL): Likewise.
1141 (__ASSUME_ATFCTS): Likewise.
1142 (__ASSUME_SET_ROBUST_LIST): Likewise.
1143 (__ASSUME_UTIMENSAT): Likewise.
1144 (__ASSUME_FDATASYNC): Define unconditionally.
1145 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1146 (__ASSUME_SIGFRAME_V2): Likewise.
1147 )__ASSUME_EVENTFD2): Likewise.
1148 (__ASSUME_SIGNALFD4): Likewise.
1149 (__ASSUME_PSELECT): Do not undefine conditionally.
1150 (__ASSUME_PPOLL): Likewise.
1151 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1152 (__ASSUME_PSELECT): Define unconditionally.
1153 (__ASSUME_PPOLL): Likewise.
1154 (__ASSUME_O_CLOEXEC): Likewise.
1155 (__ASSUME_SOCK_CLOEXEC): Likewise.
1156 (__ASSUME_IN_NONBLOCK): Likewise.
1157 (__ASSUME_PIPE2): Likewise.
1158 (__ASSUME_EVENTFD2): Likewise.
1159 (__ASSUME_SIGNALFD4): Likewise.
1160 (__ASSUME_DUP3): Likewise.
1161 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1162 (__ASSUME_O_CLOEXEC): Likewise.
1163 (__ASSUME_SOCK_CLOEXEC): Likewise.
1164 (__ASSUME_IN_NONBLOCK): Likewise.
1165 (__ASSUME_PIPE2): Likewise.
1166 (__ASSUME_EVENTFD2): Likewise.
1167 (__ASSUME_SIGNALFD4): Likewise.
1168 (__ASSUME_DUP3): Likewise.
1169 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1170 (__ASSUME_EVENTFD2): Likewise.
1171 (__ASSUME_SIGNALFD4): Likewise.
1172 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1173
315eb1d8
AS
11742014-05-12 Andreas Schwab <schwab@suse.de>
1175
1176 [BZ #16932]
1177 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1178 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1179 than maximum RPC packet size.
1180 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1181 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1182 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1183 (_nss_nis_getservbyport_r): Likewise.
1184
91df99f7
WN
11852014-05-12 Will Newton <will.newton@linaro.org>
1186
1187 * malloc/Makefile (tests): Add tst-mallopt.
1188 * malloc/tst-mallopt.c: New file.
1189
0a982a29
RM
11902014-05-09 Roland McGrath <roland@hack.frob.com>
1191
1192 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1193 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1194
0ded08a5
AZ
11952014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1196
1197 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1198 (tst-tlsmod6.so): Likewise.
1199
55d4d550
RM
12002014-05-09 Roland McGrath <roland@hack.frob.com>
1201
1202 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1203
77d08aca
JM
12042014-05-09 Joseph Myers <joseph@codesourcery.com>
1205
1206 [BZ #16064]
1207 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1208 and <dl-procinfo.h>.
1209 (__fegetenv): Save SSE state in envp->__eip if supported.
1210 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1211 envp->__eip if supported.
1212 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1213 and <dl-procinfo.h>.
1214 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1215 __data_offset and __data_selector in environment to 0. Set SSE
1216 state if supported.
1217 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1218 test-fenv-sse.
1219 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1220 -mfpmath=sse.
1221 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1222
28162f4d
WN
12232014-05-09 Will Newton <will.newton@linaro.org>
1224
1225 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1226 and libc_relro_required for ARM.
1227 * sysdeps/arm/preconfigure: Regenerate.
1228
5a414ff7
DV
12292014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1230 Stefan Liebler <stli@linux.vnet.ibm.com>
1231
1232 * config.make.in (enable-lock-elision): New Makefile variable.
1233 * configure.ac: Likewise.
1234 * configure: Regenerate.
1235 * sysdeps/s390/configure.ac:
1236 Add check for gcc transactions support.
1237 * sysdeps/s390/configure: Regenerate.
1238 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1239 Build elision files if enabled.
1240 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1241 Add lock elision support for s390.
1242 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1243 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1244 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1245 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1246 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1247 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1248 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1249 Likewise.
1250 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1251 Likewise.
1252 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1253 Likewise.
1254 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1255 Likewise.
1256 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1257 (__lll_timedlock_elision, __lll_lock_elision)
1258 (__lll_unlock_elision, __lll_trylock_elision)
1259 (lll_timedlock_elision, lll_lock_elision)
1260 (lll_unlock_elision, lll_trylock_elision): Add.
1261 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1262 (pthread_mutex_t): Add lock elision support for s390.
1263
1a2f40e5
W
12642014-05-14 Wilco <wdijkstr@arm.com>
1265
1266 * sysdeps/arm/fclrexcpt.c: Cleanup.
1267 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1268 * sysdeps/arm/feenablxcpt.c: Cleanup.
1269 * sysdeps/arm/fegetenv.c: Cleanup.
1270 * sysdeps/arm/fegetexcept.c: Cleanup.
1271 * sysdeps/arm/fegetround.c: Cleanup.
1272 * sysdeps/arm/feholdexcpt.c: Cleanup.
1273 * sysdeps/arm/fesetenv.c: Cleanup.
1274 * sysdeps/arm/fesetround.c: Cleanup.
1275 * sysdeps/arm/feupdateenv.c: Cleanup.
1276 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1277 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1278 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1279 * sysdeps/arm/ftestexcept.c: Cleanup.
1280 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1281 * sysdeps/arm/setfpucw.c: Cleanup.
1282
f63c86fe
WN
12832014-05-09 Will Newton <will.newton@linaro.org>
1284
1285 * sysdeps/arm/armv7/strcmp.S: New file.
1286 * NEWS: Mention addition of ARMv7 optimized strcmp.
1287
7a1a51b5
RM
12882014-05-08 Roland McGrath <roland@hack.frob.com>
1289
95afbbe5
RM
1290 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1291 look for %.ac rather than %.in.
1292
1293 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1294 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1295 * sysdeps/mach/hurd/configure: Regenerated.
1296 * sysdeps/unix/sysv/linux/configure: Regenerated.
1297
7a1a51b5
RM
1298 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1299
5057ad3b
SE
13002014-05-07 Steve Ellcey <sellcey@mips.com>
1301
1302 [BZ# 16922]
1303 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1304 (LONG_SUB): Ditto.
1305 (PTR_SUB): Ditto.
1306
8dc97517
AS
13072014-05-07 Andreas Schwab <schwab@suse.de>
1308
1309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1310 when skipping over non-matching result from nscd.
1311
ce0c5b8f
OB
13122014-05-07 Ondřej Bílka <neleai@seznam.cz>
1313
1314 [BZ #16876]
1315 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1316
a1189263
OB
1317 [BZ #16877]
1318 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1319 nscd security class.
ce0c5b8f 1320
0f58d252
RM
13212014-05-06 Roland McGrath <roland@hack.frob.com>
1322
1323 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1324 * sysdeps/arm/unwind.h: ... here.
1325
83df9ad0
AJ
13262014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1327
ce0c5b8f
OB
1328 [BZ# 16916]
1329 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1330 Define.
83df9ad0 1331
f360f94a
VR
13322014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1333
1334 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1335 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1336 multiarch strncpy for PPC64.
1337 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1338 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1340 multiarch optimizations.
1341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1342 (__libc_ifunc_impl_list): Likewise.
1343 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1344 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1345 multiarch stpncpy for PPC64.
1346 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1347 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1348
978a41c3
AS
13492014-05-06 Andreas Schwab <schwab@suse.de>
1350
1351 [BZ #16912]
1352 * gmon/mcount.c (_MCOUNT_DECL): Use
1353 atomic_compare_and_exchange_bool_acq instead of
1354 catomic_compare_and_exchange_bool_acq.
1355
eb1ed03d
RM
13562014-05-05 Roland McGrath <roland@hack.frob.com>
1357
fe658845
RM
1358 * elf/Makefile (others, install-bin): Remove pldd.
1359 (pldd-modules): Variable removed.
1360 ($(objpfx)pldd): Target removed.
1361 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1362 (others, install-bin): Append pldd here.
1363 ($(objpfx)pldd): New target.
1364
eb1ed03d
RM
1365 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1366 to 0, so the first #if test emitted later doesn't see it undefined.
1367 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1368 * sysdeps/gnu/errlist.c: Regenerated.
1369
19c4bec0
AZ
13702014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371
1372 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1373 [libc_hidden_builtin_def]: Define to empty value.
1374 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1375 [libc_hidden_builtin_def]: Likewise.
1376 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1377 [libc_hidden_builtin_def]: Likewise.
1378 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1379 [libc_hidden_builtin_def]: Likewise.
1380 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1381 __redirect_memcpy and define ifunc as default hidden symbol.
1382 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1383 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1384
7776e669
AC
13852014-05-04 Adam Conrad <adconrad@0c3.net>
1386
1387 * locale/iso-4217.def: Reintroduce XDR currency.
1388
d69aeb12
AM
13892014-05-04 Allan McRae <allan@archlinux.org>
1390
1391 * po/eo.po: Update Esperanto translation from translation project.
1392
8f1df5cf
CD
13932014-05-02 Carlos O'Donell <carlos@redhat.com>
1394
1395 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1396 and FEATURE_INDEX_MAX to 1.
1397 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1398
13e402e7
SE
13992014-05-01 Steve Ellcey <sellcey@mips.com>
1400
1401 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1402 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1403 * iconvdata/big5.c (ONE_DIRECTION): Define.
1404 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1405 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1406 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1407 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1408 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1409 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1410 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1411 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1412 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1413 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1414 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1415 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1416 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1417 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1418 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1419 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1420 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1421 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1422 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1423 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1424 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1425 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1426 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1427 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1428 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1429 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1430 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1431 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1432 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1433 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1434 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1435 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1436 * iconvdata/johab.c (ONE_DIRECTION): Define.
1437 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1438 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1439 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1440 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1441 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1442 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1443 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1444 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1445 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1446 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1447
c727f032
RM
14482014-05-01 Roland McGrath <roland@hack.frob.com>
1449
8f2f08d0
RM
1450 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1451 (_IO_JUMPS_OFFSET): Define to 0.
1452
c727f032
RM
1453 * nptl/sysdeps/pthread/bits/libc-lock.h
1454 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1455 (__libc_lock_define_initialized_recursive): Always define using
1456 initializer. Modern compilers treat uninitialized (implicit zero) and
1457 explicit zero initializers the same (i.e. put the datum in bss).
1458
a849e800
AS
14592014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1460
1461 * nscd/nscd-client.h: Include <string.h>.
1462
5331255b
DM
14632014-05-01 David S. Miller <davem@davemloft.net>
1464
1465 [BZ #16885]
1466 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1467 multiple zero bytes exist at the end of a string.
1468 Reported by Aurelien Jarno <aurelien@aurel32.net>
1469
1470 * string/test-strcmp.c (check): Add explicit test for situations where
1471 there are multiple zero bytes after the first.
1472
4fdfe821
AS
14732014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1474
1475 [BZ #16890]
1476 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1477 when compiling wprintf.
1478 * stdio-common/tstdiomisc.c (t3): New function.
1479 (main): Call it.
1480
0cdddc25
SE
14812014-05-01 Steve Ellcey <sellcey@mips.com>
1482
1483 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1484 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1485 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1486 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1487
6426d77e
SE
14882014-05-01 Steve Ellcey <sellcey@mips.com>
1489
1490 * stdlib/longlong.h: Updated from GCC.
1491
6d96f5e4
WN
14922014-05-01 Will Newton <will.newton@linaro.org>
1493 Bernard Ogden <bernie.ogden@linaro.org>
1494
7470db0c
WN
1495 * NEWS: Update fixed bug list.
1496
6d96f5e4
WN
1497 [BZ #15119]
1498 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1499
211d653c
DM
15002014-04-30 David S. Miller <davem@davemloft.net>
1501
4fa262fa
DM
1502 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1503 (libc_feholdexcept_setround_sparc_ctx): New function.
1504 (libc_fesetenv_sparc_ctx): Likewise.
1505 (libc_feupdateenv_sparc_ctx): Likewise.
1506 (libc_feholdsetround_sparc_ctx): Likewise.
1507 (libc_feholdexcept_setround_ctx): Define.
1508 (libc_feholdexcept_setroundf_ctx): Likewise.
1509 (libc_feholdexcept_setroundl_ctx): Likewise.
1510 (libc_fesetenv_ctx): Likewise.
1511 (libc_fesetenvf_ctx): Likewise.
1512 (libc_fesetenvl_ctx): Likewise.
1513 (libc_feupdateenv_ctx): Likewise.
1514 (libc_feupdateenvf_ctx): Likewise.
1515 (libc_feupdateenvl_ctx): Likewise.
1516 (libc_feresetround_ctx): Likewise.
1517 (libc_feresetroundf_ctx): Likewise.
1518 (libc_feresetroundl_ctx): Likewise.
1519 (libc_feholdsetround_ctx): Likewise.
1520 (libc_feholdsetroundf_ctx): Likewise.
1521 (libc_feholdsetroundl_ctx): Likewise.
1522
1d3d93ef
DM
1523 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1524 with __USE_GNU instead of XOPEN cpp guards.
1525
8aa583c3
DM
1526 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1527 0.
1528
211d653c
DM
1529 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1530 with XOPEN cpp guards.
1531
60c8f1f6
JB
15322014-04-30 Julian Brown <julian@codesourcery.com>
1533
1534 [BZ #16888]
1535 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1536 handling.
1537
9a461d46
JM
15382014-04-30 Joseph Myers <joseph@codesourcery.com>
1539
d0f5b3f8
JM
1540 [BZ #9894]
1541 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1542 Change to 2.6.32.
1543 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1544 * sysdeps/unix/sysv/linux/configure: Regenerated.
1545 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1546 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1547 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1548 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1549 * README: Update reference to required Linux kernel version.
1550 * manual/install.texi (Linux): Update reference to required Linux
1551 kernel headers version.
1552 * INSTALL: Regenerated.
1553
9a461d46
JM
1554 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1555 header inclusion.
1556 [POSIX] (limits.h): Likewise.
1557 [POSIX] (math.h): Likewise.
1558 [POSIX] (sys/wait.h): Likewise.
1559 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1560 function.
1561 [POSIX] (stddef.h): Do not allow header inclusion.
1562
1775babf
AZ
15632014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
57f41c40 1565 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1566
8f630cca
YY
15672014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1568
1569 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1570 Return immediately after lll_futex_wake.
1571
1cdeb237
SP
15722014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1573
bc8f194c
SP
1574 [BZ #16791]
1575 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1576 structure.
1577 (datahead_init_pos): Call datahead_init_common early.
1578 (datahead_init_neg): Likewise.
1579
1cdeb237
SP
1580 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1581 datahead_init_neg): New functions.
1582 * nscd/aicache.c (addhstaiX): Use them.
1583 * nscd/grpcache.c (cache_addgr): Likewise.
1584 * nscd/hstcache.c (cache_addhst): Likewise.
1585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1586 * nscd/netgroupcache.c (do_notfound): Likewise.
1587 (addgetnetgrentX): Likewise.
1588 (addinnetgrX): Likewise.
1589 * nscd/pwdcache.c (cache_addpw): Likewise.
1590 * nscd/servicescache.c (cache_addserv): Likewise.
1591
16b293a7
SP
15922014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1593 Atsushi Onoe <atsushi@onoe.org>
1594
1595 [BZ #14308]
1596 [BZ #12994]
1597 [BZ #13651]
1598 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1599 one response is valid.
1600 * resolv/res_send.c (send_dg): Check for validity of other
1601 response if the current response is a referral.
1602
a28a9b94
SE
16032014-04-29 Steve Ellcey <sellcey@mips.com>
1604
1605 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1606
2ca180e9
SL
16072014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1608
1609 [BZ #16823]
1610 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1611 Always divide by positive zero when computing -Inf result.
1612 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1613 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1614
18f2945a
AZ
16152014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1616
1617 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1618 FPSCR if value do not change.
1619 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1620 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1621 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1622 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1623 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1624 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1625 function.
1626
5abebba4
CD
16272014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1628
1629 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1630 * sysdeps/unix/sysv/linux/hppa: Move directory from
1631 ports/systeps/unix/sysv/linux/hppa.
1632 * README: Update listing for hppa-*-linux-gnu.
1633
f7ed60c2
OB
16342014-04-28 Ondřej Bílka <neleai@seznam.cz>
1635
fff763a5
OB
1636 [BZ #16754]
1637 * manual/stdio.texi (Hook functions): Fix types of stream hook
1638 functions.
f7ed60c2
OB
1639 [BZ #16854]
1640 * socket/sys/socket.h: Fix typo in comment.
1641
df639d73
WD
16422014-04-28 Wilco <wdijkstr@arm.com>
1643
f7ed60c2 1644 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1645 * sysdeps/arm/math_private.h: New file.
1646 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1647
48332d82
L
16482014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1651 with __int128_t.
1652 (La_x86_64_retval): Likewise.
1653
e5e0d9a4
IB
16542014-04-24 Ian Bolton <ian.bolton@arm.com>
1655
1656 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1657 fpsr if value didn't change.
1658 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1659 to fpcr if value didn't change.
1660 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1661 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1662 fpsr or fpcr if value didn't change.
1663 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1664 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1665 fpcr if value didn't change.
1666 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1667 to fpsr if value didn't change.
1668
bacc75f7
SP
16692014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1670
1671 * nptl/tst-sem3.c: Use test-skeleton.c
1672 (main): Rename to do_test. Use return instead of
1673 exit.
1674 * nptl/tst-sem4.c: Use test-skeleton.c
1675 (main): Rename to do_test.
1676
a059d359
DM
16772014-04-22 David S. Miller <davem@davemloft.net>
1678
1679 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1680 (struct sigaction): New struct member __glibc_reserved0, change
1681 type of sa_flags to int.
1682
ea6c92f3
YZ
16832014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1684
1685 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1686 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1687
766c4a36
SP
16882014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1689
1690 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1691 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1692
140cc7ab
VK
16932014-04-22 Will Newton <will.newton@linaro.org>
1694 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1695
1696 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1697 (__longjmp): Add longjmp and longjmp_target SystemTap
1698 probes.
1699 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1700 (__sigsetjmp): Add setjmp SystemTap probe.
1701
c54e5cf7
CD
17022014-04-17 Carlos O'Donell <carlos@redhat.com>
1703
1704 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1705 match manual order.
1706
75ffb047
AZ
17072014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708
1709 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1710
2cd925f7
AZ
1711 * sysdeps/powerpc/fpu/fenv_private.h
1712 (libc_feholdexcept_setroundl_ctx): Define to
1713 libc_feholdexcept_setround_ppc_ctx.
1714 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1715 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1716 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1717 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1718
39e6cd8d
IB
17192014-04-17 Ian Bolton <ian.bolton@arm.com>
1720
1721 * sysdeps/aarch64/math-tests.h: New file.
1722
f9281df9
SY
17232014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1724
1725 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1726 New.
1727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1728 Check and set bit_AVX2_Usable.
1729 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1730 macro.
1731 (bit_AVX2): Likewise.
1732 (index_AVX2_Usable): Likewise.
1733 (CPUID_AVX2): Likewise.
1734 (HAS_AVX2): Likewise.
1735
37d35007
WN
17362014-04-17 Will Newton <will.newton@linaro.org>
1737
7c677662
WN
1738 * manual/setjmp.texi (System V contexts): Add note that
1739 calling setcontext on a context created by a call to a
1740 signal handler is undefined. Update text to note that
1741 setcontext from a signal handler is possible but not
1742 recommended.
1743
37d35007 1744 [BZ #16629]
e04a4e9d
WN
1745 * stdlib/tst-setcontext.c: Include signal.h.
1746 (main): Check that the signal stack before and
1747 after swapcontext is the same.
1748
37d35007
WN
1749 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1750 Re-implement to restore registers in user code and avoid
1751 rt_sigreturn system call.
1752
423a7160
W
17532014-04-17 Wilco <wdijkstr@arm.com>
1754
1755 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1756 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1757 * math/test-fenv.c: Skip exception trap tests on targets which only
1758 support non-stop mode.
1759
bc93ab29
IB
17602014-04-17 Ian Bolton <ian.bolton@arm.com>
1761 Wilco Dijkstra <wilco.dijkstra@arm.com>
1762
1763 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1764 (libc_feholdsetround_aarch64_ctx)
1765 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1766 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1767 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1768 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1769 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1770 (libc_feresetround_noexl_ctx): Define.
1771
95fc5fa3
RH
17722014-04-16 Richard Henderson <rth@redhat.com>
1773
ddb04724
RH
1774 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1775
d77c0899
RH
1776 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1777 unwind tables.
1778
a3df56fc
RH
1779 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1780 const from the non-libc, non-ldso copy.
1781
95fc5fa3
RH
1782 * sysdeps/alpha/libm-test-ulps: Regenerate.
1783
7e0b6763
IB
17842014-04-16 Ian Bolton <ian.bolton@arm.com>
1785 Wilco Dijkstra <wilco.dijkstra@arm.com>
1786
1787 * sysdeps/aarch64/fpu/math_private.h: New file.
1788
a9ea2e0c
MS
17892014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1790
1791 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1792
ea8ba7cd
IZ
17932014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1794
1795 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1796 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1797 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1798 Intel MPX bound registers before _dl_profile_fixup.
1799 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1800 registers after _dl_profile_fixup. Save and restore bound
1801 registers bnd0/bnd1 when calling _dl_call_pltexit.
1802 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1803 (LR_BND_OFFSET): Likewise.
1804 (LRV_BND0_OFFSET): Likewise.
1805 (LRV_BND1_OFFSET): Likewise.
1806
9f2a4fbc
ST
18072014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1808
1809 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1810 to...
1811 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1812 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1813 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1814 fields.
9f2a4fbc 1815
fd15a59b
ST
18162014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1817
1818 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1819
f19dfa0a
SL
18202014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1821
1822 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1823
4fa8bc3b
SL
18242014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1825
1826 [BZ #14770]
1827 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1828 * sysdeps/s390/configure: Regenerate.
1829
8ea587db
SL
1830 [BZ #16824]
1831 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1832 Set round-to-nearest internally to reduce error accumulation.
1833
aa5f0ff1
AM
18342014-04-16 Alan Modra <amodra@gmail.com>
1835
1836 [BZ #16740]
1837 [BZ #16619]
1838 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1839 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1840 * NEWS: Update fixed bug list.
aa5f0ff1 1841
bb9c256f
SP
18422014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1843
1844 * benchtests/Makefile: Depend on libraries in build directory.
1845 (bench-math): Separate out math tests.
1846 (bench-pthread): Separate out pthread tests.
1847 (bench): Include math and pthread tests.
1848
f737dfd0
CD
18492014-04-14 Carlos O'Donell <carlos@redhat.com>
1850
1851 [BZ #16831]
1852 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1853 _dl_debug_initialize.
1854
0699f766
CD
1855 * configure.ac: Remove SELinux header check.
1856 * configure: Regenerate.
1857 * nscd/selinux.c (perms): Array of const char* to permission names.
1858 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1859 default policy. Call string_to_security_class and string_to_av_perm to
1860 translate strings. Enforce default policy and call avs_has_perm with
1861 results of translated strings.
1862
809bd45f
DM
18632014-04-13 David S. Miller <davem@davemloft.net>
1864
1865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1866
89e691f2
AM
18672014-04-12 Allan McRae <allan@archlinux.org>
1868
1869 [BZ #16838]
1870 * manual/string.texi (Collation Functions): Fix qsort argument
1871 order in example.
1872 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1873
9c9daaeb
CM
18742014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1875
1876 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1877 Make the test a no-op if there are no exceptions defined.
1878
95561fb9
PP
18792014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1880
fe8d072c 1881 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1882 enable-hardcoded-path-in-tests
1883
970c602a
WN
18842014-04-11 Will Newton <will.newton@linaro.org>
1885
1886 * benchtests/Makefile (extra-objs): Add json-lib.o.
1887 (bench-func): Tidy up JSON output.
1888 * benchtests/bench-skeleton.c: Include json-lib.h.
1889 (main): Use JSON library functions to do output of
1890 benchmark results.
1891 * benchtests/bench-timing-type.c (main): Output the
1892 timing type simply, leaving formatting to the user.
1893 * benchtests/json-lib.c: New file.
1894 * benchtests/json-lib.h: Likewise.
1895
36875b06
TR
18962014-04-11 Torvald Riegel <triegel@redhat.com>
1897
1898 [BZ #15215]
1899 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1900 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1901 memory barriers. Add comments.
1902 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1903 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1904 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1905 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1906 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1907 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1908
579db35a
SL
19092014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1910
1911 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1912 * sysdeps/s390/s390-64/configure.ac: ... this ...
1913 * sysdeps/s390/configure.ac: ... to here.
1914 * sysdeps/s390/s390-32/configure: Delete file.
1915 * sysdeps/s390/s390-64/configure: Delete file.
1916 * sysdeps/s390/configure: Regenerate.
1917
c12e9f37
JAPH
19182014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1919
1920 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1921
439bda32
WN
19222014-04-11 Will Newton <will.newton@linaro.org>
1923
1924 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1925 to zero if it is not defined elsewhere. (mtrim): Test
1926 the value of MALLOC_DEBUG with #if rather than #ifdef.
1927
6a5d6ea1
TR
19282014-04-10 Torvald Riegel <triegel@redhat.com>
1929
1930 * benchtests/pthread_once-inputs: New file.
1931 * benchtests/pthread_once-source.c: New file.
1932 * benchtests/README: Update documentation.
1933
a4c75cfd
IZ
19342014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1935 H.J. Lu <hongjiu.lu@intel.com>
1936
1937 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1938 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1939 * sysdeps/x86_64/configure: Regenerated.
1940 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1941 macro.
1942 (REGISTER_SAVE_RAX): Likewise.
1943 (REGISTER_SAVE_RCX): Likewise.
1944 (REGISTER_SAVE_RDX): Likewise.
1945 (REGISTER_SAVE_RSI): Likewise.
1946 (REGISTER_SAVE_RDI): Likewise.
1947 (REGISTER_SAVE_R8): Likewise.
1948 (REGISTER_SAVE_R9): Likewise.
1949 (REGISTER_SAVE_BND0): Likewise.
1950 (REGISTER_SAVE_BND1): Likewise.
1951 (REGISTER_SAVE_BND2): Likewise.
1952 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1953 bound registers when calling _dl_fixup.
1954
27822ce6
AZ
19552014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1956
1957 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1958 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1959 of its definition.
27822ce6
AZ
1960 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1961 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1962 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1963 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1964 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1965 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1966 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1967
a88ddc90
PTB
19682014-04-09 Peter Brett <peter@peter-b.co.uk>
1969
1970 [BZ #15514]
1971 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1972 pathconf(_PC_NAME_MAX).
1973
01f8eac2
AZ
19742014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1975
1976 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1977 Remove macro usage.
1978 (__PTHREAD_SPINS): Move definition to ...
1979 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1980 (__PTHREAD_SPINS): ... here.
1981 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1982 (__PTHREAD_SPIN): Likewise.
1983 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1984 (__PTHREAD_SPIN): Likewise.
1985 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1986 (__PTHREAD_SPIN): Likewise.
1987 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1988 (__PTHREAD_SPIN): Likewise.
1989 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1990 (__PTHREAD_SPIN): Likewise.
1991 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1992 (__PTHREAD_SPIN): Likewise.
1993 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1994 (__PTHREAD_SPIN): Likewise.
1995 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1996 (__PTHREAD_SPIN): Likewise.
1997 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1998 (__PTHREAD_SPIN): Likewise.
1999 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2000 (__PTHREAD_SPIN): Likewise.
2001 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2002 (__PTHREAD_SPIN): Likewise.
2003 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2004 (__PTHREAD_SPIN): Likewise.
2005
de21c33c
AZ
2006 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2007 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2008 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2009 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2010 imply folder.
2011 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2012 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2013 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2014 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2015 correct imply path.
2016 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2017 strlen symbol for non multi-arch builds.
2018 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2019 missing hidden_def and weak_alias.
2020
862c472e
CD
20212014-04-08 Carlos O'Donell <carlos@redhat.com>
2022
2023 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2024
8667f90e
WN
20252014-04-07 Will Newton <will.newton@linaro.org>
2026
2027 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2028 and contents. [!_LIBC] Remove #ifndef and contents.
2029 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2030 * string/memccpy.c (__memccpy): Use ANSI prototype.
2031 * string/memfrob.c (memfrob): Likewise.
2032 * string/strcoll.c (STRCOLL): Likewise.
2033 * string/strlen.c (strlen): Likewise.
2034 * string/strtok.c (STRTOK): Likewise.
2035 * string/strcat.c: Remove unused #include of memcopy.h.
2036 (strcat): Use ANSI prototype.
2037 * string/strchr.c: Remove unused #include of memcopy.h.
2038 (strchr): Use ANSI prototype.
2039 * string/strcmp.c: Remove unused #include of memcopy.h.
2040 (strcmp): Use ANSI prototype.
2041 * string/strcpy.c: Remove unused #include of memcopy.h.
2042 (strcpy): Use ANSI prototype.
2043
7ffa9423
AZ
20442014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2045
2046 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2047 * config.make.in (config-extra-cppflags): Set it from
2048 libc_extra_cppflags.
2049 * configure.ac (libc_extra_cflags): Make it accumulate over
2050 configure fragments.
2051 (libc_extra_cppflags): New flag.
2052 * configure. Regenerate.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2054 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2055 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2057
8bd70862
AZ
2058 [BZ #16815]
2059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2060 result for FE_DOWNWARD rounding mode.
2061 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2062 Likewise.
2063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2064
d42f3448
CM
20652014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2066
2067 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2068 in function argument name.
2069
1c21d115
DS
20702014-04-03 David Svoboda <svoboda@cert.org>
2071
2072 [BZ #5666]
2073 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2074 explicitly.
2075
fcccd512
RM
20762014-04-03 Roland McGrath <roland@hack.frob.com>
2077
2078 * elf/dl-unmap-segments.h: New file.
2079 * sysdeps/generic/ldsodefs.h
2080 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2081 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2082 * elf/dl-fptr.c: Likewise.
2083 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2084 * sysdeps/aarch64/tlsdesc.c: Likewise.
2085 * sysdeps/arm/tlsdesc.c: Likewise.
2086 * sysdeps/i386/tlsdesc.c: Likewise.
2087 * sysdeps/tile/dl-runtime.c: Likewise.
2088 * sysdeps/x86_64/tlsdesc.c: Likewise.
2089 * elf/dl-load.h: New file.
2090 * elf/dl-load.c: Include it.
2091 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2092 Macros moved to dl-load.h.
2093 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2094 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2095 Use _dl_unmap_segments in place of __munmap.
2096 Break out segment-mapping loop into ...
2097 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2098
f6488e2b
WN
20992014-04-03 Will Newton <will.newton@linaro.org>
2100
2101 * elf/dl-lookup.c (do_lookup_x): Remove comment
2102 referring to nested function and move variable
2103 declarations down to before first use.
2104
6f05bafe
JM
21052014-04-02 Joseph Myers <joseph@codesourcery.com>
2106
a84e78c8
JM
2107 [BZ #16799]
2108 [BZ #16800]
2109 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2110 with 0 numerator.
2111 * math/s_catanf.c (__catanf): Likewise.
2112 * math/s_catanh.c (__catanh): Likewise.
2113 * math/s_catanhf.c (__catanhf): Likewise.
2114 * math/s_catanhl.c (__catanhl): Likewise.
2115 * math/s_catanl.c (__catanl): Likewise.
2116 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2117 by positive zero when computing -Inf result.
2118 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2119 (catanh_test): Likewise.
2120 * sysdeps/i386/fpu/libm-test-ulps: Update.
2121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2122
6f05bafe
JM
2123 [BZ #16789]
2124 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2125 instead of using underflowing value in computing result.
2126 * math/s_clog10.c (__clog10): Likewise.
2127 * math/s_clog10f.c (__clog10f): Likewise.
2128 * math/s_clog10l.c (__clog10l): Likewise.
2129 * math/s_clogf.c (__clogf): Likewise.
2130 * math/s_clogl.c (__clogl): Likewise.
2131 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2132 (clog10_test): Likewise.
2133 * sysdeps/i386/fpu/libm-test-ulps: Update.
2134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2135
b0abbc21
AM
21362014-04-02 Alan Modra <amodra@gmail.com>
2137
2138 [BZ #16739]
2139 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2140 output when value is near a power of two. Use int64_t for lx and
2141 remove casts. Use decimal rather than hex exponent constants.
2142 Don't use long double multiplication when double will suffice.
2143 * math/libm-test.inc (nextafter_test_data): Add tests.
2144 * NEWS: Add 16739 and 16786 to bug list.
2145
af6b1797
AM
2146 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2147
483818d7
AM
2148 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2149
f6c55796
WN
21502014-04-01 Will Newton <will.newton@linaro.org>
2151
2152 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2153 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2154
13f7fe35
FW
21552014-04-01 Florian Weimer <fweimer@redhat.com>
2156
2157 [BZ #13347]
2158 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2159 * nptl/tst-setuid2.c: New file.
2160 * nptl/Makefile (xtests): Add tst-setuid2.
2161
c859b32e
AM
21622014-04-01 Alan Modra <amodra@gmail.com>
2163
2164 [BZ #16786]
2165 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2166
54fa2475
JM
21672014-03-31 Joseph Myers <joseph@codesourcery.com>
2168
8795b4a4
JM
2169 [BZ #6803]
2170 [BZ #6804]
2171 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2172 set errno as appropriate.
2173 * math/w_scalbf.c (__scalbf): Likewise.
2174 * math/w_scalbl.c (__scalbl): Likewise.
2175 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2176 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2177 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2178 Add more NaN tests.
2179
54fa2475
JM
2180 [BZ #16349]
2181 * math/w_atan2.c: Include <errno.h>.
2182 (__atan2): Set errno for result underflowing to zero.
2183 * math/w_atan2f.c: Include <errno.h>.
2184 (__atan2f): Set errno for result underflowing to zero.
2185 * math/w_atan2l.c: Include <errno.h>.
2186 (__atan2l): Set errno for result underflowing to zero.
2187 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2188 tests.
2189 * math/auto-libm-test-out: Regenerated.
2190
757d9dd5
AZ
21912014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2192
2193 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2194 Encode instruction correctly in little endian.
2195 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2196 Likewise.
2197 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2198 Likewise.
2199 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2200 Likewise.
2201 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2202 Likewise.
2203
d7a68734
JM
22042014-03-31 Joseph Myers <joseph@codesourcery.com>
2205
47c5adeb
JM
2206 [BZ #9894]
2207 * sysdeps/unix/sysv/linux/kernel-features.h
2208 [__sparc__ && !__arch64__ && !__sparc_v9__]
2209 (__ASSUME_SET_ROBUST_LIST): Do not define.
2210 [__sparc__ && !__arch64__ && !__sparc_v9__]
2211 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2212 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2213 Likewise.
2214 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2215 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2216 (__ASSUME_REQUEUE_PI): Likewise.
2217 (__ASSUME_SET_ROBUST_LIST): Likewise.
2218 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2219 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2220 Undefine.
2221 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2222 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2223 Likewise.
2224 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2225 Likewise.
2226 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2227 Likewise.
2228 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2229 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2230 Undefine.
2231 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2232 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2233 Likewise.
2234
d7a68734
JM
2235 [BZ #16648]
2236 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2237 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2238 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2239
c760f5c2
WN
22402014-03-31 Will Newton <will.newton@linaro.org>
2241
2242 * benchtests/Makefile (bench): Add ffs and ffsll to list
2243 of tests.
2244 * benchtests/ffs-inputs: New file.
2245 * benchtests/ffsll-inputs: Likewise.
2246
ea6029b1
JM
22472014-03-29 Joseph Myers <joseph@codesourcery.com>
2248
2249 [BZ #16770]
2250 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2251 too large before casting to int.
2252 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2253 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2254 * math/libm-test.inc (scalb_test_data): Add more tests.
2255
cf806aff
SP
22562014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2257
56737508
SP
2258 * benchtests/Makefile (DETAILED_OPT): New make option.
2259 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2260 set.
2261 * benchtests/bench-skeleton.c: Include stdbool.h.
2262 (main): Store and print timings per input.
2263 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2264 member to each argument value.
2265 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2266 (_print_arg_data): Initialize per-input timing to 0.
2267
cb5e4aad
SP
2268 * benchtests/Makefile (timing-type): New binary.
2269 (bench-clean): Also remove bench-timing-type.
2270 (bench): New target for timing-type.
2271 (bench-func): Print output in JSON format.
2272 * benchtests/bench-skeleton.c (main): Print output in JSON
2273 format.
2274 * benchtests/bench-timing-type.c: New file.
2275 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2276 (TIMING_PRINT_STATS): Remove.
2277 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2278 name separately.
2279
cf806aff
SP
2280 * benchtests/bench-modf.c: Remove.
2281 * benchtests/modf-inputs: New inputs file.
2282
289e0779
JM
22832014-03-28 Joseph Myers <joseph@codesourcery.com>
2284
2285 [BZ #16362]
2286 * math/s_clog10.c (M_PI_LOG10E): New macro.
2287 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2288 imaginary parts are 0.
2289 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2290 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2291 imaginary parts are 0.
2292 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2293 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2294 imaginary parts are 0.
2295 * math/libm-test.inc (clog10_test_data): Update expected results
2296 for when real and imaginary parts are 0.
2297
277ae3f1
PP
22982014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2299
2300 * elf/dl-load.c: Finish conversion of __builtin_expect into
2301 __glibc_{un}likely.
2302
03a7091f
JM
23032014-03-27 Joseph Myers <joseph@codesourcery.com>
2304
2305 [BZ #16348]
2306 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2307 1+x for argument with exponent below -67.
2308 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2309 Likewise.
2310 * math/auto-libm-test-in: Add more tests of exp.
2311 * math/auto-libm-test-out: Regenerated.
2312
ea7d8b95
SP
23132014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2314
dd3022d7
SP
2315 [BZ #16759]
2316 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2317 (nscd_getnetgrent): Use it.
2318
ea7d8b95
SP
2319 [BZ #16760]
2320 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2321 of stpcpy.
2322
df5b85da
AK
23232014-03-27 Andi Kleen <ak@linux.intel.com>
2324
57f41c40
AS
2325 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2326 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2327 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2328 (lll_robust_unlock): Remove out of line section. Use cfi
2329 intrinsics.
df5b85da 2330 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2331 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2332 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2333 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2334 (lll_robust_unlock): Remove out of line section. Use cfi
2335 intrinsics.
df5b85da
AK
2336 (LLL_STUB_UNWIND_INFO*): Remove.
2337
fbd6b5a4
SP
23382014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2339
2340 [BZ #16758]
2341 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2342 blank values.
2343
1b26b855
PP
23442014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2345
2346 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2347
9be36fb8
JM
23482014-03-26 Joseph Myers <joseph@codesourcery.com>
2349
2350 [BZ #16198]
2351 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2352 fnstenv.
2353 * math/test-fenv-preserve.c: New file.
2354 * math/Makefile (tests): Add test-fenv-preserve.
2355
60a2f3c1
WN
23562014-03-26 Will Newton <will.newton@linaro.org>
2357
2358 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2359
a5e5f1e2
RM
23602014-03-25 Roland McGrath <roland@hack.frob.com>
2361
2362 * scripts/versionlist.awk: Partition the version sets and emit all
2363 GLIBC_* (sorted) before all others (sorted).
2364
00f4012a
JM
23652014-03-25 Joseph Myers <joseph@codesourcery.com>
2366
2367 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2368 GLIBC_2.2.5 version.
2369
7bc5a741
AZ
23702014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2371
2372 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2373 calls.
2374
7578473b
AZ
2375 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2376 previous change.
2377
f3f1dab3
AZ
2378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2379
6da36183
AS
23802014-03-25 Andreas Schwab <schwab@suse.de>
2381
2382 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2383 label to be used after in6ailist is initialized.
2384
f3f1dab3 23852014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2386
7578473b 2387 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2388 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2389
046651c1
JM
23902014-03-25 Joseph Myers <joseph@codesourcery.com>
2391
2392 [BZ #16357]
2393 [BZ #16599]
2394 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2395 min_plus_half.
2396 (fp_formats): Update initializers.
2397 (init_fp_formats): Initialize new field.
2398 (output_for_one_input_case): Allow underflow for results up to
2399 min_plus_half.
2400 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2401 * math/auto-libm-test-in: Don't mark some underflows from asin and
2402 atanh as spurious.
2403 * math/auto-libm-test-out: Regenerated.
2404 * sysdeps/i386/fpu/libm-test-ulps: Update.
2405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2406
003e49ed
AS
24072014-03-25 Andreas Schwab <schwab@suse.de>
2408
2409 * libio/Makefile (tst-ftell-partial-wide-ENV)
2410 (tst-ftell-active-handler-ENV): Define.
2411
de031874
SL
24122014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2413
2414 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2415
55a81e3b
PP
24162014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2417
2418 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2419
f3426898
JM
24202014-03-24 Joseph Myers <joseph@codesourcery.com>
2421
2422 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2423 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2424 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2425
a42faf59
PP
24262014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2427
2428 [BZ #16634]
a42faf59 2429 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2430 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2431 (open_path): Change from boolean 'secure' to complete flag 'mode'
2432 (_dl_map_object): Adjust.
a42faf59
PP
2433 * elf/Makefile (tests): Add tst-dlopen-aout.
2434 * elf/tst-dlopen-aout.c: New test.
2435
50936127
SL
24362014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2437
2438 [BZ #16714]
2439 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2440 (struct stat): Rename member pad0 to __glibc_reserved0.
2441
26011b5c
SL
2442 [BZ #16712]
2443 * sysdeps/s390/s390-32/bits/wordsize.h
2444 (__WORDSIZE32_SIZE_ULONG): New define.
2445 * sysdeps/s390/s390-64/bits/wordsize.h
2446 (__WORDSIZE32_SIZE_ULONG): Likewise.
2447 * sysdeps/generic/stdint.h (SIZE_MAX):
2448 Define as UL if __WORDSIZE32_SIZE_ULONG.
2449
a2d86bf1
SL
2450 [BZ #16713]
2451 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2452 (__glibc_reserved0): New variable.
2453 (sa_flags): Change type to int.
2454
78b6eebc
SL
2455 * posix/Makefile (before-compile): Use += before-compile instead
2456 of a :=.
2457
f1399b5a
SL
2458 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2459 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2460
a071766e
AS
24612014-03-20 Andreas Schwab <schwab@suse.de>
2462
2463 [BZ #16743]
2464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2465 non-matching result from nscd.
2466
27c673b8
SP
24672014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2468
2469 * scripts/bench.py: Moved to ...
2470 * benchtests/scripts/bench.py: ... here.
2471 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2472
44152e4b
AS
24732014-03-24 Andreas Schwab <schwab@suse.de>
2474
2475 [BZ #16002]
2476 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2477 alloca_account and account alloca use for struct in6ailist.
2478
b376a11a
JM
24792014-03-24 Joseph Myers <joseph@codesourcery.com>
2480
2481 [BZ #16284]
2482 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2483 rounding mode to recompute results that overflow to infinity or
2484 underflow to zero.
2485 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2486 bug 16284.
2487 * math/auto-libm-test-out: Regenerated.
2488 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2489 (ccosh_test): Likewise.
2490 (csin_test_data): Use plus_oflow.
2491 (csin_test): Use ALL_RM_TEST.
2492 (csinh_test_data): Use plus_oflow.
2493 (csinh_test): Use ALL_RM_TEST.
2494 * sysdeps/i386/fpu/libm-test-ulps: Update.
2495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2496
f7be7376
JM
24972014-03-21 Joseph Myers <joseph@codesourcery.com>
2498
1ca2d03e
JM
2499 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2500 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2501 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2502
f7be7376
JM
2503 [BZ #16731]
2504 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2505 when x - 1 is zero.
2506 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2507 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2508 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2509 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2510 argument is 1.
2511 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2512 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2513 zero.
2514 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2515 * sysdeps/i386/fpu/libm-test-ulps: Update.
2516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2517
fdf4534d
SP
25182014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2519
df26ea53
SP
2520 * scripts/bench.pl: Remove file.
2521 * scripts/bench.py: New benchmark script.
2522 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2523 * benchtests/README: Mention python dependency.
2524 * scripts/pylintrc: New file.
2525 * scripts/pylint: New file.
2526
fdf4534d
SP
2527 * bits/mathdef.h: Use #ifdef instead of #if.
2528 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2529 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2530 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2531 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2532 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2533 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2534
6f23d093
AZ
25352014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2536 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2537
2538 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2540 and strpbrk-ppc64 objects.
2541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2542 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2543 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2544 multiarch strpbrk for POWER7.
2545 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2546 multiarch strpbrk for PPC64.
2547 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2548 ifunc selector.
2549 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2550 strpbrk for POWER7.
2551
8c92dfff
JM
25522014-03-20 Joseph Myers <joseph@codesourcery.com>
2553
2554 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2555 (atan_test): Likewise.
2556 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2557 (atanh_test): Use ALL_RM_TEST.
2558 (atan2_test_data): Likewise.
2559 (cabs_test): Likewise.
2560 (cacosh_test): Likewise.
2561 (carg_test): Likewise.
2562 (casin_test): Likewise.
2563 (casinh_test): Likewise.
2564 (cbrt_test): Likewise.
2565 (csqrt_test): Likewise.
2566 (erf_test): Likewise.
2567 (erfc_test): Likewise.
2568 (pow10_test): Likewise.
2569 (exp2_test): Likewise.
2570 (hypot_test): Likewise.
2571 (j0_test): Likewise.
2572 (j1_test): Likewise.
2573 (lgamma_test): Likewise.
2574 (gamma_test): Likewise.
2575 (sincos_test): Likewise.
2576 (tanh_test): Likewise.
2577 (y0_test): Likewise.
2578 (y1_test): Likewise.
2579 * sysdeps/i386/fpu/libm-test-ulps: Update.
2580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2581
6eaf95cb
AZ
25822014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2583
a387428c
SP
2584 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2586 and strcspn-ppc64 objects.
2587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2588 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2589 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2590 multiarch strcspn for POWER7.
2591 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2592 multiarch strcspn for PPC64.
2593 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2594 ifunc selector.
2595 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2596 strcspn for POWER7.
2597
ae3a5dff
JM
25982014-03-20 Joseph Myers <joseph@codesourcery.com>
2599
2600 * math/gen-libm-test.pl (generate_testfile): Expect only function
2601 name as argument to AUTO_TESTS_* and pass results for all rounding
2602 modes to parse_args.
2603 (parse_auto_input): Separate inputs of automatic tests from
2604 outputs before storing in %auto_tests.
2605 * math/libm-test.inc (acos_test_data): Update call to
2606 AUTO_TESTS_f_f.
2607 (acos_test): Use ALL_RM_TEST.
2608 (acos_tonearest_test_data): Remove.
2609 (acos_test_tonearest): Likewise.
2610 (acos_towardzero_test_data): Likewise.
2611 (acos_test_towardzero): Likewise.
2612 (acos_downward_test_data): Likewise.
2613 (acos_test_downward): Likewise.
2614 (acos_upward_test_data): Likewise.
2615 (acos_test_upward): Likewise.
2616 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2617 (asin_test_data): Likewise.
2618 (asin_test): Use ALL_RM_TEST.
2619 (asin_tonearest_test_data): Remove.
2620 (asin_test_tonearest): Likewise.
2621 (asin_towardzero_test_data): Likewise.
2622 (asin_test_towardzero): Likewise.
2623 (asin_downward_test_data): Likewise.
2624 (asin_test_downward): Likewise.
2625 (asin_upward_test_data): Likewise.
2626 (asin_test_upward): Likewise.
2627 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2628 (atan_test_data): Likewise.
2629 (atanh_test_data): Likewise.
2630 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2631 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2632 (carg_test_data): Likewise.
2633 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2634 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2635 (ccosh_test_data): Likewise.
2636 (cexp_test_data): Likewise.
2637 (clog_test_data): Likewise.
2638 (clog10_test_data): Likewise.
2639 (cos_test_data): Update call to AUTO_TESTS_f_f.
2640 (cos_test): Use ALL_RM_TEST.
2641 (cos_tonearest_test_data): Remove.
2642 (cos_test_tonearest): Likewise.
2643 (cos_towardzero_test_data): Likewise.
2644 (cos_test_towardzero): Likewise.
2645 (cos_downward_test_data): Likewise.
2646 (cos_test_downward): Likewise.
2647 (cos_upward_test_data): Likewise.
2648 (cos_test_upward): Likewise.
2649 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2650 (cosh_test): Use ALL_RM_TEST.
2651 (cosh_tonearest_test_data): Remove.
2652 (cosh_test_tonearest): Likewise.
2653 (cosh_towardzero_test_data): Likewise.
2654 (cosh_test_towardzero): Likewise.
2655 (cosh_downward_test_data): Likewise.
2656 (cosh_test_downward): Likewise.
2657 (cosh_upward_test_data): Likewise.
2658 (cosh_test_upward): Likewise.
2659 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2660 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2661 (ctan_test_data): Likewise.
2662 (ctan_test): Use ALL_RM_TEST.
2663 (ctan_tonearest_test_data): Remove.
2664 (ctan_test_tonearest): Likewise.
2665 (ctan_towardzero_test_data): Likewise.
2666 (ctan_test_towardzero): Likewise.
2667 (ctan_downward_test_data): Likewise.
2668 (ctan_test_downward): Likewise.
2669 (ctan_upward_test_data): Likewise.
2670 (ctan_test_upward): Likewise.
2671 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2672 (ctanh_test): Use ALL_RM_TEST.
2673 (ctanh_tonearest_test_data): Remove.
2674 (ctanh_test_tonearest): Likewise.
2675 (ctanh_towardzero_test_data): Likewise.
2676 (ctanh_test_towardzero): Likewise.
2677 (ctanh_downward_test_data): Likewise.
2678 (ctanh_test_downward): Likewise.
2679 (ctanh_upward_test_data): Likewise.
2680 (ctanh_test_upward): Likewise.
2681 (erf_test_data): Update call to AUTO_TESTS_f_f.
2682 (erfc_test_data): Likewise.
2683 (exp_test_data): Likewise.
2684 (exp_test): Use ALL_RM_TEST.
2685 (exp_tonearest_test_data): Remove.
2686 (exp_test_tonearest): Likewise.
2687 (exp_towardzero_test_data): Likewise.
2688 (exp_test_towardzero): Likewise.
2689 (exp_downward_test_data): Likewise.
2690 (exp_test_downward): Likewise.
2691 (exp_upward_test_data): Likewise.
2692 (exp_test_upward): Likewise.
2693 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2694 (exp10_test): Use ALL_RM_TEST.
2695 (exp10_tonearest_test_data): Remove.
2696 (exp10_test_tonearest): Likewise.
2697 (exp10_towardzero_test_data): Likewise.
2698 (exp10_test_towardzero): Likewise.
2699 (exp10_downward_test_data): Likewise.
2700 (exp10_test_downward): Likewise.
2701 (exp10_upward_test_data): Likewise.
2702 (exp10_test_upward): Likewise.
2703 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2704 (expm1_test_data): Likewise.
2705 (expm1_test): Use ALL_RM_TEST.
2706 (expm1_tonearest_test_data): Remove.
2707 (expm1_test_tonearest): Likewise.
2708 (expm1_towardzero_test_data): Likewise.
2709 (expm1_test_towardzero): Likewise.
2710 (expm1_downward_test_data): Likewise.
2711 (expm1_test_downward): Likewise.
2712 (expm1_upward_test_data): Likewise.
2713 (expm1_test_upward): Likewise.
2714 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2715 (fma_test): Use ALL_RM_TEST.
2716 (fma_towardzero_test_data): Remove.
2717 (fma_test_towardzero): Likewise.
2718 (fma_downward_test_data): Likewise.
2719 (fma_test_downward): Likewise.
2720 (fma_upward_test_data): Likewise.
2721 (fma_test_upward): Likewise.
2722 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2723 (j0_test_data): Update call to AUTO_TESTS_f_f.
2724 (j1_test_data): Likewise.
2725 (jn_test_data): Update call to AUTO_TESTS_if_f.
2726 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2727 (log_test_data): Update call to AUTO_TESTS_f_f.
2728 (log10_test_data): Likewise.
2729 (log1p_test_data): Likewise.
2730 (log2_test_data): Likewise.
2731 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2732 (pow_tonearest_test_data): Likewise.
2733 (sin_test_data): Update call to AUTO_TESTS_f_f.
2734 (sin_test): Use ALL_RM_TEST.
2735 (sin_tonearest_test_data): Remove.
2736 (sin_test_tonearest): Likewise.
2737 (sin_towardzero_test_data): Likewise.
2738 (sin_test_towardzero): Likewise.
2739 (sin_downward_test_data): Likewise.
2740 (sin_test_downward): Likewise.
2741 (sin_upward_test_data): Likewise.
2742 (sin_test_upward): Likewise.
2743 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2744 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2745 (sinh_test): Use ALL_RM_TEST.
2746 (sinh_tonearest_test_data): Remove.
2747 (sinh_test_tonearest): Likewise.
2748 (sinh_towardzero_test_data): Likewise.
2749 (sinh_test_towardzero): Likewise.
2750 (sinh_downward_test_data): Likewise.
2751 (sinh_test_downward): Likewise.
2752 (sinh_upward_test_data): Likewise.
2753 (sinh_test_upward): Likewise.
2754 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2755 (sqrt_test): Use ALL_RM_TEST.
2756 (sqrt_tonearest_test_data): Remove.
2757 (sqrt_test_tonearest): Likewise.
2758 (sqrt_towardzero_test_data): Likewise.
2759 (sqrt_test_towardzero): Likewise.
2760 (sqrt_downward_test_data): Likewise.
2761 (sqrt_test_downward): Likewise.
2762 (sqrt_upward_test_data): Likewise.
2763 (sqrt_test_upward): Likewise.
2764 (tan_test_data): Update call to AUTO_TESTS_f_f.
2765 (tan_test): Use ALL_RM_TEST.
2766 (tan_tonearest_test_data): Remove.
2767 (tan_test_tonearest): Likewise.
2768 (tan_towardzero_test_data): Likewise.
2769 (tan_test_towardzero): Likewise.
2770 (tan_downward_test_data): Likewise.
2771 (tan_test_downward): Likewise.
2772 (tan_upward_test_data): Likewise.
2773 (tan_test_upward): Likewise.
2774 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2775 (tgamma_test_data): Likewise.
2776 (y0_test_data): Likewise.
2777 (y1_test_data): Likewise.
2778 (yn_test_data): Update call to AUTO_TESTS_if_f.
2779 (main): Do not call removed functions.
2780
d71aeee8
JM
27812014-03-19 Joseph Myers <joseph@codesourcery.com>
2782
2783 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2784 (ldexp_test_data): Remove.
2785 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2786 scalbn_test_data.
2787 (scalb_test): Use ALL_RM_TEST.
2788
baaf1ded
AS
27892014-03-19 Andreas Schwab <schwab@suse.de>
2790
2791 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2792
b1115e91
JM
27932014-03-19 Joseph Myers <joseph@codesourcery.com>
2794
2795 [BZ #16649]
2796 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2797 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2798 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2800 (__ASSUME_PREADV): Undefine.
2801 (__ASSUME_PWRITEV): Likewise.
2802
0283ecca
RM
28032014-03-18 Roland McGrath <roland@hack.frob.com>
2804
7d375303
RM
2805 * bits/mman-linux.h: Add comment about non-Linux use.
2806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2807 bits/mman-linux.h resting place.
2808
0283ecca
RM
2809 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2810 * bits/mman-linux.h: ... here.
2811
aebe1003
AZ
28122014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2813
2814 * conform/conformtest.pl: Add standard definition when calling C
2815 preprocessor on data files.
2816 (checknamespace): Remove unused variable.
2817
b29b6bb8
JM
28182014-03-18 Joseph Myers <joseph@codesourcery.com>
2819
2820 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2821 minus_oflow, plus_uflow and minus_uflow in expected results.
2822 * math/libm-test.inc (scalbn_test_data): Add more tests of
2823 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2824 minus_uflow.
2825 (scalbn_test): Use ALL_RM_TEST.
2826 (scalbln_test_data): Add more tests of negative arguments. Use
2827 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2828 (scalbln_test): Use ALL_RM_TEST.
2829
c8f8fa15
RM
28302014-03-18 Roland McGrath <roland@hack.frob.com>
2831
2832 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2833
fede7a5f
WN
28342014-03-18 Will Newton <will.newton@linaro.org>
2835
2836 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2837 inaccurate comment.
2838
80cf0a58
JM
28392014-03-18 Joseph Myers <joseph@codesourcery.com>
2840
2841 * Makerules [!subdir] (check-abi): Exit with error status if a
2842 test failed.
2843
b3620862
JM
28442014-03-17 Joseph Myers <joseph@codesourcery.com>
2845
2846 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2847 for rint. Include results for all rounding modes.
2848 (nearbyint_test): Use ALL_RM_TEST.
2849 (rint_test_data): Include all tests used for nearbyint.
2850
788bba36
WN
28512014-03-17 Will Newton <will.newton@linaro.org>
2852
04ec140a
WN
2853 * nptl/sysdeps/pthread/pthread.h: Revert previous
2854 change.
2855
7579d8d5
WN
2856 * sysdeps/generic/ldsodefs.h: Revert previous
2857 change.
2858
c15cf13a
WN
2859 * libio/genops.c: Revert previous change.
2860 * libio/libioP.h: Likewise.
2861 * stdio-common/vfprintf.c: Likewise.
2862
d0ac1324
WN
2863 * sysdeps/generic/math_private.h: Revert previous
2864 change.
2865
9290130a
WN
2866 * sysdeps/generic/math_private.h: Check whether
2867 HAVE_RM_CTX is defined with #ifdef rather
2868 than #if.
2869
afb466fc
WN
2870 * argp/argp-fmtstream.h: Check whether
2871 __STRICT_ANSI__ is defined with #ifdef rather
2872 than #if.
2873 * argp/argp.h: Likewise.
2874
f7efd7c3
WN
2875 * libio/genops.c: Check whether
2876 _IO_JUMPS_OFFSET is defined with #ifdef rather
2877 than #if.
2878 * libio/libioP.h: Likewise.
2879 * stdio-common/vfprintf.c: Likewise.
2880
53f1bed3
WN
2881 * sysdeps/generic/ldsodefs.h: Check whether
2882 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2883 than #if.
2884
788bba36
WN
2885 * nptl/sysdeps/pthread/pthread.h: Check
2886 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2887 its value.
2888
fcd89ebe
SP
28892014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2890
ae42bbc5
SP
2891 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2892 setting O_APPEND.
2893 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2894 test case.
2895
ea33158c
SP
2896 [BZ #16680]
2897 * libio/fileops.c (_IO_file_open): Seek to end of file but
2898 don't cache the offset.
2899 (get_file_offset): Remove function.
2900 (do_ftell): Use cached offset when available.
2901 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2902 don't cache the offset.
2903 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2904 case.
2905 (do_one_test): Call it.
2906 (do_ftell_test): Fix up expected old offset for a+ mode.
2907 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2908 available.
2909
b1dbb426
SP
2910 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2911 up test status with function return status.
2912 (do_write_test): Likewise.
2913 (do_append_test): Likewise.
2914
fcd89ebe
SP
2915 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2916 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2917 Remove.
2918
9962a2d3
JM
29192014-03-17 Joseph Myers <joseph@codesourcery.com>
2920
2921 * math/gen-libm-test.pl (parse_args): Handle results specified for
2922 each rounding mode separately.
2923 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2924 tests and results from lrint_tonearest_test_data,
2925 lrint_towardzero_test_data, lrint_downward_test_data and
2926 lrint_upward_test_data.
2927 (lrint_test): Use ALL_RM_TEST.
2928 (lrint_tonearest_test_data): Remove.
2929 (lrint_test_tonearest): Likewise.
2930 (lrint_towardzero_test_data): Likewise.
2931 (lrint_test_towardzero): Likewise.
2932 (lrint_downward_test_data): Likewise.
2933 (lrint_test_downward): Likewise.
2934 (lrint_upward_test_data): Likewise.
2935 (lrint_test_upward): Likewise.
2936 (llrint_test_data): Merge in per-rounding-mode tests and results
2937 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2938 llrint_downward_test_data and llrint_upward_test_data.
2939 (llrint_test): Use ALL_RM_TEST.
2940 (llrint_tonearest_test_data): Remove.
2941 (llrint_test_tonearest): Likewise.
2942 (llrint_towardzero_test_data): Likewise.
2943 (llrint_test_towardzero): Likewise.
2944 (llrint_downward_test_data): Likewise.
2945 (llrint_test_downward): Likewise.
2946 (llrint_upward_test_data): Likewise.
2947 (llrint_test_upward): Likewise.
2948 (rint_test_data): Merge in per-rounding-mode tests and results
2949 from rint_tonearest_test_data, rint_towardzero_test_data,
2950 rint_downward_test_data and rint_upward_test_data. Add
2951 per-rounding-mode results for tests not in those arrays.
2952 (rint_test): Use ALL_RM_TEST.
2953 (rint_tonearest_test_data): Remove.
2954 (rint_test_tonearest): Likewise.
2955 (rint_towardzero_test_data): Likewise.
2956 (rint_test_towardzero): Likewise.
2957 (rint_downward_test_data): Likewise.
2958 (rint_test_downward): Likewise.
2959 (rint_upward_test_data): Likewise.
2960 (rint_test_upward): Likewise.
2961 (main): Don't call removed functions.
2962
5006148e
RM
29632014-03-14 Roland McGrath <roland@hack.frob.com>
2964
2965 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2966 "Compiled on ..." crapola. It is anti-useful.
2967
d6fe5e58
JM
29682014-03-14 Joseph Myers <joseph@codesourcery.com>
2969
2970 * scripts/evaluate-test.sh: Handle fourth argument to determine
2971 whether test run should stop on failure.
2972 * Makeconfig (stop-on-test-failure): New variable.
2973 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2974 $(stop-on-test-failure).
2975 * Makefile (tests): Give a summary of results from testing and
2976 exit with failure status if they include an ERROR or FAIL.
2977 (xtests): Likewise.
2978 * manual/install.texi (Configuring and compiling): Mention
2979 stop-on-test-failure=y.
2980 * INSTALL: Regenerated.
2981
498a2233
RM
29822014-03-14 Roland McGrath <roland@hack.frob.com>
2983
22dbc19d
RM
2984 * scripts/versionlist.awk: New file.
2985 * Makerules [$(build-shared) = yes]
2986 (postclean-generated): Add Versions.def, not Versions.def.v and
2987 Versions.def.v.i.
2988 ($(common-objpfx)Versions.def.v.i): Target removed.
2989 ($(common-objpfx)Versions.def): New target.
2990 ($(common-objpfx)Versions.all): Depend on that rather that
2991 $(common-objpfx)Versions.def.v.
2992 * Versions.def: File removed.
2993
498a2233
RM
2994 * Makeconfig (+gccwarn): Add -Wundef.
2995 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2996 a dl-sysdep.h breaking its contract.
2997 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2998 * include/stackinfo.h: New file.
2999 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3000 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3001 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3002 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3003 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3004 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3005 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3006 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3007 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3008 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3009 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3010 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3011 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3012 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3013 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3014
c7de5025
AZ
30152014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3016
3017 [BZ #16707]
3018 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3019 implementation.
3020 * math/libm-test.inc (round_test_data): Add more tests.
3021
98fb27a3
AZ
3022 [BZ #16706]
3023 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3024 implementation.
3025 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3026
374f7f61
AZ
3027 [BZ #16701]
3028 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3029 implementation.
3030 * math/libm-test.inc (ceil_test_data): Add more tests.
3031
4655c291
AZ
3032 * math/libm-test.inc (trunc_test_data): Add more tests related to
3033 BZ#16414.
3034
d7329d4b
RM
30352014-03-14 Roland McGrath <roland@hack.frob.com>
3036
3037 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3038 with #if rather than #ifdef.
3039 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3040
aa4de9ce
L
30412014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3044 first. Disable AVX-512 GCC support if assembler doesn't support
3045 it.
3046 * sysdeps/x86_64/configure: Regenerated.
3047
2e03fae7
CD
30482014-03-13 Carlos O'Donell <carlos@redhat.com>
3049
3050 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3051 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3052 (__old_pthread_attr_setstack): Likewise.
3053 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3054 [!_STACK_GROWS_DOWN]: Likewise.
3055
43ca83ec
MF
30562014-03-13 Mike Frysinger <vapier@gentoo.org>
3057
3058 * config.make.in (have-bash2): Delete.
3059 * configure.ac (libc_cv_have_bash2): Delete.
3060 * configure: Regenerate.
3061 * elf/Makefile (common-ldd-rewrite): Rename to ...
3062 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3063 (sh-ldd-rewrite): Delete.
3064 (bash-ldd-rewrite): Delete.
3065 (have-bash2): Delete checks.
57f41c40
AS
3066 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3067 ldd-rewrite.
c66e48b4
MF
3068
3069 * config.make.in (have-ksh): Delete.
3070 (KSH): Delete.
3071 * configure.ac (libc_cv_have_ksh): Delete.
3072 * configure: Regenerate.
3073
b93834ef
MF
3074 * elf/Makefile: Delete $(have-ksh) check.
3075 ($(objpfx)sotruss): Change KSH to BASH.
3076 * elf/sotruss.ksh: Rename to ...
3077 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3078 function style to match POSIX. Drop ksh vim mode setting.
3079
f3a4632a
MF
3080 * manual/time.texi (Specifying the Time Zone with TZ): Change
3081 Tuesday to Thursday.
3082
5896c8bd
MF
3083 * debug/tst-longjmp_chk2.c: Update header comment.
3084 (stackoverflow_handler): Add comment. Call assert on pass value.
3085
2d63a517
IZ
30862014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3087
3088 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3089 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3090 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3091 (La_x86_64_vector): Add zmm.
3092 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3093 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3094 ($(objpfx)tst-audit10): New target.
3095 ($(objpfx)tst-audit10.out): Likewise.
3096 (tst-audit10-ENV): New.
3097 (AVX512-CFLAGS): Likewise.
3098 (CFLAGS-tst-audit10.c): Likewise.
3099 (CFLAGS-tst-auditmod10a.c): Likewise.
3100 (CFLAGS-tst-auditmod10b.c): Likewise.
3101 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3102 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3103 * sysdeps/x86_64/configure: Regenerated.
3104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3105 AVX-512 zmm register support.
3106 (_dl_x86_64_save_sse): Likewise.
3107 (_dl_x86_64_restore_sse): Likewise.
3108 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3109 size vector registers.
3110 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3111 (ZMM_SIZE): Likewise.
3112 * sysdeps/x86_64/tst-audit10.c: New file.
3113 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3114 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3115
44c4e5d5
RM
31162014-03-13 Roland McGrath <roland@hack.frob.com>
3117
3118 * configure.ac (HAVE_EHDR_START): New check.
3119 * configure: Regenerated.
3120 * config.h.in (HAVE_EHDR_START): New #undef.
3121 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3122 assuming the lowest-addressed segment maps the start of the file.
3123
acd6e389
JM
31242014-03-13 Joseph Myers <joseph@codesourcery.com>
3125
3126 * INSTALL: Regenerated.
3127
6f918f36
WN
31282014-03-13 Will Newton <will.newton@linaro.org>
3129
3130 * manual/setjmp.texi (System V contexts): Improve
3131 clarity and grammar of documentation.
3132
798212a0
PP
31332014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3134
3135 [BZ #16381]
798212a0 3136 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3137 (tests-pie): Add tst-pie2.
798212a0
PP
3138 * elf/tst-pie2.c: New file.
3139 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3140 for ET_EXEC.
3141 * elf/rtld.c (map_doit): Load executable as lt_executable.
3142 (dl_main): Likewise.
3143
abe6d90c
JM
31442014-03-12 Joseph Myers <joseph@codesourcery.com>
3145
3146 [BZ #16642]
3147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3148 (__ASSUME_PSELECT): Undefine.
3149
dd3946c6
AZ
31502014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3151
3152 [BZ #16689]
3153 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3154 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3155 static build.
3156 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3157 selector for static builds.
3158
c44496df
SP
31592014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3160
3161 [BZ #16695]
3162 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3163 key in the buffer.
3164
27c7220a
AZ
31652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3166
57f41c40
AS
3167 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3168 IFUNC selector for static builds.
27c7220a 3169
600fa361
JM
31702014-03-11 Joseph Myers <joseph@codesourcery.com>
3171
76c96cf7
JM
3172 * sysdeps/mips/math_private.h [__mips_hard_float]
3173 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3174 libc_feresetround_mips_ctx.
3175 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3176 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3177 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3178
600fa361
JM
3179 [BZ #16677]
3180 * math/s_nextafter.c (__nextafter): Do not return value from
3181 overflowing computation.
3182 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3183 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3184 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3185 Likewise.
3186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3187 Likewise.
3188 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3189 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3190
d7706c32
RM
31912014-03-11 Roland McGrath <roland@hack.frob.com>
3192
3193 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3194 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3195 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3196 the new mov targetting sp.
3197
4facea47
AZ
31982014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3199
3200 [BZ #16683]
3201 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3202 Define it for static builds as well.
3203 (NO_BZERO_IMPL): Likewise.
3204
e65caf1f
VR
32052014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3206
3207 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3208 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3209 multiarch strspn for PPC64.
3210 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3211 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3213 (__libc_ifunc_impl_list): Likewise.
3214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3215 multiarch optimizations
3216 * string/strspn.c (strspn): Using macro to redefine symbol name.
3217
ba9cc071
AZ
32182014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3219 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3220
3221 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3222 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3223 multiarch strncat for PPC64.
3224 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3225 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3227 (__libc_ifunc_impl_list): Likewise.
3228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3229 multiarch optimizations
3230
8b4ff974
SP
32312014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3232
3233 [BZ #16639]
3234 * nscd/nscd.service: Make service type forking.
3235
54b46a4b
AZ
32362014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3237
3238 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3239 sign in non default rounding modes.
3240 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3241
e9996ef7
JM
32422014-03-08 Joseph Myers <joseph@codesourcery.com>
3243
3244 * math/libm-test.inc (ALL_RM_TEST): New macro.
3245 (ceil_test): Use ALL_RM_TEST.
3246 (cimag_test): Likewise.
3247 (conj_test): Likewise.
3248 (copysign_test): Likewise.
3249 (cproj_test): Likewise.
3250 (creal_test): Likewise.
3251 (fabs_test): Likewise.
3252 (floor_test): Likewise.
3253 (fmax_test): Likewise.
3254 (fmin_test): Likewise.
3255 (fmod_test): Likewise.
3256 (fpclassify_test): Likewise.
3257 (frexp_test): Likewise.
3258 (ilogb_test): Likewise.
3259 (isfinite_test): Likewise.
3260 (finite_test): Likewise.
3261 (isgreater_test): Likewise.
3262 (isgreaterequal_test): Likewise.
3263 (isinf_test): Likewise.
3264 (isless_test): Likewise.
3265 (islessequal_test): Likewise.
3266 (islessgreater_test): Likewise.
3267 (isnan_test): Likewise.
3268 (isnormal_test): Likewise.
3269 (issignaling_test): Likewise.
3270 (isunordered_test): Likewise.
3271 (logb_test): Likewise.
3272 (logb_downward_test_data): Remove.
3273 (logb_test_downward): Likewise.
3274 (lround_test): Use ALL_RM_TEST.
3275 (llround_test): Likewise.
3276 (modf_test): Likewise.
3277 (nexttoward_test): Likewise.
3278 (remainder_test): Likewise.
3279 (drem_test): Likewise.
3280 (remainder_tonearest_test_data): Likewise.
3281 (remainder_test_tonearest): Likewise.
3282 (drem_test_tonearest): Likewise.
3283 (remainder_towardzero_test_data): Likewise.
3284 (remainder_test_towardzero): Likewise.
3285 (drem_test_towardzero): Likewise.
3286 (remainder_downward_test_data): Likewise.
3287 (remainder_test_downward): Likewise.
3288 (drem_test_downward): Likewise.
3289 (remainder_upward_test_data): Likewise.
3290 (remainder_test_upward): Likewise.
3291 (drem_test_upward): Likewise.
3292 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3293 (round_test): Use ALL_RM_TEST.
3294 (signbit_test): Likewise.
3295 (trunc_test): Likewise.
3296 (significand_test): Likewise.
3297 (main): Don't call removed functions.
3298
bc61d27c
JM
32992014-03-07 Joseph Myers <joseph@codesourcery.com>
3300
5c780849
JM
3301 [BZ #16674]
3302 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3303 || __USE_XOPEN2K8].
3304 (ILL_ILLOPN): Likewise.
3305 (ILL_ILLADR): Likewise.
3306 (ILL_ILLTRP): Likewise.
3307 (ILL_PRVOPC): Likewise.
3308 (ILL_PRVREG): Likewise.
3309 (ILL_COPROC): Likewise.
3310 (ILL_BADSTK): Likewise.
3311 (FPE_INTDIV): Likewise.
3312 (FPE_INTOVF): Likewise.
3313 (FPE_FLTDIV): Likewise.
3314 (FPE_FLTOVF): Likewise.
3315 (FPE_FLTUND): Likewise.
3316 (FPE_FLTRES): Likewise.
3317 (FPE_FLTINV): Likewise.
3318 (FPE_FLTSUB): Likewise.
3319 (SEGV_MAPERR): Likewise.
3320 (SEGV_ACCERR): Likewise.
3321 (BUS_ADRALN): Likewise.
3322 (BUS_ADRERR): Likewise.
3323 (BUS_OBJERR): Likewise.
3324 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3325 (TRAP_TRACE): Likewise.
3326 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3327 __USE_XOPEN2K8].
3328 (CLD_KILLED): Likewise.
3329 (CLD_DUMPED): Likewise.
3330 (CLD_TRAPPED): Likewise.
3331 (CLD_STOPPED): Likewise.
3332 (CLD_CONTINUED): Likewise.
3333 (POLL_IN): Likewise.
3334 (POLL_OUT): Likewise.
3335 (POLL_MSG): Likewise.
3336 (POLL_ERR): Likewise.
3337 (POLL_PRI): Likewise.
3338 (POLL_HUP): Likewise.
3339 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3340 Likewise.
3341 (ILL_ILLOPN): Likewise.
3342 (ILL_ILLADR): Likewise.
3343 (ILL_ILLTRP): Likewise.
3344 (ILL_PRVOPC): Likewise.
3345 (ILL_PRVREG): Likewise.
3346 (ILL_COPROC): Likewise.
3347 (ILL_BADSTK): Likewise.
3348 (FPE_INTDIV): Likewise.
3349 (FPE_INTOVF): Likewise.
3350 (FPE_FLTDIV): Likewise.
3351 (FPE_FLTOVF): Likewise.
3352 (FPE_FLTUND): Likewise.
3353 (FPE_FLTRES): Likewise.
3354 (FPE_FLTINV): Likewise.
3355 (FPE_FLTSUB): Likewise.
3356 (SEGV_MAPERR): Likewise.
3357 (SEGV_ACCERR): Likewise.
3358 (BUS_ADRALN): Likewise.
3359 (BUS_ADRERR): Likewise.
3360 (BUS_OBJERR): Likewise.
3361 (BUS_MCEERR_AR): Likewise.
3362 (BUS_MCEERR_AO): Likewise.
3363 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3364 (TRAP_TRACE): Likewise.
3365 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3366 __USE_XOPEN2K8].
3367 (CLD_KILLED): Likewise.
3368 (CLD_DUMPED): Likewise.
3369 (CLD_TRAPPED): Likewise.
3370 (CLD_STOPPED): Likewise.
3371 (CLD_CONTINUED): Likewise.
3372 (POLL_IN): Likewise.
3373 (POLL_OUT): Likewise.
3374 (POLL_MSG): Likewise.
3375 (POLL_ERR): Likewise.
3376 (POLL_PRI): Likewise.
3377 (POLL_HUP): Likewise.
3378 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3379 (ILL_ILLOPN): Likewise.
3380 (ILL_ILLADR): Likewise.
3381 (ILL_ILLTRP): Likewise.
3382 (ILL_PRVOPC): Likewise.
3383 (ILL_PRVREG): Likewise.
3384 (ILL_COPROC): Likewise.
3385 (ILL_BADSTK): Likewise.
3386 (FPE_INTDIV): Likewise.
3387 (FPE_INTOVF): Likewise.
3388 (FPE_FLTDIV): Likewise.
3389 (FPE_FLTOVF): Likewise.
3390 (FPE_FLTUND): Likewise.
3391 (FPE_FLTRES): Likewise.
3392 (FPE_FLTINV): Likewise.
3393 (FPE_FLTSUB): Likewise.
3394 (SEGV_MAPERR): Likewise.
3395 (SEGV_ACCERR): Likewise.
3396 (BUS_ADRALN): Likewise.
3397 (BUS_ADRERR): Likewise.
3398 (BUS_OBJERR): Likewise.
3399 (BUS_MCEERR_AR): Likewise.
3400 (BUS_MCEERR_AO): Likewise.
3401 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3402 (TRAP_TRACE): Likewise.
3403 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3404 __USE_XOPEN2K8].
3405 (CLD_KILLED): Likewise.
3406 (CLD_DUMPED): Likewise.
3407 (CLD_TRAPPED): Likewise.
3408 (CLD_STOPPED): Likewise.
3409 (CLD_CONTINUED): Likewise.
3410 (POLL_IN): Likewise.
3411 (POLL_OUT): Likewise.
3412 (POLL_MSG): Likewise.
3413 (POLL_ERR): Likewise.
3414 (POLL_PRI): Likewise.
3415 (POLL_HUP): Likewise.
3416 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3417 Likewise.
3418 (ILL_ILLOPN): Likewise.
3419 (ILL_ILLADR): Likewise.
3420 (ILL_ILLTRP): Likewise.
3421 (ILL_PRVOPC): Likewise.
3422 (ILL_PRVREG): Likewise.
3423 (ILL_COPROC): Likewise.
3424 (ILL_BADSTK): Likewise.
3425 (ILL_BADIADDR): Likewise.
3426 (ILL_BREAK): Likewise.
3427 (FPE_INTDIV): Likewise.
3428 (FPE_INTOVF): Likewise.
3429 (FPE_FLTDIV): Likewise.
3430 (FPE_FLTOVF): Likewise.
3431 (FPE_FLTUND): Likewise.
3432 (FPE_FLTRES): Likewise.
3433 (FPE_FLTINV): Likewise.
3434 (FPE_FLTSUB): Likewise.
3435 (FPE_DECOVF): Likewise.
3436 (FPE_DECDIV): Likewise.
3437 (FPE_DECERR): Likewise.
3438 (FPE_INVASC): Likewise.
3439 (FPE_INVDEC): Likewise.
3440 (SEGV_MAPERR): Likewise.
3441 (SEGV_ACCERR): Likewise.
3442 (SEGV_PSTKOVF): Likewise.
3443 (BUS_ADRALN): Likewise.
3444 (BUS_ADRERR): Likewise.
3445 (BUS_OBJERR): Likewise.
3446 (BUS_MCEERR_AR): Likewise.
3447 (BUS_MCEERR_AO): Likewise.
3448 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3449 (TRAP_TRACE): Likewise.
3450 (TRAP_BRANCH): Likewise.
3451 (TRAP_HWBKPT): Likewise.
3452 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3453 __USE_XOPEN2K8].
3454 (CLD_KILLED): Likewise.
3455 (CLD_DUMPED): Likewise.
3456 (CLD_TRAPPED): Likewise.
3457 (CLD_STOPPED): Likewise.
3458 (CLD_CONTINUED): Likewise.
3459 (POLL_IN): Likewise.
3460 (POLL_OUT): Likewise.
3461 (POLL_MSG): Likewise.
3462 (POLL_ERR): Likewise.
3463 (POLL_PRI): Likewise.
3464 (POLL_HUP): Likewise.
3465 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3466 (ILL_ILLOPN): Likewise.
3467 (ILL_ILLADR): Likewise.
3468 (ILL_ILLTRP): Likewise.
3469 (ILL_PRVOPC): Likewise.
3470 (ILL_PRVREG): Likewise.
3471 (ILL_COPROC): Likewise.
3472 (ILL_BADSTK): Likewise.
3473 (FPE_INTDIV): Likewise.
3474 (FPE_INTOVF): Likewise.
3475 (FPE_FLTDIV): Likewise.
3476 (FPE_FLTOVF): Likewise.
3477 (FPE_FLTUND): Likewise.
3478 (FPE_FLTRES): Likewise.
3479 (FPE_FLTINV): Likewise.
3480 (FPE_FLTSUB): Likewise.
3481 (SEGV_MAPERR): Likewise.
3482 (SEGV_ACCERR): Likewise.
3483 (BUS_ADRALN): Likewise.
3484 (BUS_ADRERR): Likewise.
3485 (BUS_OBJERR): Likewise.
3486 (BUS_MCEERR_AR): Likewise.
3487 (BUS_MCEERR_AO): Likewise.
3488 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3489 (TRAP_TRACE): Likewise.
3490 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3491 __USE_XOPEN2K8].
3492 (CLD_KILLED): Likewise.
3493 (CLD_DUMPED): Likewise.
3494 (CLD_TRAPPED): Likewise.
3495 (CLD_STOPPED): Likewise.
3496 (CLD_CONTINUED): Likewise.
3497 (POLL_IN): Likewise.
3498 (POLL_OUT): Likewise.
3499 (POLL_MSG): Likewise.
3500 (POLL_ERR): Likewise.
3501 (POLL_PRI): Likewise.
3502 (POLL_HUP): Likewise.
3503 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3504 (ILL_ILLOPN): Likewise.
3505 (ILL_ILLADR): Likewise.
3506 (ILL_ILLTRP): Likewise.
3507 (ILL_PRVOPC): Likewise.
3508 (ILL_PRVREG): Likewise.
3509 (ILL_COPROC): Likewise.
3510 (ILL_BADSTK): Likewise.
3511 (FPE_INTDIV): Likewise.
3512 (FPE_INTOVF): Likewise.
3513 (FPE_FLTDIV): Likewise.
3514 (FPE_FLTOVF): Likewise.
3515 (FPE_FLTUND): Likewise.
3516 (FPE_FLTRES): Likewise.
3517 (FPE_FLTINV): Likewise.
3518 (FPE_FLTSUB): Likewise.
3519 (SEGV_MAPERR): Likewise.
3520 (SEGV_ACCERR): Likewise.
3521 (BUS_ADRALN): Likewise.
3522 (BUS_ADRERR): Likewise.
3523 (BUS_OBJERR): Likewise.
3524 (BUS_MCEERR_AR): Likewise.
3525 (BUS_MCEERR_AO): Likewise.
3526 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3527 (TRAP_TRACE): Likewise.
3528 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3529 __USE_XOPEN2K8].
3530 (CLD_KILLED): Likewise.
3531 (CLD_DUMPED): Likewise.
3532 (CLD_TRAPPED): Likewise.
3533 (CLD_STOPPED): Likewise.
3534 (CLD_CONTINUED): Likewise.
3535 (POLL_IN): Likewise.
3536 (POLL_OUT): Likewise.
3537 (POLL_MSG): Likewise.
3538 (POLL_ERR): Likewise.
3539 (POLL_PRI): Likewise.
3540 (POLL_HUP): Likewise.
3541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3542 (ILL_ILLOPN): Likewise.
3543 (ILL_ILLADR): Likewise.
3544 (ILL_ILLTRP): Likewise.
3545 (ILL_PRVOPC): Likewise.
3546 (ILL_PRVREG): Likewise.
3547 (ILL_COPROC): Likewise.
3548 (ILL_BADSTK): Likewise.
3549 (FPE_INTDIV): Likewise.
3550 (FPE_INTOVF): Likewise.
3551 (FPE_FLTDIV): Likewise.
3552 (FPE_FLTOVF): Likewise.
3553 (FPE_FLTUND): Likewise.
3554 (FPE_FLTRES): Likewise.
3555 (FPE_FLTINV): Likewise.
3556 (FPE_FLTSUB): Likewise.
3557 (SEGV_MAPERR): Likewise.
3558 (SEGV_ACCERR): Likewise.
3559 (BUS_ADRALN): Likewise.
3560 (BUS_ADRERR): Likewise.
3561 (BUS_OBJERR): Likewise.
3562 (BUS_MCEERR_AR): Likewise.
3563 (BUS_MCEERR_AO): Likewise.
3564 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3565 (TRAP_TRACE): Likewise.
3566 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3567 __USE_XOPEN2K8].
3568 (CLD_KILLED): Likewise.
3569 (CLD_DUMPED): Likewise.
3570 (CLD_TRAPPED): Likewise.
3571 (CLD_STOPPED): Likewise.
3572 (CLD_CONTINUED): Likewise.
3573 (POLL_IN): Likewise.
3574 (POLL_OUT): Likewise.
3575 (POLL_MSG): Likewise.
3576 (POLL_ERR): Likewise.
3577 (POLL_PRI): Likewise.
3578 (POLL_HUP): Likewise.
3579 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3580 (ILL_ILLOPN): Likewise.
3581 (ILL_ILLADR): Likewise.
3582 (ILL_ILLTRP): Likewise.
3583 (ILL_PRVOPC): Likewise.
3584 (ILL_PRVREG): Likewise.
3585 (ILL_COPROC): Likewise.
3586 (ILL_BADSTK): Likewise.
3587 (ILL_DBLFLT): Likewise.
3588 (ILL_HARDWALL): Likewise.
3589 (FPE_INTDIV): Likewise.
3590 (FPE_INTOVF): Likewise.
3591 (FPE_FLTDIV): Likewise.
3592 (FPE_FLTOVF): Likewise.
3593 (FPE_FLTUND): Likewise.
3594 (FPE_FLTRES): Likewise.
3595 (FPE_FLTINV): Likewise.
3596 (FPE_FLTSUB): Likewise.
3597 (SEGV_MAPERR): Likewise.
3598 (SEGV_ACCERR): Likewise.
3599 (BUS_ADRALN): Likewise.
3600 (BUS_ADRERR): Likewise.
3601 (BUS_OBJERR): Likewise.
3602 (BUS_MCEERR_AR): Likewise.
3603 (BUS_MCEERR_AO): Likewise.
3604 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3605 (TRAP_TRACE): Likewise.
3606 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3607 __USE_XOPEN2K8].
3608 (CLD_KILLED): Likewise.
3609 (CLD_DUMPED): Likewise.
3610 (CLD_TRAPPED): Likewise.
3611 (CLD_STOPPED): Likewise.
3612 (CLD_CONTINUED): Likewise.
3613 (POLL_IN): Likewise.
3614 (POLL_OUT): Likewise.
3615 (POLL_MSG): Likewise.
3616 (POLL_ERR): Likewise.
3617 (POLL_PRI): Likewise.
3618 (POLL_HUP): Likewise.
3619 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3620 (ILL_ILLOPN): Likewise.
3621 (ILL_ILLADR): Likewise.
3622 (ILL_ILLTRP): Likewise.
3623 (ILL_PRVOPC): Likewise.
3624 (ILL_PRVREG): Likewise.
3625 (ILL_COPROC): Likewise.
3626 (ILL_BADSTK): Likewise.
3627 (FPE_INTDIV): Likewise.
3628 (FPE_INTOVF): Likewise.
3629 (FPE_FLTDIV): Likewise.
3630 (FPE_FLTOVF): Likewise.
3631 (FPE_FLTUND): Likewise.
3632 (FPE_FLTRES): Likewise.
3633 (FPE_FLTINV): Likewise.
3634 (FPE_FLTSUB): Likewise.
3635 (SEGV_MAPERR): Likewise.
3636 (SEGV_ACCERR): Likewise.
3637 (BUS_ADRALN): Likewise.
3638 (BUS_ADRERR): Likewise.
3639 (BUS_OBJERR): Likewise.
3640 (BUS_MCEERR_AR): Likewise.
3641 (BUS_MCEERR_AO): Likewise.
3642 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3643 (TRAP_TRACE): Likewise.
3644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3645 __USE_XOPEN2K8].
3646 (CLD_KILLED): Likewise.
3647 (CLD_DUMPED): Likewise.
3648 (CLD_TRAPPED): Likewise.
3649 (CLD_STOPPED): Likewise.
3650 (CLD_CONTINUED): Likewise.
3651 (POLL_IN): Likewise.
3652 (POLL_OUT): Likewise.
3653 (POLL_MSG): Likewise.
3654 (POLL_ERR): Likewise.
3655 (POLL_PRI): Likewise.
3656 (POLL_HUP): Likewise.
3657 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3658 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3659
bc61d27c
JM
3660 [BZ #16670]
3661 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3662 before #include of <time.h>.
3663 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3664 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3665 (test-xfail-UNIX98/sched.h/conform): Likewise.
3666
302949e2
MS
36672014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3668
3669 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3670 error absence of trapping exception support.
3671 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3672
a00f522a
JM
36732014-03-07 Joseph Myers <joseph@codesourcery.com>
3674
6f99f280
JM
3675 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3676 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3677 * timezone/Makefile (testdata): Move definition above include of
3678 Rules.
3679 (test-zones): New variable.
3680 (tests-special): Add zone files.
3681 (build-testdata): Use $(evaluate-test).
3682
0b20a9e8
JM
3683 * elf/Makefile (tests-special): Rename tests to end with .out.
3684 ($(objpfx)noload-mem): Likewise.
3685 ($(objpfx)tst-leaks1-mem): Likewise.
3686 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3687 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3688 $(objpfx)test-iconvconfig.out.
3689 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3690 set -e inside subshell and redirect output to file.
3691 * iconvdata/Makefile (generated): Rename tests to end with .out.
3692 Correct type.
3693 (tests-special): Rename tests to end with .out.
3694 ($(objpfx)mtrace-tst-loading): Likewise.
3695 * intl/Makefile (generated): Likewise.
3696 (tests-special): Likewise.
3697 ($(objpfx)mtrace-tst-gettext): Likewise.
3698 * misc/Makefile (generated): Likewise.
3699 (tests-special): Likewise.
3700 ($(objpfx)tst-error1-mem): Likewise.
3701 * nptl/Makefile (tests-special): Likewise.
3702 ($(objpfx)tst-stack3-mem): Likewise.
3703 (generated): Likewise.
3704 * posix/Makefile (generated): Likewise.
3705 (tests-special): Likewise.
3706 (xtests-special): Likewise.
3707 ($(objpfx)tst-fnmatch-mem): Likewise.
3708 ($(objpfx)bug-regex2-mem): Likewise.
3709 ($(objpfx)bug-regex14-mem): Likewise.
3710 ($(objpfx)bug-regex21-mem): Likewise.
3711 ($(objpfx)bug-regex31-mem): Likewise.
3712 ($(objpfx)tst-vfork3-mem): Likewise.
3713 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3714 ($(objpfx)tst-pcre-mem): Likewise.
3715 ($(objpfx)tst-boost-mem): Likewise.
3716 ($(objpfx)bug-ga2-mem): Likewise.
3717 ($(objpfx)bug-glob2-mem): Likewise.
3718 * resolv/Makefile (generate): Likewise.
3719 (tests-special): Likewise.
3720 (xtests-special): Likewise.
3721 (generated): Likewise.
3722 ($(objpfx)mtrace-tst-leaks): Likewise.
3723 ($(objpfx)mtrace-tst-leaks2): Likewise.
3724
265d52ab
JM
3725 * scripts/merge-test-results.sh: New file.
3726 * Makefile (tests-special-notdir): New variable.
3727 (tests): Run merge-test-results.sh.
3728 (xtests): Likewise.
3729 * Rules (tests-special-notdir): New variable.
3730 (xtests-special-notdir): Likewise.
3731 (tests): Run merge-test-results.sh
3732 (xtests): Likewise.
3733
54ee292d
JM
3734 * Makeconfig (test-xfail-name): New variable.
3735 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3736 compute variable name for expected failures.
3737 * conform/Makefile (conformtest-headers-data): New variable.
3738 (conformtest-standards): Likewise.
3739 (conformtest-headers-ISO): Likewise.
3740 (conformtest-headers-ISO99): Likewise.
3741 (conformtest-headers-ISO11): Likewise.
3742 (conformtest-headers-POSIX): Likewise.
3743 (conformtest-headers-XPG3): Likewise.
3744 (conformtest-headers-XPG4): Likewise.
3745 (conformtest-headers-UNIX98): Likewise.
3746 (conformtest-headers-XOPEN2K): Likewise.
3747 (conformtest-headers-POSIX2008): Likewise.
3748 (conformtest-headers-XOPEN2K8): Likewise.
3749 (conformtest-header-list-base): Likewise.
3750 (conformtest-header-list-tests): Likewise.
3751 (conformtest-header-base): Likewise.
3752 (conformtest-header-tests): Likewise.
3753 (tests-special): Add $(conformtest-header-list-tests). If
3754 [$(fast-check) && !$(cross-compiling)], add
3755 $(conformtest-header-tests) instead of
3756 $(objpfx)run-conformtest.out.
3757 (generated): Add $(conformtest-header-list-base). If
3758 [$(fast-check) && !$(cross-compiling)], add
3759 $(conformtest-header-base). Remove previous setting.
3760 ($(conformtest-header-list-tests)): New target.
3761 (test-xfail-run-conformtest): Remove variable.
3762 ($(objpfx)run-conformtest.out): Remove target.
3763 (test-xfail-ISO11/complex.h/conform): New variable.
3764 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3765 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3766 (test-xfail-XPG3/varargs.h/conform): Likewise.
3767 (test-xfail-XPG4/varargs.h/conform): Likewise.
3768 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3769 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3770 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3771 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3772 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3773 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3774 (test-xfail-XPG3/ftw.h/conform): Likewise.
3775 (test-xfail-XPG3/grp.h/conform): Likewise.
3776 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3777 (test-xfail-XPG3/limits.h/conform): Likewise.
3778 (test-xfail-XPG3/pwd.h/conform): Likewise.
3779 (test-xfail-XPG3/search.h/conform): Likewise.
3780 (test-xfail-XPG3/signal.h/conform): Likewise.
3781 (test-xfail-XPG3/stdio.h/conform): Likewise.
3782 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3783 (test-xfail-XPG3/string.h/conform): Likewise.
3784 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3785 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3786 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3787 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3788 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3789 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3790 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3791 (test-xfail-XPG3/termios.h/conform): Likewise.
3792 (test-xfail-XPG3/time.h/conform): Likewise.
3793 (test-xfail-XPG3/unistd.h/conform): Likewise.
3794 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3795 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3796 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3797 (test-xfail-XPG4/netdb.h/conform): Likewise.
3798 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3799 (test-xfail-XPG4/signal.h/conform): Likewise.
3800 (test-xfail-XPG4/stdio.h/conform): Likewise.
3801 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3802 (test-xfail-XPG4/stropts.h/conform): Likewise.
3803 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3804 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3805 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3806 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3807 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3808 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3809 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3810 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3811 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3812 (test-xfail-XPG4/termios.h/conform): Likewise.
3813 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3814 (test-xfail-XPG4/unistd.h/conform): Likewise.
3815 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3816 (test-xfail-POSIX/sched.h/conform): Likewise.
3817 (test-xfail-POSIX/signal.h/conform): Likewise.
3818 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3819 (test-xfail-POSIX/tar.h/conform): Likewise.
3820 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3821 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3822 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3823 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3824 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3825 (test-xfail-UNIX98/sched.h/conform): Likewise.
3826 (test-xfail-UNIX98/signal.h/conform): Likewise.
3827 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3828 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3829 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3830 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3831 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3832 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3833 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3834 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3835 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3836 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3837 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3838 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3839 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3840 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3841 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3842 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3843 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3844 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3845 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3846 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3847 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3848 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3849 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3850 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3851 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3852 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3853 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3854 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3855 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3856 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3857 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3858 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3859 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3860 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3861 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3862 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3863 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3864 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3865 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3866 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3867 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3868 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3869 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3870 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3871 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3872 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3873 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3874 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3875 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3876 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3877 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3878 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3879 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3880 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3881 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3882 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3883 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3884 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3885 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3886 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3887 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3888 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3889 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3890 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3891 (conformtest-cc-flags): Likewise.
3892 ($(conformtest-header-tests): New target.
3893 * conform/check-header-lists.sh: New file.
3894 * conform/run-conformtest.sh: Remove.
3895
a00f522a
JM
3896 * conform/conformtest.pl: Allow ' and \ in values given for
3897 constants.
3898 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3899 inclusion.
3900 [POSIX] (sys/types.h): Likewise.
3901 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3902 inclusion.
3903 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3904 inclusion.
3905 * conform/data/signal.h-data (SIGIO): Remove expectation.
3906 [XPG3] (SIGBUS): Do not expect.
3907 [POSIX || XPG3] (SIGPOLL): Likewise.
3908 [POSIX || XPG3] (SIGPROF): Likewise.
3909 [POSIX || XPG3] (SIGSYS): Likewise.
3910 [XPG3] (SIGTRAP): Likewise.
3911 [POSIX || XPG3] (SIGURG): Likewise.
3912 [POSIX || XPG3] (SIGVTALRM): Likewise.
3913 [POSIX || XPG3] (SIGXCPU): Likewise.
3914 [POSIX || XPG3] (SIGXFSZ): Likewise.
3915 [POSIX] (SA_SIGINFO): Expect.
3916 [XPG3] (siginfo_t): Do not expect type or contents.
3917 [POSIX] (si_pid): Do not expect element.
3918 [POSIX] (si_uid): Likewise.
3919 [POSIX] (si_addr): Likewise.
3920 [POSIX] (si_status): Likewise.
3921 [POSIX] (si_band): Likewise.
3922 [XPG4] (si_value): Likewise.
3923 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3924 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3925 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3926 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3927 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3928 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3929 [POSIX || XPG3] (ILL_COPROC): Likewise.
3930 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3931 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3932 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3933 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3934 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3935 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3936 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3937 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3938 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3939 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3940 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3941 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3942 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3943 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3944 [POSIX || XPG3] (CLD_EXITED): Likewise.
3945 [POSIX || XPG3] (CLD_KILLED): Likewise.
3946 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3947 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3948 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3949 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3950 [POSIX || XPG3] (POLL_IN): Likewise.
3951 [POSIX || XPG3] (POLL_OUT): Likewise.
3952 [POSIX || XPG3] (POLL_MSG): Likewise.
3953 [POSIX || XPG3] (POLL_ERR): Likewise.
3954 [POSIX || XPG3] (POLL_PRI): Likewise.
3955 [POSIX || XPG3] (POLL_HUP): Likewise.
3956 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3957 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3958 (SIG*): Do not allow.
3959 [XPG3] (si_*): Likewise.
3960 [XPG3] (SI_*): Likewise.
3961 [XPG3 || XPG4] (sigev_*): Likewise.
3962 [XPG3 || XPG4] (SIGEV_*): Likewise.
3963 [XPG3 || XPG4] (sival_*): Likewise.
3964 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3965 [POSIX || XPG3] (BUS_*): Likewise.
3966 [POSIX || XPG3] (CLD_*): Likewise.
3967 [POSIX || XPG3] (FPE_*): Likewise.
3968 [POSIX || XPG3] (ILL_*): Likewise.
3969 [POSIX || XPG3] (POLL_*): Likewise.
3970 [POSIX || XPG3] (SEGV_*): Likewise.
3971 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3972 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3973 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3974 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3975 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3976 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3977 Specify type and value.
3978 (TVERSLEN): Likewise.
3979 (REGTYPE): Likewise.
3980 (AREGTYPE): Likewise.
3981 (LNKTYPE): Likewise.
3982 (SYMTYPE): Likewise.
3983 (CHRTYPE): Likewise.
3984 (BLKTYPE): Likewise.
3985 (DIRTYPE): Likewise.
3986 (FIFOTYPE): Likewise.
3987 (CONTTYPE): Likewise.
3988 (TSUID): Likewise.
3989 (TSGID): Likewise.
3990 (TSVTX): Likewise.
3991 (TUREAD): Likewise.
3992 (TUWRITE): Likewise.
3993 (TUEXEC): Likewise.
3994 (TGREAD): Likewise.
3995 (TGWRITE): Likewise.
3996 (TGEXEC): Likewise.
3997 (TOREAD): Likewise.
3998 (TOWRITE): Likewise.
3999 (TOEXEC): Likewise.
4000 [POSIX] (TSVTX): Expect constant.
4001
aa97dee1
JM
40022014-03-06 Joseph Myers <joseph@codesourcery.com>
4003
f214606a
JM
4004 * Makefile (tests): Change dependencies to ....
4005 (tests-special): ... additions to this variable.
4006 (tests): Depend on $(tests-special).
4007 * Makerules (check-abi-list): New variable.
4008 (check-abi): Depend on $(check-abi-list).
4009 [$(subdir) = elf] (tests-special): Add
4010 $(objpfx)check-abi-libc.out.
4011 [$(build-shared) = yes && subdir] (tests-special): Add
4012 $(check-abi-list).
4013 [$(build-shared) = yes && subdir] (tests): Do not depend on
4014 check-abi.
4015 * Rules (tests): Depend on $(tests-special).
4016 (xtests): Depend on $(xtests-special).
4017 * catgets/Makefile (tests): Change dependencies to ....
4018 (tests-special): ... additions to this variable.
4019 * conform/Makefile (tests): Change dependencies to ....
4020 (tests-special): ... additions to this variable.
4021 * elf/Makefile (tests): Change dependencies to ....
4022 (tests-special): ... additions to this variable.
4023 * grp/Makefile (tests): Change dependencies to ....
4024 (tests-special): ... additions to this variable.
4025 * iconv/Makefile (xtests): Change dependencies to ....
4026 (xtests-special): ... additions to this variable.
4027 * iconvdata/Makefile (tests): Change dependencies to ....
4028 (tests-special): ... additions to this variable.
4029 * intl/Makefile (tests): Change dependencies to ....
4030 (tests-special): ... additions to this variable. Also add
4031 $(objpfx)tst-gettext.out.
4032 * io/Makefile (tests): Change dependencies to ....
4033 (tests-special): ... additions to this variable.
4034 * libio/Makefile (tests): Change dependencies to ....
4035 (tests-special): ... additions to this variable.
4036 * malloc/Makefile (tests): Change dependencies to ....
4037 (tests-special): ... additions to this variable.
4038 * misc/Makefile (tests): Change dependencies to ....
4039 (tests-special): ... additions to this variable.
4040 * nptl/Makefile (tests): Change dependencies to ....
4041 (tests-special): ... additions to this variable.
4042 * nptl_db/Makefile (tests): Change dependencies to ....
4043 (tests-special): ... additions to this variable.
4044 * posix/Makefile (tests): Change dependencies to ....
4045 (tests-special): ... additions to this variable.
4046 (xtests): Change dependencies to ....
4047 (xtests-special): ... additions to this variable.
4048 * resolv/Makefile (tests): Change dependencies to ....
4049 (tests-special): ... additions to this variable.
4050 (xtests): Change dependencies to ....
4051 (xtests-special): ... additions to this variable.
4052 * stdio-common/Makefile (tests): Change dependencies to ....
4053 (tests-special): ... additions to this variable.
4054 (do-tst-unbputc): Remove target.
4055 (do-tst-printf): Likewise.
4056 * stdlib/Makefile (tests): Change dependencies to ....
4057 (tests-special): ... additions to this variable.
4058 * string/Makefile (tests): Change dependencies to ....
4059 (tests-special): ... additions to this variable.
4060 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4061 (tests-special): ... additions to this variable.
4062
81700b53
JM
4063 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4064 whole file.
4065 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4066 whole file.
4067 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4068 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4069
2ea18461
JM
4070 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4071 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4072 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4073 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4074 * conform/data/libgen.h-data [XPG3]: Likewise.
4075 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4076 * conform/data/ndbm.h-data [XPG3]: Likewise.
4077 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4078 * conform/data/netdb.h-data [XPG3]: Likewise.
4079 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4080 * conform/data/poll.h-data [XPG3]: Likewise.
4081 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4082 * conform/data/strings.h-data [XPG3]: Likewise.
4083 * conform/data/stropts.h-data [XPG3]: Likewise.
4084 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4085 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4086 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4087 Likewise.
4088 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4089 * conform/data/sys/time.h-data [XPG3]: Likewise.
4090 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4091 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4092 * conform/data/sys/un.h-data [XPG3]: Likewise.
4093 * conform/data/syslog.h-data [XPG3]: Likewise.
4094 * conform/data/ucontext.h-data [XPG3]: Likewise.
4095 * conform/data/utmpx.h-data [XPG3]: Likewise.
4096 * conform/data/varargs.h-data [UNIX98]: Enable file.
4097
355bc986
JM
4098 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4099
215db402
JM
4100 * math/libm-test.inc (struct test_f_f_data): Move expected results
4101 into structure for each rounding mode.
4102 (struct test_ff_f_data): Likewise.
4103 (struct test_ff_f_data_nexttoward): Likewise.
4104 (struct test_fi_f_data): Likewise.
4105 (struct test_fl_f_data): Likewise.
4106 (struct test_if_f_data): Likewise.
4107 (struct test_fff_f_data): Likewise.
4108 (struct test_c_f_data): Likewise.
4109 (struct test_f_f1_data): Likewise.
4110 (struct test_fF_f1_data): Likewise.
4111 (struct test_ffI_f1_data): Likewise.
4112 (struct test_c_c_data): Likewise.
4113 (struct test_cc_c_data): Likewise.
4114 (struct test_f_i_data): Likewise.
4115 (struct test_ff_i_data): Likewise.
4116 (struct test_f_l_data): Likewise.
4117 (struct test_f_L_data): Likewise.
4118 (struct test_fFF_11_data): Likewise.
4119 (RM_): New macro.
4120 (RM_FE_DOWNWARD): Likewise.
4121 (RM_FE_TONEAREST): Likewise.
4122 (RM_FE_TOWARDZERO): Likewise.
4123 (RM_FE_UPWARD): Likewise.
4124 (RUN_TEST_LOOP_f_f): Update references to expected results.
4125 (RUN_TEST_LOOP_2_f): Likewise.
4126 (RUN_TEST_LOOP_fff_f): Likewise.
4127 (RUN_TEST_LOOP_c_f): Likewise.
4128 (RUN_TEST_LOOP_f_f1): Likewise.
4129 (RUN_TEST_LOOP_fF_f1): Likewise.
4130 (RUN_TEST_LOOP_fI_f1): Likewise.
4131 (RUN_TEST_LOOP_ffI_f1): Likewise.
4132 (RUN_TEST_LOOP_c_c): Likewise.
4133 (RUN_TEST_LOOP_cc_c): Likewise.
4134 (RUN_TEST_LOOP_f_i): Likewise.
4135 (RUN_TEST_LOOP_f_i_tg): Likewise.
4136 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4137 (RUN_TEST_LOOP_f_b): Likewise.
4138 (RUN_TEST_LOOP_f_b_tg): Likewise.
4139 (RUN_TEST_LOOP_f_l): Likewise.
4140 (RUN_TEST_LOOP_f_L): Likewise.
4141 (RUN_TEST_LOOP_fFF_11): Likewise.
4142 * math/gen-libm-test.pl (parse_args): Output four copies of
4143 expected results for each test.
4144
67737b8f
JM
4145 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4146 (__ASSUME_UTIMES): Remove.
4147 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4148 (__ASSUME_UTIMES): Likewise.
4149
aa97dee1
JM
4150 * math/gen-auto-libm-tests.c: Update comment on output format.
4151 (output_for_one_input_case): Generate before-rounding and
4152 after-rounding information as conditions on output flags not
4153 floating-point format.
4154 * math/auto-libm-test-out: Regenerated.
4155 * math/gen-libm-test.pl (cond_value): New function.
4156 (or_cond_value): Use cond_value.
4157 (generate_testfile): Handle conditional exceptions.
4158
e6b6a857
JM
41592014-03-05 Joseph Myers <joseph@codesourcery.com>
4160
2f0a0f44
JM
4161 * math/libm-test.inc (max_valid_error): New variable.
4162 (init_max_error): Take new argument specifying whether function
4163 results are exactly determined. Set max_valid_error and bound
4164 other variables for errors based on this argument.
4165 (set_max_error): Do not record results above max_valid_error.
4166 (check_float_internal): Only accept errors of up to 0.5ulps if
4167 also at most max_valid_error.
4168 (START): Take new argument EXACT and pass it to init_max_error.
4169 (acos_test): Update call to START.
4170 (acos_test_tonearest): Likewise.
4171 (acos_test_towardzero): Likewise.
4172 (acos_test_downward): Likewise.
4173 (acos_test_upward): Likewise.
4174 (acosh_test): Likewise.
4175 (asin_test): Likewise.
4176 (asin_test_tonearest): Likewise.
4177 (asin_test_towardzero): Likewise.
4178 (asin_test_downward): Likewise.
4179 (asin_test_upward): Likewise.
4180 (asinh_test): Likewise.
4181 (atan_test): Likewise.
4182 (atanh_test): Likewise.
4183 (atan2_test): Likewise.
4184 (cabs_test): Likewise.
4185 (cacos_test): Likewise.
4186 (cacosh_test): Likewise.
4187 (carg_test): Likewise.
4188 (casin_test): Likewise.
4189 (casinh_test): Likewise.
4190 (catan_test): Likewise.
4191 (catanh_test): Likewise.
4192 (cbrt_test): Likewise.
4193 (ccos_test): Likewise.
4194 (ccosh_test): Likewise.
4195 (ceil_test): Likewise.
4196 (cexp_test): Likewise.
4197 (cimag_test): Likewise.
4198 (clog_test): Likewise.
4199 (clog10_test): Likewise.
4200 (conj_test): Likewise.
4201 (copysign_test): Likewise.
4202 (cos_test): Likewise.
4203 (cos_test_tonearest): Likewise.
4204 (cos_test_towardzero): Likewise.
4205 (cos_test_downward): Likewise.
4206 (cos_test_upward): Likewise.
4207 (cosh_test): Likewise.
4208 (cosh_test_tonearest): Likewise.
4209 (cosh_test_towardzero): Likewise.
4210 (cosh_test_downward): Likewise.
4211 (cosh_test_upward): Likewise.
4212 (cpow_test): Likewise.
4213 (cproj_test): Likewise.
4214 (creal_test): Likewise.
4215 (csin_test): Likewise.
4216 (csinh_test): Likewise.
4217 (csqrt_test): Likewise.
4218 (ctan_test): Likewise.
4219 (ctan_test_tonearest): Likewise.
4220 (ctan_test_towardzero): Likewise.
4221 (ctan_test_downward): Likewise.
4222 (ctan_test_upward): Likewise.
4223 (ctanh_test): Likewise.
4224 (ctanh_test_tonearest): Likewise.
4225 (ctanh_test_towardzero): Likewise.
4226 (ctanh_test_downward): Likewise.
4227 (ctanh_test_upward): Likewise.
4228 (erf_test): Likewise.
4229 (erfc_test): Likewise.
4230 (exp_test): Likewise.
4231 (exp_test_tonearest): Likewise.
4232 (exp_test_towardzero): Likewise.
4233 (exp_test_downward): Likewise.
4234 (exp_test_upward): Likewise.
4235 (exp10_test): Likewise.
4236 (exp10_test_tonearest): Likewise.
4237 (exp10_test_towardzero): Likewise.
4238 (exp10_test_downward): Likewise.
4239 (exp10_test_upward): Likewise.
4240 (pow10_test): Likewise.
4241 (exp2_test): Likewise.
4242 (expm1_test): Likewise.
4243 (expm1_test_tonearest): Likewise.
4244 (expm1_test_towardzero): Likewise.
4245 (expm1_test_downward): Likewise.
4246 (expm1_test_upward): Likewise.
4247 (fabs_test): Likewise.
4248 (fdim_test): Likewise.
4249 (floor_test): Likewise.
4250 (fma_test): Likewise.
4251 (fma_test_towardzero): Likewise.
4252 (fma_test_downward): Likewise.
4253 (fma_test_upward): Likewise.
4254 (fmax_test): Likewise.
4255 (fmin_test): Likewise.
4256 (fmod_test): Likewise.
4257 (fpclassify_test): Likewise.
4258 (frexp_test): Likewise.
4259 (hypot_test): Likewise.
4260 (ilogb_test): Likewise.
4261 (isfinite_test): Likewise.
4262 (finite_test): Likewise.
4263 (isgreater_test): Likewise.
4264 (isgreaterequal_test): Likewise.
4265 (isinf_test): Likewise.
4266 (isless_test): Likewise.
4267 (islessequal_test): Likewise.
4268 (islessgreater_test): Likewise.
4269 (isnan_test): Likewise.
4270 (isnormal_test): Likewise.
4271 (issignaling_test): Likewise.
4272 (isunordered_test): Likewise.
4273 (j0_test): Likewise.
4274 (j1_test): Likewise.
4275 (jn_test): Likewise.
4276 (ldexp_test): Likewise.
4277 (lgamma_test): Likewise.
4278 (gamma_test): Likewise.
4279 (lrint_test): Likewise.
4280 (lrint_test_tonearest): Likewise.
4281 (lrint_test_towardzero): Likewise.
4282 (lrint_test_downward): Likewise.
4283 (lrint_test_upward): Likewise.
4284 (llrint_test): Likewise.
4285 (llrint_test_tonearest): Likewise.
4286 (llrint_test_towardzero): Likewise.
4287 (llrint_test_downward): Likewise.
4288 (llrint_test_upward): Likewise.
4289 (log_test): Likewise.
4290 (log10_test): Likewise.
4291 (log1p_test): Likewise.
4292 (log2_test): Likewise.
4293 (logb_test): Likewise.
4294 (logb_test_downward): Likewise.
4295 (lround_test): Likewise.
4296 (llround_test): Likewise.
4297 (modf_test): Likewise.
4298 (nearbyint_test): Likewise.
4299 (nextafter_test): Likewise.
4300 (nexttoward_test): Likewise.
4301 (pow_test): Likewise.
4302 (pow_test_tonearest): Likewise.
4303 (pow_test_towardzero): Likewise.
4304 (pow_test_downward): Likewise.
4305 (pow_test_upward): Likewise.
4306 (remainder_test): Likewise.
4307 (drem_test): Likewise.
4308 (remainder_test_tonearest): Likewise.
4309 (drem_test_tonearest): Likewise.
4310 (remainder_test_towardzero): Likewise.
4311 (drem_test_towardzero): Likewise.
4312 (remainder_test_downward): Likewise.
4313 (drem_test_downward): Likewise.
4314 (remainder_test_upward): Likewise.
4315 (drem_test_upward): Likewise.
4316 (remquo_test): Likewise.
4317 (rint_test): Likewise.
4318 (rint_test_tonearest): Likewise.
4319 (rint_test_towardzero): Likewise.
4320 (rint_test_downward): Likewise.
4321 (rint_test_upward): Likewise.
4322 (round_test): Likewise.
4323 (scalb_test): Likewise.
4324 (scalbn_test): Likewise.
4325 (scalbln_test): Likewise.
4326 (signbit_test): Likewise.
4327 (sin_test): Likewise.
4328 (sin_test_tonearest): Likewise.
4329 (sin_test_towardzero): Likewise.
4330 (sin_test_downward): Likewise.
4331 (sin_test_upward): Likewise.
4332 (sincos_test): Likewise.
4333 (sinh_test): Likewise.
4334 (sinh_test_tonearest): Likewise.
4335 (sinh_test_towardzero): Likewise.
4336 (sinh_test_downward): Likewise.
4337 (sinh_test_upward): Likewise.
4338 (sqrt_test): Likewise.
4339 (sqrt_test_tonearest): Likewise.
4340 (sqrt_test_towardzero): Likewise.
4341 (sqrt_test_downward): Likewise.
4342 (sqrt_test_upward): Likewise.
4343 (tan_test): Likewise.
4344 (tan_test_tonearest): Likewise.
4345 (tan_test_towardzero): Likewise.
4346 (tan_test_downward): Likewise.
4347 (tan_test_upward): Likewise.
4348 (tanh_test): Likewise.
4349 (tgamma_test): Likewise.
4350 (trunc_test): Likewise.
4351 (y0_test): Likewise.
4352 (y1_test): Likewise.
4353 (yn_test): Likewise.
4354 (significand_test): Likewise.
4355
e6b6a857
JM
4356 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4357 individual tests in comment.
4358 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4359 (prev_max_error): New variable.
4360 (prev_real_max_error): Likewise.
4361 (prev_imag_max_error): Likewise.
4362 (compare_ulp_data): Don't refer to test names in comment.
4363 (find_test_ulps): Remove function.
4364 (find_function_ulps): Likewise.
4365 (find_complex_function_ulps): Likewise.
4366 (init_max_error): Take function name as argument. Look up ulps
4367 for that function.
4368 (print_ulps): Remove function.
4369 (print_max_error): Use prev_max_error instead of calling
4370 find_function_ulps.
4371 (print_complex_max_error): Use prev_real_max_error and
4372 prev_imag_max_error instead of calling find_complex_function_ulps.
4373 (check_float_internal): Take max_ulp parameter instead of calling
4374 find_test_ulps. Don't call print_ulps.
4375 (check_float): Update call to check_float_internal.
4376 (check_complex): Update calls to check_float_internal.
4377 (START): Pass argument to init_max_error.
4378 * math/gen-libm-test.pl (%results): Don't include "kind"
4379 information.
4380 (parse_ulps): Don't handle ulps of individual tests.
4381 (print_ulps_file): Likewise.
4382 (output_ulps): Likewise.
4383 * math/README.libm-test: Update.
4384 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4385 individual tests.
4386 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4387 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4388 * sysdeps/arm/libm-test-ulps: Likewise.
4389 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4390 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4391 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4392 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4393 * sysdeps/microblaze/libm-test-ulps: Likewise.
4394 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4395 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4397 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4398 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4399 * sysdeps/sh/libm-test-ulps: Likewise.
4400 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4401 * sysdeps/tile/libm-test-ulps: Likewise.
4402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4403
45adef3c
JM
44042014-03-04 Joseph Myers <joseph@codesourcery.com>
4405
4406 * math/libm-test.inc (print_complex_max_error): Check separately
4407 whether real and imaginary errors are within allowed range and
4408 pass 0 to print_complex_function_ulps instead of value within
4409 allowed range.
4410
000232b9
SP
44112014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4412
d4b17258
SP
4413 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4414 formatting.
4415 (get_handles_fopen): Likewise.
4416 (do_write_test): Likewise.
4417
091eff71
SP
4418 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4419
fa3cd248
SP
4420 * libio/fileops.c (do_ftell): Use cached offset when
4421 available.
4422 * libio/iofwide.c (do_ftell_wide): Likewise.
4423 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4424 _IO_file_attach.
4425 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4426
000232b9
SP
4427 [BZ #16532]
4428 * libio/libioP.h (get_file_offset): New function.
4429 * libio/fileops.c (get_file_offset): Likewise.
4430 (do_ftell): Likewise.
4431 (_IO_new_file_seekoff): Split out ftell logic.
4432 * libio/wfileops.c (do_ftell_wide): Likewise.
4433 (_IO_wfile_seekoff): Split out ftell logic.
4434 * libio/tst-ftell-active-handler.c: New test case.
4435 * libio/Makefile (tests): Add it.
4436
116f4d1a
RM
44372014-03-03 Roland McGrath <roland@hack.frob.com>
4438
4439 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4440 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4441
532a6035
SP
44422014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4443
4444 [BZ #16639]
4445 * nscd/connections.c (nscd_init): Call do_exit.
4446 (start_threads): Call do_exit and notify_parent.
4447 (begin_drop_privileges): Call do_exit.
4448 (finish_drop_privileges): Likewise.
4449 * nscd/selinux.c (preserve_capabilities): Likewise.
4450 (install_real_capabilities): Likewise.
4451 (nscd_selinux_enabled): Likewise.
4452 (avc_create_thread): Likewise.
4453 (avc_alloc_lock): Likewise.
4454 (nscd_avc_init): Likewise.
4455 * nscd/nscd.c (parent_fd): New static variable.
4456 (main): Create a pipe between parent and child processes.
4457 Skip closing parent_fd.
4458 (monitor_child): New function.
4459 (do_exit): Likewise.
4460 (notify_parent): Likewise.
4461 * nscd/nscd.h (notify_parent): Likewise.
4462 (do_exit): Likewise.
4463
d6285c9f
CD
44642014-03-03 Carlos O'Donell <carlos@redhat.com>
4465
4466 * malloc/malloc.c (__libc_calloc): Revert last change.
4467
2b85d2a0
AZ
44682014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4469
4470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4471
c7debbdf
RS
44722014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4473
4474 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4476 implementation.
4477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4478 (__libc_ifunc_impl_list): Likewise.
4479 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4480 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4481 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4482 * string/strrchr.c: Define STRRCHR.
4483
235eed86
OB
44842014-02-28 Ondřej Bílka <neleai@seznam.cz>
4485
4486 * benchtest/bench-strtok.c (simple_strtok): Delete.
4487 (strtok_string): Use as benchmark.
4488 * string/strtok (STRTOK): New macro.
4489
8e25d1e7
CD
44902014-02-28 Carlos O'Donell <carlos@redhat.com>
4491
ef563f92
CD
4492 * manual/threads.texi: Add header and standard comments to all
4493 functions.
4494
8e25d1e7
CD
4495 * elf/dl-lookup.c (check_match): New function.
4496 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4497 (do_lookup_x): Remove nested function check_match. Use non-nested
4498 function check_match.
4499
ff71cc37
RM
45002014-02-28 Roland McGrath <roland@hack.frob.com>
4501
f08e9a26
RM
4502 * csu/Makefile (generated, before-compile): Use += rather than =.
4503 * catgets/Makefile (generated, generated-dirs): Likewise.
4504 * debug/Makefile (generated): Likewise.
4505 * dlfcn/Makefile (generated): Likewise.
4506 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4507 * iconvdata/Makefile (before-compile, generated): Likewise.
4508 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4509 * libio/Makefile (generated): Likewise.
4510 * malloc/Makefile (generated): Likewise.
4511 * manual/Makefile (generated, generated-dirs): Likewise.
4512 * misc/Makefile (generated): Likewise.
4513 * posix/Makefile (generated): Likewise.
4514 * resolv/Makefile (generated): Likewise.
4515 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4516 * timezone/Makefile (generated, generated-dirs): Likewise.
4517
ff71cc37
RM
4518 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4519
fe13a20c
AZ
45202014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4521
57f41c40
AS
4522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4523 power8 implementation.
4524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4525 file: POWER8 llround ifunc implementation.
4526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4527 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4528 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4529 POWER8 llround implementation.
4530
57f41c40
AS
4531 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4532 power8 implementation.
4533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4534 file: POWER8 llrint ifunc implementation.
4535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4536 Add POWER8 implementation.
1ad8950a
AZ
4537 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4538 POWER8 llrint implementation.
4539
57f41c40
AS
4540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4541 power8 implementation.
4542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4543 file: POWER8 finite ifunc implementation.
4544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4545 Add POWER8 implementation.
cac626d6
AZ
4546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4547 Likewise.
4548 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4549 POWER8 finite implementation.
4550 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4551
57f41c40
AS
4552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4553 power8 implementation.
4554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4555 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4557 POWER8 implementation.
4558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4559 Likewise.
57f41c40
AS
4560 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4561 isinf implementation.
4393fc11
AZ
4562 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4563
57f41c40
AS
4564 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4565 (INIT_ARCH): Add hwcap2 initialization.
4566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4567 power8 implementation.
4568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4569 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4571 POWER8 implementation.
4572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4573 Likewise.
57f41c40
AS
4574 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4575 isnan implementation.
487972ae
AZ
4576 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4577
7d92b787
JY
45782014-02-27 Joey Ye <joey.ye@arm.com>
4579
4580 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4581 (_FP_NANFRAC_Q): Set to zero.
4582
1cadc858
SP
45832014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4584
4585 [BZ #16623]
4586 * math/auto-libm-test-in: New test inputs.
4587 * math/auto-libm-test-out: Regenerate.
4588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4589 and DA.
4590 (__cos): Likewise.
4591 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4592
f8c17e79
JM
45932014-02-27 Joseph Myers <joseph@codesourcery.com>
4594
4595 * scripts/evaluate-test.sh: Take new argument indicating whether
4596 failure is expected.
4597 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4598 indicating whether failure is expected.
4599 * conform/Makefile (test-xfail-run-conformtest): New variable.
4600 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4601 level.
4602 * posix/Makefile (test-xfail-annexc): New variable.
4603 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4604
a5f891ac
JM
46052014-02-26 Joseph Myers <joseph@codesourcery.com>
4606
4607 * argp/Makefile: Include Makeconfig immediately after defining
4608 subdir.
4609 * assert/Makefile: Likewise.
4610 * benchtests/Makefile: Likewise.
4611 * catgets/Makefile: Likewise.
4612 * conform/Makefile: Likewise.
4613 * crypt/Makefile: Likewise.
4614 * csu/Makefile: Likewise.
4615 (all): Remove target.
4616 * ctype/Makefile: Include Makeconfig immediately after defining
4617 subdir.
4618 * debug/Makefile: Likewise.
4619 * dirent/Makefile: Likewise.
4620 * dlfcn/Makefile: Likewise.
4621 * gmon/Makefile: Likewise.
4622 * gnulib/Makefile: Likewise.
4623 * grp/Makefile: Likewise.
4624 * gshadow/Makefile: Likewise.
4625 * hesiod/Makefile: Likewise.
4626 * hurd/Makefile: Likewise.
4627 (all): Remove target.
4628 * iconvdata/Makefile: Include Makeconfig immediately after
4629 defining subdir.
4630 * inet/Makefile: Likewise.
4631 * intl/Makefile: Likewise.
4632 * io/Makefile: Likewise.
4633 * libio/Makefile: Likewise.
4634 (all): Remove target.
4635 * locale/Makefile: Include Makeconfig immediately after defining
4636 subdir.
4637 * login/Makefile: Likewise.
4638 * mach/Makefile: Likewise.
4639 (all): Remove target.
4640 * malloc/Makefile: Include Makeconfig immediately after defining
4641 subdir.
4642 (all): Remove target.
4643 * manual/Makefile: Include Makeconfig immediately after defining
4644 subdir.
4645 * math/Makefile: Likewise.
4646 * misc/Makefile: Likewise.
4647 * nis/Makefile: Likewise.
4648 * nss/Makefile: Likewise.
4649 * po/Makefile: Likewise.
4650 (all): Remove target.
4651 * posix/Makefile: Include Makeconfig immediately after defining
4652 subdir.
4653 * pwd/Makefile: Likewise.
4654 * resolv/Makefile: Likewise.
4655 * resource/Makefile: Likewise.
4656 * rt/Makefile: Likewise.
4657 * setjmp/Makefile: Likewise.
4658 * shadow/Makefile: Likewise.
4659 * signal/Makefile: Likewise.
4660 * socket/Makefile: Likewise.
4661 * soft-fp/Makefile: Likewise.
4662 * stdio-common/Makefile: Likewise.
4663 * stdlib/Makefile: Likewise.
4664 * streams/Makefile: Likewise.
4665 * string/Makefile: Likewise.
4666 * sunrpc/Makefile: Likewise.
4667 (all): Remove target.
4668 * sysvipc/Makefile: Include Makeconfig immediately after defining
4669 subdir.
4670 * termios/Makefile: Likewise.
4671 * time/Makefile: Likewise.
4672 * timezone/Makefile: Likewise.
4673 (all): Remove target.
4674 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4675 subdir.
4676 * wctype/Makefile: Likewise.
4677
5b456e9d
SE
46782014-02-26 Steve Ellcey <sellcey@mips.com>
4679
4680 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4681 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4682 (libc_feholdexcept_setround_mips): Ditto.
4683 (libc_feholdsetround): New.
4684 (libc_feholdsetroundf): New.
4685 (libc_feholdsetroundl): New.
4686 (libc_feupdateenv_test_mips): New.
4687 (libc_feupdateenv_test): New.
4688 (libc_feupdateenv_testf): New.
4689 (libc_feupdateenv_testl): New.
4690 (libc_feresetround): New.
4691 (libc_feresetroundf): New.
4692 (libc_feresetroundl): New.
4693 (libc_fetestexcept_mips): New.
4694 (libc_fetestexcept): New.
4695 (libc_fetestexceptf): New.
4696 (libc_fetestexceptl): New.
4697 (HAVE_RM_CTX): New.
4698 (libc_feholdexcept_setround_mips_ctx): New.
4699 (libc_feholdexcept_setround_ctx): New.
4700 (libc_feholdexcept_setroundf_ctx): New.
4701 (libc_feholdexcept_setroundl_ctx): New.
4702 (libc_fesetenv_mips_ctx): New.
4703 (libc_fesetenv_ctx): New.
4704 (libc_fesetenv_ctxf): New.
4705 (libc_fesetenv_ctxl): New.
4706 (libc_feupdateenv_mips_ctx): New.
4707 (libc_feupdateenv_ctx): New.
4708 (libc_feupdateenvf_ctx): New.
4709 (libc_feupdateenvl_ctx): New.
4710 (libc_feholdsetround_mips_ctx): New.
4711 (libc_feholdsetround_ctx): New.
4712 (libc_feholdsetroundf_ctx): New.
4713 (libc_feholdsetroundl_ctx): New.
4714 (libc_feresetround_mips_ctx): New.
4715 (libc_feresetround_ctx): New.
4716 (libc_feresetroundf_ctx): New.
4717 (libc_feresetroundl_ctx): New.
4718
085d0e35
CD
47192014-02-26 Carlos O'Donell <carlos@redhat.com>
4720
f067bf1f
CD
4721 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4722
085d0e35
CD
4723 * manual/ipc.texi: New file.
4724 * manual/Makefile (chapters): Add ipc.
4725 * manual/job.texi: Add "Inter-Process Communication" to next.
4726 * manual/process.texi: Add "Inter-Process Communication" to prev.
4727
86e58c08
AZ
47282014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4729
4730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4731
4248f0da
OB
47322014-02-26 Ondřej Bílka <neleai@seznam.cz>
4733
4734 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4735
cf822e3c
OB
4736 * manual/arith.texi: Fix spaces after sentences.
4737 * manual/charset.texi: Likewise.
4738 * manual/errno.texi: Likewise.
4739 * manual/install.texi: Likewise.
4740 * manual/llio.texi: Likewise.
4741 * manual/locale.texi: Likewise.
4742 * manual/maint.texi: Likewise.
4743 * manual/math.texi: Likewise.
4744 * manual/memory.texi: Likewise.
4745 * manual/message.texi: Likewise.
4746 * manual/probes.texi: Likewise.
4747 * manual/resource.texi: Likewise.
4748 * manual/signal.texi: Likewise.
4749 * manual/socket.texi: Likewise.
4750 * manual/stdio.texi: Likewise.
4751 * manual/string.texi: Likewise.
4752 * manual/time.texi: Likewise.
4753 * manual/users.texi: Likewise.
4754
ade40b10
CD
47552014-02-25 Carlos O'Donell <carlos@redhat.com>
4756
4757 [BZ #16632]
4758 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4759 _DEFAULT_SOURCE is defined.
4760
d0503676
CD
47612014-02-25 Ulrich Drepper <drepper@gmail.com>
4762 Carlos O'Donell <carlos@redhat.com>
4763
4764 [BZ #16613]
4765 * elf/dl-tls.c (_dl_count_modids): New function.
4766 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4767 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4768 audit library and increment generation counter.
4769 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4770 * elf/tst-audit9.c: New file.
4771 * elf/tst-auditmod9a.c: New file.
4772 * elf/tst-auditmod9b.c: New file.
4773 * elf/Makefile: Add rules to build and run tst-audit9.
4774
4cbf380c
FW
47752014-02-25 Florian Weimer <fweimer@redhat.com>
4776
4777 [BZ #15347]
4778 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4779
80a56cc3
WN
47802014-02-25 Will Newton <will.newton@linaro.org>
4781
4782 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4783 (__longjmp): Restore sp and lr before restoring callee
4784 saved registers. Add longjmp and longjmp_target
4785 SystemTap probe point.
4786 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4787 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4788 Define to zero to match jmpbuf layout.
4789 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4790 (__sigsetjmp): Save sp and lr before saving callee
4791 saved registers. Add setjmp SystemTap probe point.
4792
3ea0f74e
SL
47932014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4794
4795 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4796
b04acb26
AS
47972014-02-24 Andreas Schwab <schwab@suse.de>
4798
4799 [BZ #15804]
4800 * elf/pldd.c (wait_for_ptrace_stop): New function.
4801 (main): Call it after attaching.
4802
098ad55c
RM
48032014-02-22 Roland McGrath <roland@hack.frob.com>
4804
d4ec6ae1
RM
4805 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4806 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4807 Versions files is now verboten.
4808 * hurd/Versions (libc: GLIBC_2.0):
4809 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4810 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4811 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4812 * mach/Versions: Likewise.
4813
098ad55c
RM
4814 * csu/Versions: Remove unused %include.
4815 * resolv/Versions: Likewise.
4816
acd7f096
JM
48172014-02-21 Joseph Myers <joseph@codesourcery.com>
4818
f0881698
JM
4819 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4820 ($(objpfx)check-local-headers.out): Likewise.
4821 ($(objpfx)begin-end-check.out): Likewise.
4822 * Makerules (check-abi-%.out): Likewise.
4823 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4824 ($(objpfx)test2.cat): Likewise.
4825 ($(objpfx)de/libc.cat): Likewise.
4826 ($(objpfx)test-gencat.out): Likewise.
4827 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4828 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4829 ($(objpfx)noload-mem): Likewise.
4830 ($(objpfx)tst-pathopt.out): Likewise.
4831 ($(objpfx)tst-rtld-load-self.out): Likewise.
4832 ($(objpfx)tst-array1-cmp.out): Likewise.
4833 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4834 ($(objpfx)tst-array2-cmp.out): Likewise.
4835 ($(objpfx)tst-array3-cmp.out): Likewise.
4836 ($(objpfx)tst-array4-cmp.out): Likewise.
4837 ($(objpfx)tst-array5-cmp.out): Likewise.
4838 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4839 ($(objpfx)check-textrel.out): Likewise.
4840 ($(objpfx)check-execstack.out): Likewise.
4841 ($(objpfx)check-localplt.out): Likewise.
4842 ($(objpfx)order2-cmp.out): Likewise.
4843 ($(objpfx)tst-leaks1-mem): Likewise.
4844 ($(objpfx)tst-leaks1-static-mem): Likewise.
4845 ($(objpfx)tst-initorder-cmp.out): Likewise.
4846 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4847 ($(objpfx)tst-unused-dep.out): Likewise.
4848 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4849 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4850 * iconv/Makefile (test-iconvconfig): Likewise.
4851 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4852 ($(objpfx)iconv-test.out): Likewise.
4853 ($(objpfx)tst-tables.out): Likewise.
4854 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4855 ($(objpfx)tst-gettext.out): Likewise.
4856 ($(objpfx)tst-translit.out): Likewise.
4857 ($(objpfx)tst-gettext2.out): Likewise.
4858 ($(objpfx)tst-gettext4.out): Likewise.
4859 ($(objpfx)tst-gettext6.out): Likewise.
4860 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4861 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4862 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4863 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4864 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4865 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4866 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4867 ($(objpfx)wordexp-tst.out): Likewise.
4868 ($(objpfx)annexc.out): Likewise.
4869 ($(objpfx)tst-fnmatch-mem): Likewise.
4870 ($(objpfx)bug-regex2-mem): Likewise.
4871 ($(objpfx)bug-regex14-mem): Likewise.
4872 ($(objpfx)bug-regex21-mem): Likewise.
4873 ($(objpfx)bug-regex31-mem): Likewise.
4874 ($(objpfx)tst-vfork3-mem): Likewise.
4875 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4876 ($(objpfx)tst-pcre-mem): Likewise.
4877 ($(objpfx)tst-boost-mem): Likewise.
4878 ($(objpfx)tst-getconf.out): Likewise.
4879 ($(objpfx)bug-ga2-mem): Likewise.
4880 ($(objpfx)bug-glob2-mem): Likewise.
4881 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4882 ($(objpfx)mtrace-tst-leaks2): Likewise.
4883 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4884 ($(objpfx)tst-printf.out): Likewise.
4885 ($(objpfx)tst-setvbuf1.out): Likewise.
4886 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4887 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4888 ($(objpfx)tst-fmtmsg.out): Likewise.
4889 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4890 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4891
acd7f096
JM
4892 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4893 * bits/sigaction.h [__USE_MISC]: Likewise.
4894 * bits/waitstatus.h: Update #endif comments.
4895 * ctype/ctype.h: Likewise.
4896 * dirent/dirent.h: Likewise.
4897 [__USE_MISC]: Remove redundant conditionals.
4898 * grp/grp.h: Update #endif comments.
4899 [__USE_GNU]: Remove redundant conditionals.
4900 [__USE_MISC]: Likewise.
4901 * inet/netinet/in.h [__USE_GNU]: Likewise.
4902 * io/sys/stat.h [__USE_MISC]: Likewise.
4903 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4904 * libio/bits/stdio.h: Update #endif comments.
4905 [__USE_MISC]: Remove redundant conditionals.
4906 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4907 * libio/stdio.h: Update #endif comments.
4908 [__USE_MISC]: Remove redundant conditionals.
4909 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4910 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4911 * math/math.h: Update #else and #endif comments.
4912 [__USE_MISC]: Remove redundant conditionals.
4913 * misc/sys/uio.h: Update #endif comments.
4914 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4915 * posix/glob.h [__USE_MISC]: Likewise.
4916 * posix/sys/types.h: Update #endif comments.
4917 [__USE_MISC]: Remove redundant conditionals.
4918 * posix/sys/wait.h: Update #endif comments.
4919 [__USE_MISC]: Remove redundant conditionals.
4920 * posix/unistd.h: Update #endif comments.
4921 [__USE_MISC]: Remove redundant conditionals.
4922 * pwd/pwd.h [__USE_GNU]: Likewise.
4923 [__USE_MISC]: Likewise.
4924 * resolv/netdb.h [__USE_GNU]: Likewise.
4925 * signal/signal.h: Update #endif comments.
4926 [__USE_MISC]: Remove redundant conditionals.
4927 * stdlib/stdlib.h: Update #else and #endif comments.
4928 [__USE_MISC]: Remove redundant conditionals.
4929 [__USE_GNU]: Likewise.
4930 * string/bits/string2.h [__USE_MISC]: Likewise.
4931 * string/string.h: Update #endif comments.
4932 [__USE_MISC]: Remove redundant conditionals.
4933 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4934 Likewise.
4935 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4936 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4937 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4938 Likewise.
4939 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4940 Likewise.
4941 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4942 comments.
4943 [__USE_MISC]: Remove redundant conditionals.
4944 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4945 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4946 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4947 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4948 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4949 Likewise.
4950 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4951 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4952 Likewise.
4953 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4954 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4955 Likewise.
4956 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4957 Likewise.
4958 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4959 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4960 Likewise.
4961 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4962 Likewise.
4963 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4964 * sysdeps/x86/bits/string.h: Update #endif comments.
4965 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4966 conditionals.
4967 * time/sys/time.h: Update #endif comments.
4968 * time/time.h: Likewise.
4969 [__USE_MISC]: Remove redundant conditionals.
4970
a5d82e4e
YG
49712014-02-21 Yury Gribov <y.gribov@samsung.com>
4972
4973 [BZ #16600]
4974 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4975
9a80491d
AS
49762014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4977
4978 * Versions.def (librt): Add GLIBC_2.17.
4979
105fa381
AC
49802014-02-21 Adam Conrad <adconrad@0c3.net>
4981
4982 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4983 synonym for _SYS_AUXV_H to allow direct inclusion.
4984 * sysdeps/sparc/bits/hwcap.h: Likewise.
4985 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4986 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4987 * sysdeps/sparc/sysdep.h: Likewise.
4988
b8cd1c4e
SP
49892014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4990
4991 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4992
bd939d23
RS
49932014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4994
4995 * benchtests/bench-strrchr.c: Print length instead of position.
4996
5d7b57ca
JM
49972014-02-20 Joseph Myers <joseph@codesourcery.com>
4998
bc688c10
JM
4999 [BZ #16611]
5000 * sysdeps/unix/sysv/linux/kernel-features.h
5001 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5002 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5003 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5004 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5005 Likewise.
5006 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5007 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5008 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5009 (__ASSUME_SENDMMSG): Define instead of using previous
5010 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5012 (__ASSUME_SENDMMSG_SYSCALL): Define.
5013 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5014 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5015 Likewise.
5016 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5017 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5018 Likewise.
5019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5020 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5021 Likewise.
5022 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5023 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5024 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5025 [__ASSUME_SENDMMSG]: Change conditionals to
5026 [__ASSUME_SENDMMSG_SOCKETCALL].
5027 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5028 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5029 Define.
5030 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5031 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5032 Likewise.
5033 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5034 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5035 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5036 [!__ASSUME_SENDMMSG]: Change conditional to
5037 [!__ASSUME_SENDMMSG_SOCKETCALL].
5038 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5039 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5040 Define.
5041
0e31b18c
JM
5042 [BZ #16610]
5043 * sysdeps/unix/sysv/linux/kernel-features.h
5044 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5045 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5046 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5047 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5048 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5049 [__i386__ || __sparc__]
5050 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5051 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5052 (__ASSUME_RECVMMSG): Define instead of using previous
5053 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5054 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5055 (__ASSUME_RECVMMSG_SYSCALL): Define.
5056 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5057 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5058 Likewise.
5059 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5060 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5061 Likewise.
5062 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5063 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5064 Likewise.
5065 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5066 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5067 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5068 [__ASSUME_RECVMMSG]: Change condition to
5069 [__ASSUME_RECVMMSG_SOCKETCALL].
5070 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5071 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5072 Define.
5073 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5074 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5075 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5076 Likewise.
5077 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5078 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5079 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5080 [!__ASSUME_RECVMMSG]: Change condition to
5081 [!__ASSUME_RECVMMSG_SOCKETCALL].
5082 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5083 (__ASSUME_RECVMMSG_SYSCALL): Define.
5084
dd481ccf
JM
5085 [BZ #16609]
5086 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5087 __powerpc__ || __s390__ || __sh__ || __sparc__]
5088 (__ASSUME_SOCKETCALL): Define.
5089 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5090 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5091 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5092 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5093 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5094 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5095 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5096 (__ASSUME_ACCEPT4): Define instead of using previous
5097 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5098 __powerpc__ || __sparc__ || __s390__)] condition.
5099 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5100 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5101 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5102 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5103 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5104 [!__ASSUME_ACCEPT4]: Change condition to
5105 [!__ASSUME_ACCEPT4_SOCKETCALL].
5106 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5107 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5108 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5109 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5110 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5111 __ASSUME_ACCEPT4_SYSCALL.
5112 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5113 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5114 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5115 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5116 __ASSUME_ACCEPT4_SYSCALL.
5117 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5118 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5119 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5120 [__ASSUME_ACCEPT4]: Change condition to
5121 [__ASSUME_ACCEPT4_SOCKETCALL].
5122 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5123 (__ASSUME_SOCKETCALL): Define.
5124 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5125 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5126 (__ASSUME_SOCKETCALL): Define.
5127 (__ASSUME_ACCEPT4): Remove.
5128 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5129 Define.
5130 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5131 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5132 Likewise.
5133 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5134 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5135
5d7b57ca
JM
5136 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5137 macro.
5138 (HWCAP_ARM_LPAE): Likewise.
5139 (HWCAP_ARM_EVTSTRM): Likewise.
5140 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5141 Add vpfd32, lpae and evtstrm.
5142 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5143 Increase to 22.
5144
63689d61
JM
51452014-02-19 Joseph Myers <joseph@codesourcery.com>
5146
5147 * math/auto-libm-test-in: Add tests of clog10.
5148 * math/auto-libm-test-out: Regenerated.
5149 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5150 * sysdeps/i386/fpu/libm-test-ulps: Update.
5151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5152
ab09bf61
AS
51532014-02-18 Andreas Schwab <schwab@suse.de>
5154
5155 [BZ #16574]
5156 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5157 Store non-zero if the second buffer was newly allocated.
5158 (send_dg): Likewise.
5159 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5160 to send_vc and send_dg.
5161 (res_nsend): Pass NULL for ansp2_malloced.
5162 * resolv/res_query.c (__libc_res_nquery): Add parameter
5163 answerp2_malloced and pass it down to __libc_res_nsend.
5164 (res_nquery): Pass additional NULL to __libc_res_nquery.
5165 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5166 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5167 second answer buffer if answerp2_malloced was set.
5168 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5169 (__libc_res_nquerydomain): Add parameter
5170 answerp2_malloced and pass it down to __libc_res_nquery.
5171 (res_nquerydomain): Pass additional NULL to
5172 __libc_res_nquerydomain.
5173 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5174 additional NULL to __libc_res_nsend and __libc_res_nquery.
5175 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5176 additional NULL to __libc_res_nsearch.
5177 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5178 parameter of __libc_res_nsearch to check for separately allocated
5179 second buffer.
5180 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5181 __libc_res_nquery.
5182 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5183 additional NULL to __libc_res_nquery.
5184 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5185 __libc_res_nsearch.
5186 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5187 * include/resolv.h: Update prototypes of __libc_res_nquery,
5188 __libc_res_nsearch, __libc_res_nsend.
5189
a4fb7861
JM
51902014-02-18 Joseph Myers <joseph@codesourcery.com>
5191
c6af2d89
JM
5192 * math/auto-libm-test-in: Add tests of fma.
5193 * math/auto-libm-test-out: Regenerated.
5194 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5195 (fma_towardzero_test_data): Likewise.
5196 (fma_downward_test_data): Likewise.
5197 (fma_upward_test_data): Likewise.
5198 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5199 mpc_mode.
5200 (rounding_modes): Add values for new field.
5201 (func_calc_method): Add value mpfr_fff_f.
5202 (func_calc_desc): Add mpfr_fff_f union field.
5203 (test_function): Add field exact_args.
5204 (FUNC): Add macro argument EXACT_ARGS.
5205 (FUNC_mpfr_f_f): Update call to FUNC.
5206 (FUNC_mpfr_f_f): Likewise.
5207 (FUNC_mpfr_ff_f): Likewise.
5208 (FUNC_mpfr_if_f): Likewise.
5209 (FUNC_mpc_c_f): Likewise.
5210 (FUNC_mpc_c_c): Likewise.
5211 (test_functions): Add fma. Update calls to FUNC.
5212 (handle_input_arg): Add argument exact_args.
5213 (add_test): Update call to handle_input_arg.
5214 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5215 (output_for_one_input_case): Update call to calc_generic_results.
5216 Recalculate exact zero results in each rounding mode.
5217
a4fb7861
JM
5218 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5219 non-negative before setting low bit.
5220 * math/auto-libm-test-in: Mark one asin test possibly having
5221 spurious underflow.
5222 * math/auto-libm-test-out: Regenerated.
5223 * sysdeps/i386/fpu/libm-test-ulps: Update.
5224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5225
ef114eaf
DH
52262014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5227
2b7f4f2c
SP
5228 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5229 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5230 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5231 * README: Add missing listing for microblaze*-*-linux-gnu.
5232
c70a4b1d
MF
52332014-02-16 Mike Frysinger <vapier@gentoo.org>
5234
5235 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5236 * sysdeps/unix/sysv/linux/ia64: Move directory from
5237 ports/sysdeps/unix/sysv/linux/ia64.
5238 * README: Update listing for ia64-*-linux-gnu.
5239
591aeaf7
TD
52402014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5241 Joseph Myers <joseph@codesourcery.com>
5242
5243 * Makeconfig (test-name): New variable.
5244 (evaluate-test): Likewise.
5245 * Makerules (do-test-clean): Remove .test-result files.
5246 (common-mostlyclean): Likewise.
5247 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5248 * scripts/evaluate-test.sh: New file.
5249
6e89caf1
JM
52502014-02-14 Joseph Myers <joseph@codesourcery.com>
5251
7f98f180
JM
5252 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5253 separate $(objpfx)tst-fopenloc-cmp.out and
5254 $(objpfx)tst-fopenloc-mem.out targets.
5255 (tests): Update dependencies.
5256 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5257 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5258 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5259 (tst-rxspencer-no-utf8-ARGS): New variable.
5260 (tst-rxspencer-no-utf8-ENV): Likewise.
5261 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5262 instead of $(objpfx)tst-rxspencer-mem.
5263 ($(objpfx)tst-rxspencer-mem): Change target to
5264 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5265 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5266 * posix/tst-rxspencer-no-utf8.c: New file.
5267
6e89caf1
JM
5268 * elf/Makefile ($(objpfx)order.out): Remove rule.
5269 [$(run-built-tests) = yes] (tests): Depend on
5270 $(objpfx)order-cmp.out.
5271 ($(objpfx)order-cmp.out): New rule.
5272 [$(run-built-tests) = yes] (tests): Depend on
5273 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5274 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5275 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5276 $(objpfx)tst-array5-static-cmp.out.
5277 ($(objpfx)tst-array1.out): Remove rule.
5278 ($(objpfx)tst-array1-cmp.out): New rule.
5279 ($(objpfx)tst-array1-static.out): Remove rule.
5280 ($(objpfx)tst-array1-static-cmp.out): New rule.
5281 ($(objpfx)tst-array2.out): Remove rule.
5282 ($(objpfx)tst-array2-cmp.out): New rule.
5283 ($(objpfx)tst-array3.out): Remove rule.
5284 ($(objpfx)tst-array3-cmp.out): New rule.
5285 ($(objpfx)tst-array4.out): Remove rule.
5286 ($(objpfx)tst-array4-cmp.out): New rule.
5287 ($(objpfx)tst-array5.out): Remove rule.
5288 ($(objpfx)tst-array5-cmp.out): New rule.
5289 ($(objpfx)tst-array5-static.out): Remove rule.
5290 ($(objpfx)tst-array5-static-cmp.out): New rule.
5291 [$(run-built-tests) = yes] (tests): Depend on
5292 $(objpfx)order2-cmp.out.
5293 ($(objpfx)order2.out): Remove rule.
5294 ($(objpfx)order2-cmp.out): New rule.
5295 ($(objpfx)tst-initorder.out): Remove rule.
5296 [$(run-built-tests) = yes] (tests): Depend on
5297 $(objpfx)tst-initorder-cmp.out.
5298 ($(objpfx)tst-initorder-cmp.out): New rule.
5299 ($(objpfx)tst-initorder2.out): Remove rule.
5300 [$(run-built-tests) = yes] (tests): Depend on
5301 $(objpfx)tst-initorder2-cmp.out.
5302 ($(objpfx)tst-initorder2-cmp.out): New rule.
5303 [$(run-built-tests) = yes] (tests): Depend on
5304 $(objpfx)tst-unused-dep-cmp.out.
5305 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5306 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5307 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5308 on $(objpfx)tst-setvbuf1-cmp.out.
5309 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5310 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5311 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5312 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5313 ($(objpfx)tst-svc.out): Remove rule.
5314 ($(objpfx)tst-svc-cmp.out): New rule.
5315
ed9a38e2
JM
53162014-02-13 Joseph Myers <joseph@codesourcery.com>
5317
5318 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5319 * ctype/ctype.h [__USE_MISC]: Likewise.
5320 * dirent/dirent.h [__USE_MISC]: Likewise.
5321 * grp/grp.h [__USE_MISC]: Likewise.
5322 * io/fcntl.h [__USE_MISC]: Likewise.
5323 * io/sys/stat.h [__USE_MISC]: Likewise.
5324 * libio/stdio.h [__USE_MISC]: Likewise.
5325 * posix/unistd.h [__USE_MISC]: Likewise.
5326 * pwd/pwd.h [__USE_MISC]: Likewise.
5327 * stdlib.h [__USE_MISC]: Likewise.
5328 * string/bits/string2.h [__USE_MISC]: Likewise.
5329 * string/string.h [__USE_MISC]: Likewise.
5330 * time/time.h [__USE_MISC]: Likewise.
5331
d6680619
AS
53322014-02-13 Andreas Schwab <schwab@suse.de>
5333
5334 [BZ #16574]
5335 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5336 second answer buffer if it was separately allocated.
5337
ace614b8
JM
53382014-02-12 Joseph Myers <joseph@codesourcery.com>
5339
743151ae
JM
5340 * sysdeps/mips/math-tests.h: Include <features.h>.
5341 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5342 (ROUNDING_TESTS_long_double): Do not define.
5343 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5344 (EXCEPTION_TESTS_long_double): Likewise.
5345 * sysdeps/mips/mips64/libm-test-ulps: Update.
5346
498afc54
JM
5347 * include/features.h (__USE_BSD): Remove macro definitions.
5348 (__USE_SVID): Likewise.
5349 (_BSD_SOURCE): Likewise.
5350 (_SVID_SOURCE): Likewise.
5351 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5352 from definition of _DEFAULT_SOURCE.
5353 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5354 [_DEFAULT_SOURCE].
5355 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5356 * bits/mman.h [__USE_BSD]: Likewise.
5357 * bits/termios.h [__USE_BSD]: Likewise.
5358 * bits/waitstatus.h [__USE_BSD]: Likewise.
5359 * ctype/ctype.h [__USE_SVID]: Likewise.
5360 * dirent/dirent.h [__USE_BSD]: Likewise.
5361 * grp/grp.h [__USE_SVID]: Likewise.
5362 [__USE_BSD]: Likewise.
5363 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5364 * io/fcntl.h [__USE_BSD]: Likewise.
5365 * io/ftw.h [__USE_BSD]: Likewise.
5366 * io/sys/stat.h [__USE_BSD]: Likewise.
5367 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5368 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5369 * libio/stdio.h [__USE_SVID]: Likewise.
5370 [__USE_BSD]: Likewise.
5371 * math/math.h [__USE_SVID]: Likewise.
5372 [__USE_BSD]: Likewise.
5373 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5374 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5375 * misc/search.h [__USE_SVID]: Likewise.
5376 * misc/sys/mman.h [__USE_BSD]: Likewise.
5377 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5378 * misc/sys/uio.h [__USE_BSD]: Likewise.
5379 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5380 * posix/glob.h [__USE_BSD]: Likewise.
5381 * posix/regex.h [__USE_BSD]: Likewise.
5382 * posix/sys/types.h [__USE_BSD]: Likewise.
5383 [__USE_SVID]: Likewise.
5384 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5385 * posix/sys/wait.h [__USE_BSD]: Likewise.
5386 [__USE_SVID]: Likewise.
5387 * posix/unistd.h [__USE_BSD]: Likewise.
5388 [__USE_SVID]: Likewise.
5389 * pwd/pwd.h [__USE_SVID]: Likewise.
5390 * resolv/netdb.h [__USE_BSD]: Likewise.
5391 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5392 * signal/signal.h [__USE_BSD]: Likewise.
5393 [__USE_SVID]: Likewise.
5394 * socket/sys/socket.h [__USE_BSD]: Likewise.
5395 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5396 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5397 [__USE_SVID]: Likewise.
5398 * string/bits/string2.h [__USE_BSD]: Likewise.
5399 [__USE_SVID]: Likewise.
5400 * string/bits/string3.h [__USE_BSD]: Likewise.
5401 * string/endian.h [__USE_BSD]: Likewise.
5402 * string/string.h [__USE_SVID]: Likewise.
5403 [__USE_BSD]: Likewise.
5404 * string/strings.h [__USE_BSD]: Likewise.
5405 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5406 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5407 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5408 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5409 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5410 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5411 Likewise.
5412 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5413 Likewise.
5414 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5415 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5416 Likewise.
5417 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5418 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5419 Likewise.
5420 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5421 Likewise.
5422 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5423 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5424 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5425 Likewise.
5426 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5427 Likewise.
5428 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5429 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5430 * termios/termios.h [__USE_BSD]: Likewise.
5431 * time/sys/time.h [__USE_BSD]: Likewise.
5432 * time/time.h [__USE_BSD]: Likewise.
5433 [__USE_SVID]: Likewise.
5434
dd7b064c
JM
5435 * Makefile (subdir_targets): Remove subdir_lint.out.
5436
a2c4c199
JM
5437 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5438 (do-tst-printf): Likewise.
5439 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5440 $(objpfx)tst-printf.out.
5441
8756f740
JM
5442 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5443
1b6dd3f1
JM
5444 * Makerules (check-abi-%): Change target to
5445 $(objpfx)check-abi-%.out.
5446 (check-abi target): Update dependencies.
5447 (check-abi-pattern variable): Redirect output of diff to $@.
5448 (check-abi variable): Likewise.
5449 * elf/Makefile (check-abi): Update dependencies.
5450
ace614b8
JM
5451 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5452 unused.
5453 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5454 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5455 subnormal range.
5456 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5457 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5458 value has largest subnormal exponent.
5459 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5460 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5461 * sysdeps/aarch64/soft-fp/sfp-machine.h
5462 (_FP_TININESS_AFTER_ROUNDING): New macro.
5463 * sysdeps/alpha/soft-fp/sfp-machine.h
5464 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5465 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5466 Likewise.
5467 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5468 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5469 * sysdeps/mips/soft-fp/sfp-machine.h
5470 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5471 * sysdeps/powerpc/soft-fp/sfp-machine.h
5472 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5473 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5474 Likewise.
5475 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5476 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5477 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5478 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5479 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5480 Likewise.
5481
fbfdf9cb
DAS
54822014-02-12 Dylan Alex Simon <dylan@dylex.net>
5483
5484 [BZ #16545]
5485 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5486 model 1.
5487
68b7efaa
RH
54882014-02-12 Richard Henderson <rth@redhat.com>
5489
c70a4b1d 5490 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5491 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5492 * sysdeps/unix/sysv/linux/alpha: Move directory from
5493 ports/sysdeps/unix/sysv/linux/alpha.
5494 * README: Update listing for alpha-*-linux-gnu.
5495
cb4a2928
JM
54962014-02-11 Joseph Myers <joseph@codesourcery.com>
5497
c941736c
JM
5498 * include/features.h: Update comment documenting feature test
5499 macros.
5500 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5501 _DEFAULT_SOURCE.
5502 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5503 (_SVID_SOURCE): Likewise.
5504 (_DEFAULT_SOURCE): Update description of default features.
5505 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5506 with _GNU_SOURCE.
5507 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5508 (S_ISVTX): Likewise.
5509 * manual/math.texi (Mathematical Constants): Likewise.
5510 * manual/signal.texi (Interrupted Primitives): Likewise.
5511 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5512 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5513 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5514 Don't refer to _SVID_SOURCE in warning text.
5515
e8d8d7ec
JM
5516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5517
cb4a2928
JM
5518 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5519 already defined.
5520 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5521 * sysdeps/mips/dl-lookup.c: Remove.
5522 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5523
7e6424e3
AK
55242014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5525
5526 [BZ #16447]
5527 * math/auto-libm-test-in: Add testcase for expl.
5528 * math/auto-libm-test-out: Regenerate.
5529 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5530 calculation of unsafe.
5531 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5532
75eff3fe
MS
55332014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5534
5535 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5536 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5537 ports/sysdeps/unix/sysv/linux/aarch64.
5538 * README: Update listing for aarch64*-*-linux-gnu.
5539
d35f1e80
WN
55402014-02-11 Will Newton <will.newton@linaro.org>
5541
5542 * manual/probes.texi (Mathematical Function Probes): Use
5543 "triggered" instead of "hit".
5544
7b3436d4
WN
5545 * manual/probes.texi (Internal Probes): Add documentation
5546 of setjmp, longjmp and longjmp_target probes.
5547
b4f12ca3
WN
5548 * include/stap-probe.h: Add comment about probe argument
5549 format.
5550
c13a72b7
WN
5551 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5552 definition. (tr_where, tr_freehook, tr_mallochook,
5553 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5554
195b8165
DM
55552014-02-11 David S. Miller <davem@davemloft.net>
5556
5557 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5558 processing int_tests.
5559
2ad7600b
JM
55602014-02-10 Joseph Myers <joseph@codesourcery.com>
5561
5562 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5563 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5564 * sysdeps/unix/sysv/linux/mips: Move directory from
5565 ports/sysdeps/unix/sysv/linux/mips.
5566 * README: Update listing for mips-*-linux-gnu and
5567 mips64-*-linux-gnu.
5568
73588a72
AS
55692014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5570
5571 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5572 * sysdeps/unix/sysv/linux/m68k: Move directory from
5573 ports/sysdeps/unix/sysv/linux/m68k.
5574 * README: Update listing for m68k-*-linux-gnu.
5575
4372980f
CM
55762014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5577
5578 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5579 * sysdeps/unix/sysv/linux/generic: Move directory from
5580 ports/sysdeps/unix/sysv/linux/generic.
5581 * sysdeps/unix/sysv/linux/tile: Move directory from
5582 ports/sysdeps/unix/sysv/linux/tile.
5583 * README: Update listing for tile*-*-linux-gnu.
5584
a1ffb40e
OB
55852014-02-10 Ondřej Bílka <neleai@seznam.cz>
5586
57f41c40
AS
5587 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5588 __builtin_expect.
a1ffb40e
OB
5589 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5590 * catgets/open_catalog.c (__open_catalog): Likewise.
5591 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5592 * debug/confstr_chk.c: Likewise.
5593 * debug/fread_chk.c (__fread_chk): Likewise.
5594 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5595 * debug/getgroups_chk.c: Likewise.
5596 * debug/mbsnrtowcs_chk.c: Likewise.
5597 * debug/mbsrtowcs_chk.c: Likewise.
5598 * debug/mbstowcs_chk.c: Likewise.
5599 * debug/memcpy_chk.c: Likewise.
5600 * debug/memmove_chk.c: Likewise.
5601 * debug/mempcpy_chk.c: Likewise.
5602 * debug/memset_chk.c: Likewise.
5603 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5604 * debug/strcat_chk.c (__strcat_chk): Likewise.
5605 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5606 * debug/strncat_chk.c (__strncat_chk): Likewise.
5607 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5608 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5609 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5610 * debug/wcpncpy_chk.c: Likewise.
5611 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5612 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5613 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5614 * debug/wcsncpy_chk.c: Likewise.
5615 * debug/wcsnrtombs_chk.c: Likewise.
5616 * debug/wcsrtombs_chk.c: Likewise.
5617 * debug/wcstombs_chk.c: Likewise.
5618 * debug/wmemcpy_chk.c: Likewise.
5619 * debug/wmemmove_chk.c: Likewise.
5620 * debug/wmempcpy_chk.c: Likewise.
5621 * debug/wmemset_chk.c: Likewise.
5622 * dirent/scandirat.c (SCANDIRAT): Likewise.
5623 * dlfcn/dladdr1.c (dladdr1): Likewise.
5624 * dlfcn/dladdr.c (dladdr): Likewise.
5625 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5626 * dlfcn/dlerror.c (__dlerror): Likewise.
5627 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5628 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5629 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5630 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5631 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5632 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5633 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5634 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5635 Likewise.
5636 * elf/dl-conflict.c: Likewise.
5637 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5638 * elf/dl-dst.h: Likewise.
5639 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5640 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5641 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5642 * elf/dl-init.c (call_init, _dl_init): Likewise.
5643 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5644 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5645 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5646 Likewise.
a1ffb40e
OB
5647 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5648 Likewise.
5649 * elf/dl-minimal.c (__libc_memalign): Likewise.
5650 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5651 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5652 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5653 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5654 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5655 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5656 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5657 * elf/dl-writev.h (_dl_writev): Likewise.
5658 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5659 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5660 (dl_main): Likewise.
a1ffb40e
OB
5661 * elf/setup-vdso.h (setup_vdso): Likewise.
5662 * grp/compat-initgroups.c (compat_call): Likewise.
5663 * grp/fgetgrent.c (fgetgrent): Likewise.
5664 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5665 * grp/putgrent.c (putgrent): Likewise.
5666 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5667 Likewise.
5668 * hurd/hurdinit.c: Likewise.
5669 * iconvdata/8bit-gap.c (struct): Likewise.
5670 * iconvdata/ansi_x3.110.c : Likewise.
5671 * iconvdata/big5.c : Likewise.
5672 * iconvdata/big5hkscs.c : Likewise.
5673 * iconvdata/cp1255.c: Likewise.
5674 * iconvdata/cp1258.c : Likewise.
5675 * iconvdata/cp932.c : Likewise.
5676 * iconvdata/euc-cn.c: Likewise.
5677 * iconvdata/euc-jisx0213.c : Likewise.
5678 * iconvdata/euc-jp.c: Likewise.
5679 * iconvdata/euc-jp-ms.c : Likewise.
5680 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5681 * iconvdata/gb18030.c : Likewise.
5682 * iconvdata/gbbig5.c (const): Likewise.
5683 * iconvdata/gbgbk.c: Likewise.
5684 * iconvdata/gbk.c : Likewise.
5685 * iconvdata/ibm1364.c : Likewise.
5686 * iconvdata/ibm930.c : Likewise.
5687 * iconvdata/ibm932.c: Likewise.
5688 * iconvdata/ibm933.c : Likewise.
5689 * iconvdata/ibm935.c : Likewise.
5690 * iconvdata/ibm937.c : Likewise.
5691 * iconvdata/ibm939.c : Likewise.
5692 * iconvdata/ibm943.c: Likewise.
5693 * iconvdata/iso_11548-1.c: Likewise.
5694 * iconvdata/iso-2022-cn.c : Likewise.
5695 * iconvdata/iso-2022-cn-ext.c : Likewise.
5696 * iconvdata/iso-2022-jp-3.c: Likewise.
5697 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5698 * iconvdata/iso-2022-kr.c : Likewise.
5699 * iconvdata/iso646.c (gconv_end): Likewise.
5700 * iconvdata/iso_6937-2.c : Likewise.
5701 * iconvdata/iso_6937.c : Likewise.
5702 * iconvdata/iso8859-1.c: Likewise.
5703 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5704 * iconvdata/shift_jisx0213.c : Likewise.
5705 * iconvdata/sjis.c : Likewise.
5706 * iconvdata/t.61.c : Likewise.
5707 * iconvdata/tcvn5712-1.c : Likewise.
5708 * iconvdata/tscii.c: Likewise.
5709 * iconvdata/uhc.c : Likewise.
5710 * iconvdata/unicode.c (gconv_end): Likewise.
5711 * iconvdata/utf-16.c (gconv_end): Likewise.
5712 * iconvdata/utf-32.c (gconv_end): Likewise.
5713 * iconvdata/utf-7.c (base64): Likewise.
5714 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5715 * iconv/gconv_close.c (__gconv_close): Likewise.
5716 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5717 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5718 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5719 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5720 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5721 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5722 * iconv/iconv.c (iconv): Likewise.
5723 * iconv/iconv_close.c: Likewise.
5724 * iconv/loop.c (SINGLE): Likewise.
5725 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5726 * include/atomic.h: Likewise.
5727 * inet/inet6_option.c (option_alloc): Likewise.
5728 * intl/bindtextdom.c (set_binding_values): Likewise.
5729 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5730 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5731 * intl/localealias.c (read_alias_file): Likewise.
5732 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5733 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5734 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5735 * libio/fmemopen.c (fmemopen): Likewise.
5736 * libio/iofgets.c (_IO_fgets): Likewise.
5737 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5738 * libio/iofgetws.c (fgetws): Likewise.
5739 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5740 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5741 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5742 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5743 * locale/findlocale.c (_nl_find_locale): Likewise.
5744 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5745 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5746 Likewise.
5747 * locale/setlocale.c (setlocale): Likewise.
5748 * login/programs/pt_chown.c (main): Likewise.
5749 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5750 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5751 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5752 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5753 * math/e_exp2l.c: Likewise.
5754 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5755 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5756 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5757 * math/s_catan.c (__catan): Likewise.
5758 * math/s_catanf.c (__catanf): Likewise.
5759 * math/s_catanh.c (__catanh): Likewise.
5760 * math/s_catanhf.c (__catanhf): Likewise.
5761 * math/s_catanhl.c (__catanhl): Likewise.
5762 * math/s_catanl.c (__catanl): Likewise.
5763 * math/s_ccosh.c (__ccosh): Likewise.
5764 * math/s_ccoshf.c (__ccoshf): Likewise.
5765 * math/s_ccoshl.c (__ccoshl): Likewise.
5766 * math/s_cexp.c (__cexp): Likewise.
5767 * math/s_cexpf.c (__cexpf): Likewise.
5768 * math/s_cexpl.c (__cexpl): Likewise.
5769 * math/s_clog10.c (__clog10): Likewise.
5770 * math/s_clog10f.c (__clog10f): Likewise.
5771 * math/s_clog10l.c (__clog10l): Likewise.
5772 * math/s_clog.c (__clog): Likewise.
5773 * math/s_clogf.c (__clogf): Likewise.
5774 * math/s_clogl.c (__clogl): Likewise.
5775 * math/s_csin.c (__csin): Likewise.
5776 * math/s_csinf.c (__csinf): Likewise.
5777 * math/s_csinh.c (__csinh): Likewise.
5778 * math/s_csinhf.c (__csinhf): Likewise.
5779 * math/s_csinhl.c (__csinhl): Likewise.
5780 * math/s_csinl.c (__csinl): Likewise.
5781 * math/s_csqrt.c (__csqrt): Likewise.
5782 * math/s_csqrtf.c (__csqrtf): Likewise.
5783 * math/s_csqrtl.c (__csqrtl): Likewise.
5784 * math/s_ctan.c (__ctan): Likewise.
5785 * math/s_ctanf.c (__ctanf): Likewise.
5786 * math/s_ctanh.c (__ctanh): Likewise.
5787 * math/s_ctanhf.c (__ctanhf): Likewise.
5788 * math/s_ctanhl.c (__ctanhl): Likewise.
5789 * math/s_ctanl.c (__ctanl): Likewise.
5790 * math/w_pow.c: Likewise.
5791 * math/w_powf.c: Likewise.
5792 * math/w_powl.c: Likewise.
5793 * math/w_scalb.c (sysv_scalb): Likewise.
5794 * math/w_scalbf.c (sysv_scalbf): Likewise.
5795 * math/w_scalbl.c (sysv_scalbl): Likewise.
5796 * misc/error.c (error_tail): Likewise.
5797 * misc/pselect.c (__pselect): Likewise.
5798 * nis/nis_callback.c (__nis_create_callback): Likewise.
5799 * nis/nis_call.c (__nisfind_server): Likewise.
5800 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5801 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5802 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5803 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5804 * nis/nis_lookup.c (nis_lookup): Likewise.
5805 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5806 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5807 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5808 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5809 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5810 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5811 * nis/nss_compat/compat-initgroups.c (add_group)
5812 (internal_getgrent_r): Likewise.
5813 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5814 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5815 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5816 (internal_getspnam_r): Likewise.
5817 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5818 (_nss_nis_getaliasbyname_r): Likewise.
5819 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5820 (_nss_nis_getntohost_r): Likewise.
5821 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5822 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5823 (_nss_nis_getgrgid_r): Likewise.
5824 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5825 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5826 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5827 (_nss_nis_gethostbyname4_r): Likewise.
5828 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5829 (initgroups_netid): Likewise.
a1ffb40e 5830 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5831 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5832 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5833 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5834 (_nss_nis_getprotobynumber_r): Likewise.
5835 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5836 (_nss_nis_getsecretkey): Likewise.
5837 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5838 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5839 (_nss_nis_getpwuid_r): Likewise.
5840 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5841 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5842 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5843 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5844 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5845 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5846 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5847 Likewise.
57f41c40
AS
5848 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5849 (_nss_nisplus_getntohost_r): Likewise.
5850 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5851 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5852 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5853 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5854 Likewise.
57f41c40
AS
5855 * nis/nss_nisplus/nisplus-initgroups.c
5856 (_nss_nisplus_initgroups_dyn): Likewise.
5857 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5858 (_nss_nisplus_getnetbyaddr_r): Likewise.
5859 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5860 (_nss_nisplus_getprotobynumber_r): Likewise.
5861 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5862 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5863 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5864 Likewise.
57f41c40
AS
5865 * nis/nss_nisplus/nisplus-service.c
5866 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5867 (_nss_nisplus_getservbyport_r): Likewise.
5868 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5869 (_nss_nisplus_getspnam_r): Likewise.
5870 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5871 Likewise.
a1ffb40e
OB
5872 * nscd/aicache.c (addhstaiX): Likewise.
5873 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5874 * nscd/connections.c (register_traced_file, send_ro_fd)
5875 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5876 (main_loop_epoll): Likewise.
a1ffb40e
OB
5877 * nscd/grpcache.c (addgrbyX): Likewise.
5878 * nscd/hstcache.c (addhstbyX): Likewise.
5879 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5880 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5881 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5882 (addinnetgrX): Likewise.
5883 * nscd/nscd-client.h (__nscd_acquire_maplock)
5884 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5885 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5886 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5887 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5888 Likewise.
5889 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5890 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5891 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5892 (__nscd_get_map_ref): Likewise.
a1ffb40e 5893 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5894 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5895 Likewise.
a1ffb40e
OB
5896 * nscd/pwdcache.c (addpwbyX): Likewise.
5897 * nscd/selinux.c (preserve_capabilities): Likewise.
5898 * nscd/servicescache.c (addservbyX): Likewise.
5899 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5900 * posix/fnmatch.c (fnmatch): Likewise.
5901 * posix/getopt.c (_getopt_internal_r): Likewise.
5902 * posix/glob.c (glob, glob_in_dir): Likewise.
5903 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5904 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5905 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5906 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5907 * resolv/res_init.c: Likewise.
5908 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5909 * resolv/res_query.c (__libc_res_nquery): Likewise.
5910 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5911 Likewise.
5912 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5913 * stdio-common/perror.c (perror): Likewise.
5914 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5915 * stdio-common/tmpnam.c (tmpnam): Likewise.
5916 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5917 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5918 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5919 Likewise.
a1ffb40e
OB
5920 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5921 * stdlib/putenv.c (putenv): Likewise.
5922 * stdlib/setenv.c (__add_to_environ): Likewise.
5923 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5924 * stdlib/strtol_l.c (INTERNAL): Likewise.
5925 * string/memmem.c (memmem): Likewise.
5926 * string/strerror.c (strerror): Likewise.
5927 * string/strnlen.c (__strnlen): Likewise.
5928 * string/test-memmem.c (simple_memmem): Likewise.
5929 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5930 * sunrpc/pm_getport.c (__get_socket): Likewise.
5931 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5932 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5933 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5934 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5935 Likewise.
5936 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5937 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5938 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5939 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5940 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5941 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5942 Likewise.
5943 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5944 Likewise.
a1ffb40e
OB
5945 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5946 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5947 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5948 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5949 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5951 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5952 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5953 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5954 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5955 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5956 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5957 Likewise.
5958 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5959 Likewise.
5960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5961 Likewise.
5962 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5965 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5966 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5967 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5968 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5969 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5970 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5971 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5972 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5973 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5974 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5975 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5977 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5978 Likewise.
a1ffb40e
OB
5979 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5980 Likewise.
5981 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5982 Likewise.
5983 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5984 Likewise.
5985 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5986 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5987 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5988 Likewise.
5989 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5990 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5991 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5992 * sysdeps/posix/sleep.c: Likewise.
5993 * sysdeps/posix/tempname.c: Likewise.
5994 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5995 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5996 Likewise.
57f41c40
AS
5997 * sysdeps/powerpc/powerpc32/dl-machine.h
5998 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5999 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6000 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6001 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6002 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6003 Likewise.
6004 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6005 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6006 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6007 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6008 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6009 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6010 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6011 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6012 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6013 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6015 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6016 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6018 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6019 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6020 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6021 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6022 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6023 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6024 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6025 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6027 Likewise.
6028 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6029 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6030 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6031 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6032 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6033 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6034 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6035 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6036 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6037 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6038 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6039 Likewise.
6040 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6041 (__posix_fallocate64_l64): Likewise.
6042 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6043 (posix_fallocate): Likewise.
57f41c40
AS
6044 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6045 Likewise.
a1ffb40e 6046 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6047 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6048 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6049 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6050 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6051 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6052 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6053 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6054 (__posix_fallocate64_l64): Likewise.
6055 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6056 Likewise.
6057 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6058 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6059 (__get_clockfreq): Likewise.
a1ffb40e
OB
6060 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6061 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6062 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6063 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6064 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6065 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6066 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6067 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6068 Likewise.
6069 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6070 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6071 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6072 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6073 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6074 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6075 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6076 Likewise.
6077 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6078 (posix_fallocate): Likewise.
6079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6080 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6081 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6082 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6083 (elf_machine_rela, elf_machine_rela_relative)
6084 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6085 * time/asctime.c (asctime_internal): Likewise.
6086 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6087 * time/tzset.c (__tzset_parse_tz): Likewise.
6088 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6089 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6090 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6091 * wcsmbs/wcsmbsload.h: Likewise.
6092
f3d338c9
OB
6093 [BZ #15894]
6094 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6095
57f41c40
AS
6096 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6097 (arena_get2): Remove THREAD_STATS conditionals.
6098 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6099 (__malloc_stats, int): Likewise.
bdfe308a 6100
d674667c
MF
61012014-02-08 Mike Frysinger <vapier@gentoo.org>
6102
6103 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6104 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6105
6349768c
MF
6106 * manual/setjmp.texi: Fix typos/grammar errors.
6107
0b7c7473
MF
6108 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6109 Only return early when n is <= 0. Delete unused return statement.
6110
ac8cc9e3
MF
6111 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6112 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6113 * debug/tst-longjmp_chk3.c: New file.
6114
c5bb8e23
MF
6115 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6116 (test_main): Replace code with set_fortify_handler call.
6117 * debug/test-strcpy_chk.c: Likewise.
6118 * debug/tst-chk1.c: Likewise.
6119 * debug/tst-longjmp_chk.c: Likewise.
6120 * test-skeleton.c: Include fcntl.h & paths.h
6121 (set_fortify_handler): Define.
6122
10444e42
MF
6123 * debug/tst-longjmp_chk.c: Add header comment and include
6124 ../test-skeleton.c.
6125 (do_test): Mark static.
6126 (TEST_FUNCTION): Define.
6127
1e805e8d
MF
6128 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6129 (IP_PMTUDISC_INTERFACE): Likewise.
6130 (IP_MULTICAST_IF): Likewise.
6131 (IP_MULTICAST_TTL): Likewise.
6132 (IP_MULTICAST_LOOP): Likewise.
6133 (IP_ADD_MEMBERSHIP): Likewise.
6134 (IP_DROP_MEMBERSHIP): Likewise.
6135 (IP_UNBLOCK_SOURCE): Likewise.
6136 (IP_BLOCK_SOURCE): Likewise.
6137 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6138 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6139 (IP_MSFILTER): Likewise.
6140 (MCAST_JOIN_GROUP): Likewise.
6141 (MCAST_BLOCK_SOURCE): Likewise.
6142 (MCAST_UNBLOCK_SOURCE): Likewise.
6143 (MCAST_LEAVE_GROUP): Likewise.
6144 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6145 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6146 (MCAST_MSFILTER): Likewise.
6147 (IP_MULTICAST_ALL): Likewise.
6148 (IP_UNICAST_IF): Likewise.
6149
73f79bb7
MF
6150 * timezone/Makefile: Delete $(have-ksh) check.
6151 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6152 * timezone/tzselect.ksh: Add +x mode bits.
6153
8da79b60
MF
6154 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6155 (ANON_INODE_FS_MAGIC): Likewise.
6156 (BDEVFS_MAGIC): Likewise.
6157 (BINFMTFS_MAGIC): Likewise.
6158 (BTRFS_TEST_MAGIC): Likewise.
6159 (CRAMFS_MAGIC_WEND): Likewise.
6160 (DEBUGFS_MAGIC): Likewise.
6161 (ECRYPTFS_SUPER_MAGIC): Likewise.
6162 (EXT3_SUPER_MAGIC): Likewise.
6163 (EXT4_SUPER_MAGIC): Likewise.
6164 (FUTEXFS_SUPER_MAGIC): Likewise.
6165 (HOSTFS_SUPER_MAGIC): Likewise.
6166 (HUGETLBFS_MAGIC): Likewise.
6167 (MINIX3_SUPER_MAGIC): Likewise.
6168 (MTD_INODE_FS_MAGIC): Likewise.
6169 (NILFS_SUPER_MAGIC): Likewise.
6170 (OPENPROM_SUPER_MAGIC): Likewise.
6171 (PIPEFS_MAGIC): Likewise.
6172 (PSTOREFS_MAGIC): Likewise.
6173 (QNX6_SUPER_MAGIC): Likewise.
6174 (RAMFS_MAGIC): Likewise.
6175 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6176 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6177 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6178 (SECURITYFS_MAGIC): Likewise.
6179 (SELINUX_MAGIC): Likewise.
6180 (SMACK_MAGIC): Likewise.
6181 (SOCKFS_MAGIC): Likewise.
6182 (SQUASHFS_MAGIC): Likewise.
6183 (STACK_END_MAGIC): Likewise.
6184 (TMPFS_MAGIC): Likewise.
6185 (USBDEVICE_SUPER_MAGIC): Likewise.
6186 (V9FS_MAGIC): Likewise.
6187 (XENFS_SUPER_MAGIC): Likewise.
6188 (CRAMFS_MAGIC): Fix typo in comment.
6189 (EXT2_SUPER_MAGIC): Update comment.
6190 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6191
464263cc
JM
61922014-02-08 Joseph Myers <joseph@codesourcery.com>
6193
c6bfe5c4
JM
6194 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6195 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6196 * sysdeps/unix/sysv/linux/arm: Move directory from
6197 ports/sysdeps/unix/sysv/linux/arm.
6198 * README: Update listing for arm-*-linux-gnueabi.
6199
464263cc
JM
6200 * README: Remove mention of am33.
6201
32749f6c
RM
62022014-02-07 Roland McGrath <roland@hack.frob.com>
6203
6204 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6205 than the comma operator, to avoid "rhs of comma has no effect"
6206 compiler warnings.
6207 (__sigfillset, __sigandset, __sigorset): Likewise.
6208 * include/signal.h (__sigemptyset): Likewise.
6209 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6210
d5b396c1
AM
62112014-02-07 Allan McRae <allan@archlinux.org>
6212
6213 * version.h (RELEASE): Set to "development".
6214 (VERSION): Set to "2.19.90"
6215 * NEWS: Add 2.20 section.
6216
3bfff2ed
CD
62172014-02-06 Carlos O'Donell <carlos@redhat.com>
6218
6219 [BZ #16529]
6220 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6221
ee7cc385
SP
62222014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6223
6224 * manual/contrib.texi: Update entry for Carlos O'Donell,
6225 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6226
f877c4f2
CD
62272014-02-05 Carlos O'Donell <carlos@rehdat.com>
6228
27e839f6
CD
6229 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6230
f877c4f2
CD
6231 * sysdeps/unix/sysv/linux/kernel-features.h
6232 [__LINUX_KERNEL_VERSION >= 0x020621]
6233 (__ASSUME_PROC_PID_TASK_COMM): Define.
6234
68159946
SP
62352014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6236
ba17cdbd
SP
6237 [BZ #16398]
6238 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6239 conversion when destination buffer does not have enough space.
6240 * libio/tst-ftell-partial-wide.c: New test case.
6241 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6242
68159946
SP
6243 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6244 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6245 Leonard and Allan McRae.
6246
2b528732
DM
62472014-02-04 David S. Miller <davem@davemloft.net>
6248
6249 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6250 32-bit.
6251
0ff82463
AZ
62522014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6253
57f41c40
AS
6254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6255 New file
c01603f7
AZ
6256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6257 New file
57f41c40
AS
6258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6259 New file.
6260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6261 New file.
c01603f7
AZ
6262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6263 New file.
57f41c40
AS
6264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6265 New file.
6266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6267 New file.
c01603f7
AZ
6268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6269 New file.
6270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6271 New file.
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6273 New file.
6274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6275 New file.
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6277 New file.
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6279 New file.
6280
62812014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282
0ff82463
AZ
6283 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6284 * shlib-versions: Likewise.
6285
1695c773
AZ
62862014-02-04 Roland McGrath <roland@hack.frob.com>
6287 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6288
6289 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6290 (abilist-pattern): New variable, set to %-le.abilist.
6291
6292 * Makerules (abilist-pattern): New variable.
6293 (vpath): Use $(abilist-pattern) in place of %.abilist.
6294 (check-abi-% pattern rule): Likewise.
6295 (check-abi, update-abi): Likewise.
6296
6c0ce4b4
EW
62972014-02-04 Eric Wong <normalperson@yhbt.net>
6298
6299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6300
481e3524
CD
63012014-02-03 Carlos O'Donell <carlos@redhat.com>
6302
6303 * manual/startup.texi: Add next, previous, and top entries for
6304 the `Program Arguments' and `Environment Variables' nodes.
6305
375592d3
AO
63062014-02-03 Alexandre Oliva <aoliva@redhat.com>
6307
6308 * manual/macros.texi: Add comments before MTASC-safety macros.
6309
f54838ba
AO
6310 * manual/users.texi: Document MTASC-safety properties.
6311
57f41c40
AS
6312 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6313 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6314 @deftypefun, and add @safety note.
6315 * manual/signal.texi: Move comments that analyze the above
6316 functions to their home place.
6317
fd3daba4
AM
63182014-02-03 Allan McRae <allan@archlinux.org>
6319
6320 * po/sl.po: Update Slovenian translation from translation project.
6321
597636d7
AO
63222014-02-02 Alexandre Oliva <aoliva@redhat.com>
6323
6324 * manual/time.texi (timegm): Add missing blank after @c.
6325 Reported by Joseph Myers <joseph@codesourcery.com>.
6326
ee196e3c
AO
63272014-02-01 Alexandre Oliva <aoliva@redhat.com>
6328
6329 * manual/check-safety.sh: New.
6330 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6331
f8d529d5
AO
6332 * manual/terminal.texi: Document MTASC-safety properties.
6333
de55fdf4
AO
6334 * manual/filesys.texi: Document MTASC-safety properties.
6335
c3299c08
AO
6336 * manual/errno.texi: Document MTASC-safety properties.
6337
06e90b14
AO
6338 * manual/intro.texi: Document safety identifiers and
6339 conditionals.
6340
1acd4371
AO
6341 * manual/string.texi (wcstok): Fix prototype.
6342 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6343
23e5b8cb
AO
6344 * manual/time.texi: Document MTASC-safety properties.
6345
11087373
AO
6346 * manual/string.texi: Document MTASC-safety properties.
6347
5da2c93d
AO
6348 * manual/threads.texi: Document MTASC-safety properties.
6349
171e9210
AO
6350 * manual/stdio.texi: Document MTASC-safety properties.
6351
d9e02532
AO
6352 * manual/syslog.texi: Document MTASC-safety properties.
6353
6af8bab7
AO
6354 * manual/sysinfo.texi: Document MTASC-safety properties.
6355
663b02d7
AO
6356 * manual/startup.texi: Document MTASC-safety properties.
6357
973f180b
AO
6358 * manual/socket.texi: Document MTASC-safety properties.
6359
8f3c25c8
AO
6360 * manual/signal.texi: Document MTASC-safety properties.
6361
542210fb
AO
63622014-01-31 Alexandre Oliva <aoliva@redhat.com>
6363
6364 * manual/setjmp.texi: Document MTASC-safety properties.
6365
433c45a2
AO
6366 * manual/search.texi: Document MTASC-safety properties.
6367
c8ce789c
AO
6368 * manual/resource.texi: Document MTASC-safety properties.
6369
19f5d29c
AO
6370 * manual/process.texi: Document MTASC-safety properties.
6371
e2dfb7f4
AO
6372 * manual/platform.texi: Document MTASC-safety properties.
6373
8c1413f5
AO
6374 * manual/pipe.texi: Document MTASC-safety properties.
6375
03483ada
AO
6376 * manual/pattern.texi: Document MTASC-safety properties.
6377
29e7e2df
AO
6378 * manual/message.texi: Document MTASC-safety properties.
6379
9f529d7c
AO
6380 [BZ #12751]
6381 * manual/memory.texi: Document MTASC-safety properties.
6382
27aaa791
AO
6383 * manual/math.texi: Document MTASC-safety properties.
6384
f2d58726
AO
6385 * manual/locale.texi: Document MTASC-safety properties.
6386
2cc3615c
AO
6387 * manual/llio.texi: Document MTASC-safety properties.
6388
d9f0ec97
AO
6389 * manual/libdl.texi: New.
6390
e7c4409a
AO
6391 * manual/lang.texi: Document MTASC-safety properties.
6392
27bdc63c
AO
6393 * manual/job.texi: Document MTASC-safety properties.
6394
a7b90ea9
AO
6395 * manual/getopt.texi: Document MTASC-safety properties.
6396
c49130e3
AO
6397 * manual/ctype.texi: Document MTASC-safety properties.
6398
0d23a5c1
MR
63992014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6400
6401 [BZ #16046]
6402 * csu/libc-tls.c (static_map): Remove variable.
6403 (__libc_setup_tls): Use main executable's link map for TLS data.
6404 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6405 casing for LM_ID_BASE and GL(dl_nns).
6406 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6407 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6408 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6409 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6410 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6411 member.
6412 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6413 l_phnum members.
6414
0037bb60
AO
64152014-01-30 Alexandre Oliva <aoliva@redhat.com>
6416
6417 * manual/debug.texi: Document MTASC-safety properties.
6418
409e00bd
L
64192014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6420
6421 [BZ #16510]
6422 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6423 of __x86_64__ when disabling x87 inline functions.
6424
86e60666
AO
64252014-01-29 Alexandre Oliva <aoliva@redhat.com>
6426
6427 * manual/charset.texi: Document MTASC-safety properties.
6428
76167637
AO
6429 * manual/crypt.texi: Document MTASC-safety properties.
6430
e567f2a0
AO
6431 * manual/conf.texi: Document MTASC-safety properties.
6432
b719dafd
AO
6433 * manual/arith.texi: Document MTASC-safety properties.
6434
4a16c662
AO
6435 * manual/argp.texi: Document MTASC-safety properties.
6436
0a57b83e
AO
6437 * manual/macros.texi: Introduce macros to document multi
6438 thread, asynchronous signal and asynchronous cancellation
6439 safety properties.
6440 * manual/intro.texi: Introduce the properties themselves.
6441
feab2397
KK
64422014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6443
6444 * sysdeps/sh/sh4/Makefile: New file.
6445
1c0d11bc
AS
64462014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6447
6448 * math/gen-libm-test.pl ($srcdir): New variable.
6449 ($auto_input): Use it.
6450
af37a8a3
SP
64512014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6452
d7b00f98
SP
6453 [BZ #16506]
6454 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6455 access beyond array bounds when parsing netgroups file.
6456
af37a8a3
SP
6457 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6458 the old buffer before realloc.
6459
0c00f062
AM
64602014-01-27 Allan McRae <allan@archlinux.org>
6461
6462 * po/fr.po: Update French translation from translation project.
6463
7d69a1b0
KK
64642014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6465
6466 * sysdeps/sh/libm-test-ulps: Regenerate.
6467
6e697ff7
DM
64682014-01-24 David S. Miller <davem@davemloft.net>
6469
6470 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6471
9cadb35c
KK
64722014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6473
6474 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6475 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6476
5d41dadf
SP
64772013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6478
6479 [BZ #16474]
6480 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6481 string pointers after reallocation.
6482
0bad441c
KK
64832014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6484
6485 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6486 __SH4A__ instead of __SH_FPU_ANY__.
6487
7007c661
KK
64882014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6489
6490 * sysdeps/sh/fpu_control.h: New file.
6491 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6492 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6493 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6494 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6495 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6496 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6497 * sysdeps/sh/sys/ucontext.h: Remove.
6498 * sysdeps/sh/sys: Remove directory.
6499
0f0c35e4
AK
65002014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6501
6502 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6503 s390/sys/ucontext.h.
6504 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6505 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6506
4959e284
L
65072014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6508
6509 [BZ #15605]
6510 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6511
d98720e0
AZ
65122014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6513
6514 [BZ#16431]
6515 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6516 Adjust the vDSO correctly for internal calls.
6517 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6518
91cbd0bc
AM
65192014-01-20 Allan McRae <allan@archlinux.org>
6520
6521 * po/ca.po: Update Catalan translation from translation project.
6522
7a02cfad
MF
65232014-01-16 Mike Frysinger <vapier@gentoo.org>
6524
6525 * sysdeps/s390/sotruss-lib.c: New file.
6526
736c304a
AZ
65272014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6528
6529 [BZ#16430]
6e077ee5 6530 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6531 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6532 local calls issues by not having a PLT stub required for IFUNC calls.
6533 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6534
94d0cea0
JM
65352014-01-16 Joseph Myers <joseph@codesourcery.com>
6536
6537 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6538 * math/test-fpucw-static.c: Likewise.
6539
980cb518
SP
65402013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6541
6542 [BZ #16453]
6543 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6544
2393fc01
AZ
65452014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6546
6547 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6548 implementation for powerpc.
6549
d359bcc2
OB
65502014-01-15 Ondřej Bílka <neleai@seznam.cz>
6551
6552 [BZ #14782]
6553 * sysdeps/posix/system.c (__libc_system): Do not enable
6554 asynchronous cancellation.
6555
7beb48cb
AK
65562014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6557
6558 [BZ #16427]
6559 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6560 handling only for numbers special also in the IEEE case.
6561
c20d5bf5
AK
65622014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6563
6564 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6565
e83bd4ee
AM
65662014-01-11 Allan McRae <allan@archlinux.org>
6567
76d0ea69
AM
6568 * po/bg.po: Update Bulgarian translation from translation project.
6569
e83bd4ee
AM
6570 * po/de.po: Update German translation from translation project.
6571
bc2ba20a
RM
65722014-01-10 Roland McGrath <roland@hack.frob.com>
6573
6574 * sysdeps/generic/gcc-compat.h: New file.
6575
649ecea2
SP
65762014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6577
6578 * benchtests/asin-inputs: Correct slow inputs.
6579 * benchtests/acos-inputs: Likewise.
6580
1b19c006
AM
65812014-01-10 Allan McRae <allan@archlinux.org>
6582
a46dab08
AM
6583 * po:sv.po: Update Swedish translation from translation project.
6584
421df74a
AM
6585 * po/vi.po: Update Vietnamese translation from translation project.
6586
d61c51a7
AM
6587 * po/eo.po: Update Esperanto translation from translation project.
6588
0339a319
AM
6589 * po/cs.po: Update Czech translation from translation project.
6590
94ad3e99
AM
6591 * po/nl.po: Update Dutch translation from translation project.
6592
e349ca71
AM
6593 * po/pl.po: Update Polish translation from translation project.
6594
ddf930c1
AM
6595 * po/ru.po: Update Russian translation from translation project.
6596
1b19c006
AM
6597 * po/uk.po: Update Ukrainian translation from translation project.
6598
9f236c49
BM
65992014-01-08 Brooks Moses <bmoses@google.com>
6600
6601 * elf/dl-load.c: Fix comment typo.
6602
cd6701cf
CD
66032014-01-08 Carlos O'Donell <carlos@redhat.com>
6604
6605 * po/header.pot: Rename to...
6606 * po/pot.header: ... this.
6607 * po/Makefile: Use pot.header.
6608
66671c84
YK
66092014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6610 Maxim Kuvyrkov <maxim@kugelworks.com>
6611
6612 [BZ #16394]
cd6701cf
CD
6613 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6614 SRC and DEST against LEN.
66671c84 6615
38f34581
AZ
66162014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617
6618 [BZ #16414]
6619 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6620 implementation.
6621 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6622
66232014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6624
6625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6626
4c327f2a
JM
66272014-01-08 Joseph Myers <joseph@codesourcery.com>
6628
6629 [BZ #16408]
6630 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6631 for large positive arguments.
6632
b821f414
JM
66332014-01-07 Joseph Myers <joseph@codesourcery.com>
6634
1f0f2067
JM
6635 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6636
a5a326f6
JM
6637 * math/auto-libm-test-in: Mark various tests with
6638 xfail-rounding:ldbl-128ibm.
6639 * math/auto-libm-test-out: Regenerated.
6640
b821f414
JM
6641 [BZ #16407]
6642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6643 Increase overflow threshold.
6644
94c8a4bc
OB
66452014-01-07 Ondřej Bílka <neleai@seznam.cz>
6646
6647 [BZ #14286]
6648 * stdio-common/vfprintf.c: Check for integer overflow.
6649
87ded0c3
AK
66502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6651
6652 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6653 the first argument and return value of __tls_get_addr_internal.
6654
c5eebdd0
AK
66552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6656
6657 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6658 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6659
05d138ef
AK
66602014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6661
6662 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6663 * sysdeps/s390/rtld-global-offsets.sym: New file.
6664 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6665 GLIBC_2.19 symbol.
6666 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6667 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6668 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6669 ... this.
6670 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6671 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6672 ... this.
6673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6674 Regenerate.
6675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6676 Regenerate.
6677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6678 halfs of GPRs for high_gprs contexts.
6679 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6680 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6681 field.
6682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6683 uc_flags field.
6684 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6685 64 bit versions:
6686 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6687 for high GPRs (uc_high_gprs) and for future extensions
6688 (__reserved).
6689 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6690 for future extensions (__reserved).
6691 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6692 64 bit versions:
6693 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6694 SC_HIGHGPRS offset definition.
6695 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6696 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6697
93a45ff1
AK
6698 * Versions.def: Add GLIBC_2.19 for libpthread.
6699 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6700 siglongjmp for libpthread with GLIBC_2.19 symver.
6701 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6702 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6703 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6704 * sysdeps/s390/__longjmp.c: New file.
6705 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6706 * sysdeps/s390/longjmp.c: New file.
6707 * sysdeps/s390/setjmp.S: New file.
6708 * sysdeps/s390/sigjmp.S: New file.
6709 * sysdeps/s390/v1-longjmp.c: New file.
6710 * sysdeps/s390/v1-setjmp.h: New file.
6711 * sysdeps/s390/v1-sigjmp.c: New file.
6712 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6713 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6714 GLIBC_2.19 version.
6715 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6716 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6717 versioned symbols for ____longjmp_chk.
6718 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6719 Likewise.
6720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6721 Regenerate.
6722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6723 Regenerate.
6724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6725 Regenerate.
6726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6727 Regenerate.
6728 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6729 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6730 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6731 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6732 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6733 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6734 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6735 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6736 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6737 * sysdeps/s390/rtld-__longjmp.c: New file.
6738 * sysdeps/s390/rtld-setjmp.S: New file.
6739
eb3fc44b
JM
67402014-01-06 Joseph Myers <joseph@codesourcery.com>
6741
6742 [BZ #16400]
6743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6744 Return -__logl (x) for small positive arguments without evaluating
6745 a polynomial.
6746
9341dde4
MF
67472014-01-06 Mike Frysinger <vapier@gentoo.org>
6748
6749 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6750 Rename to ...
6751 (__ptrace_peeksiginfo_args): ... this.
6752 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6753 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6754 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6755
4cff0293
AM
67562014-01-06 Allan McRae <allan@archlinux.org>
6757
6758 * inet/netinet/in.h: Fix typo in comment.
6759
75595dcf
AJ
67602014-01-05 Andreas Jaeger <aj@suse.de>
6761
6762 * sysdeps/i386/fpu/libm-test-ulps: Update.
6763
79c1e109
AM
67642014-01-05 Allan McRae <allan@archlinux.org>
6765
dd804818
AM
6766 * po/libc.pot: Regenerated.
6767
79c1e109
AM
6768 * malloc/memusagestat.c: Fix gettext call formatting.
6769
0c813d1f
SK
67702014-01-04 Sami Kerola <kerolasa@iki.fi>
6771
6772 * nscd/nscd.c: Improve usage() output.
6773
20f4a8d9
MF
67742014-01-04 Mike Frysinger <vapier@gentoo.org>
6775
6776 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6777 * sysdeps/unix/sysv/linux/configure: Regenerated.
6778 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6779 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6780
22562bb2
JM
67812014-01-03 Joseph Myers <joseph@codesourcery.com>
6782
6783 [BZ #16390]
6784 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6785 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6786
d7ad2d9b
AZ
67872014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6788
6789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6790 extra tokens at end of #undef directive.
6791 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6792 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6793 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6794
7dd009d8
JM
67952014-01-03 Joseph Myers <joseph@codesourcery.com>
6796
24db925a
JM
6797 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6798
7dd009d8
JM
6799 * math/auto-libm-test-in: Mark various tests with
6800 xfail-rounding:ldbl-128ibm.
6801 * math/auto-libm-test-out: Regenerated.
6802
396e3ecf
JM
68032014-01-02 Joseph Myers <joseph@codesourcery.com>
6804
819e5d50
JM
6805 [BZ #16386]
6806 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6807 numbers with subnormal high part when calculating exponent.
6808
90b6a1e5
JM
6809 [BZ #16385]
6810 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6811 fabs.
6812
396e3ecf
JM
6813 [BZ #16384]
6814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6815 M_LN2l.
6816 (__ieee754_acoshl): Use __log1pl not __log1p.
6817
6c8dbf00
OB
68182013-01-02 Ondřej Bílka <neleai@seznam.cz>
6819
57f41c40
AS
6820 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6821 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6822 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6823 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6824 (reused_arena, arena_get2): Convert to GNU style.
6825 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6826 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6827 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6828 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6829 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6830 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6831 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6832 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6833 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6834 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6835 * malloc/malloc.h: Likewise.
57f41c40
AS
6836 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6837 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6838 * malloc/mcheck.h: Likewise.
57f41c40
AS
6839 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6840 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6841 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6842 * malloc/morecore.c (__default_morecore): Likewise.
6843 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6844 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6845 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6846 (print_and_abort): Likewise.
6c8dbf00
OB
6847 * malloc/obstack.h: Likewise.
6848 * malloc/set-freeres.c (__libc_freeres): Likewise.
6849 * malloc/tst-mallocstate.c (main): Likewise.
6850 * malloc/tst-mtrace.c (main): Likewise.
6851 * malloc/tst-realloc.c (do_test): Likewise.
6852
d4124212
SP
68532013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6854
9a3c6a6f
SP
6855 [BZ #16366]
6856 * nscd/netgroupcache.c (do_notfound): New function.
6857 (addgetnetgrentX): Use it.
6858
d4124212
SP
6859 [BZ # 16365]
6860 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6861 NSS_STATUS_NOTFOUND.
6862
97b9a009
JM
68632014-01-01 Joseph Myers <joseph@codesourcery.com>
6864
6865 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6867
d4697bc9
AM
68682014-01-01 Allan McRae <allan@archlinux.org>
6869
ddb3687f
AM
6870 * scripts/update-copyrights: Update configure input file suffix.
6871
88726d48
AM
6872 * NEWS: Update copyright year.
6873 * catgets/gencat.c: Likewise.
6874 * csu/version.c: Likewise.
6875 * debug/catchsegv.sh: Likewise.
6876 * debug/pcprofiledump.c: Likewise.
6877 * debug/xtrace.sh: Likewise.
6878 * elf/ldconfig.c: Likewise.
6879 * elf/ldd.bash.in: Likewise.
6880 * elf/pldd.c: Likewise.
6881 * elf/sotruss.ksh: Likewise.
6882 * elf/sprof.c: Likewise.
6883 * iconv/iconv_prog.c: Likewise.
6884 * iconv/iconvconfig.c: Likewise.
6885 * locale/programs/locale.c: Likewise.
6886 * locale/programs/localedef.c: Likewise.
6887 * login/programs/pt_chown.c: Likewise.
6888 * malloc/memusage.sh: Likewise.
6889 * malloc/memusagestat.c: Likewise.
6890 * malloc/mtrace.pl: Likewise.
6891 * manual/libc.texinfo: Likewise.
6892 * nscd/nscd.c: Likewise.
6893 * nss/getent.c: Likewise.
6894 * nss/makedb.c: Likewise.
6895 * posix/getconf.c: Likewise.
6896 * scripts/test-installation.pl: Likewise.
6897
d4697bc9
AM
6898 * All files with FSF copyright notices: Update copyright dates
6899 using scripts/update-copyrights.
6900 * intl/plural.c: Regenerated.
6901 * locale/programs/charmap-kw.h: Likewise.
6902 * locale/programs/locfile-kw.h: Likewise.
6903
c8590f9d
MF
69042013-12-31 Mike Frysinger <vapier@gentoo.org>
6905
6906 * sysdeps/unix/sysv/linux/configure: Regenerated.
6907 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6908 the linux/fanotify.h header.
6909 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6910 HAVE_LINUX_FANOTIFY_H is defined.
6911
b19221b9
SP
69122013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6913
dd1d85e5
SP
6914 * benchtests/cos-inputs: New inputs.
6915 * benchtests/sin-inputs: Likewise.
6916
1acbb90f
SP
6917 * benchtests/atan-inputs: New inputs. Fix name of multiple
6918 precision fallback inputs.
6919
4c012ed3
SP
6920 * benchtests/atanh-inputs: New inputs.
6921 * benchtests/tanh-inputs: Likewise.
6922
eff98324
SP
6923 * benchtests/acosh-inputs: New inputs.
6924 * benchtests/asinh-inputs: Likewise.
6925
ce641152
SP
6926 * benchtests/cosh-inputs: New inputs.
6927 * benchtests/sinh-inputs: Likewise.
6928
b19221b9
SP
6929 * benchtests/acos-inputs: Add more inputs.
6930 * benchtests/asin-inputs: Likewise.
6931
030a4976 69322013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6933
030a4976 6934 [BZ #16375]
9dcc8f11
VS
6935 * manual/arith.texi: Fix spelling.
6936 * manual/charset.texi: Likewise.
6937 * manual/errno.texi: Likewise.
6938 * manual/filesys.texi: Likewise.
6939 * manual/lang.texi: Likewise.
6940 * manual/llio.texi: Likewise.
6941 * manual/locale.texi: Likewise.
6942 * manual/message.texi: Likewise.
6943 * manual/resource.texi: Likewise.
6944 * manual/search.texi: Likewise.
6945 * manual/setjmp.texi: Likewise.
6946 * manual/stdio.texi: Likewise.
6947 * manual/string.texi: Likewise.
6948 * manual/sysinfo.texi: Likewise.
6949 * manual/time.texi: Likewise.
6950
11520a57
CD
69512013-12-27 Carlos O'Donell <carlos@redhat.com>
6952
6953 * po/sl.po: New file.
6954
471103ae
MF
69552013-12-27 Mike Frysinger <vapier@gentoo.org>
6956
6957 * .gitignore: Add core/.gdbinit/.gdb_history.
6958
6c9642ed
AM
69592013-12-27 Allan McRae <allan@archlinux.org>
6960
6961 [BZ #16369]
6962 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6963 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6964
3f637079
BM
69652013-12-24 Brooks Moses <bmoses@google.com>
6966
6967 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6968 all compilers that claim C++98 compliance, not just GCC.
6969 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6970 Likewise.
6971
abc26e99
MK
69722013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6973
6974 * NEWS: Restore accidentally deleted bug-fix entries.
6975
362b47fe
MK
69762013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6977 Ondřej Bílka <neleai@seznam.cz>
6978
6979 [BZ #15073]
6980 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6981 have_lock.
362b47fe 6982
b9bcbbcb
OB
69832013-12-23 Ondřej Bílka <neleai@seznam.cz>
6984
6985 [BZ #12986]
6986 * manual/stdio.texi (String Input Conversions): Clarify that character
6987 classes are not supported.
6988
fb55fcd2
AZ
69892013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6990
6991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6992
ef7344f0
JM
69932013-12-22 Joseph Myers <joseph@codesourcery.com>
6994
4f40e4b3
JM
6995 [BZ #16337]
6996 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6997 Calculate results for small negative arguments directly rather
6998 than using reflection formula with special underflow handling.
6999
ef7344f0
JM
7000 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7001 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7002 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7003 (fchflags): Likewise.
7004 (revoke): Likewise.
7005 (setlogin): Likewise.
7006 (sigaltstack): Likewise.
7007 (wait4): Likewise.
7008 (sigblock): Remove.
7009 (sigsetmask): Likewise.
7010 (wait3): Likewise.
7011 (waitpid): Likewise.
7012 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7013 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7014 file.
7015 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7016 * sysdeps/unix/bsd/Makefile: ... here.
7017 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7018 * sysdeps/unix/bsd/Versions: ... here.
7019 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7020 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7021 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7022 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7023 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7024 * sysdeps/unix/bsd/sigblock.c: ... here.
7025 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7026 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7027 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7028 * sysdeps/unix/bsd/sigvec.c: ... here.
7029 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7030 * sysdeps/unix/bsd/tcdrain.c: ... here.
7031 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7032 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7033 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7034 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7035 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7036 * sysdeps/unix/bsd/wait.c: ... here.
7037 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7038 * sysdeps/unix/bsd/wait3.c: ... here.
7039 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7040 * sysdeps/unix/bsd/waitpid.c: ... here.
7041
5b0626b9
JM
70422013-12-21 Joseph Myers <joseph@codesourcery.com>
7043
7044 [BZ #16356]
7045 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7046 round-to-nearest for [!USE_AS_EXPM1L].
7047 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7048 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7049 more tests of exp and exp10. Expect some exp10 tests to miss
7050 exceptions or fail in directed rounding modes.
7051 * math/auto-libm-test-out: Regenerated.
7052 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7053 (exp10_test_tonearest): New function.
7054 (exp10_towardzero_test_data): New array.
7055 (exp10_test_towardzero): New function.
7056 (exp10_downward_test_data): New array.
7057 (exp10_test_downward): New function.
7058 (exp10_upward_test_data): New array.
7059 (exp10_test_upward): New function.
7060 (main): Call the new functions.
7061 * sysdeps/i386/fpu/libm-test-ulps: Update.
7062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7063
7fda5682
JM
70642013-12-20 Joseph Myers <joseph@codesourcery.com>
7065
31e3a405
JM
7066 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7067 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7068 * math/auto-libm-test-out: Regenerated.
7069 * math/libm-test.inc (acosh_test_data): Add more tests.
7070 (atanh_test_data): Likewise.
7071 (ceil_test_data): Likewise.
7072 (copysign_test_data): Likewise.
7073 * sysdeps/i386/fpu/libm-test-ulps: Update.
7074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7075
85bff96a
JM
7076 * timezone/checktab.awk: Update from tzcode 2013i.
7077 * timezone/private.h: Likewise.
7078 * timezone/scheck.c: Likewise.
7079 * timezone/tzfile.h: Likewise.
7080 * timezone/tzselect.ksh: Likewise.
7081 * timezone/zdump.c: Likewise.
7082 * timezone/zic.c: Likewise.
7083
b7867a3b
JM
7084 * math/auto-libm-test-in: Add tests of cpow.
7085 * math/auto-libm-test-out: Regenerated.
7086 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7087 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7088 mpc_cc_c.
7089 (func_calc_desc): Add mpc_cc_c union field.
7090 (test_functions): Add cpow.
7091 (special_fill_2pi): New function.
7092 (special_real_inputs): Add 2pi.
7093 (calc_generic_results): Handle mpc_cc_c.
7094 * sysdeps/i386/fpu/libm-test-ulps: Update.
7095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7096
7fda5682
JM
7097 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7098 csqrt, ctan and ctanh.
7099 * math/auto-libm-test-out: Regenerated.
7100 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7101 (TEST_COND_x86): Likewise.
7102 (ccos_test_data): Use AUTO_TESTS_c_c.
7103 (ccosh_test_data): Likewise.
7104 (cexp_test_data): Likewise.
7105 (clog_test_data): Likewise.
7106 (csqrt_test_data): Likewise.
7107 (ctan_test_data): Likewise.
7108 (ctan_tonearest_test_data): Likewise.
7109 (ctan_towardzero_test_data): Likewise.
7110 (ctan_downward_test_data): Likewise.
7111 (ctan_upward_test_data): Likewise.
7112 (ctanh_test_data): Likewise.
7113 (ctanh_tonearest_test_data): Likewise.
7114 (ctanh_towardzero_test_data): Likewise.
7115 (ctanh_downward_test_data): Likewise.
7116 (ctanh_upward_test_data): Likewise.
7117 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7118 mpc_c_c.
7119 (func_calc_desc): Add mpc_c_c union field.
7120 (FUNC_mpc_c_c): New macro.
7121 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7122 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7123 ctanh.
7124 (special_fill_min_subnorm_p120): New function.
7125 (special_real_inputs): Add min_subnorm_p120.
7126 (calc_generic_results): Handle mpc_c_c.
7127 * sysdeps/i386/fpu/libm-test-ulps: Update.
7128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7129
5ff8d60e
SP
71302013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7131
57f41c40
AS
7132 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7133 (do_sin_slow): New functions.
7134 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7135 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7136
84ba214c
SP
7137 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7138 Use M to change sign of result instead of X. Assume X is
7139 positive.
7140 (csloww1): Likewise.
7141 (__sin): Adjust.
7142 (__cos): Adjust.
7143
975195e4
SP
7144 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7145 arguments A and DA.
7146 (__sin): Adjust.
7147 (__cos): Likewise.
7148
5ff8d60e
SP
7149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7150 (__cos): Likewise.
7151 (sloww1): Don't adjust sign of DX.
7152 (csloww1): Likewise.
7153 (sloww2): Use X directly and don't adjust sign of DX.
7154 (csloww2): Likewise.
7155
eb983568
JM
71562013-12-19 Joseph Myers <joseph@codesourcery.com>
7157
64a17f1a
JM
7158 * math/auto-libm-test-in: Add tests of cabs and carg.
7159 * math/auto-libm-test-out: Regenerated.
7160 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7161 (carg_test_data): Likewise.
7162 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7163 mpc_c_f.
7164 (func_calc_desc): Add mpc_c_f union field.
7165 (test_functions): Add cabs and carg.
7166 (calc_generic_results): Handle mpc_c_f.
7167
eb983568
JM
7168 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7169 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7170 as a macro and a compat symbol.
7171 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7172 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7173 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7174 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7175 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7176 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7177 not use .hidden.
7178 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7179 Likewise.
7180 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7181 Likewise.
7182 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7183 Likewise.
7184 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7185 Likewise.
7186 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7187 Likewise.
7188 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7189 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7190 from GLIBC_2.3.2.
7191
6eeb678a
AZ
71922013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7193
7194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7195
6f6fc482
JM
71962013-12-19 Joseph Myers <joseph@codesourcery.com>
7197
21fea2e2
JM
7198 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7199 trailing whitespace removed.
7200 * scripts/config.guess: Update to version 2013-11-29.
7201 * scripts/config.sub: Update to version 2013-10-01.
7202
6f6fc482
JM
7203 * math/auto-libm-test-in: Add tests of sincos.
7204 * math/auto-libm-test-out: Regenerated.
7205 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7206 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7207 mpfr_f_11.
7208 (func_calc_desc): Add mpfr_f_11 union field.
7209 (test_functions): Add sincos.
7210 (calc_generic_results): Handle mpfr_f_11.
7211 * sysdeps/i386/fpu/libm-test-ulps: Update.
7212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7213
83f5c32d
AS
72142013-12-19 Andreas Schwab <schwab@suse.de>
7215
7216 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7217 CALL_MCOUNT.
7218 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7219 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7220 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7221
c688b419
JM
72222013-12-19 Joseph Myers <joseph@codesourcery.com>
7223
335ee092
JM
7224 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7225 * sysdeps/i386/fpu/libm-test-ulps: Update.
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227
f88acd39
JM
7228 [BZ #16293]
7229 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7230 round-to-nearest mode when using frndint.
7231 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7232 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7233 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7234 Likewise.
7235 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7236 sinh test to fail.
7237 * math/auto-libm-test-out: Regenerated.
7238 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7239 (TEST_COND_x86): Likewise.
7240 (expm1_tonearest_test_data): New array.
7241 (expm1_test_tonearest): New function.
7242 (expm1_towardzero_test_data): New array.
7243 (expm1_test_towardzero): New function.
7244 (expm1_downward_test_data): New array.
7245 (expm1_test_downward): New function.
7246 (expm1_upward_test_data): New array.
7247 (expm1_test_upward): New function.
7248 (main): Run the new test functions.
7249 * sysdeps/i386/fpu/libm-test-ulps: Update.
7250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7251
c688b419
JM
7252 * include/features.h: Update comment documenting feature test
7253 macros. Mention _DEFAULT_SOURCE in comment.
7254 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7255 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7256 _BSD_SOURCE and _SVID_SOURCE.
7257 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7258 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7259 !_SVID_SOURCE]: Likewise.
7260 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7261 (__USE_POSIX_IMPLICITLY): Define.
7262 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7263 (_POSIX_SOURCE): Undefine and redefine.
7264 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7265 (_POSIX_C_SOURCE): Likewise.
7266 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7267 (Feature Test Macros): Update documentation of default features.
7268
9f6e964c
RS
72692013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7270
7271 * benchtests/Makefile: Add bench-strtok.
7272 * benchtests/bench-strtok.c: New file: strtok benchtest.
7273
ee0a148a
AM
72742013-12-19 Allan McRae <allan@archlinux.org>
7275
7276 * manual/install.texi: Suppress menu for plain text output.
7277 * INSTALL: Regenerated.
7278
b9ab448f
BM
72792013-12-18 Brooks Moses <bmoses@google.com>
7280
7281 [BZ #15846]
7282 * misc/getauxval.c: Include errno.h.
7283 (__getauxval): Set errno to ENOENT if the requested type is not
7284 found.
7285 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7286 don't declare with __attribute_const__.
7287 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7288 * manual/startup.texi: Document that getauxval sets errno.
7289
23776487
JM
72902013-12-18 Joseph Myers <joseph@codesourcery.com>
7291
f889953b
JM
7292 * math/auto-libm-test-in: Add tests of jn and yn.
7293 * math/auto-libm-test-out: Regenerated.
7294 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7295 (yn_test_data): Likewise.
7296 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7297 mpfr_if_f.
7298 (func_calc_desc): Add mpfr_if_f union field.
7299 (FUNC_mpfr_if_f): New macro.
7300 (test_functions): Add jn and yn.
7301 (calc_generic_results): Assert type of second input for
7302 mpfr_ff_f. Handle mpfr_if_f.
7303 (output_for_one_input_case): Disable all checking for arguments
7304 fitting floating-point types in case of an integer argument.
7305 * sysdeps/i386/fpu/libm-test-ulps: Update.
7306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7307
23776487
JM
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7309 Don't expect fegetround reference in libm.so.
7310
cb756c6d
MS
73112013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7312
7313 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7314 $(config-cflags-nofma).
7315
2dec468f
JM
73162013-12-18 Joseph Myers <joseph@codesourcery.com>
7317
5953eb3a
JM
7318 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7319 * math/auto-libm-test-out: Regenerated.
7320
2dec468f
JM
7321 [BZ #16338]
7322 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7323 to determine exponent and adjust argument to have exponent of -1.
7324 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7325 log2.
7326 * math/auto-libm-test-out: Regenerated.
7327 * sysdeps/i386/fpu/libm-test-ulps: Update.
7328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7329
4d84e6ad
OB
73302013-12-18 Ondřej Bílka <neleai@seznam.cz>
7331
7332 * manual/probes.texi: Remove cases when per-thread arenas are
7333 disabled.
7334
1818483b
AS
73352013-12-18 Andreas Schwab <schwab@suse.de>
7336
7337 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7338 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7339 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7340 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7341 * sysdeps/i386/i686/multiarch/Makefile: Update.
7342 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7343
25de95bf
JM
73442013-12-17 Joseph Myers <joseph@codesourcery.com>
7345
7346 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7347 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7348
674762d9
PE
73492013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7350
ed27ed83 7351 [BZ #15968]
0748546f
PE
7352 Support TZ transition times < 00:00:00.
7353 This is needed for version-3 tz-format files; it supports time
7354 stamps past 2037 for America/Godthab (the only entry in the tz
7355 database for which this change is relevant).
7356 * manual/time.texi (TZ Variable): Document transition times
7357 from -167:59:59 through -00:00:01.
7358 * time/tzset.c (tz_rule): Time of day is now signed.
7359 (__tzset_parse_tz): Parse negative time of day.
7360
4480e934
PE
7361 Document TZ transition times >= 25:00:00.
7362 * manual/time.texi (TZ Variable): Document transition times from
7363 25:00:00 through 167:59:59. These are already supported, and this
7364 support will help with version-3 tz-format files.
7365
69947401
PE
7366 * manual/time.texi (TZ Variable): Modernize North America example
7367 to reflect current (i.e., 2007-and-later) daylight saving rules.
7368
674762d9
PE
7369 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7370
7011c262
JM
73712013-12-17 Joseph Myers <joseph@codesourcery.com>
7372
2fc6557e
JM
7373 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7374 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7376 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7377 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7378 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7379 * sysdeps/unix/bsd/clock.c: Likewise.
7380 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7381 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7382 * sysdeps/unix/bsd/init-posix.c: Likewise.
7383 * sysdeps/unix/bsd/poll.c: Likewise.
7384 * sysdeps/unix/bsd/ptsname.c: Likewise.
7385 * sysdeps/unix/bsd/seekdir.c: Likewise.
7386 * sysdeps/unix/bsd/setegid.c: Likewise.
7387 * sysdeps/unix/bsd/seteuid.c: Likewise.
7388 * sysdeps/unix/bsd/setgid.c: Likewise.
7389 * sysdeps/unix/bsd/setrgid.c: Likewise.
7390 * sysdeps/unix/bsd/setruid.c: Likewise.
7391 * sysdeps/unix/bsd/setsid.c: Likewise.
7392 * sysdeps/unix/bsd/setuid.c: Likewise.
7393 * sysdeps/unix/bsd/sigaction.c: Likewise.
7394 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7395 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7396 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7397 * sysdeps/unix/bsd/telldir.c: Likewise.
7398 * sysdeps/unix/bsd/times.c: Likewise.
7399 * sysdeps/unix/bsd/usleep.c: Likewise.
7400
029c7b25
JM
7401 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7402 ($(objpfx)libbsd-compat.a): Remove rule.
7403
7011c262
JM
7404 * include/features.h (__FAVOR_BSD): Do not define.
7405 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7406 features conflicting with POSIX.
7407 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7408 (_BSD_SOURCE): Remove description of not being a subset of other
7409 feature test macros.
7410 * manual/job.texi (getpgrp): Do not document BSD version.
7411 (getpgid): Do not document by reference to BSD getpgrp.
7412 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7413 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7414 * signal/signal.h [__FAVOR_BSD]: Likewise.
7415 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7416 instead of making contents conditional on [__FAVOR_BSD].
7417 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7418
affb6f78
AZ
74192013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7420
7421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7422
c88769dd
JM
74232013-12-17 Joseph Myers <joseph@codesourcery.com>
7424
6432a540
JM
7425 [BZ #16314]
7426 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7427 values below 2**-450, not 2**-500.
7428 * math/auto-libm-test-in: Don't allow spurious underflow from
7429 hypot.
7430 * math/auto-libm-test-out: Regenerated.
7431
c88769dd
JM
7432 [BZ #16316]
7433 [BZ #16330]
7434 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7435 values of ha and hb and sort them after adjusting subnormal
7436 arguments.
7437 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7438 Likewise.
7439 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7440 values of ea and eb and sort them after adjusting subnormal
7441 arguments.
7442 * math/auto-libm-test-in: Do not expect some hypot tests of
7443 subnormals to fail. Add more hypot tests.
7444 * math/auto-libm-test-out: Regenerated.
7445
29618f6b
KK
74462013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7447
7448 [BZ #13304]
7449 * sysdeps/sh/s_fma.c: New file.
7450 * sysdeps/sh/s_fmaf.c: New file.
7451 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7452 version.
7453 * sysdeps/sh/Implies: Add sh/soft-fp.
7454
eacfdfbf
RM
74552013-12-16 Roland McGrath <roland@hack.frob.com>
7456
7457 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7458 level of indirection to members `objname', `errstring', `malloced'.
7459 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7460 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7461 it as the __longjmp argument (just pass 1 instead).
7462 (_dl_catch_error): Initialize C with argument pointers and address of
7463 volatile local ERRCODE rather than copying values out of C at return.
7464
ff362e5b
JM
74652013-12-16 Joseph Myers <joseph@codesourcery.com>
7466
7467 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7468 * math/auto-libm-test-out: Regenerated.
7469 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7470 (hypot_test_data): Likewise.
7471 (pow_test_data): Likewise.
7472 (pow_tonearest_test_data): Likewise.
7473 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7474 mpfr_ff_f.
7475 (func_calc_desc): Add mpfr_ff_f union field.
7476 (FUNC_mpfr_ff_f): New macro.
7477 (test_functions): Add atan2, hypot and pow.
7478 (special_fill_min): New function.
7479 (special_fill_minus_min): Likewise.
7480 (special_fill_min_subnorm): Likewise.
7481 (special_fill_minus_min_subnorm): Likewise.
7482 (special_real_inputs): Add min, -min, min_subnorm and
7483 -min_subnorm.
7484 (calc_generic_results): Handle mpfr_ff_f.
7485 * sysdeps/i386/fpu/libm-test-ulps: Update.
7486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7487
5764c27f
WN
74882013-12-16 Will Newton <will.newton@linaro.org>
7489
7490 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7491 (Aligned Memory Blocks): Add documentation for aligned_alloc
7492 and suggest it as an alternative to posix_memalign.
7493 (Hooks for Malloc): Document __memalign_hook is also called
7494 for aligned_alloc. (Summary of Malloc): Add summary for
7495 aligned alloc. Document __memalign_hook is also called
7496 for aligned_alloc.
7497
0a096e44
WN
74982013-12-16 Will Newton <will.newton@linaro.org>
7499
7500 * manual/memory.texi (Malloc Examples): Clarify default
7501 alignment documentation. Suggest posix_memalign rather
7502 than memalign or valloc.
7503 (Aligned Memory Blocks): Remove suggestion to use memalign
7504 or valloc. Remove obsolete comment about BSD.
7505 Document memalign errno values and mark the function obsolete.
7506 Document posix_memalign returned error codes. Mark valloc
7507 as obsolete. (Hooks for Malloc): __memalign_hook is also
7508 called for posix_memalign and valloc.
7509 (Summary of Malloc): Add posix_memalign to function summary.
7510 __memalign_hook is also called for posix_memalign and valloc.
7511
8d561986
SP
75122013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7513
7514 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7515 TAYLOR_SIN.
7516 (__sin): Adjust.
7517 (__cos): Likewise.
7518 (sloww): Use mynumber union. Expand ternary operator into
7519 if-else statements.
7520 (cslow): use mynumber union.
7521
73616a74
AM
75222013-12-16 Allan McRae <allan@archlinux.org>
7523
9e8ac24b
AM
7524 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7525 * configure: Regenerated.
7526
6f8e37eb
AM
7527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7528
8894bad3
AM
7529 [BZ #14120]
7530 * configure.ac: Added --enable-maintainer-mode. Check for
7531 autoconf when enabled.
7532 * configure: Regenerated.
7533
73616a74
AM
7534 * nscd/nscd.service: New file.
7535 * nscd/nscd.tmpfiles: New file.
7536
584b18eb
OB
75372013-12-14 Ondřej Bílka <neleai@seznam.cz>
7538
7539 [BZ #12100]
7540 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7541 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7542 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7543 (strstr): Add __strstr_sse2_unaligned ifunc.
7544 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7545 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7546 (strcasestr): Remove __strcasestr_sse42 ifunc.
7547 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7550
8a5c7897
KK
75512013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7552
7553 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7554 * sysdeps/sh/bits/fenv.h: ... here.
7555 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7556
fd712ef3
AZ
75572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7558
7559 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7560
42fcb46c
AZ
7561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7562 hypotf multiarch implementations.
7563 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7564 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7565 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7566 multiarch hypot for PPC64.
7567 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7568 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7569 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7570 multiarch hypotf for PPC64.
7571
83efded4
AZ
7572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7573 modff multiarch implementations.
7574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7577 multiarch modf for PPC64.
7578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7581 multiarch modff for PPC64.
7582
43e246d2
AZ
7583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7584 and logl multiarch implementations.
7585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7588 multiarch logb for PPC64.
7589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7592 multiarch logb for PPC64.
7593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7596 multiarch logb for PPC64.
7597
8fdad123
AZ
7598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7599 isinff multiarch implementation.
7600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7601 file.
7602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7604 multiarch isinf for PPC64.
7605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7606 file.
7607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7608 multiarch isinff for PPC64.
7609
1481d706
AZ
7610 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7611 finitef multiarch implementation.
7612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7613 file.
7614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7616 multiarch finite for PPC64.
7617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7618 file.
7619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7620 multiarch finitef for PPC64.
7621
5ccd5fc8
AZ
7622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7623 lrint multiarch implementation.
7624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7625 file.
7626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7628 multiarch llrint for PPC64.
7629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7630 multiarch lrint for PPC64.
7631
2568f3fa
AZ
7632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7633 copysignf multiarch implementation.
7634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7635 file.
7636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7637 file.
7638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7639 multiarch copysign for PPC64.
7640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7641 multiarch copysignf for PPC64.
7642
1cb341fd
AZ
7643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7644 multiarch implementation.
7645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7646 file.
7647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7648 file.
7649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7650 file.
7651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7652 file.
7653 multiarch llround for PPC64.
7654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7655 multiarch trunc for PPC64.
7656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7657 multiarch truncf for PPC64.
7658
59a3e194
AZ
7659 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7660 multiarch implementation.
7661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7662 file.
7663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7664 file.
7665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7666 file.
7667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7668 file.
7669 multiarch llround for PPC64.
7670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7671 multiarch round for PPC64.
7672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7673 multiarch roundf for PPC64.
7674
357fd3b4
AZ
7675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7676 multiarch implementation.
7677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7678 file.
7679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7680 file.
7681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7682 file.
7683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7684 file.
7685 multiarch llround for PPC64.
7686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7687 multiarch floor for PPC64.
7688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7689 multiarch floorf for PPC64.
7690
96770f12
AZ
7691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7692 multiarch implementation.
7693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7694 file.
7695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7696 file.
7697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7698 file.
7699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7700 file.
7701 multiarch llround for PPC64.
7702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7703 multiarch ceil for PPC64.
7704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7705 multiarch ceilf for PPC64.
7706
c3627f6e
AZ
7707 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7708 multiarch implementation.
7709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7710 file.
7711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7712 file.
7713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7714 file.
7715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7716 multiarch llround for PPC64.
7717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7718 multiarch lround for PPC64.
7719
b2284ad7
AZ
7720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7721 multiarch implementation.
7722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7725 file.
7726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7729 multiarch isnan for PPC64.
7730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7731 multiarch isnanf for PPC64.
7732
69bbc63d
AZ
7733 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7734 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7735 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7736 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7737 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7739
c24517c9
AZ
7740 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7741 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7742 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7744
a52374e8
AZ
7745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7746 multiarch implementations.
7747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7748 (__libc_ifunc_impl_list): Likewise.
7749 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7750 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7751 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7752 multiarch stpcpy for PPC64.
7753
7f5ec113
AZ
7754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7755 multiarch implementations.
7756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7757 (__libc_ifunc_impl_list): Likewise.
7758 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7759 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7760 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7761 multiarch strcpy for PPC64.
7762
e28bcd42
AZ
7763 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7764 redefine function name.
7765 (_wordcopy_fwd_dest_aligned): Likewise.
7766 (_wordcopy_bwd_aligned): Likewise.
7767 (_wordcopy_bwd_dest_aligned): Likewise.
7768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7769 multiarch implementations.
7770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7771 (__libc_ifunc_impl_list): Likewise.
7772 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7773 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7774 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7775 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7776 multiarch wcscpy for PPC64.
7777
92cacfce
AZ
7778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7779 multiarch implementations.
7780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7781 (__libc_ifunc_impl_list): Likewise.
7782 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7783 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7784 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7785 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7786 multiarch wcscpy for PPC64.
7787
7b714620
AZ
7788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7789 multiarch implementations.
7790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7791 (__libc_ifunc_impl_list): Likewise.
7792 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7793 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7794 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7795 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7796 multiarch wcsrchr for PPC64.
7797
16fd2ae3
AZ
7798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7799 multiarch implementations.
7800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7801 (__libc_ifunc_impl_list): Likewise.
7802 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7803 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7804 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7805 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7806 multiarch wcschr for PPC64.
7807
9ee2969b
AZ
7808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7809 multiarch implementations.
7810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7811 (__libc_ifunc_impl_list): Likewise.
7812 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7813 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7814 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7815 multiarch strchrnul for PPC64.
7816
372dc060
AZ
7817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7818 implementations.
7819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7820 (__libc_ifunc_impl_list): Likewise.
7821 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7822 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7823 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7824 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7825 strchr for PPC64.
7826
24c2c3b9
AZ
7827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7828 implementations.
7829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7830 (__libc_ifunc_impl_list): Likewise.
7831 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7832 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7833 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7834 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7835 strncmp for PPC64.
7836
1c92d9a0
AZ
7837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7838 multiarch implementations.
7839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7840 (__libc_ifunc_impl_list): Likewise.
7841 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7842 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7843 strncasecmp for PPC64.
7844 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7845 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7846 multiarch strncasecmp_l for PPC64.
7847
17de3ee3
AZ
7848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7849 multiarch implementations.
7850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7851 (__libc_ifunc_impl_list): Likewise.
7852 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7853 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7854 multiarch strcasecmp for PPC64.
7855 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7856 file.
7857 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7858 multiarch strcasecmp_l for PPC64.
7859
62982bf9
AZ
7860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7861 implementations.
7862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7863 (__libc_ifunc_impl_list): Likewise.
7864 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7865 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7866 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7867 strnlen for PPC64.
7868
a65f4904
AZ
7869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7870 implementations.
7871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7872 (__libc_ifunc_impl_list): Likewise.
7873 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7874 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7875 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7876 strlen for PPC64.
7877
1fd005ad
AZ
7878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7879 implementations.
7880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7881 (__libc_ifunc_impl_list): Likewise.
7882 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7883 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7884 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7885 rawmemrchr for PPC64.
7886
cd05ba91
AZ
7887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7888 implementation.
7889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7890 (__libc_ifunc_impl_list): Likewise.
7891 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7892 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7893 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7894 memrchr for PPC64.
7895
870f8676
AZ
7896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7897 implementation.
7898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7899 (__libc_ifunc_impl_list): Likewise.
7900 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7901 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7902 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7903 memchr for PPC64.
7904
f00be62b
AZ
7905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7906 implementation.
7907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7908 (__libc_ifunc_impl_list): Likewise.
7909 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7910 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7911 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7912 mempcpy for PPC64.
7913
8a29a3d0
AZ
7914 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7915 avoid cretion of __bzero symbol.
7916 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7917 Likewise.
7918 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7919 Likewise.
7920 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7921 Likewise.
7922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7923 multiarch implementations.
7924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7925 (__libc_ifunc_impl_list): Likewise.
7926 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7927 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7928 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7929 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7930 bzero for PPC32.
7931 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7932 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7933 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7934 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7935 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7936 memset for PPC64.
7937 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7938
07253fcf
AZ
7939 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7941 implementations.
7942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7943 (__libc_ifunc_impl_list): Likewise.
7944 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7945 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7946 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7947 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7948 memcmp for PPC64.
7949
b5beafbc
AZ
7950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7951 multiarch for POWER/PPC64.
7952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7953 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7954 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7955 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7956 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7957 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7958 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7959 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7960 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7961 memcpy for PPC64.
7962
5e6a4d4b
AZ
7963 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7964 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7965 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7966 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7967 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7968 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7969 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7970 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7971 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7972 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7973 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7974 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7975 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7976 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7977 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7985
ddfab6dc
KK
79862013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7987
7988 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7989
19b5525e
SP
79902013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7991
7992 * benchtests/Makefile (bench): Add exp2 and log2.
7993 (LDLIBS-bench-exp2): Add -lm.
7994 (LDLIBS-bench-log2): Likewise.
7995 * benchtests/exp2-inputs: New inputs file.
7996 * benchtests/log2-inputs: New inputs file.
7997 * benchtests/log-inputs: Add new inputs.
7998 * benchtests/tan-inputs: Likewise.
7999
196f7f5d
SP
80002013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8001
7a74607f
SP
8002 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8003 definition...
57f41c40
AS
8004 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8005 (csloww2): ... from here.
7a74607f 8006
196f7f5d
SP
8007 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8008 instead of structures.
8009 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8010 (POLYNOMIAL): Likewise.
8011 (TAYLOR_SLOW): Likewise.
8012 (__sin): Likewise.
8013 (__cos): Likewise.
8014 (slow1): Likewise.
8015 (slow2): Likewise.
8016 (sloww): Likewise.
8017 (sloww1); Likewise.
8018 (sloww2): Likewise.
8019 (bsloww1): Likewise.
8020 (bsloww2): Likewise.
8021 (cslow2): Likewise.
8022 (csloww): Likewise.
8023 (csloww1): Likewise.
8024 (csloww2): Likewise.
8025
0dfa665c
OB
80262013-12-10 Ondřej Bílka <neleai@seznam.cz>
8027
8028 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8029 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8030 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8031 * malloc/hooks.c (realloc_check): Likewise.
8032
5782a80f
OB
8033 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8034 * malloc/arena.c: Remove PER_THREAD conditional.
8035 [!PER_THREAD]: Remove code.
8036 (ptmalloc_unlock_all2): Likewise.
8037 (ptmalloc_init): Likewise.
8038 (_int_new_arena): Likewise.
8039 (arena_get2): Likewise.
8040 * malloc/hooks.c (__malloc_get_state): Likewise.
8041 (__malloc_set_state): Likewise.
8042 * malloc/malloc.c: Likewise.
8043 (struct malloc_state): Likewise.
8044 (struct malloc_par): Likewise.
8045 (__libc_realloc): Likewise.
8046 (__libc_mallopt): Likewise.
8047
aeb95445
AZ
80482013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8049
8050 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8051
e8349efd
OB
80522013-12-09 Ondřej Bílka <neleai@seznam.cz>
8053
8054 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8055 macro to a function. Check for zero perturb_byte.
8056 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8057
f3eeb3fc 8058 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8059 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8060 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8061 force_reg by atomic_forced_read.
8062 * malloc/arena.c (ptmalloc_init): Likewise.
8063 * malloc/hooks.c (top_check): Likewise.
8064
be2f9009
AZ
80652013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8066
8067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8068
e7b914bd
MT
80692013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8070
8071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8072
9f0be4f8
JM
80732013-12-08 Joseph Myers <joseph@codesourcery.com>
8074
8075 * math/auto-libm-test-in: Add tests of lgamma.
8076 * math/auto-libm-test-out: Regenerated.
8077 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8078 (M_LOG_2_SQRT_PIl): Likewise.
8079 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8080 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8081 mpfr_f_f1.
8082 (func_calc_desc): Add mpfr_f_f1 union field.
8083 (ARGS1): New macro.
8084 (ARGS2): Likewise.
8085 (ARGS3): Likewise.
8086 (ARGS4): Likewise.
8087 (RET1): Likewise.
8088 (RET2): Likewise.
8089 (CALC): Likewise.
8090 (FUNC): Likewise.
8091 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8092 (test_functions): Add lgamma.
8093 (calc_generic_results): Handle mpfr_f_f1.
8094 * sysdeps/i386/fpu/libm-test-ulps: Update.
8095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8096
24eeafdb
AZ
80972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8098
8099 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8100 __mpn_add_n for PowerPC64/POWER7.
8101 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8102 __mpn_sub_n for PowerPC64/POWER7.
8103
4a2c0fd4
AZ
8104 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8105 __mpn_addmul_1 for PowerPC64.
8106 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8107 __mpn_submul_1 for PowerPC64.
8108 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8109 for PowerPC64.
8110 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8111 for PowerPC64.
8112
4b5b548c
FS
81132013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8114
8115 [BZ #15089]
8116 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8117
0a3ac0aa
AZ
81182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8119
8120 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8121
ccdc8438
AZ
8122 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8123 add multiarch folders.
8124 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8125 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8126 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8127 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8128 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8129 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8130 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8131 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8132 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8133 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8134 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8141
2e973d99
AZ
8142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8143 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8145 New file.
8146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8147 New file.
8148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8149 multiarch __ieee754_hypot for PowerPC32.
8150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8151 New file.
8152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8153 New file.
8154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8155 multiarch __ieee754_hypotf for PowerPC32.
8156
2d9470b2
AZ
8157 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8158 long_double_symbol only if __logbl is defined.
8159 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8160 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8162 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8164 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8165 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8166 path for implementation.
8167 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8168 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8170 logb, and logbl multiarch implementations for PowerPC32.
8171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8172 file.
8173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8174 file.
8175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8176 multiarch logb for PowerPC32.
8177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8178 file.
8179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8180 file.
8181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8182 multiarch logbf for PowerPC32.
8183 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8185 file.
8186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8187 multiarch logbl implementation for PowerPC32.
8188
5212ffce
AZ
8189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8190 and modff multiarch implementations.
8191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8192 New file.
8193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8194 New file.
8195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8196 multiarch modf for PowerPC32.
8197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8198 New file.
8199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8200 New file.
8201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8202 multiarch modff for PowerPC32.
8203
79dccf31
AZ
8204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8205 and lrintf multiarch implementations.
8206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8207 New file.
8208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8209 New file.
8210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8211 multiarch lrint for PowerPC32.
8212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8213 file: multiarch lrintf for PowerPC32.
8214
deb66480
AZ
8215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8216 and lroundf multiarch implementations.
8217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8218 New file.
8219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8220 New file.
8221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8222 New file.
8223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8224 multiarch lround for PowerPC32.
8225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8226 file: multiarch lroundf for PowerPC32.
8227
264b036b
AZ
8228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8229 copysign and copysignf multiarch implementations.
8230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8231 New file.
8232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8233 New file.
8234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8235 file: multiarch copysign for PowerPC32.
8236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8237 file: multiarch copysignf for PowerPC32.
8238
d47db6c9
AZ
8239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8240 and truncf multiarch implementations.
8241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8242 New file.
8243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8244 file.
8245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8246 multiarch trunc for PowerPC32.
8247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8248 New file.
8249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8250 New file.
8251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8252 multiarch truncf for PowerPC32.
8253
ddb60b5a
AZ
8254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8255 and roundf multiarch implementations.
8256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8257 New file.
8258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8259 file.
8260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8261 multiarch round for PowerPC32.
8262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8263 New file.
8264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8265 New file.
8266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8267 multiarch roundf for PowerPC32.
8268
bedcf49b
AZ
8269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8270 and floorf multiarch implementations.
8271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8272 New file.
8273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8274 file.
8275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8276 multiarch floor for PowerPC32.
8277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8278 New file.
8279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8280 New file.
8281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8282 multiarch floorf for PowerPC32.
8283
35ae5b40
AZ
8284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8285 and ceilf multiarch implementations.
8286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8287 New file.
8288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8289 file.
8290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8291 multiarch ceil for PowerPC32.
8292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8293 New file.
8294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8295 file.
8296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8297 multiarch ceilf for PowerPC32.
8298
ae1a4cd9
AZ
8299 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8300 is defined.
8301 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8302 FINITEF is defined.
8303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8304 and finitef multiarch implementations.
8305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8306 New file.
8307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8308 file.
8309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8310 multiarch finite for PowerPC32.
8311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8312 New file.
8313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8314 file: multiarch finitef for PowerPC32.
8315
64fffd65
AZ
8316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8317 and isinff multiarch implementations.
8318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8319 file.
8320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8321 file.
8322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8323 multiarch isinf for PowerPC32.
8324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8325 New file.
8326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8327 multiarch isinff for PowerPC32.
8328
8e4e7ba2
AZ
8329 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8330 alias when __isnan is defined.
8331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8332 and isnanf multiarch implementations.
8333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8334 file.
8335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8336 file.
8337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8338 file.
8339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8340 file.
8341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8342 multiarch isnan for PowerPC32.
8343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8344 New file.
8345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8346 New file.
8347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8348 multiarch isnanf for PowerPC32.
8349
ddba588e
AZ
8350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8351 and sqrtf multiarch implementations.
8352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8353 file.
8354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8355 file.
8356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8357 multiarch sqrt for PowerPC32.
8358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8359 file.
8360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8361 file.
8362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8363 multiarch sqrtf for PowerPC32.
8364
0f96a2f0
AZ
8365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8366 and llroundf multiarch implementations.
8367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8368 New file.
8369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8370 New file.
8371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8372 New file.
8373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8374 file: multiarch llround for PowerPC32.
8375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8376 file: multiarch llroundf for PowerPC32.
8377
c9b5d79e
AZ
8378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8379 multiarch PowerPC32 fpu implementations.
8380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8381 New file.
8382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8383 New file.
8384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8385 multiarch llrint for PowerPC32.
8386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8387 New file.
8388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8389 New file.
8390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8391 file.
8392
9cbb3aab
AZ
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8394
ea5a72f8
AZ
8395 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8396 file.
8397 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8398 file.
8399 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8400 file.
8401 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8402 multiarch wordcopy for PPC32.
8403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8404 wordcopy objects.
8405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8406 (__libc_ifunc_impl_list): Likewise.
8407 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8408 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8409 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8410 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8411 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8412 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8413
93be09e7
AZ
8414 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8416 file.
8417 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8418 file.
8419 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8420 file.
8421 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8422 multiarch wcscpy for PPC32.
8423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8424 multiarch objects.
8425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8426 (__libc_ifunc_impl_list): Likewise.
8427 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8428 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8429 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8430 sysdeps/powerpc/power6/wcscpy.c.
8431
bb04e529
AZ
8432 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8433 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8434 file.
8435 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8436 file.
8437 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8438 file.
8439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8440 multiarch wcsrchr for PPC32.
8441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8442 multiarch objects.
8443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8444 (__libc_ifunc_impl_list): Likewise.
8445 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8446 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8447 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8448 sysdeps/powerpc/power6/wcsrchr.c.
8449
05b5cd1c
AZ
8450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8451 file.
8452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8453 file.
8454 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8455 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8456 multiarch wcschr for PPc32.
8457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8458 multiarch objects.
8459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8460 (__libc_ifunc_impl_list): Likewise.
8461 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8462 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8463 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8464 sysdeps/powerpc/power6/wcschr.c.
8465
ba964147
AZ
8466 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8467 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8468 file.
8469 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8470 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8471 file: multiarch strchr for PPC32.
8472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8473 multiarch objects.
8474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8475 (__libc_ifunc_impl_list): Likewise.
8476
31c81aaa
AZ
8477 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8478 name.
8479 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8480 file.
8481 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8482 file.
8483 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8484 multiarch strchrnul for PPC32.
8485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8486 multiarch objects.
8487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8488 (__libc_ifunc_impl_list): Likewise.
8489
0d0607d9
AZ
8490 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8491 file.
8492 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8493 multiarch strncasecmp for PPC32.
8494 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8495 file.
8496 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8497 multiarch strncasecmp_l for PPC32.
8498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8499 strncasecmp multiarch objects.
8500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8501 (__libc_ifunc_impl_list): Likewise.
8502
4dfd5c86
AZ
8503 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8504 file.
8505 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8506 multiarch strncasecmp for PPC32.
8507 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8508 New file.
8509 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8510 multiarch strcasecmp_l for PPC32.
8511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8512 multiarch objects.
8513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8514 (__libc_ifunc_impl_list): Likewise.
8515
a19e01a3
AZ
8516 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8517 file.
8518 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8519 file.
8520 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8521 multiarch strncmp for PPC32.
8522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8523 multiarch objects.
8524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8525 (__libc_ifunc_impl_list): Likewise.
8526
ae9cf7a2
AZ
8527 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8528 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8529 file.
8530 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8531 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8533 multiarch objects.
8534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8535 (__libc_ifunc_impl_list): Likewise.
8536
3148bb7d
AZ
8537 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8538 file.
8539 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8540 file.
8541 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8543 multiarch objects.
8544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8545 (__libc_ifunc_impl_list): Likewise.
8546
7af8b946
AZ
8547 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8548 file.
8549 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8550 file.
8551 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8552 multiarch rawmemchr for PPC32.
8553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8554 multiarch objects.
8555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8556 (__libc_ifunc_impl_list): Likewise.
8557
03a6aa6a
AZ
8558 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8559 file.
8560 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8561 file.
8562 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8563 file: memrchr multiarch for PPC32.
8564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8565 multiarch objects.
8566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8567 (__libc_ifunc_impl_list): Likewise.
8568
1c62e6d9
AZ
8569 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8570 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8571 file.
8572 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8573 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8574 multiarch memchr for PPC32.
8575 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8576 multiarch objects.
8577 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8578 (__libc_ifunc_impl_list): Likewise.
8579
87da8bdb
AZ
8580 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8581 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8582 file.
8583 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8584 file.
8585 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8586 file: multiarch mempcpy for PPC32.
8587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8588 multiarch objects.
8589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8590 (__libc_ifunc_impl_list): Likewise.
8591
20ed4714
AZ
8592 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8593 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8594 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8595 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8596 multiarch bzero for PPC32.
8597 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8598 file.
8599 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8600 file.
8601 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8602 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8603 file: multiarch memset for PPC32.
8604 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8606 memset multiarch objects.
8607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8608 (__libc_ifunc_impl_list): Likewise.
8609
ab3e3a46
AZ
8610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8611 file.
8612 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8613 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8614 memcmp for PPC32.
8615 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8617 multiarch objects.
8618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8619 (__libc_ifunc_impl_list): Likewise.
8620
930de6f0
AZ
8621 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8622 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8623 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8624 file.
8625 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8626 file.
8627 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8628 file.
8629 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8630 multiarch memcpy for PPC32.
8631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8632 multiarch objects.
8633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8634 (__libc_ifunc_impl_list): Likewise.
8635
4c628e00
AZ
8636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8637 support multiarch for POWER/PPC32.
8638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8639 Likewise.
8640 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8642 Implies file to make multiarch folder appers before the fpu and
8643 default folder for power4 configuration.
8644
f4479220
SP
86452013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8646
8647 * scripts/bench.pl: Append volatile keyword to type.
8648
8517800f
KK
86492013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8650
8651 * sysdeps/sh/sotruss-lib.c: New file.
8652 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8653
180138f1
AZ
86542013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8655
8656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8657
bbf37bdc
JM
86582013-12-05 Joseph Myers <joseph@codesourcery.com>
8659
e47cc4e0
JM
8660 [BZ #6810]
8661 * math/w_tgamma.c: Include <errno.h>.
8662 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8663 * math/w_tgammaf.c: Include <errno.h>.
8664 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8665 * math/w_tgammal.c: Include <errno.h>.
8666 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8667 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8668 underflow. Add more tgamma tests.
8669 * math/auto-libm-test-out: Regenerated.
8670 * sysdeps/i386/fpu/libm-test-ulps: Update.
8671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8672
bbf37bdc
JM
8673 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8674 sin, sinh, tan, tanh, tgamma, y0 and y1.
8675 * math/auto-libm-test-out: Regenerated.
8676 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8677 (TEST_COND_x86): Likewise.
8678 (M_E2l): Remove macro.
8679 (M_E3l): Likewise.
8680 (M_2_SQRT_PIl): Likewise.
8681 (M_SQRT_PIl): Likewise.
8682 (M_1_DIV_El): Likewise.
8683 (log_test_data): Use AUTO_TESTS_f_f.
8684 (log10_test_data): Likewise.
8685 (log1p_test_data): Likewise.
8686 (log2_test_data): Likewise.
8687 (sin_test_data): Likewise.
8688 (sin_tonearest_test_data): Likewise.
8689 (sin_towardzero_test_data): Likewise.
8690 (sin_downward_test_data): Likewise.
8691 (sin_upward_test_data): Likewise.
8692 (sinh_test_data): Likewise.
8693 (sinh_tonearest_test_data): Likewise.
8694 (sinh_towardzero_test_data): Likewise.
8695 (sinh_downward_test_data): Likewise.
8696 (sinh_upward_test_data): Likewise.
8697 (tan_test_data): Likewise.
8698 (tan_tonearest_test_data): Likewise.
8699 (tan_towardzero_test_data): Likewise.
8700 (tan_downward_test_data): Likewise.
8701 (tan_upward_test_data): Likewise.
8702 (tanh_test_data): Likewise.
8703 (tgamma_test_data): Likewise.
8704 (y0_test_data): Likewise.
8705 (y1_test_data): Likewise.
8706 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8707 (special_real_inputs): Add pi/4.
8708 * sysdeps/i386/fpu/libm-test-ulps: Update.
8709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8710
eb5ad6b9
AZ
87112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8712
8713 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8714 "longjmp_target" static probes.
8715 (__longjmp): Rename to __longjmp_symbol.
8716 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8717 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8718 on which longjmp to generate.
8719 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8720 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8721 probe.
8722 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8723 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8724 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8725 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8726 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8727 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8729 __longjmp_symbol based on which __longjmp to generate.
8730 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8731 probe.
8732 (setjmp): Rename to setjmp_symbol.
8733 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8734 (_setjmp): Rename to _setjmp_symbol.
8735 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8736 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8737 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8738 which setjmp to generate.
8739 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8740 "longjmp_target" static probes.
8741
d136c6dc
SP
87422013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8743
9298ecba
SP
8744 * benchtests/README: Add note about output arguments.
8745 * benchtests/bench-sincos.c: Remove file.
8746 * benchtests/sincos-inputs: New file.
8747 * scripts/bench.pl: Identify output arguments and define
8748 static variables for them.
8749
232983e9
SP
8750 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8751
d136c6dc
SP
8752 [BZ #15941]
8753 * Makefile (INSTALL): Add install-plain.texi as the primary
8754 dependency.
8755 * manual/install-plain.texi: New file.
8756 * manual/install.texi: Include node directive only for
8757 non-plaintext output.
8758
699ff837
JM
87592013-12-04 Joseph Myers <joseph@codesourcery.com>
8760
ab07cea8
JM
8761 * stdlib/longlong.h: Update from GCC.
8762
699ff837
JM
8763 [BZ #6807]
8764 [BZ #15901]
8765 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8766 * math/w_j0f.c (y0f): Likewise.
8767 * math/w_j0l.c (__y0l): Likewise.
8768 * math/w_j1.c (y1): Likewise.
8769 * math/w_j1f.c (y1f): Likewise.
8770 * math/w_j1l.c (__y1l): Likewise
8771 * math/w_jn.c (yn): Likewise.
8772 * math/w_jnf.c (ynf): Likewise.
8773 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8774 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8775 value for Bessel function domain errors outside _SVID_ mode.
8776 Adjust sign of return value for yn (negative integer, 0).
8777 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8778 by zero in return for negative x and set sign appropriately for
8779 negative n.
8780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8781 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8782 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8783 expectations in error cases.
8784 (y1_test_data): Likewise.
8785 (yn_test_data): Likewise.
8786 * sysdeps/i386/fpu/libm-test-ulps: Update.
8787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8788
5b118558
UW
87892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8790
8791 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8792 "64" to "64-v1". Add "64-v2".
8793 (abi-64-options): Rename to ...
8794 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8795 (abi-64-condition): Rename to ...
8796 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8797 (abi-64-ld-soname): Rename to ...
8798 (abi-64-v1-ld-soname): ... this.
8799 (abi-64-v2-options): Define.
8800 (abi-64-v2-condition): Likewise.
8801 (abi-64-v2-ld-soname): Likewise.
8802 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8803 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8807
61cd8fe4
UW
88082013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8809 Alan Modra <amodra@gmail.com>
8810
8811 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8812 New versions for use with the ELFv2 ABI.
8813 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8814 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8815 declaration.
8816 (struct La_ppc64v2_retval): Likewise.
8817 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8818 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8819 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8820 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8821 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8822 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8823 Do not save or restore CR.
8824 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8825 (_dl_profile_resolve): Do no save or restore CR. Support extended
8826 return values for ELFv2 ABI. Fix location of FPR return registers.
8827 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8828 updated values for _CALL_ELF == 2.
8829 (La_regs, La_retval, int_retval): Likewise.
8830
8b8a692c
UW
88312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8832
8833 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8834 (FRAME_MIN_SIZE_PARM): Likewise.
8835 (FRAME_BACKCHAIN): Likewise.
8836 (FRAME_CR_SAVE): Likewise.
8837 (FRAME_LR_SAVE): Likewise.
8838 (FRAME_TOC_SAVE): Likewise.
8839 (FRAME_PARM_SAVE): Likewise.
8840 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8841 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8842 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8843 (call_mcount_parm_offset): New macro.
8844 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8845 (PROF): Use symbolic stack frame offsets.
8846 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8847 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8848 Redefine in terms of FRAME_MIN_SIZE.
8849 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8850 (_dl_profile_resolve): Likewise. Update comment.
8851 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8852 symbols stack frame offsets.
8853 (__sigsetjmp): Likewise.
8854 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8855 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8856 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8857 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8858
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8860 (FRAME_BACKCHAIN): Remove.
8861 (FRAME_CR_SAVE): Likewise.
8862 (FRAME_LR_SAVE): Likewise.
8863 (FRAME_COMPILER_DW): Likewise.
8864 (FRAME_LINKER_DW): Likewise.
8865 (FRAME_TOC_SAVE): Likewise.
8866 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8867 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8868 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8869 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8871 (CHECK_SP): Use symbolic stack frame offsets.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8873 zone" instead of caller's parameter save area for temp storage.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8875 Likewise. Also, use symbolic stack frame offsets.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8877 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8878 our own stack frame instead of the caller's.
8879 (__socket): Use symbolic stack frame offsets.
8880
122b66de
UW
88812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8882 Alan Modra <amodra@gmail.com>
8883
8884 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8885 Define.
57f41c40
AS
8886 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8887 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8888 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8889 New function.
8890 (elf_machine_fixup_plt): Call it.
8891 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8892 reloc arguments.
8893 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8894 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8895 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8896 r2 before calling target.
8897
696caf1d
UW
88982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8899 Alan Modra <amodra@gmail.com>
8900
8901 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8902 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8903 versions of macros to support ELFv2 ABI.
8904 (LOCALENTRY): New macro.
8905 (ENTRY, EALIGN): Use it.
8906 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8907 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8908 fall through into ENTRY entry point.
8909 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8910 Only define if _CALL_ELF != 2.
8911
8912 (elf_machine_matches_host): Verify ABI version matches.
8913 (RTLD_START): Use LOCALENTRY.
8914 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8915 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8916 (PLT_ENTRY_WORDS): New macro.
8917 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8918 (elf_machine_runtime_setup): Support ELFv2 ABI.
8919 (elf_machine_fixup_plt): Likewise.
8920 (elf_machine_plt_conflict): Likewise.
8921 (resolve_ifunc): Likewise.
8922 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8923 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8924 Likewise.
8925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8926 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8928 (makecontext): Support ELFv2 ABI.
8929 * elf/elf.h (EF_PPC64_ABI): Define.
8930
d31beafa
UW
89312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8932
57f41c40
AS
8933 * sysdeps/powerpc/powerpc64/sysdep.h
8934 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8935 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8936 (ENTRY) [ASSEMBLER]: ... but instead here ...
8937 (EALIGN) [ASSEMBLER]: ... and here.
8938 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8939 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8940 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8941 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8942 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8943 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8944 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8945 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8947 Use PPC64_LOAD_FUNCPTR.
8948
b525166b
UW
8949 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8950
7ec07d9a
AM
89512013-12-04 Alan Modra <amodra@gmail.com>
8952
8953 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8954 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8955 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8956 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8957
8958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8959 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8960 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8961 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8962 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8963 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8964
5162e7dd
UW
89652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8966
8967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8968 (__makecontext): Fix incorrect CFI when backtracing out of
8969 context created via makecontext.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8971 (__setcontext): Fix incorrect CFI during switch to new context.
8972 (__novec_setcontext): Likewise.
8973
19e3372b
OB
89742013-12-04 Ondřej Bílka <neleai@seznam.cz>
8975
8976 [BZ #4772]
8977 * time/strptime_l.c (__strptime_internal): Allow modifiers
8978 in strptime.
8979 * time/tst-strptime.c (day_tests): Add testcase.
8980
ecaf142d
SP
89812013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8982
8983 * scripts/bench.pl: Skip over blank lines.
8984
fbf964ae
PE
89852013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8986
8987 [BZ #926]
8988 * manual/time.texi (Calendar Time): Clarify what timezone functions
8989 use.
8990
fa60a674
AZ
89912013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8992
8993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8994
d674f0ef
OB
89952013-12-04 Ondřej Bílka <neleai@seznam.cz>
8996
8997 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8998 implementation.
8999 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9000 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9001 * debug/memset_chk.c (__memset_chk): Likewise.
9002 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9003 * debug/strncpy_chk.c: Likewise.
9004
17dea188
JM
90052013-12-03 Joseph Myers <joseph@codesourcery.com>
9006
749008ff
JM
9007 [BZ #15268]
9008 [BZ #15425]
9009 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9010 (__ieee754_exp): For possibly underflowing results, check size of
9011 result and force underflow exception if required.
9012 * math/auto-libm-test-in: Add more tests of exp.
9013 * math/auto-libm-test-out: Regenerated.
9014 * sysdeps/i386/fpu/libm-test-ulps: Update.
9015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9016
17dea188
JM
9017 [BZ #16283]
9018 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9019 * math/w_exp2f.c (__exp2f): Likewise.
9020 * math/w_exp2l.c (__exp2l): Likewise.
9021 * math/auto-libm-test-in: Do not allow missing errno on exp2
9022 underflow.
9023 * math/auto-libm-test-out: Regenerated.
9024
b20de2c3
OB
90252013-12-03 Ondřej Bílka <neleai@seznam.cz>
9026
9027 [BZ #16274]
9028 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9029 handle filename validation.
9030 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9031 (do_open): Delete.
9032
d8e2dbe3
JM
90332013-12-03 Joseph Myers <joseph@codesourcery.com>
9034
34e16df5
JM
9035 [BZ #6786]
9036 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9037 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9038 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9039 <float.h>.
9040 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9041 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9042 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9043 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9044 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9045 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9046 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9047 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9048 Add more erfc tests.
9049 * math/auto-libm-test-out: Regenerated.
9050 * sysdeps/i386/fpu/libm-test-ulps: Update.
9051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9052
d8e2dbe3
JM
9053 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9054 exp2, expm1, j0 and j1.
9055 * math/auto-libm-test-out: Regenerated.
9056 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9057 (erfc_test_data): Likewise.
9058 (exp_test_data): Likewise.
9059 (exp_tonearest_test_data): Likewise.
9060 (exp_towardzero_test_data): Likewise.
9061 (exp_downward_test_data): Likewise.
9062 (exp_upward_test_data): Likewise.
9063 (exp10_test_data): Likewise.
9064 (exp2_test_data): Likewise.
9065 (expm1_test_data): Likewise.
9066 (j0_test_data): Likewise.
9067 (j1_test_data): Likewise.
9068 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9069 (input_flag_type): Add flag_xfail_rounding.
9070 (input_flags): Add xfail-rounding.
9071 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9072 (output_for_one_input_case): Handle flag_xfail_rounding.
9073 * sysdeps/i386/fpu/libm-test-ulps: Update.
9074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9075
18d14251
AJ
90762013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9077
3d2e6075 9078 [BZ #16289]
18d14251
AJ
9079 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9080 division by 0.
9081
520d437b
SP
90822013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9083
9084 [BZ #16195]
9085 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9086 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9087 (STAP_PROBE0): New macro.
9088 (STAP_PROBE1): Likewise.
9089 (STAP_PROBE2): Likewise.
9090 (STAP_PROBE3): Likewise.
9091 (STAP_PROBE4): Likewise.
9092
416e0145
OB
90932013-12-02 Ondřej Bílka <neleai@seznam.cz>
9094
9095 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9096
9d17796a
SE
90972013-12-02 Steve Ellcey <sellcey@mips.com>
9098
9099 * benchtests/Makefile (bench): Add sqrt.
9100 (LDLIBS-bench-sqrt): New.
9101 * benchtests/sqrt-input: New.
9102
f524d6a8
PS
91032013-12-02 Pavel Simerda <psimerda@redhat.com>
9104
639a0ef8
PS
9105 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9106 (GAIH_EAI): Likewise.
9107 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9108 (gaih_inet): Likewise.
9109 (getaddrinfo): Don't use GAIH_EAI.
9110
f524d6a8
PS
9111 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9112 (struct gaih): Remove definition.
9113
df3aedaf
SP
91142013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9115
9116 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9117 Use HERRNOP directly.
9118
1ab19dec
AZ
91192013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9120
b42ad38d 9121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9122
176b0c79
JM
91232013-11-30 Joseph Myers <joseph@codesourcery.com>
9124
9125 * math/gen-auto-libm-tests.c (test_functions): Add more
9126 single-argument functions.
9127 (special_fill_pi_2): New function.
9128 (special_fill_minus_pi_2): Likewise.
9129 (special_fill_pi_6): Likewise.
9130 (special_fill_minus_pi_6): Likewise.
9131 (special_fill_pi_3): Likewise.
9132 (special_fill_2pi_3): Likewise.
9133 (special_fill_e): Likewise.
9134 (special_fill_1_e): Likewise.
9135 (special_fill_e_minus_1): Likewise.
9136 (special_real_inputs): Add more special inputs.
9137 (output_for_one_input_case): Do not require ERANGE on underflow to
9138 zero if round-to-nearest result does not underflow to zero, unless
9139 exact results required.
9140 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9141 atan, atanh, cbrt, cos and cosh.
9142 * math/auto-libm-test-out: Regenerated.
9143 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9144 (acos_tonearest_test_data): Likewise.
9145 (acos_towardzero_test_data): Likewise.
9146 (acos_downward_test_data): Likewise.
9147 (acos_upward_test_data): Likewise.
9148 (acosh_test_data): Likewise.
9149 (asin_test_data): Likewise.
9150 (asin_tonearest_test_data): Likewise.
9151 (asin_towardzero_test_data): Likewise.
9152 (asin_upward_test_data): Likewise.
9153 (asinh_test_data): Likewise.
9154 (atan_test_data): Likewise.
9155 (atanh_test_data): Likewise.
9156 (cbrt_test_data): Likewise.
9157 (cos_test_data): Likewise.
9158 (cos_tonearest_test_data): Likewise.
9159 (cos_towardzero_test_data): Likewise.
9160 (cos_downward_test_data): Likewise.
9161 (cos_upward_test_data): Likewise.
9162 (cosh_test_data): Likewise.
9163 (cosh_tonearest_test_data): Likewise.
9164 (cosh_towardzero_test_data): Likewise.
9165 (cosh_downward_test_data): Likewise.
9166 (cosh_upward_test_data): Likewise.
9167 * sysdeps/i386/fpu/libm-test-ulps: Update.
9168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9169
ffb536d0
JM
91702013-11-29 Joseph Myers <joseph@codesourcery.com>
9171
2a77a467
JM
9172 [BZ #6787]
9173 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9174 * math/w_exp10f.c (__exp10f): Likewise.
9175 * math/w_exp10l.c (__exp10l): Likewise.
9176 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9177 errno settings in existing tests.
9178
ea3bc4e8
JM
9179 [BZ #14032]
9180 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9181 precision control set to double precision.
9182 * sysdeps/i386/fpu/w_sqrt.c: New file.
9183 * math/auto-libm-test-in: Add more tests.
9184 * math/auto-libm-test-out: Update.
9185
0712c9d8
JM
9186 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9187 (sqrt_test_tonearest): New function.
9188 (sqrt_towardzero_test_data): New variable.
9189 (sqrt_test_towardzero): New function.
9190 (sqrt_downward_test_data): New variable.
9191 (sqrt_test_downward): New function.
9192 (sqrt_upward_test_data): New variable.
9193 (sqrt_test_upward): New function.
9194 (main): Call the new functions.
9195
ffb536d0
JM
9196 * math/gen-auto-libm-tests.c: New file.
9197 * math/auto-libm-test-in: Likewise.
9198 * math/auto-libm-test-out: New generated file.
9199 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9200 variables.
9201 (%beautify): Add generated representations of zero.
9202 (top level): Set $auto_input and call parse_auto_input.
9203 (beautify): Remove trailing "f" from hex float constants.
9204 (parse_args): Handle XFAIL_TEST.
9205 (convert_condition): New function.
9206 (or_value): Likewise.
9207 (or_cond_value): Likewise.
9208 (generate_testfile): Handle AUTO_TESTS_* lines.
9209 (parse_auto_input): New function.
9210 * math/libm-test.inc (XFAIL_TEST): New macro.
9211 (ERRNO_UNCHANGED): Update value.
9212 (ERRNO_EDOM): Likewise.
9213 (ERRNO_ERANGE): Likewise.
9214 (IGNORE_RESULT): Likewise.
9215 (TEST_COND_flt_32): New macro.
9216 (TEST_COND_dbl_64): Likewise.
9217 (TEST_COND_ldbl_96_intel): Likewise.
9218 (TEST_COND_ldbl_96_m68k): Likewise.
9219 (TEST_COND_ldbl_128): Likewise.
9220 (TEST_COND_ldbl_128ibm): Likewise.
9221 (TEST_COND_long32): Likewise.
9222 (TEST_COND_long64): Likewise.
9223 (TEST_COND_before_rounding): Likewise.
9224 (TEST_COND_after_rounding): Likewise.
9225 (enable_test): Handle XFAIL_TEST flag.
9226 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9227 with finite results.
9228 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9229 auto-libm-test-out.
9230
acd98a8e
AK
92312013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9232 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9233
9234 [BZ #16214]
9235 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9236 __tls_get_addr_internal instead of __tls_get_offset in order to
9237 avoid GOT pointer dependency. Make rtld export
9238 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9239 __tls_get_addr since we are a __tls_get_offset platform.
9240 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9241 GOT pointer being set up before.
9242 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9243
3c1c46a6
JM
92442013-11-28 Joseph Myers <joseph@codesourcery.com>
9245
7475aef5
JM
9246 * manual/math.texi (Errors in Math Functions): Document accuracy
9247 goals.
9248
8bca7cd8
JM
9249 [BZ #15004]
9250 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9251 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9256 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9266
91a1f3fe
JM
9267 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9268 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9269 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9270 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9271 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9272 Likewise.
9273 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9274 Likewise.
9275 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9276 Likewise.
9277 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9278 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9279 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9280 atomic-feupdateenv and flt-rounds.
9281 * sysdeps/powerpc/nofpu/Versions (libc): Add
9282 __atomic_feholdexcept, __atomic_feclearexcept,
9283 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9284 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9285 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9286 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9287 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9288 here.
9289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9290 Update.
9291
c5df7609
JM
9292 * manual/arith.texi (FP Exceptions): Document that exceptions may
9293 not be raised when matherr is used.
9294 (Math Error Reporting): Document overflow in directed rounding
9295 modes. Document that errno may not be set when finite values are
9296 returned on overflow. Document intent to set errno on underflow
9297 only for underflow to zero.
9298
3c1c46a6
JM
9299 [BZ #16271]
9300 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9301 round-to-nearest then adjust result for other rounding modes.
9302 * include/fenv.h (fegetround): Use libm_hidden_proto.
9303 * math/fegetround.c (fegetround): Use libm_hidden_def.
9304 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9305 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9306 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9307 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9308 Likewise.
9309 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9310 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9311 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9312 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9313
5a4c6d53
SP
93142013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9315
9316 [BZ #16077]
9317 * nss/Versions (libnss_files): Add
9318 _nss_files_gethostbyname3_r.
9319 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9320 New function.
9321 (HOST_DB_LOOKUP): Remove macro.
9322 (_nss_files_gethostbyname_r): Implement function without the
9323 HOST_DB_LOOKUP macro.
9324 (_nss_files_gethostbyname2_r): Likewise.
9325
897b98ba
OB
93262013-11-28 Ondřej Bílka <neleai@seznam.cz>
9327
9328 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9329
6f476861
UB
93302013-11-26 Uros Bizjak <ubizjak@gmail.com>
9331
9332 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9333 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9334 warning.
9335
bd12ab55
AZ
93362013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9337
9338 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9339 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9340 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9341 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9342 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9343 __fe_nomask_env_priv and attribute_hidden.
9344 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9345 (libc_feupdateenv_test_ppc): Likewise.
9346 (libc_feresetround_ppc): Likewise.
9347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9348 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9349 compat_symbol macro.
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9351 (__fe_nomask_env): Likewise.
9352 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9353
52bb6543
OB
93542013-11-26 Ondřej Bílka <neleai@seznam.cz>
9355
9356 * string/Makefile: Remove ifunc tests.
9357 * string/test-string.h: Define TEST_IFUNC.
9358 * string/test-bcopy-ifunc.c: Remove.
9359 * string/test-bzero-ifunc.c: Likewise.
9360 * string/test-memccpy-ifunc.c: Likewise.
9361 * string/test-memchr-ifunc.c: Likewise.
9362 * string/test-memcmp-ifunc.c: Likewise.
9363 * string/test-memcpy-ifunc.c: Likewise.
9364 * string/test-memmem-ifunc.c: Likewise.
9365 * string/test-memmove-ifunc.c: Likewise.
9366 * string/test-mempcpy-ifunc.c: Likewise.
9367 * string/test-memrchr-ifunc.c: Likewise.
9368 * string/test-memset-ifunc.c: Likewise.
9369 * string/test-rawmemchr-ifunc.c: Likewise.
9370 * string/test-stpcpy-ifunc.c: Likewise.
9371 * string/test-stpncpy-ifunc.c: Likewise.
9372 * string/test-strcasecmp-ifunc.c: Likewise.
9373 * string/test-strcasestr-ifunc.c: Likewise.
9374 * string/test-strcat-ifunc.c: Likewise.
9375 * string/test-strchr-ifunc.c: Likewise.
9376 * string/test-strchrnul-ifunc.c: Likewise.
9377 * string/test-strcmp-ifunc.c: Likewise.
9378 * string/test-strcpy-ifunc.c: Likewise.
9379 * string/test-strcspn-ifunc.c: Likewise.
9380 * string/test-strlen-ifunc.c: Likewise.
9381 * string/test-strncasecmp-ifunc.c: Likewise.
9382 * string/test-strncat-ifunc.c: Likewise.
9383 * string/test-strncmp-ifunc.c: Likewise.
9384 * string/test-strncpy-ifunc.c: Likewise.
9385 * string/test-strnlen-ifunc.c: Likewise.
9386 * string/test-strpbrk-ifunc.c: Likewise.
9387 * string/test-strrchr-ifunc.c: Likewise.
9388 * string/test-strspn-ifunc.c: Likewise.
9389 * string/test-strstr-ifunc.c: Likewise.
9390
ab260039 93912013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9392
9393 * benchtests/Makefile: Remove ifunc tests.
9394 * benchtests/bench-string.h: Define TEST_IFUNC.
9395 * benchtests/bench-bcopy-ifunc.c: Remove.
9396 * benchtests/bench-bzero-ifunc.c: Likewise.
9397 * benchtests/bench-memccpy-ifunc.c: Likewise.
9398 * benchtests/bench-memchr-ifunc.c: Likewise.
9399 * benchtests/bench-memcmp-ifunc.c: Likewise.
9400 * benchtests/bench-memcpy-ifunc.c: Likewise.
9401 * benchtests/bench-memmem-ifunc.c: Likewise.
9402 * benchtests/bench-memmove-ifunc.c: Likewise.
9403 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9404 * benchtests/bench-memrchr-ifunc.c: Likewise.
9405 * benchtests/bench-memset-ifunc.c: Likewise.
9406 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9407 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9408 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9409 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9410 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9411 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9412 * benchtests/bench-strcat-ifunc.c: Likewise.
9413 * benchtests/bench-strchr-ifunc.c: Likewise.
9414 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9415 * benchtests/bench-strcmp-ifunc.c: Likewise.
9416 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9417 * benchtests/bench-strcpy-ifunc.c: Likewise.
9418 * benchtests/bench-strcspn-ifunc.c: Likewise.
9419 * benchtests/bench-strlen-ifunc.c: Likewise.
9420 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9421 * benchtests/bench-strncat-ifunc.c: Likewise.
9422 * benchtests/bench-strncmp-ifunc.c: Likewise.
9423 * benchtests/bench-strncpy-ifunc.c: Likewise.
9424 * benchtests/bench-strnlen-ifunc.c: Likewise.
9425 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9426 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9427 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9428 * benchtests/bench-strspn-ifunc.c: Likewise.
9429 * benchtests/bench-strstr-ifunc.c: Likewise.
9430
94312013-11-26 Ondřej Bílka <neleai@seznam.cz>
9432
ab260039
OB
9433 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9434
d1d9eaf4 94352013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9436
d1d9eaf4
OB
9437 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9438 * rt/aio.h: Likewise.
9439 * sysdeps/gnu/bits/utmp.h: Likewise.
9440 * sysdeps/gnu/bits/utmpx.h: Likewise.
9441 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9442 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9443 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9444 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9445 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9446 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9447 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9448 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9449 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9450 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9451 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9452 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9453 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9455 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9456 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9457 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9458 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9459 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9460 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9461 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9462 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9463 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9464 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9465 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9467 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9468 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9469 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9470 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9471 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9472 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9473 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9474 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9475 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9476 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9477 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9478 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9479 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9480 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9481 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9482 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9483
a7624ed9
CD
94842013-11-25 Carlos O'Donell <carlos@redhat.com>
9485
9486 [BZ #16245]
9487 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9488 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9489
63cfe52b
JM
94902013-11-25 Joseph Myers <joseph@codesourcery.com>
9491
9492 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9493 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9494 Likewise.
9495
41e8926a
AZ
94962013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9497
9498 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9499 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9500 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9501 (__fesetround): Remove define.
9502 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9503 rounding and exceptions handling.
9504 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9505 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9506 (__fe_nomask_env): Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9508 __fegetround instead of fegetround.
9509 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9511
6851bd4d
RM
95122013-11-21 Roland McGrath <roland@hack.frob.com>
9513
070906ff
RM
9514 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9515 it's there.
9516
6851bd4d
RM
9517 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9518
84ae135d
MI
95192013-11-21 Meador Inge <meadori@codesourcery.com>
9520
9521 [BZ #11157]
9522 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9523 (encrypt_r): Likewise.
9524 * malloc/obstack.h (obstack_free): Likewise.
9525 * posix/unistd.h (encrypt): Likewise.
9526
daf75146
GM
95272013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9528
9529 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9530 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9531 DL_CALL_DT_FINI() that call the functions directly.
9532 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9533 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9534 * elf/dl-fini.c: Likewise.
9535
10ad46bc
OB
95362013-11-20 Ondřej Bílka <neleai@seznam.cz>
9537
9538 * malloc/hooks.c (memalign_check): Add alignment rounding.
9539 * malloc/malloc.c (_mid_memalign): New function.
9540 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9541 Implement by calling _mid_memalign.
9542 * manual/probes.texi (Memory Allocation Probes): Remove
9543 memory_valloc_retry and memory_pvalloc_retry.
9544
f3fd2628
SP
95452013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9546
4712799f
SP
9547 * locale/programs/locarchive.c (open_archive): Add const
9548 qualifier to ARCHIVEFNAME and copy default fname to
9549 DEFAULT_FNAME.
9550
0417b20f
SP
9551 [BZ #15601]
9552 * libio/tst-widetext.input: Rename Oriya to Odia.
9553 * locale/iso-639.def: Likewise.
9554
f3fd2628
SP
9555 * manual/probes.texi (Mathematical Function Probes): Add
9556 documentation for sin, cos, asin and acos probes.
9557 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9558 (__sin32): Add slowasin probe.
9559 (__cos32): Add slowacos probe.
9560 (__mpsin): Add slowsin probe.
9561 (__mpcos): Add slowcos probe.
9562
73c1ce4f
JM
95632013-11-19 Joseph Myers <joseph@codesourcery.com>
9564
9565 [BZ #15483]
9566 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9567 thread-local __sim_exceptions_thread and global
9568 __sim_exceptions_global.
9569 (__sim_disabled_exceptions): Change to thread-local
9570 __sim_disabled_exceptions_thread and global
9571 __sim_disabled_exceptions_global.
9572 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9573 and global __sim_round_mode_global.
9574 (__simulate_exceptions): Use thread-local floating-point state and
9575 set global state from it as needed.
9576 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9577 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9578 __sim_round_mode_thread.
9579 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9580 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9581 and global __sim_exceptions_global.
9582 (__sim_disabled_exceptions): Change to thread-local
9583 __sim_disabled_exceptions_thread and global
9584 __sim_disabled_exceptions_global.
9585 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9586 and global __sim_round_mode_global.
9587 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9588 (SIM_SET_GLOBAL): Likewise.
9589 * sysdeps/powerpc/soft-fp/sfp-machine.h
9590 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9591 __sim_round_mode_thread.
9592 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9593 __sim_disabled_exceptions_thread.
9594 (__sim_exceptions): Change to __sim_exceptions_thread.
9595 (__sim_disabled_exceptions): Change to
9596 __sim_disabled_exceptions_thread.
9597 (__sim_round_mode): Change to __sim_round_mode_thread.
9598 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9599 thread-local floating-point state and set global state from it as
9600 needed.
9601 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9602 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9603 (__sim_disabled_exceptions): Remove extern declaration.
9604 (feenableexcept): Use thread-local floating-point state and set
9605 global state from it as needed.
9606 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9607 extern declaration.
9608 (__sim_disabled_exceptions): Likewise.
9609 (__sim_round_mode): Likewise.
9610 (__fegetenv): Use thread-local floating-point state.
9611 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9612 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9613 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9614 floating-point state and set global state from it as needed.
9615 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9616 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9617 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9618 Likewise.
9619 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9620 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9621 Likewise.
9622 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9623 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9624 Use __sim_round_mode_thread.
9625 * math/test-fenv-tls.c: New file.
9626 * math/Makefile (tests): Add test-fenv-tls.
9627 ($(objpfx)test-fenv-tls): Depend on
9628 $(common-objpfx)nptl/libpthread.so.
9629
b5449b12
AS
96302013-11-19 Andreas Schwab <schwab@suse.de>
9631
9632 * locale/programs/locale.c (show_info): Decode wordarray elements.
9633 * locale/categories.def (LC_MONETARY): Add element for
9634 _NL_MONETARY_CRNCYSTR.
9635 * locale/C-monetary.c (conversion_rate): New variable.
9636 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9637 element.
9638
e186536b
CM
96392013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9640
9641 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9642 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9643
5c349950
PP
96442013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9645
9646 * elf/Makefile (tst-auxv): New test.
9647 * elf/tst-auxv.c: New
9648 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9649
699df45b
JM
96502013-11-18 Joseph Myers <joseph@codesourcery.com>
9651
9652 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9653 (hidden_proto): Caller changed.
9654 (hidden_tls_proto): New macro.
9655 (libc_hidden_tls_proto): Likewise.
9656 (rtld_hidden_tls_proto): Likewise.
9657 (libm_hidden_tls_proto): Likewise.
9658 (libresolv_hidden_tls_proto): Likewise.
9659 (librt_hidden_tls_proto): Likewise.
9660 (libdl_hidden_tls_proto): Likewise.
9661 (libnss_files_hidden_tls_proto): Likewise.
9662 (libnsl_hidden_tls_proto): Likewise.
9663 (libnss_nisplus_hidden_tls_proto): Likewise.
9664 (libutil_hidden_tls_proto): Likewise.
9665
b7589107
OB
96662013-11-18 Ondřej Bílka <neleai@seznam.cz>
9667
9668 [BZ #10253]
9669 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9670 (decompose_rpath): Defer expansion to fillin_rpath.
9671 (_dl_init_paths): Pass linkmap to fillin_rpath.
9672
250c23bd
RS
96732013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9674
9675 * benchtests/Makefile: Add strsep.
9676 * benchtests/bench-strsep.c: New file: strsep benchtest.
9677 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9678
a7931fcf
AS
96792013-11-18 Andreas Schwab <schwab@suse.de>
9680
9681 * locale/programs/locale.c (show_info) [case byte]: Check for
9682 '\377' instead of '\177'.
9683 * locale/C-monetary.c (not_available): Always use "\377".
9684 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9685 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9686 detect unavailable sign_posn locale elements.
9687 * locale/localeconv.c (__localeconv): For grouping and
9688 mon_grouping handle "\177" and "\377" like no grouping.
9689 (INT_ELEM): New macro. Use it to set all numeric members.
9690 * locale/programs/ld-monetary.c (monetary_read)
9691 <tok_mon_grouping>: Normalize single -1 to the empty string.
9692 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9693 Likewise.
9694
728dab0e
OB
96952013-11-07 Ondřej Bílka <neleai@seznam.cz>
9696
9697 [BZ #16055]
9698 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9699 when we match (nil).
9700 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9701
66294491
JM
97022013-11-16 Joseph Myers <joseph@codesourcery.com>
9703
ce665817
JM
9704 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9705 (NO_TEST_INLINE): Update value.
9706 (ERRNO_UNCHANGED): Likewise.
9707 (ERRNO_EDOM): Likewise.
9708 (ERRNO_ERANGE): Likewise.
9709 (IGNORE_RESULT): Likewise.
9710 (check_float_internal): Check signs of NaN results if
9711 TEST_NAN_SIGN used.
9712 (check_complex): Pass TEST_NAN_SIGN flag through to second
9713 check_float_internal call.
9714 (copysign_test_data): Add tests with quiet NaNs as second
9715 argument. Use TEST_NAN_SIGN.
9716 (fabs_test_data): Add test of negative quiet NaN argument. Use
9717 TEST_NAN_SIGN.
9718 (signbit_test_data): Add tests of quiet NaN argument.
9719 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9720
ee1466a9
JM
9721 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9722 $ignore_result.
9723 (parse_args): Handle function results specified as IGNORE.
9724 * math/libm-test.inc (IGNORE_RESULT): New macro.
9725 (check_float_internal): Do not check numerical result if flag
9726 IGNORE_RESULT set.
9727 (check_complex): Pass through IGNORE_RESULT to second
9728 check_float_internal call.
9729 (check_int): Do not check numerical result if flag IGNORE_RESULT
9730 set.
9731 (check_long): Likewise.
9732 (check_bool): Likewise.
9733 (check_longlong): Likewise.
9734 (lrint_test_data): Add tests of infinite and NaN arguments.
9735 (lrint_tonearest_test_data): Likewise.
9736 (lrint_towardzero_test_data): Likewise.
9737 (lrint_downward_test_data): Likewise.
9738 (lrint_upward_test_data): Likewise.
9739 (llrint_test_data): Likewise.
9740 (llrint_tonearest_test_data): Likewise.
9741 (llrint_towardzero_test_data): Likewise.
9742 (llrint_downward_test_data): Likewise.
9743 (llrint_upward_test_data): Likewise.
9744 (lround_test_data): Likewise.
9745 (llround_test_data): Likewise.
9746
14407b7e
JM
9747 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9748 (ERRNO_UNCHANGED): Update value.
9749 (ERRNO_EDOM): Likewise.
9750 (ERRNO_ERANGE): Likewise.
9751 (NO_TEST_INLINE_FLOAT): New macro.
9752 (NO_TEST_INLINE_DOUBLE): Likewise.
9753 (enable_test): New function.
9754 (RUN_TEST_f_f): Check enable_test before running test.
9755 (RUN_TEST_2_f): Likewise.
9756 (RUN_TEST_fff_f): Likewise.
9757 (RUN_TEST_c_f): Likewise.
9758 (RUN_TEST_f_f1): Likewise.
9759 (RUN_TEST_fF_f1): Likewise.
9760 (RUN_TEST_fI_f1): Likewise.
9761 (RUN_TEST_ffI_f1): Likewise.
9762 (RUN_TEST_c_c): Likewise.
9763 (RUN_TEST_cc_c): Likewise.
9764 (RUN_TEST_f_i): Likewise.
9765 (RUN_TEST_f_i_tg): Likewise.
9766 (RUN_TEST_ff_i_tg): Likewise.
9767 (RUN_TEST_f_b): Likewise.
9768 (RUN_TEST_f_b_tg): Likewise.
9769 (RUN_TEST_f_l): Likewise.
9770 (RUN_TEST_f_L): Likewise.
9771 (RUN_TEST_fFF_11): Likewise.
9772 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9773 conditionals.
9774 (cosh_test_data): Likewise.
9775 (exp_test_data): Likewise.
9776 (expm1_test_data): Likewise.
9777 (hypot_test_data): Likewise.
9778 (pow_test_data): Likewise.
9779 (sinh_test_data): Likewise.
9780 (tanh_test_data): Likewise.
9781 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9782 flags argument.
9783
ca07f197
JM
9784 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9785 tests with quiet NaN input and output.
9786 (acosh_test_data): Likewise.
9787 (asin_test_data): Likewise.
9788 (asinh_test_data): Likewise.
9789 (atan_test_data): Likewise.
9790 (atanh_test_data): Likewise.
9791 (atan2_test_data): Likewise.
9792 (cbrt_test_data): Likewise.
9793 (cos_test_data): Likewise.
9794 (cosh_test_data): Likewise.
9795 (erf_test_data): Likewise.
9796 (erfc_test_data): Likewise.
9797 (exp_test_data): Likewise.
9798 (exp10_test_data): Likewise.
9799 (exp2_test_data): Likewise.
9800 (expm1_test_data): Likewise.
9801 (hypot_test_data): Likewise.
9802 (j0_test_data): Likewise.
9803 (j1_test_data): Likewise.
9804 (jn_test_data): Likewise.
9805 (lgamma_test_data): Likewise.
9806 (log_test_data): Likewise.
9807 (log10_test_data): Likewise.
9808 (log1p_test_data): Likewise.
9809 (log2_test_data): Likewise.
9810 (pow_test_data): Likewise.
9811 (scalb_test_data): Likewise.
9812 (sin_test_data): Likewise.
9813 (sincos_test_data): Likewise.
9814 (sinh_test_data): Likewise.
9815 (tan_test_data): Likewise.
9816 (tanh_test_data): Likewise.
9817 (tgamma_test_data): Likewise.
9818 (y0_test_data): Likewise.
9819 (y1_test_data): Likewise.
9820 (yn_test_data): Likewise.
9821
66294491
JM
9822 [BZ #16167]
9823 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9824 argument being NaN and avoid computations with second argument in
9825 that case.
9826 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9827 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9828 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9829
1820b143
CL
98302013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9831
9832 * locale/iso-639.def: Add Chitwani Tharu (the).
9833
714bd261
AS
98342013-11-14 Andreas Schwab <schwab@suse.de>
9835
9836 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9837 word instead of empty string.
9838
7ab44563
AZ
98392013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9840
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9842 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9844 (__fe_nomask_env): Likewise.
9845
e8470ea2
SE
98462013-11-13 Steve Ellcey <sellcey@mips.com>
9847
9848 * benchtests/bench-timing.h: Include time.h.
9849
17c1d9f0
L
98502013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9851
9852 [BZ #15997]
9853 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9854 to 3.4.0 for x32.
9855 * sysdeps/unix/sysv/linux/configure: Regenerated.
9856
9310c284
JM
98572013-11-13 Joseph Myers <joseph@codesourcery.com>
9858
9859 [BZ #16151]
9860 * stdlib/strtod_l.c (round_and_return): Do not consider
9861 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9862 exponent one less than half the least subnormal exponent.
9863 * stdlib/test-strtod-round-data: Add more tests.
9864 * stdlib/tst-strtod-round.c (tests): Regenerated.
9865
7a2ad8cf
AZ
98662013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9867
9868 [BZ #14143]
9869 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9870 (__fe_mask_env): Likewise.
9871 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9872 libm_hidden_proto and add function prototype.
9873 (__fe_mask_env): Add function prototype.
9874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9875 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9877 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9879 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9880
50727aa7
MS
98812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9882
b2f386c1 9883 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9884 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9885
a615be46
MS
98862013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9887
9888 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9889 of htab_find_slot().
9890
7ddace62
DM
98912013-11-11 David S. Miller <davem@davemloft.net>
9892
9893 [BZ #16150]
9894 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9895 symbol in the non-vis3 case in static builds.
9896 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9897 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9898 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9899 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9900
9182aa67
JK
99012013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9902
9903 [BZ #387]
9904 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9905 it is empty.
9906
450a2e2d
AZ
99072013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9908
b2f386c1
SP
9909 * benchtests/Makefile: Add bench-strtod.
9910 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9911
8ec3f656
AS
99122013-11-11 Andreas Schwab <schwab@suse.de>
9913
9914 [BZ #16153]
9915 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9916 terminating NUL in key length.
9917
76a9b998
AZ
99182013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9919
9920 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9921 Add artificial ODP entry for vDSO symbol for PPC64.
9922 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9923 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9924
e4368156
OB
99252013-11-07 Ondřej Bílka <neleai@seznam.cz>
9926
9927 [BZ #15374]
9928 * nss/getent.c (services_keys): Recognize services starting with digit.
9929
8d6bb57c
DM
99302013-11-06 David S. Miller <davem@davemloft.net>
9931
9932 [BZ #15985]
9933 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9934 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9935
e256c421
WN
99362013-11-06 Will Newton <will.newton@linaro.org>
9937
9938 * manual/memory.texi (Malloc Examples): Remove register
9939 keyword from examples.
9940
f6e12daa 99412013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9942
f6e12daa 9943 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9944
9d880655
AS
99452013-11-04 Joseph Myers <joseph@codesourcery.com>
9946
fd2f9486 9947 [BZ #6981]
9d880655
AS
9948 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9949 depending on [__GCC_IEC_559 > 0].
9950 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9951 depending on [__GCC_IEC_559_COMPLEX > 0].
9952
ae129d3c
CL
99532013-11-03 Chris Leonard <cjl@sugarlabs.org>
9954
9955 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9956 to iso-639.def.
9957
4a15c2a4 99582013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9959
9960 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9961
8b35e35d
OB
99622013-11-01 Ondřej Bílka <neleai@seznam.cz>
9963
9964 [BZ #16112]
9965 * malloc/malloc (malloc_info): Do not handle first bin as
9966 special case.
9967
1d70fd6c
CL
99682013-11-01 Chris Leonard <cjl@sugarlabs.org>
9969
9970 * locale/iso-639.def: Add Central Nahuatl (nhn).
9971
8c5c2600
BH
99722013-11-01 Bruno Haible <bruno@clisp.org>
9973
9974 [BZ #7003]
9975 * manual/math.texi (BSD Random): Specify range upper bound as
9976 in POSIX.
9977
da5579c2
CL
99782013-10-31 Chris Leonard <cjl@sugarlabs.org>
9979
9980 * locale/iso-639.def: Add Meadow Mari (mhr).
9981
5d30d853
OB
99822013-10-31 Ondřej Bílka <neleai@seznam.cz>
9983
9984 [BZ #14752], [BZ #15763]
9985 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9986 Validate name.
9987 * rt/tst_shm.c: Add test for escaping directory.
9988
a4966c61
AS
99892013-10-31 Andreas Schwab <schwab@suse.de>
9990
8a43e768 9991 [BZ #15917]
a4966c61
AS
9992 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9993 followed by 'x' as part of digit sequence.
9994 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9995
28d708c4
MAP
99962013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9997
9998 [BZ #16037]
9999 * configure.ac: allow GNU Make 4.0 and greater.
10000 * configure: Regenerated.
10001
a56ee40b
WN
100022013-10-30 Will Newton <will.newton@linaro.org>
10003
10004 [BZ #16038]
10005 * malloc/hooks.c (memalign_check): Limit alignment to the
10006 maximum representable power of two.
10007 * malloc/malloc.c (__libc_memalign): Likewise.
10008 * malloc/tst-memalign.c (do_test): Add test for very
10009 large alignment values.
10010 * malloc/tst-posix_memalign.c (do_test): Likewise.
10011
c6e4925d
OB
100122013-10-30 Ondřej Bílka <neleai@seznam.cz>
10013
10014 [BZ #11087]
10015 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10016 (munmap_chunk): Likewise.
10017 (mremap_chunk): Likewise.
10018
100192013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10020
8a43e768 10021 [BZ #15799]
bbea82f7
OB
10022 * stdlib/div.c (div): Remove obsolete code.
10023 * stdlib/ldiv.c (ldiv): Likewise.
10024 * stdlib/lldiv.c (lldiv): Likewise.
10025
977f4b31
SP
100262013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10027
10028 [BZ #16071]
10029 * nss/nss_files/files-XXX.c (get_contents_ret): New
10030 enumerator.
10031 (get_contents): New function.
10032 (internal_getent): Use it. Expand size of LINEBUFLEN.
10033
cb8a6dbd
MF
100342013-10-30 Mike Frysinger <vapier@gentoo.org>
10035
10036 * configure.in: Moved to ...
10037 * configure.ac: ... here. Change reference to configure.in
10038 to configure.ac.
10039 * sysdeps/arm/preconfigure.ac: ... here.
10040 configure.in to configure.ac.
10041 * sysdeps/gnu/configure.in: Moved to ...
10042 * sysdeps/gnu/configure.ac: ... here.
10043 * sysdeps/i386/configure.in: Moved to ...
10044 * sysdeps/i386/configure.ac: ... here.
10045 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10046 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10047 * sysdeps/mach/configure.in: Moved to ...
10048 * sysdeps/mach/configure.ac: ... here.
10049 * sysdeps/mach/hurd/configure.in: Moved to ...
10050 * sysdeps/mach/hurd/configure.ac: ... here.
10051 * sysdeps/powerpc/configure.in: Moved to ...
10052 * sysdeps/powerpc/configure.ac: ... here.
10053 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10054 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10055 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10056 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10057 * sysdeps/s390/s390-32/configure.in: Moved to ...
10058 * sysdeps/s390/s390-32/configure.ac: ... here.
10059 * sysdeps/s390/s390-64/configure.in: Moved to ...
10060 * sysdeps/s390/s390-64/configure.ac: ... here.
10061 * sysdeps/sh/configure.in: Moved to ...
10062 * sysdeps/sh/configure.ac: ... here.
10063 * sysdeps/sparc/configure.in: Moved to ...
10064 * sysdeps/sparc/configure.ac: ... here.
10065 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10066 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10067 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10068 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10069 * sysdeps/x86_64/configure.in: Moved to ...
10070 * sysdeps/x86_64/configure.ac: ... here.
10071 * sysdeps/x86_64/preconfigure.in: Moved to ...
10072 * sysdeps/x86_64/preconfigure.ac: ... here.
10073 * aclocal.m4: Change reference to configure.in to configure.ac.
10074 * config.h.in: Likewise.
10075 * manual/install.texi: Likewise.
10076 * manual/maint.texi: Likewise.
10077 * Makefile: Likewise.
10078 * malloc/Makefile: Likewise.
10079 * nscd/Makefile: Likewise.
10080 * Makeconfig: Change reference to configure.in and
10081 preconfigure.in to configure.ac and preconfigure.ac
10082 respectively.
10083 * INSTALL: Regenerated.
10084 * configure: Likewise.
10085 * sysdeps/gnu/configure: Likewise.
10086 * sysdeps/i386/configure: Likewise.
10087 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10088 * sysdeps/mach/configure: Likewise.
10089 * sysdeps/mach/hurd/configure: Likewise.
10090 * sysdeps/powerpc/configure: Likewise.
10091 * sysdeps/powerpc/powerpc32/configure: Likewise.
10092 * sysdeps/powerpc/powerpc64/configure: Likewise.
10093 * sysdeps/s390/s390-32/configure: Likewise.
10094 * sysdeps/s390/s390-64/configure: Likewise.
10095 * sysdeps/sh/configure: Likewise.
10096 * sysdeps/sparc/configure: Likewise.
10097 * sysdeps/unix/sysv/linux/configure: Likewise.
10098 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10099 * sysdeps/x86_64/configure: Likewise.
10100 * sysdeps/x86_64/preconfigure: Likewise.
10101
36a4953a
AS
101022013-10-29 Andreas Schwab <schwab@suse.de>
10103
10104 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10105
c79a1204
SP
101062013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10107
dfa1b402
SP
10108 * benchtests/pow-inputs: Add new inputs.
10109
54f73d9c
SP
10110 * benchtests/exp-inputs: Add new inputs.
10111
c79a1204
SP
10112 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10113 conditional check for return value.
10114 (__cos32): Likewise.
10115
67beb545 101162013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10117
10118 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10119 to provide a boost for large inputs with word alignment.
10120 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10121 implementation based on optimized PPC64 strcpy.
10122 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10123 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10124 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10125 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10126
151659f6
OB
101272013-10-25 Ondřej Bílka <neleai@seznam.cz>
10128
482a077e 10129 [BZ #2801]
151659f6
OB
10130 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10131
10b0f26b
OB
101322013-10-25 Ondřej Bílka <neleai@seznam.cz>
10133
10134 [BZ #14876]
10135 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10136 * time/tst-strptime.c (day_tests): Add testcase.
10137
ca42d35e
OB
101382013-10-25 Ondřej Bílka <neleai@seznam.cz>
10139
482a077e 10140 [BZ #14029]
ca42d35e
OB
10141 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10142
52e6d801
FB
101432013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10144
10145 [BZ #16074]
10146 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10147 MAP_FAILED on error.
10148
7cbcdb36
SP
101492013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10150
10151 [BZ #16072]
10152 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10153 heap for large requests.
10154
894f3f10
AM
101552013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10156
10157 [BZ #9954]
10158 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10159 result if the result has no associated interface.
10160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10161 interface for all 127.X.Y.Z addresses.
10162
b85545a6
CL
101632013-10-24 Chris Leonard <cjl@sugarlabs.org>
10164
10165 * locale/iso-639.def: Add Ligurian (lij)
10166
d1f23d46
OB
101672013-10-21 Ondřej Bílka <neleai@seznam.cz>
10168
10169 [BZ #15825]
10170 * sunrpc/rpc_main.c: Document rpcgen -5.
10171
4db5b08f
MS
101722013-10-19 Michael Stahl <mstahl@redhat.com>
10173
10174 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10175
a471e96a
OB
101762013-10-19 Ondřej Bílka <neleai@seznam.cz>
10177
d1f23d46 10178 [BZ #10278]
a471e96a
OB
10179 * posix/glob.c: Match only directories when trailing slash is present.
10180 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10181 (main): Add testcase.
10182
45c30c61
OB
101832013-10-19 Ondřej Bílka <neleai@seznam.cz>
10184
10185 [BZ #15670]
10186 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10187
484c12fb
CD
101882013-10-18 Carlos O'Donell <carlos@redhat.com>
10189
3d7dc513
CD
10190 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10191 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10192 AUTH_DES and cindex for FIPS 140-2.
10193 (DES Encryption): Add cindex FIPS 46-3.
10194
484c12fb
CD
10195 * locale/locarchive.h (struct locarhandle): Add fname.
10196 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10197 if an optional argument was specified to --list-archive,
10198 otherwise NULL.
10199 * locale/programs/locarchive.c (show_archive_content): Take new
10200 argument fname and pass it via ah.fname to open_archive.
10201 * locale/programs/localedef.h: Update decl.
10202 (open_archive): If AH->fname is non-null, open that file
10203 rather than the default file name, and don't ignore ENOENT.
10204 (create_archive): Set AH.fname to NULL.
10205 (delete_locales_from_archive): Likewise.
10206 (add_locales_to_archive): Likewise.
10207 * locale/programs/locfile.c (write_all_categories): Likewise.
10208
3c8325fb
JM
102092013-10-18 Joseph Myers <joseph@codesourcery.com>
10210 Aldy Hernandez <aldyh@redhat.com>
10211
10212 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10213 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10214 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10215 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10216 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10217 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10218 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10219 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10220 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10221 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10222 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10223 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10224 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10225 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10226 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10227 Likewise.
10228 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10229 Likewise.
10230 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10231 Likewise.
10232 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10233 Likewise.
10234 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10235 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10236 Likewise.
10237 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10238 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10239 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10240 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10241 Likewise.
10242 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10243 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10244 * sysdeps/powerpc/preconfigure: Likewise.
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10246 Likewise.
10247 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10248 Replace contents of file by #include of <fenv_libc.h>.
10249 * sysdeps/powerpc/soft-fp/sfp-machine.h
10250 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10251 and <sys/prctl.h>.
10252 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10253 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10254 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10255 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10256 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10257 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10259 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10260 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10261 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10262 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10263 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10265 Allow copysignl PLT reference to be missing.
10266
5abe0682
RS
102672013-10-18 Richard Sandiford <richard@codesourcery.com>
10268 Joseph Myers <joseph@codesourcery.com
10269
10270 [BZ #15948]
10271 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10272 single character.
10273 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10274
c7738d08
SP
102752013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10276
10277 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10278 * elf/tst-tls1.c: Likewise.
10279 * elf/tst-tls10.h: Likewise.
10280 * elf/tst-tls14.c: Likewise.
10281 * elf/tst-tls2.c: Likewise.
10282 * elf/tst-tls3.c: Likewise.
10283 * elf/tst-tls4.c: Likewise.
10284 * elf/tst-tls5.c: Likewise.
10285 * elf/tst-tls6.c: Likewise.
10286 * elf/tst-tls7.c: Likewise.
10287 * elf/tst-tls8.c: Likewise.
10288 * elf/tst-tls9.c: Likewise.
10289 * elf/tst-tlsmod1.c: Likewise.
10290 * elf/tst-tlsmod13.c: Likewise.
10291 * elf/tst-tlsmod13a.c: Likewise.
10292 * elf/tst-tlsmod14a.c: Likewise.
10293 * elf/tst-tlsmod16a.c: Likewise.
10294 * elf/tst-tlsmod16b.c: Likewise.
10295 * elf/tst-tlsmod2.c: Likewise.
10296 * elf/tst-tlsmod3.c: Likewise.
10297 * elf/tst-tlsmod4.c: Likewise.
10298 * elf/tst-tlsmod5.c: Likewise.
10299 * elf/tst-tlsmod6.c: Likewise.
10300
0bfcf2c7
OB
103012013-10-18 Ondřej Bílka <neleai@seznam.cz>
10302
10303 [BZ #12486]
10304 * malloc/malloc.c: remove checks for statistics.
10305
264aad1e
OB
103062013-10-17 Ondřej Bílka <neleai@seznam.cz>
10307
10308 [BZ #15277]
10309 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10310 * inet/tst-network.c: Add testcase.
10311
b957ced8
AS
103122013-10-17 Andreas Schwab <schwab@suse.de>
10313
10314 [BZ #15218]
10315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10316 to determine canonical name.
10317
c5d5d574
OB
103182013-10-17 Ondřej Bílka <neleai@seznam.cz>
10319
10320 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10321 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10325 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10326 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10327 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10328 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10329 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10330 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10331 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10332 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10333 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10335 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10344 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10345 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10350 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10378
e5c2c2d0
JM
103792013-10-17 Joseph Myers <joseph@codesourcery.com>
10380
10381 [BZ #16041]
10382 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10383 make result into a quiet NaN.
10384
51ca9e29
JM
103852013-10-16 Joseph Myers <joseph@codesourcery.com>
10386
10387 * soft-fp/adddf3.c: Fix horizontal whitespace.
10388 * soft-fp/addsf3.c: Likewise.
10389 * soft-fp/addtf3.c: Likewise.
10390 * soft-fp/divdf3.c: Likewise.
10391 * soft-fp/divsf3.c: Likewise.
10392 * soft-fp/divtf3.c: Likewise.
10393 * soft-fp/double.h: Likewise.
10394 * soft-fp/eqdf2.c: Likewise.
10395 * soft-fp/eqsf2.c: Likewise.
10396 * soft-fp/eqtf2.c: Likewise.
10397 * soft-fp/extenddftf2.c: Likewise.
10398 * soft-fp/extended.h: Likewise.
10399 * soft-fp/extendsfdf2.c: Likewise.
10400 * soft-fp/extendsftf2.c: Likewise.
10401 * soft-fp/extendxftf2.c: Likewise.
10402 * soft-fp/fixdfdi.c: Likewise.
10403 * soft-fp/fixdfsi.c: Likewise.
10404 * soft-fp/fixdfti.c: Likewise.
10405 * soft-fp/fixsfdi.c: Likewise.
10406 * soft-fp/fixsfsi.c: Likewise.
10407 * soft-fp/fixsfti.c: Likewise.
10408 * soft-fp/fixtfdi.c: Likewise.
10409 * soft-fp/fixtfsi.c: Likewise.
10410 * soft-fp/fixtfti.c: Likewise.
10411 * soft-fp/fixunsdfdi.c: Likewise.
10412 * soft-fp/fixunsdfsi.c: Likewise.
10413 * soft-fp/fixunsdfti.c: Likewise.
10414 * soft-fp/fixunssfdi.c: Likewise.
10415 * soft-fp/fixunssfsi.c: Likewise.
10416 * soft-fp/fixunssfti.c: Likewise.
10417 * soft-fp/fixunstfdi.c: Likewise.
10418 * soft-fp/fixunstfsi.c: Likewise.
10419 * soft-fp/fixunstfti.c: Likewise.
10420 * soft-fp/floatdidf.c: Likewise.
10421 * soft-fp/floatdisf.c: Likewise.
10422 * soft-fp/floatditf.c: Likewise.
10423 * soft-fp/floatsidf.c: Likewise.
10424 * soft-fp/floatsisf.c: Likewise.
10425 * soft-fp/floatsitf.c: Likewise.
10426 * soft-fp/floattidf.c: Likewise.
10427 * soft-fp/floattisf.c: Likewise.
10428 * soft-fp/floattitf.c: Likewise.
10429 * soft-fp/floatundidf.c: Likewise.
10430 * soft-fp/floatundisf.c: Likewise.
10431 * soft-fp/floatunditf.c: Likewise.
10432 * soft-fp/floatunsidf.c: Likewise.
10433 * soft-fp/floatunsisf.c: Likewise.
10434 * soft-fp/floatunsitf.c: Likewise.
10435 * soft-fp/floatuntidf.c: Likewise.
10436 * soft-fp/floatuntisf.c: Likewise.
10437 * soft-fp/floatuntitf.c: Likewise.
10438 * soft-fp/fmadf4.c: Likewise.
10439 * soft-fp/fmasf4.c: Likewise.
10440 * soft-fp/fmatf4.c: Likewise.
10441 * soft-fp/gedf2.c: Likewise.
10442 * soft-fp/gesf2.c: Likewise.
10443 * soft-fp/getf2.c: Likewise.
10444 * soft-fp/ledf2.c: Likewise.
10445 * soft-fp/lesf2.c: Likewise.
10446 * soft-fp/letf2.c: Likewise.
10447 * soft-fp/muldf3.c: Likewise.
10448 * soft-fp/mulsf3.c: Likewise.
10449 * soft-fp/multf3.c: Likewise.
10450 * soft-fp/negdf2.c: Likewise.
10451 * soft-fp/negsf2.c: Likewise.
10452 * soft-fp/negtf2.c: Likewise.
10453 * soft-fp/op-1.h: Likewise.
10454 * soft-fp/op-2.h: Likewise.
10455 * soft-fp/op-4.h: Likewise.
10456 * soft-fp/op-8.h: Likewise.
10457 * soft-fp/op-common.h: Likewise.
10458 * soft-fp/quad.h: Likewise.
10459 * soft-fp/single.h: Likewise.
10460 * soft-fp/soft-fp.h: Likewise.
10461 * soft-fp/sqrtdf2.c: Likewise.
10462 * soft-fp/sqrtsf2.c: Likewise.
10463 * soft-fp/sqrttf2.c: Likewise.
10464 * soft-fp/subdf3.c: Likewise.
10465 * soft-fp/subsf3.c: Likewise.
10466 * soft-fp/subtf3.c: Likewise.
10467 * soft-fp/truncdfsf2.c: Likewise.
10468 * soft-fp/trunctfdf2.c: Likewise.
10469 * soft-fp/trunctfsf2.c: Likewise.
10470 * soft-fp/trunctfxf2.c: Likewise.
10471 * soft-fp/unorddf2.c: Likewise.
10472 * soft-fp/unordsf2.c: Likewise.
10473 * soft-fp/unordtf2.c: Likewise.
10474
9ebb0332
JM
104752013-10-15 Joseph Myers <joseph@codesourcery.com>
10476
10477 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10478 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10479
4b1a6d8b
OB
104802013-10-15 Ondřej Bílka <neleai@seznam.cz>
10481
10482 * elf/dl-libc.c: Clear initfini list after freeing.
10483
1e145589
JM
104842013-10-14 Joseph Myers <joseph@codesourcery.com>
10485
10486 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10487 * soft-fp/addsf3.c: Likewise.
10488 * soft-fp/addtf3.c: Likewise.
10489 * soft-fp/divdf3.c: Likewise.
10490 * soft-fp/divsf3.c: Likewise.
10491 * soft-fp/divtf3.c: Likewise.
10492 * soft-fp/double.h: Likewise.
10493 * soft-fp/eqdf2.c: Likewise.
10494 * soft-fp/eqsf2.c: Likewise.
10495 * soft-fp/eqtf2.c: Likewise.
10496 * soft-fp/extenddftf2.c: Likewise.
10497 * soft-fp/extended.h: Likewise.
10498 * soft-fp/extendsfdf2.c: Likewise.
10499 * soft-fp/extendsftf2.c: Likewise.
10500 * soft-fp/extendxftf2.c: Likewise.
10501 * soft-fp/fixdfdi.c: Likewise.
10502 * soft-fp/fixdfsi.c: Likewise.
10503 * soft-fp/fixdfti.c: Likewise.
10504 * soft-fp/fixsfdi.c: Likewise.
10505 * soft-fp/fixsfsi.c: Likewise.
10506 * soft-fp/fixsfti.c: Likewise.
10507 * soft-fp/fixtfdi.c: Likewise.
10508 * soft-fp/fixtfsi.c: Likewise.
10509 * soft-fp/fixtfti.c: Likewise.
10510 * soft-fp/fixunsdfdi.c: Likewise.
10511 * soft-fp/fixunsdfsi.c: Likewise.
10512 * soft-fp/fixunsdfti.c: Likewise.
10513 * soft-fp/fixunssfdi.c: Likewise.
10514 * soft-fp/fixunssfsi.c: Likewise.
10515 * soft-fp/fixunssfti.c: Likewise.
10516 * soft-fp/fixunstfdi.c: Likewise.
10517 * soft-fp/fixunstfsi.c: Likewise.
10518 * soft-fp/fixunstfti.c: Likewise.
10519 * soft-fp/floatdidf.c: Likewise.
10520 * soft-fp/floatdisf.c: Likewise.
10521 * soft-fp/floatditf.c: Likewise.
10522 * soft-fp/floatsidf.c: Likewise.
10523 * soft-fp/floatsisf.c: Likewise.
10524 * soft-fp/floatsitf.c: Likewise.
10525 * soft-fp/floattidf.c: Likewise.
10526 * soft-fp/floattisf.c: Likewise.
10527 * soft-fp/floattitf.c: Likewise.
10528 * soft-fp/floatundidf.c: Likewise.
10529 * soft-fp/floatundisf.c: Likewise.
10530 * soft-fp/floatunsidf.c: Likewise.
10531 * soft-fp/floatunsisf.c: Likewise.
10532 * soft-fp/floatuntidf.c: Likewise.
10533 * soft-fp/floatuntisf.c: Likewise.
10534 * soft-fp/floatuntitf.c: Likewise.
10535 * soft-fp/fmadf4.c: Likewise.
10536 * soft-fp/fmasf4.c: Likewise.
10537 * soft-fp/fmatf4.c: Likewise.
10538 * soft-fp/gedf2.c: Likewise.
10539 * soft-fp/gesf2.c: Likewise.
10540 * soft-fp/getf2.c: Likewise.
10541 * soft-fp/ledf2.c: Likewise.
10542 * soft-fp/lesf2.c: Likewise.
10543 * soft-fp/letf2.c: Likewise.
10544 * soft-fp/muldf3.c: Likewise.
10545 * soft-fp/mulsf3.c: Likewise.
10546 * soft-fp/multf3.c: Likewise.
10547 * soft-fp/negdf2.c: Likewise.
10548 * soft-fp/negsf2.c: Likewise.
10549 * soft-fp/negtf2.c: Likewise.
10550 * soft-fp/op-1.h: Likewise.
10551 * soft-fp/op-2.h: Likewise.
10552 * soft-fp/op-4.h: Likewise.
10553 * soft-fp/op-8.h: Likewise.
10554 * soft-fp/op-common.h: Likewise.
10555 * soft-fp/quad.h: Likewise.
10556 * soft-fp/single.h: Likewise.
10557 * soft-fp/soft-fp.h: Likewise.
10558 * soft-fp/sqrtdf2.c: Likewise.
10559 * soft-fp/sqrtsf2.c: Likewise.
10560 * soft-fp/sqrttf2.c: Likewise.
10561 * soft-fp/subdf3.c: Likewise.
10562 * soft-fp/subsf3.c: Likewise.
10563 * soft-fp/subtf3.c: Likewise.
10564 * soft-fp/truncdfsf2.c: Likewise.
10565 * soft-fp/trunctfdf2.c: Likewise.
10566 * soft-fp/trunctfsf2.c: Likewise.
10567 * soft-fp/trunctfxf2.c: Likewise.
10568 * soft-fp/unorddf2.c: Likewise.
10569 * soft-fp/unordsf2.c: Likewise.
10570 * soft-fp/unordtf2.c: Likewise.
10571
17c48a60
OB
105722013-10-14 Ondřej Bílka <neleai@seznam.cz>
10573
10574 [BZ #15672]
10575 * misc/error.c (error_tail): Fix possible buffer overflow.
10576
cabba934
OB
105772013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10578
10579 [BZ #13028]
10580 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10581 address.
10582
94bf958a
PM
105832013-10-14 P. J. McDermott <pj@pehjota.net>
10584
10585 [BZ #832]
10586 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10587 testing pipefail option.
10588
71b4dea7
JM
105892013-10-12 Joseph Myers <joseph@codesourcery.com>
10590
10591 * soft-fp/double.h: Indent preprocessor directives inside #if.
10592 * soft-fp/extended.h: Likewise.
10593 * soft-fp/op-2.h: Likewise.
10594 * soft-fp/op-4.h: Likewise.
10595 * soft-fp/op-common.h: Likewise.
10596 * soft-fp/quad.h: Likewise.
10597 * soft-fp/single.h: Likewise.
10598 * soft-fp/soft-fp.h: Likewise.
10599
55602758
YC
106002013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10601
10602 * iconv/iconv_prog.c: Fix typos.
10603 * stdio-common/psiginfo-data.h: Likewise.
10604
9cd83302
RT
106052013-10-12 Reuben Thomas <rrt@sc3d.org>
10606
10607 [BZ #15764]
10608 * locale/setlocale.c: Fix typo.
10609
99fd9f47
JM
106102013-10-12 Joseph Myers <joseph@codesourcery.com>
10611
b7ea74f0
JM
10612 [BZ #16036]
10613 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10614 signaling NaN arguments.
10615 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10616 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10617
8a509447
JM
10618 [BZ #14910]
10619 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10620 unordered operands.
10621 * soft-fp/gesf2.c (__gesf2): Likewise.
10622 * soft-fp/getf2.c (__getf2): Likewise.
10623 * soft-fp/ledf2.c (__ledf2): Likewise.
10624 * soft-fp/lesf2.c (__lesf2): Likewise.
10625 * soft-fp/letf2.c (__letf2): Likewise.
10626
98998e9f
JM
10627 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10628 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10629 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10630 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10631 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10632 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10633 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10634 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10635 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10636 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10637 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10638 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10639 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10640 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10641 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10642 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10643 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10644 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10645 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10646 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10647 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10648 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10649 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10650 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10651 * soft-fp/floattidf.c (__floattidf): Likewise.
10652 * soft-fp/floattisf.c (__floattisf): Likewise.
10653 * soft-fp/floattitf.c (__floattitf): Likewise.
10654 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10655 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10656 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10657 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10658 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10659 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10660 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10661 * soft-fp/gesf2.c (__gesf2): Likewise.
10662 * soft-fp/getf2.c (__getf2): Likewise.
10663 * soft-fp/ledf2.c (__ledf2): Likewise.
10664 * soft-fp/lesf2.c (__lesf2): Likewise.
10665 * soft-fp/letf2.c (__letf2): Likewise.
10666
8edc4a11
JM
10667 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10668 Undefine and redefine.
10669 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10670 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10671 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10672 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10673 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10674 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10675 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10676 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10677 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10678 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10679 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10680 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10681 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10682 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10683 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10684
8399acaf
JM
10685 [BZ #16032]
10686 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10687 without decrementing exponent if mantissa >= that for the
10688 denominator, not >.
10689 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10690 denominator, not >. Decrement exponent in < case instead of
10691 incrementing in >= case.
10692 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10693 without decrementing exponent if mantissa >= that for the
10694 denominator, not >.
10695
99fd9f47
JM
10696 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10697 computing saturated result for unsigned overflow.
10698
10e1cf6b
SP
106992013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10700 Jeff Law <law@redhat.com>
10701
10702 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10703 (atan2Mp): Add systemtap probe marker.
10704 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10705 (__ieee754_log): Add systemtap probe marker.
10706 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10707 (atanMp): Add systemtap probe marker.
10708 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10709 (tanMp): Add systemtap probe marker.
10710 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10711 (__slowexp): Add systemtap probe marker.
10712 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10713 (__slowpow): Add systemtap probe marker.
10714 * manual/probes.texi: Document probes.
10715
3d110c7c
EB
107162013-10-11 Eric Biggers <ebiggers3@gmail.com>
10717
10718 [BZ #15362]
10719 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10720 written.
10721 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10722 written.
10723 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10724 written to buffer but not flushed.
10725 * libio/iofwrite_u.c: Likewise.
10726 * libio/iopadn.c: Return bytes returned even if EOF was
10727 encountered.
10728 * libio/iowpadn.c: Likewise.
10729 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10730 if _IO_padn does not write the whole buffer.
10731 [!COMPILE_WPRINTF] (PAD): Likewise.
10732
75b4202a
DM
107332013-10-10 David S. Miller <davem@davemloft.net>
10734
10735 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10736 directory block.
10737
6c6352e6
JM
107382013-10-10 Joseph Myers <joseph@codesourcery.com>
10739
33b853c3
JM
10740 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10741 instead of FSF address.
10742 * soft-fp/fixdfti.c: Likewise.
10743 * soft-fp/fixsfti.c: Likewise.
10744 * soft-fp/fixtfti.c: Likewise.
10745 * soft-fp/fixunsdfti.c: Likewise.
10746 * soft-fp/fixunssfti.c: Likewise.
10747 * soft-fp/fixunstfti.c: Likewise.
10748 * soft-fp/floattidf.c: Likewise.
10749 * soft-fp/floattisf.c: Likewise.
10750 * soft-fp/floattitf.c: Likewise.
10751 * soft-fp/floatuntidf.c: Likewise.
10752 * soft-fp/floatuntisf.c: Likewise.
10753 * soft-fp/floatuntitf.c: Likewise.
10754 * soft-fp/trunctfxf2.c: Likewise.
10755
6c6352e6
JM
10756 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10757 * soft-fp/fixdfti.c: Likewise.
10758 * soft-fp/fixsfti.c: Likewise.
10759 * soft-fp/fixtfti.c: Likewise.
10760 * soft-fp/fixunsdfti.c: Likewise.
10761 * soft-fp/fixunssfti.c: Likewise.
10762 * soft-fp/fixunstfti.c: Likewise.
10763 * soft-fp/floattidf.c: Likewise.
10764 * soft-fp/floattisf.c: Likewise.
10765 * soft-fp/floattitf.c: Likewise.
10766 * soft-fp/floatuntidf.c: Likewise.
10767 * soft-fp/floatuntisf.c: Likewise.
10768 * soft-fp/floatuntitf.c: Likewise.
10769 * soft-fp/trunctfxf2.c: Likewise.
10770
3bf78b71
DM
107712013-10-10 David S. Miller <davem@davemloft.net>
10772
10773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10774
6f10289e
JM
107752013-10-10 Joseph Myers <joseph@codsourcery.com>
10776
bd878fc0
JM
10777 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10778 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10779 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10780 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10781 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10782 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10783 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10784
6f10289e
JM
10785 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10786 for NaNs before doing comparisons on argument.
10787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10788 Likewise.
10789
321e2684
WN
107902013-10-10 Will Newton <will.newton@linaro.org>
10791
10792 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10793 passed to _int_memalign does not overflow.
10794
40fefba1
TR
107952013-10-10 Torvald Riegel <triegel@redhat.com>
10796
10797 * scripts/bench.pl: Add include-sources directive.
10798 * benchtests/README: Update documentation.
10799
2ae21ed2
JM
108002013-10-10 Joseph Myers <joseph@codesourcery.com>
10801
dcc2dd3f
JM
10802 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10803 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10804 instead of FP_INIT_ROUNDMODE.
10805 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10806 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10807
2ae21ed2
JM
10808 [BZ #16034]
10809 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10810 copy class of input value.
10811 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10812 not handle exceptions.
10813 * soft-fp/negsf2.c (__negsf2): Likewise.
10814 * soft-fp/negtf2.c (__negtf2): Likewise.
10815 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10816
cb8f9562
JM
108172013-10-09 Joseph Myers <joseph@codesourcery.com>
10818
10819 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10820 semicolon. From Linux kernel.
10821
5b60c59d
AB
108222013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10823
10824 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10825
b86835ca
YC
108262013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10827
10828 [BZ #156]
10829 * manual/socket.texi: Added statement about buffer
10830 for gethostbyname2_r.
10831
e7044ea7
OB
108322013-10-08 Ondřej Bílka <neleai@seznam.cz>
10833
10834 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10835 Use .p2align directive instead, throughout.
10836 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10837 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10838 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10839 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10840 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10841 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10842 * sysdeps/x86_64/strchr.S: Likewise.
10843 * sysdeps/x86_64/strrchr.S: Likewise.
10844
09544cbc
SP
108452013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10846
88576635
SP
10847 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10848
e7b2d1dd
SP
10849 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10850
09544cbc
SP
10851 * sysdeps/generic/math_private.h (__mpsin1): Remove
10852 declaration.
10853 (__mpcos1): Likewise.
10854 (__mpsin): New argument __range_reduce.
10855 (__mpcos): Likewise.
10856 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10857 (slow): Use __mpsin and __mpcos.
10858 (slow1): Likewise.
10859 (slow2): Likewise.
10860 (sloww): Likewise.
10861 (sloww1): Likewise.
10862 (sloww2): Likewise.
10863 (bsloww): Likewise.
10864 (bsloww1): Likewise.
10865 (bsloww2): Likewise.
10866 (cslow2): Likewise.
10867 (csloww): Likewise.
10868 (csloww1): Likewise.
10869 (csloww2): Likewise.
10870 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10871 range_reduce. Merge in __mpsin1.
10872 (__mpcos): Likewise.
10873 (__mpsin1): Remove.
10874 (__mpcos1): Likewise.
10875
7602d070
JM
108762013-10-07 Joseph Myers <joseph@codesourcery.com>
10877
10878 * locale/loadlocale.c (_nl_intern_locale_data): Use
10879 LOCFILE_ALIGNED_P.
10880 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10881 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10882 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10883 obstack data is appropriately aligned.
10884 (obstack_int32_grow_fast): Likewise.
10885 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10886 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10887 (add_locale_uint32_array): Likewise.
10888
a357259b
SP
108892013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10890
10891 * benchtests/Makefile: Remove ARGLIST and RET variables.
10892 ($(objpfx)bench-%.c): Pass only function name to the script.
10893 * benchtests/README: Update documentation.
10894 * benchtests/acos-inputs: Add new directives.
10895 * benchtests/acosh-inputs: Likewise.
10896 * benchtests/asin-inputs: Likewise.
10897 * benchtests/asinh-inputs: Likewise.
10898 * benchtests/atan-inputs: Likewise.
10899 * benchtests/atanh-inputs: Likewise.
10900 * benchtests/cos-inputs: Likewise.
10901 * benchtests/cosh-inputs: Likewise.
10902 * benchtests/exp-inputs: Likewise.
10903 * benchtests/log-inputs: Likewise.
10904 * benchtests/pow-inputs: Likewise.
10905 * benchtests/rint-inputs: Likewise.
10906 * benchtests/sin-inputs: Likewise.
10907 * benchtests/sinh-inputs: Likewise.
10908 * benchtests/tan-inputs: Likewise.
10909 * benchtests/tanh-inputs: Likewise.
10910 * scripts/bench.pl: Add support for new directives.
10911
9ec1b13d
AM
109122013-10-07 Alan Modra <amodra@gmail.com>
10913
10914 * README: Fix careless merge.
10915
8b7d57cd
AM
109162013-10-05 Alan Modra <amodra@gmail.com>
10917
10918 * NEWS: Mention powerpc64le support and bugs fixed.
10919 * README: Both big-endian and little-endian powerpc64 supported.
10920
7b7bab13
ST
109212013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10922
57f41c40
AS
10923 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10924 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10925 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10926 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10927
d39baad1
RA
109282013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10929
10930 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10931 match prototype.
10932
cd78f7e7
JM
109332013-10-04 Joseph Myers <joseph@codesourcery.com>
10934
29d73d86
JM
10935 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10936 Move -mhard-float appending from
10937 ports/sysdeps/powerpc/powerpc32/Makefile.
10938 [$(with-fp) = yes] (ASFLAGS): Likewise.
10939 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10940 * sysdeps/powerpc/nofpu: Move directory from
10941 ports/sysdeps/powerpc/nofpu.
10942 * sysdeps/powerpc/soft-fp: Move directory from
10943 ports/sysdeps/powerpc/soft-fp.
10944 * sysdeps/powerpc/powerpc32/405: Move directory from
10945 ports/sysdeps/powerpc/powerpc32/405.
10946 * sysdeps/powerpc/powerpc32/440: Move directory from
10947 ports/sysdeps/powerpc/powerpc32/440.
10948 * sysdeps/powerpc/powerpc32/464: Move directory from
10949 ports/sysdeps/powerpc/powerpc32/464.
10950 * sysdeps/powerpc/powerpc32/476: Move directory from
10951 ports/sysdeps/powerpc/powerpc32/476.
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10953 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10955 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10957 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10959 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10961 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10962 * README: Update for powerpc-*-linux-gnu software floating point
10963 support in libc.
10964
e246b347
JM
10965 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10966 case to powerpc/powerpc32*.
10967 * sysdeps/unix/sysv/linux/configure: Regenerated.
10968
89c2003e
JM
10969 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10970 (_FPU_MASK_OM): Define as 0x04.
10971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10973 0x00c10080.
10974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10975 0x0000003c.
10976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10977
cd78f7e7
JM
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10979 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10980 getcontext_e500.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10982 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10983 setcontext_e500.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10985 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10986 and setcontext_e500.
10987
c755294d
CL
109882013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10989
10990 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10991
e16d221c
SP
109922013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10993
10994 * manual/threads.texi (Default Thread Attributes): Fix typo.
10995
215c7d43
WN
109962013-10-04 Will Newton <will.newton@linaro.org>
10997
10998 * malloc/Makefile: Add tst-memalign.
10999 * malloc/tst-memalign.c: New file.
11000
27d0461b
WN
11001 * malloc/tst-posix_memalign.c: Add comments.
11002 (do_test): Add comments and call free on all potentially
11003 allocated pointers. Add space after cast.
11004
1bc92709
WN
11005 * malloc/tst-pvalloc.c: Add comments.
11006 (do_test): Add comments and call free on all potentially
11007 allocated pointers. Remove duplicate check for NULL pointer.
11008 Add space after cast.
11009
66a9be9d
WN
11010 * malloc/tst-valloc.c: Add comments.
11011 (do_test): Add comments and call free on all potentially
11012 allocated pointers. Remove duplicate check for NULL pointer.
11013 Add space after cast.
11014
4cb81307
AM
110152013-10-04 Alan Modra <amodra@gmail.com>
11016
11017 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11018 Use stdint types in rather than __attribute__((mode())).
11019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11020
f8e3e9f3
AM
110212013-10-04 Alan Modra <amodra@gmail.com>
11022
11023 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11024 Correct handling of unaligned relocs for little-endian.
11025 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11026
8f9ebb08
AM
110272013-10-04 Alan Modra <amodra@gmail.com>
11028
11029 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11030 * configure: Regenerate.
11031 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11032 * shlib-versions: Likewise.
11033
0edf96c2
AM
110342013-10-04 Alan Modra <amodra@gmail.com>
11035
11036 * string/tester.c (test_memrchr): Increment reported test cycle.
11037
e0f7a380
AM
110382013-10-04 Alan Modra <amodra@gmail.com>
11039
11040 * string/test-memcpy.c (do_one_test): When reporting errors, print
11041 string address and don't overrun end of string.
11042
466b0393
AM
110432013-10-04 Alan Modra <amodra@gmail.com>
11044
11045 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11046 insrdi. Make better use of reg selection to speed exit slightly.
11047 Schedule entry path a little better. Remove useless "are we done"
11048 checks on entry to main loop. Handle wrapping around zero address.
11049 Correct main loop count. Handle single left-over word from main
11050 loop inline rather than by using loop_small. Remove extra word
11051 case in loop_small caused by wrong loop count. Add little-endian
11052 support.
11053 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11054 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11055 cache hint.
11056 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11057 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11058 support. Avoid rlwimi.
11059 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11060
3be87c77
AM
110612013-10-04 Alan Modra <amodra@gmail.com>
11062
11063 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11064 insrdi. Formatting.
3be87c77
AM
11065 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11066 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11067 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11068 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11069 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11070 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11071
759cfef3
AM
110722013-10-04 Alan Modra <amodra@gmail.com>
11073
11074 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11075 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11076 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11077 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11078 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11079 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11080 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11081 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11082 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11083 use of regs. Use power7 mtocrf. Tidy function tails.
11084
fe6e95d7
AM
110852013-10-04 Alan Modra <amodra@gmail.com>
11086
11087 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11088 Formatting. Consistently use rXXX register defines or rN defines.
11089 Use early exit labels that avoid restoring unused non-volatile regs.
11090 Make cr field use more consistent with rWORDn compares. Rename
11091 regs used as shift registers for unaligned loop, using rN defines
11092 for short lifetime/multiple use regs.
11093 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11094 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11095 addi 1,1,64 to pop stack frame. Simplify return value code.
11096 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11097
664318c3
AM
110982013-10-04 Alan Modra <amodra@gmail.com>
11099
11100 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11101 support. Correct typos, formatting. Optimize tail. Use insrdi
11102 rather than rlwimi.
11103 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11104 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11105 little-endian support. Correct typos.
11106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11107 rather than rlwimi.
11108 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11109 in loop and entry code to keep "and." results.
11110 (strchr): Add little-endian support. Comment. Move cntlzd
11111 earlier in tail.
11112 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11113
43b84013
AM
111142013-10-04 Alan Modra <amodra@gmail.com>
11115
11116 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11117 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11118 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11119 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11120
8a7413f9
AM
111212013-10-04 Alan Modra <amodra@gmail.com>
11122
11123 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11124 (rTMP): Define as r11.
11125 (strcmp): Add little-endian support. Optimise tail.
11126 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11127 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11128 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11129 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11130 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11131 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11133
33ee81de
AM
111342013-10-04 Alan Modra <amodra@gmail.com>
11135
11136 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11137 little-endian support. Remove unnecessary "are we done" tests.
11138 Handle "s" wrapping around zero and extremely large "size".
11139 Correct main loop count. Handle single left-over word from main
11140 loop inline rather than by using small_loop. Correct comments.
11141 Delete "zero" tail, use "end_max" instead.
11142 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11143
db9b4570
AM
111442013-10-04 Alan Modra <amodra@gmail.com>
11145
11146 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11147 support. Don't branch over align.
11148 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11149 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11150 support. Rearrange tmp reg use to suit. Comment.
11151 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11152
f7c399cf
AM
111532013-10-04 Alan Modra <amodra@gmail.com>
11154
11155 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11156
0b2c2ace
AM
111572013-10-04 Alan Modra <amodra@gmail.com>
11158
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11160 conditional form of branch and link when obtaining pc.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11162
02f04a6c
AM
111632013-10-04 Alan Modra <amodra@gmail.com>
11164
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11166 HIWORD/LOWORD.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11169
9b874b2f
AM
111702013-10-04 Alan Modra <amodra@gmail.com>
11171
11172 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11173 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11174 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11175 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11176 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11177 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11178 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11179 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11180 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11181 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11182
be1e5d31
AB
111832013-10-04 Anton Blanchard <anton@au1.ibm.com>
11184 Alistair Popple <alistair@ozlabs.au.ibm.com>
11185 Alan Modra <amodra@gmail.com>
11186
11187 [BZ #15723]
11188 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11189 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11190 _dl_hwcap access for little-endian.
11191 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11192 destroy vmx regs when saving unaligned.
11193 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11194 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11195 destroy vmx regs when saving unaligned.
11196
fef13a78
AM
111972013-10-04 Alan Modra <amodra@gmail.com>
11198
11199 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11200 Don't use a union to pack hi/low value.
11201
76a66d51
AB
112022013-10-04 Anton Blanchard <anton@au1.ibm.com>
11203
11204 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11205 for little-endian.
11206 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11207 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11208 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11209 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11210 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11211
6a31fe7f
AM
112122013-10-04 Alan Modra <amodra@gmail.com>
11213
11214 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11215 constants to usual value for .cst8 section, and remove redundant
11216 high address load.
11217 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11218 constant for 0x1p52. Load little-endian words of double from
11219 correct stack offsets.
11220
7b88401f
AM
112212013-10-04 Alan Modra <amodra@gmail.com>
11222
11223 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11224 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11225 words of double from correct stack offsets.
11226 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11227 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11228 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11229 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11230 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11231 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11232 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11233 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11234 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11235 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11236 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11237 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11238 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11239 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11240 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11241 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11242 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11243
9c008155
AM
112442013-10-04 Alan Modra <amodra@gmail.com>
11245
11246 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11247 64-bit int/double union.
11248 (_FPU_SETCW): Likewise.
11249 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11250 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11251
da13146d
AM
112522013-10-04 Alan Modra <amodra@gmail.com>
11253
11254 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11255 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11256
603e8410
AM
112572013-10-04 Alan Modra <amodra@gmail.com>
11258
11259 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11260 use vector int constants.
11261 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11262
4a28b3ca
AB
112632013-10-04 Anton Blanchard <anton@au1.ibm.com>
11264
11265 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11266 array with long long.
11267 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11268 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11269 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11270 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11271 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11272 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11273 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11274 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11275 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11276 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11277 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11278 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11279 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11280
2ca85d2b
AB
112812013-10-04 Anton Blanchard <anton@au1.ibm.com>
11282
11283 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11284 (__signbit): Likewise. Correct for little-endian.
11285 (__signbitl): Call __signbit.
11286 (lrint): Correct for little-endian.
11287 (lrintf): Call lrint.
11288
62a728ae
AM
112892013-10-04 Alan Modra <amodra@gmail.com>
11290
11291 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11292 union 32-bit int array member with 64-bit int array.
11293 (t515, tm256): Double rather than long double.
11294 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11295
32c301df
AM
112962013-10-04 Alan Modra <amodra@gmail.com>
11297
11298 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11299 Delete.
11300 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11301 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11302 version of math_ldbl.h.
11303
650ef4bd
AM
113042013-10-04 Alan Modra <amodra@gmail.com>
11305
11306 [BZ #15734], [BZ #15735]
11307 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11308 all uses of ieee875 long double macros and unions. Simplify test
11309 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11310 ldbl_extract_mantissa value for ix,iy exponents. Properly
11311 normalize after ldbl_extract_mantissa, and don't add hidden bit
11312 already handled. Don't treat low word of ieee854 mantissa like
11313 low word of IBM long double and mask off bit when testing for
11314 zero.
11315 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11316 all uses of ieee875 long double macros and unions. Simplify tests
11317 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11318 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11319 two1022, instead use their values. Recognise that tests for large
11320 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11321 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11322 Rewrite all uses of ieee875 long double macros and unions. Simplify
11323 test for 0.0L and nan. Correct negation.
11324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11325 ieee875 long double macros and unions. Correct output for large
11326 magnitude x. Correct absolute value calculation.
11327 (__erfcl): Likewise.
11328 * math/libm-test.inc: Add tests for errors discovered in IBM long
11329 double versions of fmodl, remainderl, erfl and erfcl.
11330
765714ca
AM
113312013-10-04 Alan Modra <amodra@gmail.com>
11332
11333 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11334 all uses of ieee854 long double macros and unions. Simplify tests
11335 for long doubles that are fully specified by the high double.
11336 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11337 Likewise.
11338 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11339 Remove dead code too.
11340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11341 (__ieee754_ynl): Likewise.
11342 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11343 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11344 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11345 Remove dead code too.
11346 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11350 Simplify.
11351 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11352 Simplify.
11353 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11356 Comment on variable precision.
11357 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11359 Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11364 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11365
4ebd120c
AM
113662013-10-04 Alan Modra <amodra@gmail.com>
11367
11368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11370 all uses of ieee854 long double macros and unions.
11371 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11377 Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11380 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11381 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11382 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11383 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11384 Simplify sign and nan test too.
11385 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11386 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11387 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11388 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11389 Likewise.
11390 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11391 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11392 Likewise.
11393 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11394 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11395 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11396 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11397 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11399
1b6adf88
AM
114002013-10-04 Alan Modra <amodra@gmail.com>
11401
11402 * stdio-common/printf_size.c (__printf_size): Don't use
11403 union ieee854_long_double in fpnum union.
11404 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11405 signbit macro to retrieve sign from long double.
11406 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11407 retrieve sign from long double.
11408 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11409 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11410 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11411 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11412 * math/test-misc.c (main): Don't use union ieee854_long_double.
11413
4cf69995
AM
114142013-10-04 Alan Modra <amodra@gmail.com>
11415
11416 [BZ #15680]
11417 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11418 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11419 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11420 calculation. Remove unnecessary test for denormal exponent.
11421 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11422 Correct handling of denormals. Avoid undefined shift behaviour.
11423 Correct normalisation of low mantissa when low double is denormal.
11424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11425 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11426 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11427 Correct normalisation of low mantissa. Test for overflow of high
11428 mantissa and normalise.
11429 (ldbl_nearbyint): Use more readable constant for two52.
11430 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11431 (__mpn_construct_long_double): Fix test for overflow of high
11432 mantissa and correct normalisation. Avoid undefined shift.
11433
9605ca6c
AM
114342013-10-04 Alan Modra <amodra@gmail.com>
11435
11436 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11437 (union ibm_extended_long_double): Define as an array of ieee754_double.
11438 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11439 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11440 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11441 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11445 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11447 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11448 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11449
975569d0
JM
114502013-10-03 Joseph Myers <joseph@codesourcery.com>
11451
d3d23756
JM
11452 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11453 page size instead of calling getpagesize.
11454
975569d0
JM
11455 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11456 (LOCFILE_ALIGN_MASK): Likewise.
11457 (LOCFILE_ALIGN_UP): Likewise.
11458 (LOCFILE_ALIGNED_P): Likewise.
11459 * locale/programs/ld-collate.c (collate_output): Use the new
11460 macros instead of __alignof__ (int32_t).
11461 * locale/weight.h (findidx): Likewise.
11462
b1fe1f2b
OB
114632013-10-03 Ondřej Bílka <neleai@seznam.cz>
11464
11465 [BZ #431]
11466 * manual/string.texi: Fix strncat and wcsncat.
11467
5f855e35
BM
114682013-10-03 Brooks Moses <bmoses@google.com>
11469
11470 [BZ #15915]
11471 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11472 * Makerules: ...here, and adjust associated comments.
11473
3cef6009
WN
114742013-10-02 Will Newton <will.newton@linaro.org>
11475
11476 * malloc/Makefile: Add tst-pvalloc.
11477 * malloc/tst-pvalloc.c: New file.
11478
7815420b
WN
114792013-10-02 Will Newton <will.newton@linaro.org>
11480
11481 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11482 improve test coverage.
11483
4868b204
WN
114842013-10-02 Will Newton <will.newton@linaro.org>
11485
11486 * malloc/Makefile: Add tst-posix_memalign.
11487 * malloc/tst-posix_memalign.c: New file.
11488
29c793b3
EB
114892013-10-01 Eric Blake <eblake@redhat.com>
11490
11491 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11492 Use __THROWNL rather than __THROW on static functions.
11493
fd967522
PM
114942013-09-30 Petr Machata <pmachata@redhat.com>
11495
11496 * elf/elf.h (R_AARCH64_ABS16): New macro.
11497 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11498 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11499 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11500 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11501 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11502 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11503 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11504 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11505 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11506 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11507 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11508 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11509 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11510 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11511 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11512 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11513 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11514 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11515 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11516 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11517 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11518 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11519 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11520 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11521 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11522 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11523 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11524 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11525 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11526 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11527 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11528 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11529 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11530 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11531 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11532 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11533 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11534 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11535 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11536 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11537 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11538 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11539 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11540 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11541 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11542 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11543 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11544 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11545 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11546 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11547 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11548 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11549 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11550 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11551 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11552 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11553 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11554 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11555 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11556 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11557 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11558 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11559 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11560 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11561 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11562 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11563 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11564 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11565 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11566 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11567 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11568 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11569 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11570 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11571 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11572 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11573 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11574 (R_AARCH64_TLSDESC_LDR): Likewise.
11575 (R_AARCH64_TLSDESC_ADD): Likewise.
11576 (R_AARCH64_TLSDESC_CALL): Likewise.
11577
b2179107
AS
115782013-09-30 Andreas Schwab <schwab@suse.de>
11579
11580 [BZ #15048]
11581 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11582 the nss database lookup.
11583 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11585
47f28d0a
MF
115862013-09-28 Mike Frysinger <vapier@gentoo.org>
11587
11588 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11589
115902013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11591
11592 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11593 ${Bash-specific parameter/pattern/string} parameter expansion.
11594 * sysdeps/unix/make-syscalls.sh: Likewise.
11595
f4518a17
KK
115962013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11597
11598 * sysdeps/sh/stackguard-macros.h: New file.
11599
dc1a95c7
OB
116002013-09-26 Ondřej Bílka <neleai@seznam.cz>
11601
11602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11603 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11604 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11605 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11606 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11607 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11608
5ebbff8f
AZ
116092013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11610
11611 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11612 Fix thread ID register.
11613
4fd2cf9f
JM
116142013-09-25 Joseph Myers <joseph@codesourcery.com>
11615
11616 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11617 [POSIX || UNIX98]: Require rather than permitting all symbols from
11618 <time.h>.
11619 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11620 element of struct sched_param.
11621 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11622 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11623 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11624 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11625 constant.
11626
12c22bc4
OL
116272013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11628
11629 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11630 argument calculation.
11631
a03d8ea7
JM
116322013-09-24 Joseph Myers <joseph@codesourcery.com>
11633
11634 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11635 Expect macro.
11636 [POSIX] (pthread_attr_t): Do not require type.
11637 [POSIX] (pthread_cond_t): Likewise.
11638 [POSIX] (pthread_condattr_t): Likewise.
11639 [POSIX] (pthread_key_t): Likewise.
11640 [POSIX] (pthread_mutex_t): Likewise.
11641 [POSIX] (pthread_mutexattr_t): Likewise.
11642 [POSIX] (pthread_once_t): Likewise.
11643 [POSIX] (pthread_t): Likewise.
11644 [POSIX-based standards] (pthread_atfork): Expect function.
11645
6055173a
JM
116462013-09-24 Joseph Myers <joseph@codesourcery.com>
11647 Richard Sandiford <richard@codesourcery.com>
11648
11649 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11650 (swap_endianness_p): New extern variable.
11651 (set_big_endian): New inline function.
11652 (maybe_swap_uint32): Likewise.
11653 (maybe_swap_uint32_array): Likewise.
11654 (maybe_swap_uint32_obstack): Likewise.
11655 * locale/programs/locfile.c: Include <stdbool.h>.
11656 (swap_endianness_p): New variable.
11657 (add_locale_uint32): Call maybe_swap_uint32.
11658 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11659 (write_locale_data): Call maybe_swap_uint32_array.
11660 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11661 maybe_swap_uint32.
11662 (obstack_int32_grow_fast): Likewise.
11663 (output_weightwc): Call maybe_swap_uint32_obstack.
11664 (collate_output): Likewise.
11665 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11666 (OPT_LITTLE_ENDIAN): Likewise.
11667 (options): Add --little-endian and --big-endian options.
11668 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11669 * locale/programs/locarchive.c: Include "locfile.h".
11670 (GET): New macro.
11671 (SET): Likewise.
11672 (INC): Likewise.
11673 (create_archive): Use the new macros to access fields of
11674 structures directly mapped from or written to locale archives.
11675 (oldlocrecentcmp): Likewise.
11676 (enlarge_archive): Likewise.
11677 (insert_name): Likewise.
11678 (add_alias): Likewise.
11679 (add_locale): Likewise.
11680 (delete_locales_from_archive): Likewise.
11681 (show_archive_content): Likewise.
11682 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11683 locale data.
11684
39bf0bb4
RM
116852013-09-24 Roland McGrath <roland@hack.frob.com>
11686
11687 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11688 http://www.gnu.org/doc/freemanuals.texi.
11689 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11690
f02eed10
WN
116912013-09-24 Will Newton <will.newton@linaro.org>
11692
11693 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11694 macro.
11695
a3a6c312
JM
116962013-09-23 Joseph Myers <joseph@codesourcery.com>
11697
11698 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11699 unsigned char.
11700
107375ac
MR
117012013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11702
11703 * manual/threads.texi (POSIX Threads): Fix a typo.
11704
141f3a77
SP
117052013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11706
303e567a
SP
11707 [BZ #14547]
11708 * string/tst-strcoll-overflow.c: New test case.
11709 * string/Makefile (xtests): Add tst-strcoll-overflow.
11710 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11711 cache if string sizes may cause integer overflow.
11712
141f3a77
SP
11713 [BZ #14547]
11714 * string/strcoll_l.c (coll_seq): New members rule, idx,
11715 save_idx and back_us.
11716 (get_next_seq_nocache): New function.
11717 (do_compare_nocache): New function.
11718 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11719 when malloc fails.
11720
c61b4d41
CD
117212013-09-23 Carlos O'Donell <carlos@redhat.com>
11722
0b1f8e35
CD
11723 [BZ #15754]
11724 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11725 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11726 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11727
c61b4d41
CD
11728 [BZ #15754]
11729 * elf/Makefile (tests): Add tst-ptrguard1.
11730 (tests-static): Add tst-ptrguard1-static.
11731 (tst-ptrguard1-ARGS): Define.
11732 (tst-ptrguard1-static-ARGS): Define.
11733 * elf/tst-ptrguard1.c: New file.
11734 * elf/tst-ptrguard1-static.c: New file.
11735 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11736 * sysdeps/i386/stackguard-macros.h: Likewise.
11737 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11738 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11739 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11740 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11741 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11742 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11743
117442013-09-23 Hector Marco <hecmargi@upv.es>
11745 Ismael Ripoll <iripoll@disca.upv.es>
11746 Carlos O'Donell <carlos@redhat.com>
11747
11748 [BZ #15754]
11749 * sysdeps/generic/stackguard-macros.h: Define
11750 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11751 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11752 Define __pointer_chk_guard_local.
11753 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11754 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11755
f5f4e7b4
VV
117562013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11757
11758 [BZ #15859]
11759 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11760
5bb43a43
AS
117612013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11762
11763 * include/string.h (__ffs): Declare as hidden.
11764 * string/ffs.c (__ffs): Define as hidden.
11765 * sysdeps/i386/ffs.c (__ffs): Likewise.
11766 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11767 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11768 * sysdeps/s390/ffs.c (__ffs): Likewise.
11769 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11770
3ea5be54
AO
117712013-09-20 Alexandre Oliva <aoliva@redhat.com>
11772
ffb89e53
AO
11773 * NEWS: Mention malloc probes.
11774
322dea08
AO
11775 * malloc/arena.c (new_heap): New memory_heap_new probe.
11776 (grow_heap): New memory_heap_more probe.
11777 (shrink_heap): New memory_heap_less probe.
11778 (heap_trim): New memory_heap_free probe.
11779 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11780 (systrim): New memory_sbrk_less probe.
11781 * manual/probes.texi: Document them.
11782
655673f3
AO
11783 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11784 * manual/probes.texi: Document it.
11785
35fed6f1
AO
11786 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11787 (__libc_realloc): Add memory_realloc_retry probe.
11788 (__libc_memalign): Add memory_memalign_retry probe.
11789 (__libc_valloc): Add memory_valloc_retry probe.
11790 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11791 (__libc_calloc): Add memory_calloc_retry probe.
11792 * manual/probes.texi: Document them.
11793
6999d38c
AO
11794 * malloc/arena.c (get_free_list): Add probe
11795 memory_arena_reuse_free_list.
11796 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11797 and memory_arena_reuse.
11798 (arena_get2) [!PER_THREAD]: Likewise.
11799 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11800 memory_arena_reuse_realloc.
11801 * manual/probes.texi: Document them.
11802
0653427f
AO
11803 * malloc/malloc.c (__libc_free): Add
11804 memory_mallopt_free_dyn_thresholds probe.
11805 (__libc_mallopt): Add multiple memory_mallopt probes.
11806 * manual/probes.texi: Document them.
11807
3ea5be54
AO
11808 * malloc/malloc.c: Include stap-probe.h.
11809 (__libc_mallopt): Add memory_mallopt probe.
11810 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11811 * manual/probes.texi: New.
11812 * manual/Makefile (chapters): Add probes.
11813 * manual/threads.texi: Set next node.
11814
e35696c3 118152013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11816
e35696c3
CL
11817 [BZ #15963, #13985]
11818 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11819 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11820 Add `Chinese' to `nan' entry name.
11821
4aafb73c
SP
118222013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11823
11824 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11825 (POLYNOMIAL): Likewise.
11826 (TAYLOR_SINCOS): Likewise.
11827 (TAYLOR_SLOW): Likewise.
11828 (__sin): Use TAYLOR_SINCOS.
11829 (__cos): Likewise.
11830 (slow): Use TAYLOR_SLOW.
11831 (sloww): Likewise.
11832 (bsloww): Likewise.
11833 (csloww): Likewise.
11834
d84f25c7
LD
118352013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11836
11837 * stdlib/strtod_l.c: Fix buffer overrun.
11838
5eea0404
SP
118392013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11840
7849ff93
SP
11841 * benchtests/Makefile (bench): Add sincos.
11842 * benchtests/bench-sincos.c: New file.
11843
cfa3c886
SP
11844 * math/libm-test.inc (cos_test_data): New test inputs.
11845 (sin_test_data): Likewise.
11846
b348e1e3
SP
11847 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11848 macro.
11849 (__sin): Use it.
11850 (__cos): Likewise.
11851 (slow1): Likewise.
11852 (slow2): Likewise.
11853 (sloww1): Likewise.
11854 (sloww2): Likewise.
11855 (bsloww1): Likewise.
11856 (bsloww2): Likewise.
11857 (cslow2): Likewise.
11858 (csloww1): Likewise.
11859 (csloww2): Likewise.
11860
6cce25f8
SP
11861 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11862 function.
11863 (__sin): Use it.
11864 (__cos): Likewise.
11865
5eea0404
SP
11866 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11867 gotos.
11868 (__cos): Likewise.
11869
9c21573c
MR
118702013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11871
11872 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11873 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11874 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11875 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11876 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11877 * elf/cache.c (print_entry): Handle the new cache flags.
11878
24d22e65
JM
118792013-09-18 Joseph Myers <joseph@codesourcery.com>
11880 Aldy Hernandez <aldyh@redhat.com>
11881
11882 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11883 Change condition to [_SOFT_FLOAT].
11884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11888 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11891 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11893 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11896 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11898 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11899 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11900 declaration.
11901
d13ef066
JM
119022013-09-18 Joseph Myers <joseph@codesourcery.com>
11903
2e071de0
JM
11904 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11905 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11906 (__longjmp): Use LOAD_GP to load saved GPRs.
11907 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11908 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11909 (__sigsetjmp): Use SAVE_GP to save GPRs.
11910
d13ef066
JM
11911 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11912 Do not append -msoft-float.
11913 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11914
97a0650b
SP
119152013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11916
11917 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11918
11ca09e9
JM
119192013-09-17 Joseph Myers <joseph@codesourcery.com>
11920
11921 [BZ #15966]
11922 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11923 (_FPU_GETCW): Use initial "__" on variable and field names but not
11924 on macro parameter name.
11925 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11926 parentheses around reference to macro parameter.
11927
08ffcf34
RS
119282013-09-13 Richard Sandiford <richard@codesourcery.com>
11929
11930 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11931 prototype.
11932 (ctype_startup): Use uint32_t in cast and sizeof for
11933 ctype->charnames.
11934
ae7080d3
JL
119352013-09-11 Jia Liu <proljc@gmail.com>
11936
11937 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11938 __daddr_t_defined.
11939 [__FreeBSD__]: Likewise.
11940
5905e7b3
OB
119412013-09-11 Ondřej Bílka <neleai@seznam.cz>
11942
11943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11944 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11945 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11946 (strchr): Remove __strchr_sse42 ifunc selection.
11947 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11948 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11949
b987c776
WN
119502013-09-11 Will Newton <will.newton@linaro.org>
11951
11952 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11953 parameter to RES. Remove hardcoded 1000 value.
11954 * benchtests/bench-skeleton.c (main): Pass RES parameter
11955 to TIMING_INIT and multiply result by 1000.
11956
ddf985af
AZ
119572013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11958
11959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11960
ffdd3181
AS
119612013-09-11 Andreas Schwab <schwab@suse.de>
11962
11963 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11964 if not defined.
11965 (O_TMPFILE) [__USE_GNU]: Define.
11966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11967 Define.
11968
b73ed247
WN
119692013-09-11 Will Newton <will.newton@linaro.org>
11970
11971 [BZ #15857]
11972 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11973 does not overflow.
11974
55e17aad
WN
119752013-09-11 Will Newton <will.newton@linaro.org>
11976
11977 [BZ #15856]
11978 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11979 does not overflow.
11980
1159a193
WN
119812013-09-11 Will Newton <will.newton@linaro.org>
11982
11983 [BZ #15855]
11984 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11985 does not overflow.
11986
5905e7b3 119872013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11988
11989 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11990 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11991 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11992 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11993 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11994
cdfc721b
AM
119952013-09-10 Allan McRae <allan@archlinux.org>
11996
aa04af00
AM
11997 [BZ #15748]
11998 * manual/arith.texi (Parsing of Floats): Clarify
11999 cross-reference.
12000
cdfc721b
AM
12001 [BZ #15849]
12002 * manual/install.texi (Running make install): Mention
12003 --enable-pt-chown.
12004 * INSTALL: Regenerated.
12005
95e7cf29
MR
120062013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12007
12008 * csu/init-first.c (_init): Remove the !SHARED condition around
12009 FPU control word initialization.
12010 * elf/dl-support.c (_dl_fpu_control): New variable.
12011 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12012 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12013 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12014 * math/test-fpucw-static.c: New file.
12015 * math/test-fpucw-ieee.c: New file.
12016 * math/test-fpucw-ieee-static.c: New file.
12017 * math/Makefile (tests): Add `test-fpucw-ieee' and
12018 `$(tests-static)'.
12019 (tests-static): New variable.
12020 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12021 dependency to...
12022 [($(build-shared),yes)]
12023 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12024 ... this.
12025 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12026 New dependency.
12027
83e43bf0
AM
120282013-09-09 Allan McRae <allan@archlinux.org>
12029
a9f5ce09
AM
12030 [BZ #15939]
12031 * manual/string.texi (Collation Functions): Fix typo in
12032 strcoll example.
12033 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12034
34829bc2
AM
12035 [BZ #15893]
12036 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12037
3932737d
AM
12038 [BZ #15892]
12039 * libio/memstream.c (open_memstream): Fix memory leak.
12040 * libio/wmemstream.c (open_wmemstream): Likewise.
12041
83e43bf0
AM
12042 [BZ #15895]
12043 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12044
0c66b8e9
WN
120452013-09-09 Will Newton <will.newton@linaro.org>
12046
12047 * malloc/Makefile: Add tst-realloc to tests.
12048 * malloc/tst-realloc.c: New file.
12049
f6b00fd1
AM
120502013-09-09 Allan McRae <allan@archlinux.org>
12051
12052 [BZ #15844]
12053 * COPYING: Update from GNU website to fix FSF address.
12054 * COPYING.LIB: Likewise.
12055
eec55e16
DM
120562013-09-06 David S. Miller <davem@davemloft.net>
12057
12058 * po/zh_TW.po: Update Chinese (traditional) translation from
12059 translation project.
12060
1ecbb381
RS
120612013-09-06 Richard Sandiford <richard@codesourcery.com>
12062 Joseph Myers <joseph@codesourcery.com>
12063
12064 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12065 "localeinfo.h".
12066 (obstack_chunk_alloc): New macro.
12067 (obstack_chunk_free): Likewise.
12068 (record_offset): New function.
12069 (init_locale_data): Likewise.
12070 (align_locale_data): Likewise.
12071 (add_locale_empty): Likewise.
12072 (add_locale_raw_data): Likewise.
12073 (add_locale_raw_obstack): Likewise.
12074 (add_locale_string): Likewise.
12075 (add_locale_wstring): Likewise.
12076 (add_locale_uint32): Likewise.
12077 (add_locale_uint32_array): Likewise.
12078 (add_locale_char): Likewise.
12079 (start_locale_structure): Likewise.
12080 (end_locale_structure): Likewise.
12081 (start_locale_prelude): Likewise.
12082 (end_locale_prelude): Likewise.
12083 (write_locale_data): Take locale_file structure rather than an
12084 iovec.
12085 * locale/programs/locfile.h: Include "obstack.h".
12086 (struct locale_file): Change to store locale file contents instead
12087 of header.
12088 (init_locale_data): New prototype.
12089 (align_locale_data): Likewise.
12090 (add_locale_empty): Likewise.
12091 (add_locale_raw_data): Likewise.
12092 (add_locale_raw_obstack): Likewise.
12093 (add_locale_string): Likewise.
12094 (add_locale_wstring): Likewise.
12095 (add_locale_uint32): Likewise.
12096 (add_locale_uint32_array): Likewise.
12097 (add_locale_char): Likewise.
12098 (start_locale_structure): Likewise.
12099 (end_locale_structure): Likewise.
12100 (start_locale_prelude): Likewise.
12101 (end_locale_prelude): Likewise.
12102 (write_locale_data): Update prototype.
12103 * locale/programs/3level.h (struct TABLE): Remove result field.
12104 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12105 Use new locale_file interface.
12106 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12107 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12108 * locale/programs/ld-address.c (address_output): Use new
12109 locale_file interface.
12110 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12111 NO_ADD_LOCALE.
12112 (collate_finish): Don't call collseq_table_finalize.
12113 (collate_output): Use new locale_file interface.
12114 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12115 in file.
12116 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12117 (TABLE): Move defines earlier in file.
12118 (ELEMENT): Likewise.
12119 (DEFAULT): Likewise.
12120 (wctrans_table_add): Move macro and inline function earlier in
12121 file.
12122 (struct wctype_table): Move type earlier in file.
12123 (add_locale_wctype_table): New static prototype.
12124 (struct locale_ctype_t): Use logical types instead of struct iovec
12125 pointers for members.
12126 (ctype_output): Use new locale_file interface.
12127 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12128 new locale_file interface.
12129 (allocate_arrays): Update for use of new locale_file interface.
12130 * locale/programs/ld-identification.c (identification_output): Use
12131 new locale_file interface.
12132 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12133 * locale/programs/ld-messages.c (messages_output): Likewise.
12134 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12135 * locale/programs/ld-name.c (name_output): Likewise.
12136 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12137 * locale/programs/ld-paper.c (paper_output): Likewise.
12138 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12139 * locale/programs/ld-time.c (time_output): Likewise.
12140
e029e2e5
AZ
121412013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12142
12143 * benchtests/Makefile: Add memrchr benchmark.
12144 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12145 benchmark as memrchr.
12146 * benchtests/bench-memrchr-ifunc.c: New file.
12147 * benchtests/bench-memrchr.c: New file.
12148
bbf6e8e4
WN
121492013-09-06 Will Newton <will.newton@linaro.org>
12150
12151 * benchtests/Makefile (string-bench): Add memcpy.
12152
6c82a2f8
CD
121532013-09-05 Carlos O'Donell <carlos@redhat.com>
12154 Cong Wang <amwang@redhat.com>
12155
e732c5f0 12156 [BZ #15850]
6c82a2f8
CD
12157 * sysdeps/unix/sysv/linux/bits/in.h
12158 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12159 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12160 before __USE_KERNEL_IPV6_DEFS uses.
12161 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12162 IPPROTO_BEETPH.
12163 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12164 sockaddr_in6, or ipv6_mreq.
12165
5430fc65
AZ
121662013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12167
12168 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12169 memory access for final bytes in some large inputs.
12170 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12171
4660856c
AZ
121722013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12173
12174 * string/test-memrchr.c: New file.
12175 * string/test-memrchr-ifunc.c: New file.
12176 * string/Makefile: Add new memrchr testcase.
12177
bb8ea713
MF
121782013-09-05 Mike Frysinger <vapier@gentoo.org>
12179
12180 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12181 fanotify_init returns EPERM.
12182
b92a20b5
JM
121832013-09-04 Joseph Myers <joseph@codesourcery.com>
12184
12185 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12186 errors.
12187 (top level): Treat second token from macro or constant entries for
12188 allowed headers as allowed.
12189 * include/complex.h: Condition internal declarations on
12190 [!_ISOMAC].
12191 * include/fenv.h: Condition include of <stdbool.h> and internal
12192 declarations on [!_ISOMAC].
7447ccd9
CL
12193
121942013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12195
3e181dda 12196 [BZ #15923]
7447ccd9
CL
12197 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12198
3f2e46a4
JM
121992013-09-04 Joseph Myers <joseph@codesourcery.com>
12200
12201 * configure.in (--enable-versioning): Remove configure option.
12202 (libc_cv_asm_symver_directive): Remove configure test.
12203 (libc_cv_ld_version_script_option): Likewise.
12204 (VERSIONING): Remove variable and AC_SUBST.
12205 (DO_VERSIONING): Remove AC_DEFINE.
12206 * configure: Regenerated.
12207 * config.h.in (DO_VERSIONING): Remove macro.
12208 * Makerules [$(versioning) = yes]: Change conditionals to
12209 [$(build-shared) = yes].
12210 * config.make.in (versioning): Remove variable.
12211 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12212 [$(build-shared) = yes].
12213 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12214 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12215 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12216 [$(build-shared) = yes].
12217 * extra-lib.mk [$(versioning) = yes]: Likewise.
12218 * hurd/Makefile [$(versioning) = yes]: Likewise.
12219 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12220 [SHARED].
12221 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12222 [SHARED].
12223 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12224 [SHARED && !NO_HIDDEN].
12225 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12226 [SHARED].
12227 [SHARED && DO_VERSIONING]: Likewise..
12228 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12229 [$(build-shared) = yes].
12230 * manual/install.texi (--disable-versioning): Remove
12231 documentation.
12232 * INSTALL: Regenerated.
12233 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12234 to [SHARED].
12235 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12236 [$(build-shared) = yes].
12237 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12238 * sysdeps/i386/i686/multiarch/strstr-c.c
12239 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12240 [SHARED && !NO_HIDDEN].
12241 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12242 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12243 * sysdeps/powerpc/powerpc32/dl-machine.c
12244 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12245 * sysdeps/powerpc/powerpc32/sysdep.h
12246 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12247 to [SHARED && PIC && !NO_HIDDEN].
12248 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12249 conditional to [SHARED].
12250
44558701
WN
122512013-09-04 Will Newton <will.newton@linaro.org>
12252
12253 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12254 * benchtests/bench-string.h: Include bench-timing.h instead
12255 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12256 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12257 call to HP_TIMING_DIFF_INIT.
12258 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12259 instead of hp-timing.h macros.
12260 * benchtests/bench-memchr.c: Likewise.
12261 * benchtests/bench-memcmp.c: Likewise.
12262 * benchtests/bench-memcpy.c: Likewise.
12263 * benchtests/bench-memmem.c: Likewise.
12264 * benchtests/bench-memmove.c: Likewise.
12265 * benchtests/bench-memset.c: Likewise.
12266 * benchtests/bench-rawmemchr.c: Likewise.
12267 * benchtests/bench-strcasecmp.c: Likewise.
12268 * benchtests/bench-strcasestr.c: Likewise.
12269 * benchtests/bench-strcat.c: Likewise.
12270 * benchtests/bench-strchr.c: Likewise.
12271 * benchtests/bench-strcmp.c: Likewise.
12272 * benchtests/bench-strcpy.c: Likewise.
12273 * benchtests/bench-strcpy_chk.c: Likewise.
12274 * benchtests/bench-strlen.c: Likewise.
12275 * benchtests/bench-strncasecmp.c: Likewise.
12276 * benchtests/bench-strncat.c: Likewise.
12277 * benchtests/bench-strncmp.c: Likewise.
12278 * benchtests/bench-strncpy.c: Likewise.
12279 * benchtests/bench-strnlen.c: Likewise.
12280 * benchtests/bench-strpbrk.c: Likewise.
12281 * benchtests/bench-strrchr.c: Likewise.
12282 * benchtests/bench-strspn.c: Likewise.
12283 * benchtests/bench-strstr.c: Likewise.
12284
cae16d66
WN
122852013-09-04 Will Newton <will.newton@linaro.org>
12286
12287 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12288
ffa3cd7f
JM
122892013-09-03 Joseph Myers <joseph@codesourcery.com>
12290
12291 [BZ #15427]
12292 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12293 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12294 * math/libm-test.inc (lgamma_test_data): Add more tests.
12295 * sysdeps/i386/fpu/libm-test-ulps: Update.
12296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12297
8f02859f
OB
122982013-09-03 Ondřej Bílka <neleai@seznam.cz>
12299
12300 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12302 Add ifunc.
12303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12304 Add strcmp-sse2-unaligned
12305 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12306
18d43716
MF
123072013-09-02 Mike Frysinger <vapier@gentoo.org>
12308
12309 * Versions.def (libc): Add GLIBC_2.19.
12310
ac444012
MF
123112013-09-02 Mike Frysinger <vapier@gentoo.org>
12312
12313 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12314 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12315
b7835e32
JM
123162013-09-02 Joseph Myers <joseph@codesourcery.com>
12317
12318 [BZ #14155]
12319 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12320 intermediate calculations in recurrence.
12321 (__ieee754_ynf): Likewise.
12322 * math/libm-test.inc (jn_test_data): Do not allow spurious
12323 underflow exception. Add more tests.
12324 (yn_test_data): Add more tests.
12325 * sysdeps/i386/fpu/libm-test-ulps: Update.
12326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12327
8220f4f0
OB
123282013-09-02 Ondřej Bílka <neleai@seznam.cz>
12329
12330 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12331
f24a6d08
OB
123322013-08-30 Ondřej Bílka <neleai@seznam.cz>
12333
12334 * csu/init-first.c: Fix then/than typos.
12335 * locale/programs/ld-collate.c: Likewise.
12336 * locale/programs/linereader.h: Likewise.
12337 * manual/charset.texi: Likewise.
12338 * manual/filesys.texi: Likewise.
12339 * manual/stdio.texi: Likewise.
12340 * manual/string.texi: Likewise.
12341 * stdlib/fmtmsg.c: Likewise.
12342 * sysdeps/i386/stpncpy.S: Likewise.
12343 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12344 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12345 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12346 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12347
382466e0
OB
123482013-08-30 Ondřej Bílka <neleai@seznam.cz>
12349
12350 * elf/dl-open.c: Fix typos.
12351 * iconvdata/gbbig5.c: Likewise.
12352 * iconvdata/iso-2022-jp.c: Likewise.
12353 * iconv/gconv_int.h: Likewise.
12354 * iconv/loop.c: Likewise.
12355 * nis/rpcsvc/nis.h: Likewise.
12356 * resolv/ns_name.c: Likewise.
12357 * stdio-common/vfscanf.c: Likewise.
12358 * streams/stropts.h: Likewise.
12359 * sunrpc/rpc_thread.c: Likewise.
12360 * sysdeps/i386/strpbrk.S: Likewise.
12361 * sysdeps/ieee754/k_standard.c: Likewise.
12362 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12364 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12365 * sysdeps/mach/hurd/profil.c: Likewise.
12366 * sysdeps/s390/dl-procinfo.h: Likewise.
12367 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12368 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12369 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12370 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12371 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12372
0186c6e9
OB
123732013-08-30 Ondřej Bílka <neleai@seznam.cz>
12374
12375 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12377
d4e16af1
OB
123782013-08-29 Ondřej Bílka <neleai@seznam.cz>
12379
12380 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12381 aix specific files.
12382 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12383 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12384 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12385 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12386 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12387 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12388 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12389 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12390
88335980
TS
123912013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12392 Roland McGrath <roland@hack.frob.com>
12393
12394 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12395 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12396
ed479b02
ST
123972013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12398
12399 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12400 __executable_start symbol instead of _start.
12401
f1cc4c86
TS
124022013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12403
d821f07c
TS
12404 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12405 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12406 Move macros to...
12407 * sysdeps/gnu/ldsodefs.h: ... this new file.
12408
c54290cf
TS
12409 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12410 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12411 instead of ELFOSABI_LINUX.
12412
0007fc9b 12413 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12414 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12415 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12416 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12417 Likewise.
12418 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12419 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12420 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12421 Likewise.
12422 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12423 (ibm_extended_long_double): Add ieee_nan member.
12424 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12425 (do_test): New function.
12426
f1cc4c86
TS
12427 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12428 TEST_TRUNC.
12429 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12430 functions, renamed from truncdfsf_test, trunctfsf_test,
12431 trunctfdf_test.
12432 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12433 functions.
12434 (do_test): Run all these.
12435
6f65e668
OB
124362013-08-29 Ondřej Bílka <neleai@seznam.cz>
12437
12438 * argp/argp-help.c: Fix typos.
12439 * argp/argp-parse.c: Likewise.
12440 * debug/backtracesyms.c: Likewise.
12441 * elf/elf.h: Likewise.
12442 * malloc/malloc.c: Likewise.
12443 * nis/nis_print.c: Likewise.
12444 * resolv/res_comp.c: Likewise.
12445 * stdlib/stdlib.h: Likewise.
12446 * sunrpc/clnt_tcp.c: Likewise.
12447 * sunrpc/clnt_udp.c: Likewise.
12448 * sunrpc/clnt_unix.c: Likewise.
12449 * sysdeps/unix/bsd/ptsname.c: Likewise.
12450 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12451 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12453 Likewise.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12455 Likewise.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12457 Likewise.
6f65e668
OB
12458 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12459
3a309239
SP
124602013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12461
12462 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12464
3b813b29
MF
124652013-08-27 Mike Frysinger <vapier@gentoo.org>
12466
12467 [BZ #15897]
12468 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12469 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12470 ($(objpfx)bug-dl-leaf): New rule.
12471 ($(objpfx)bug-dl-leaf.so): Likewise.
12472 ($(objpfx)bug-dl-leaf.out): Likewise.
12473 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12474 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12475 * dlfcn/bug-dl-leaf.c: New test.
12476 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12477 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12478 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12479 (dlclose): Likewise.
12480 (dlmopen): Likewise.
12481
8cc3269f
RM
124822013-08-27 Roland McGrath <roland@hack.frob.com>
12483
7f9d0034
RM
12484 * include/netdb.h [!_ISOMAC]:
12485 Don't include <tls.h>.
12486 (h_errno, __libc_h_errno): Move declaration and macros out of
12487 [_LIBC_REENTRANT].
12488
fb431262
RM
12489 * include/resolv.h [_RESOLV_H_]:
12490 Don't include <tls.h>.
12491 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12492 * resolv/res_libc.c: Don't include <tls.h>.
12493 (_res): Use __attribute__ ((nocommon)) in place of
12494 __attribute__ ((section (".bss"))).
12495
bd81123a
RM
12496 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12497 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12498
c4e42566
RM
12499 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12500
f890a59b
RM
12501 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12502 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12503
12504 * resolv/res_mkquery.c: Include <sys/time.h>.
12505
5d1f0a09
RM
12506 * inet/ifreq.c: Moved to ...
12507 * sysdeps/unix/ifreq.c: ... here.
12508 * inet/ifreq.c: New file, true stub version.
12509
6fcf28b3
RM
12510 * socket/sa_len.c: New file.
12511 * socket/Makefile (aux): Add it.
12512 * sysdeps/unix/sysv/linux/Makefile
12513 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12514 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12515 and #include <socket/sa_len.c>.
12516 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12517 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12518
e041fb8b
RM
12519 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12520 * bits/socket.h: ... here.
12521
8cc3269f
RM
12522 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12523 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12524 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12525
5d228a43
AS
125262013-08-27 Andreas Schwab <schwab@suse.de>
12527
45b8accc
AS
12528 [BZ #15736]
12529 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12530 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12531 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12532 * string/test-strcasecmp.c (test_main): Run tests in several
12533 locales.
12534 * string/test-strncasecmp.c (test_main): Likewise.
12535
5d228a43
AS
12536 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12537 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12538 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12540 (__strncasecmp_ssse3) [PIC]: Likewise.
12541
59d112a4
RM
125422013-08-26 Roland McGrath <roland@hack.frob.com>
12543
53234cc3
RM
12544 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12545
59d112a4
RM
12546 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12547 instead of explicitly declaring xdecrypt.
12548 * nis/nss_nis/nis-publickey.c: Likewise.
12549
595aba70
SP
125502013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12551
12552 [BZ #15890]
12553 * nscd/aicache.c: Include res_hconf.h.
12554 (addhstaiX): Initialize res_hconf.
12555
ffabd393
AS
125562013-08-26 Andreas Schwab <schwab@suse.de>
12557
12558 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12559 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12560
e0a69f5c
SP
125612013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12562
12563 * nscd/aicache.c (addhstaiX): Fix indentation.
12564
8c12f01d
MF
125652013-08-25 Mike Frysinger <vapier@gentoo.org>
12566
12567 * configure.ac: Quote $build_pt_chown test.
12568 * configure: Regenerated.
12569
8fe89494
JM
125702013-08-23 Joseph Myers <joseph@codesourcery.com>
12571
12572 [BZ #15532]
12573 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12574 * math/s_cexpf.c (__cexpf): Likewise.
12575 * math/s_cexpl.c (__cexpl): Likewise.
12576 * math/libm-test.inc (cexp_test_data): Correct expected return
12577 value for NaN + i0. Add another test.
12578
75b181d6
DM
125792013-08-22 David S. Miller <davem@davemloft.net>
12580
12581 * po/ca.po: Update Catalan translation from translation project.
936241e4 12582 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12583
acd06bb1
JM
125842013-08-21 Joseph Myers <joseph@codesourcery.com>
12585
12586 [BZ #15797]
12587 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12588 is infinite, not alongside NaN test.
12589 * math/s_fdimf.c (__fdimf): Likewise.
12590 * math/s_fdiml.c (__fdiml): Likewise.
12591 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12592 errno is unchanged.
12593
c0c3f78a
OB
125942013-08-21 Ondřej Bílka <neleai@seznam.cz>
12595
12596 * argp/argp-help.c: Fix typos.
12597 * crypt/speeds.c: Likewise.
12598 * csu/check_fds.c: Likewise.
12599 * elf/dl-load.c: Likewise.
12600 * elf/dl-open.c: Likewise.
12601 * elf/reldep3.c: Likewise.
12602 * elf/reldep.c: Likewise.
12603 * elf/sprof.c: Likewise.
12604 * iconv/iconv_charmap.c: Likewise.
12605 * iconv/skeleton.c: Likewise.
12606 * iconv/strtab.c: Likewise.
12607 * io/lockf64.c: Likewise.
12608 * libio/libioP.h: Likewise.
12609 * resolv/gai_notify.c: Likewise.
12610 * resolv/ns_name.c: Likewise.
12611 * resolv/ns_samedomain.c: Likewise.
12612 * resolv/res_send.c: Likewise.
12613 * stdlib/random.c: Likewise.
12614 * sunrpc/rpc/xdr.h: Likewise.
12615 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12616 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12617 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12618 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12620 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12621 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12622 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12623 * sysdeps/mach/hurd/check_fds.c: Likewise.
12624 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12625 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12626 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12627 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12628 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12629 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12630 * sysdeps/pthread/aio_notify.c: Likewise.
12631 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12632 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12633 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12634 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12635 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12636
46ed1038
LD
126372013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12638
12639 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12640 version if bit_Slow_SSE4_2 is set.
12641 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12642 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12643
d400dcac
AZ
126442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12645
12646 [BZ #15867]
12647 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12648 trampoline stack frame information.
12649 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12651 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12652 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12653 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12654 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12655 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12656 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12657 sa_flags value.
12658 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12659 interrupting a syscall and set with option SA_SIGINFO.
12660
42c8fdd8
JM
126612013-08-20 Joseph Myers <joseph@codesourcery.com>
12662
c980f2f4
JM
12663 [BZ #15531]
12664 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12665 argument is infinite.
12666 * math/s_cprojf.c (__cprojf): Likewise.
12667 * math/s_cprojl.c (__cprojl): Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12669 * math/libm-test.inc (cproj_test_data): Add more tests.
12670
0716c4fc
JM
12671 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12672
42c8fdd8
JM
12673 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12674 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12675 size. Use __ffs to determine corresponding shift.
12676
b31469d0
JM
126772013-08-20 Joseph Myers <joseph@codesourcery.com>
12678 Roland McGrath <roland@hack.frob.com>
12679
12680 * Makefile (INSTALL): Remove trailing blank lines from output of
12681 makeinfo.
12682
4e39af6e
AK
126832013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12684
12685 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12686 Align 32 bit compat elf_greg to 8 bytes.
12687
f315524e
AA
126882013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12689
12690 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12691
1326ba1a
SP
126922013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12693
12694 * string/strcoll_l.c (coll_seq): New structure.
12695 (get_next_seq_cached): New function.
12696 (get_next_seq): New function.
12697 (do_compare): New function.
12698 (STRCOLL): Use GNU style definition. Simplify implementation
12699 by using get_next_seq, get_next_seq_cached and do_compare.
12700
91ce4085
FW
127012013-08-16 Florian Weimer <fweimer@redhat.com>
12702
12703 [BZ #14699]
12704 CVE-2013-4237
12705 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12706 member.
12707 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12708 member.
12709 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12710 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12711 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12712 conditional.
12713 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12714 GETDENTS_64BIT_ALIGNED.
12715 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12716 * manual/filesys.texi (Reading/Closing Directory): Document
12717 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12718 strongly.
12719 * manual/conf.texi (Limits for Files): Add portability note to
12720 NAME_MAX, PATH_MAX.
12721 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12722
ca0a6bc4
AS
127232013-08-13 Andreas Schwab <schwab@suse.de>
12724
12725 [BZ #15749]
12726 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12727 of fabs.
12728 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12729 LDBL_MAX_EXP >= 16384]: Add tests for it.
12730
6c1fd795
DM
127312013-08-12 David S. Miller <davem@davemloft.net>
12732
12733 * version.h (RELEASE): Set to "development".
12734 (VERSION): Set to "2.18.90".
12735 * NEWS: Add 2.19 section.
12736
31ad488d
DM
127372013-08-03 David S. Miller <davem@davemloft.net>
12738
12739 * po/ko.po: Update Korean translation from translation project.
12740
db24e684
DM
127412013-08-01 David S. Miller <davem@davemloft.net>
12742
12743 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12744 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12745 Bilka.
12746
f723285b
DM
127472013-07-30 David S. Miller <davem@davemloft.net>
12748
12749 * po/fr.po: Update French translation from translation project.
12750
3cbc52db
DM
127512013-07-28 David S. Miller <davem@davemloft.net>
12752
30bbc0cc
DM
12753 * po/cs.po: Update Czech translation from translation project.
12754
3cbc52db
DM
12755 * po/sv.po: Update Swedish translation from translation project.
12756
d492e6d0
DM
127572013-07-27 David S. Miller <davem@davemloft.net>
12758
f1a7f492
DM
12759 * po/eo.po: Update Esperanto translation from translation project.
12760
90e62a4a
DM
12761 * po/vi.po: Update Vietnamese translation from translation project.
12762
d492e6d0
DM
12763 * po/de.po: Update German translation from translation project.
12764
d4baa62d
DM
127652013-07-26 David S. Miller <davem@davemloft.net>
12766
641aa7b4
DM
12767 * po/bg.po: Update Bulgarian translation from translation project.
12768
d4baa62d
DM
12769 * po/nl.po: Update Dutch translation from translation project.
12770 * po/pl.po: Update Polish translation from translation project.
12771 * po/ru.po: Update Russian translation from translation project.
12772
61a9dcb9
DM
127732013-07-24 David S. Miller <davem@davemloft.net>
12774
12775 * po/libc.pot: Update.
12776
7b1f8b58
AZ
127772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12778
12779 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12780 variable page size.
12781 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12782 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12783 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12784
a8fc7a03
AK
127852013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12786
12787 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12788
e4608715
CD
127892013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12790 Andreas Schwab <schwab@suse.de>
12791 Roland McGrath <roland@hack.frob.com>
12792 Joseph Myers <joseph@codesourcery.com>
12793 Carlos O'Donell <carlos@redhat.com>
12794
12795 [BZ #15755]
12796 * config.h.in: Define HAVE_PT_CHOWN.
12797 * config.make.in (build-pt-chown): New variable.
12798 * configure.in (--enable-pt_chown): New configure option.
12799 * configure: Regenerate.
12800 * login/Makefile: Include Makeconfig. Build pt_chown only if
12801 build-pt-chown is enabled.
12802 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12803 pt_chown to fix pty ownership.
12804 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12805 CLOSE_ALL_FDS.
12806 * manual/install.texi (Configuring and compiling): Mention
12807 --enable-pt_chown. Add @findex for grantpt.
12808 * INSTALL: Regenerate.
12809
da2d62df
DM
128102013-07-20 David S. Miller <davem@davemloft.net>
12811
12812 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12813 difference between 32-bit and 64-bit.
12814
d7e06450
CD
128152013-07-15 Carlos O'Donell <carlos@redhat.com>
12816
12817 [BZ #15711]
12818 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12819 Avoid system header dependency with -ffreestanding.
12820 ($(objpfx)bits/syscall%d): Likewise.
12821
f959cfd7
DM
128222013-07-13 David S. Miller <davem@davemloft.net>
12823
12824 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12825 underflows from atanl/atan2l due to bug 15319.
12826 (casinh_test_data): Likewise.
12827
c61f8513
DM
128282013-07-07 David S. Miller <davem@davemloft.net>
12829
12830 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12831
72c90ed0
JA
128322013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12833
12834 * sysdeps/i386/fpu/libm-test-ulps: Update.
12835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12836
52dfbe13
SP
128372013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12838
12839 * configure.in (--enable-lock-elision): Fix message text.
12840 * INSTALL: Regenerate.
12841 * configure: Regenerate.
12842
3f169543
AZ
128432013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12844
12845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12846
521c6785
AJ
128472013-07-03 Andreas Jaeger <aj@suse.de>
12848
12849 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12850 define.
12851 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12852 (ptrace_peeksiginfo_args): Add.
12853 (__ptrace_peeksiginfo_flags): Add.
12854 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12855 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12856 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12857
d2cc15cb
AM
128582013-07-03 Allan McRae <allan@archlinux.org>
12859
12860 * sysdeps/i386/fpu/libm-test-ulps: Update.
12861
3aaeeca7
DM
128622013-07-02 David S. Miller <davem@davemloft.net>
12863
12864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12865
5314ed1a
MT
128662013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12867
12868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12869
67338156
JM
128702013-07-02 Joseph Myers <joseph@codesourcery.com>
12871
12872 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12874
1717da59
AK
128752013-07-02 Andi Kleen <ak@linux.intel.com>
12876
12877 * config.h.in (ENABLE_LOCK_ELISION): Add.
12878 * configure.in (--enable-lock-elision): Add option.
12879 * manual/install.texi: Document --enable lock elision.
12880 * configure: Regenerate
12881 * INSTALL: Regenerate.
12882
1c81621c
L
128832013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12884
12885 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12886 SSE4.2 strcasecmp for libc.a.
12887 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12888
77f01ab5
JM
128892013-07-02 Joseph Myers <joseph@codesourcery.com>
12890
12891 [BZ #13304]
12892 * soft-fp/op-common.h (_FP_FMA): New macro.
12893 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12894 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12895 (_FP_MUL_MEAT_1_imm): ... here.
12896 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12897 (_FP_MUL_MEAT_1_wide): ... here.
12898 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12899 (_FP_MUL_MEAT_1_hard): ... here.
12900 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12901 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12902 (_FP_MUL_MEAT_2_wide): ... here.
12903 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12904 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12905 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12906 (_FP_MUL_MEAT_2_gmp): ... here.
12907 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12908 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12909 (_FP_MUL_MEAT_4_wide): ... here.
12910 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12911 (_FP_MUL_MEAT_4_gmp): ... here.
12912 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12913 (_FP_WFRACBITS_DW_S): Likewise.
12914 (_FP_WFRACXBITS_DW_S): Likewise.
12915 (_FP_HIGHBIT_DW_S): Likewise.
12916 (FP_FMA_S): Likewise.
12917 (_FP_FRAC_HIGH_DW_S): Likewise.
12918 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12919 (_FP_WFRACBITS_DW_D): Likewise.
12920 (_FP_WFRACXBITS_DW_D): Likewise.
12921 (_FP_HIGHBIT_DW_D): Likewise.
12922 (FP_FMA_D): Likewise.
12923 (_FP_FRAC_HIGH_DW_D): Likewise.
12924 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12925 (_FP_WFRACBITS_DW_E): Likewise.
12926 (_FP_WFRACXBITS_DW_E): Likewise.
12927 (_FP_HIGHBIT_DW_E): Likewise.
12928 (FP_FMA_E): Likewise.
12929 (_FP_FRAC_HIGH_DW_E): Likewise.
12930 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12931 (_FP_WFRACBITS_DW_Q): Likewise.
12932 (_FP_WFRACXBITS_DW_Q): Likewise.
12933 (_FP_HIGHBIT_DW_Q): Likewise.
12934 (FP_FMA_Q): Likewise.
12935 (_FP_FRAC_HIGH_DW_Q): Likewise.
12936 * soft-fp/fmasf4.c: New file.
12937 * soft-fp/fmadf4.c: Likewise.
12938 * soft-fp/fmatf4.c: Likewise.
12939
6308fd9a
LD
129402013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12941
12942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12943 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12944 Silvermont.
12945 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12946 macro.
12947 (index_Slow_SSE4_2): Likewise.
12948 (index_Prefer_PMINUB_for_stringop): Likewise.
12949 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12950 bit_Slow_SSE4_2 is set.
12951 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12952 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12953
89cd9569
RA
129542013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12955
12956 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12957 rtld_global._dl_hwcap2.
12958 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12959 POWER8.
12960 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12961 POWER8 feature descriptions defined in _dl_hwcap2.
12962 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12963 string handling for POWER8 feature bits.
12964 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12965 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12966 _dl_powerpc_cap_flags.
12967 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12968 * sysdeps/powerpc/rtld-global-offsets.sym
12969 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12970 _dl_hwcap2 in the rtld_global_ro structure.
12971
1ae8bfe0
RA
129722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12973
12974 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12975 hardware capabilities in support of AT_HWCAP2.
12976 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12977 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12978 GLRO(dl_hwcap2).
12979 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12980 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12981 explicitly the unknown a_type display mechanism is used.
12982 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12983 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12984 struct member.
12985 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12986 to macro prototype for AT_HWCAP2 support.
12987 * sysdeps/i386/dl-procinfo.h: Likewise.
12988 * sysdeps/s390/dl-procinfo.h: Likewise.
12989 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12990 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12991 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12992 return -1 for unknown a_type display fallback.
12993 * sysdeps/sparc/dl-procinfo.h: Likewise.
12994 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12995 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12996
8fbec010
JM
129972013-06-28 Joseph Myers <joseph@codesourcery.com>
12998
12999 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13000 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13001
0432680e
PY
130022013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13003
13004 [BZ #12492]
13005 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13006 mprotect making __stack_prot writable.
13007
ce61a2ad
NF
130082013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13009 Joseph Myers <joseph@codesourcery.com>
13010
13011 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13012 as being properly aligned.
13013
f91f1c0f
MR
130142013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13015
3d0f5d0c
MR
13016 * dlfcn/modstatic5.c: New file.
13017 * dlfcn/tststatic5.c: New file.
13018 * dlfcn/Makefile (tests): Add tststatic5.
13019 (tests-static): Likewise.
13020 (modules-names): Add modstatic5.
13021 (tststatic5-ENV): New variable.
13022 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13023
f91f1c0f
MR
13024 [BZ #15022]
13025 * elf/dl-support.c (_dl_main_map): New variable.
13026 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13027 (_dl_nns, _dl_load_adds): Set to 1.
13028 (_dl_initial_searchlist): Refer to _dl_main_map.
13029 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13030 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13031 call to _dl_get_origin.
13032 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13033 around call_map.
13034 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13035 * dlfcn/modstatic3.c: New file.
13036 * dlfcn/tststatic3.c: New file.
13037 * dlfcn/tststatic4.c: New file.
13038 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13039 (tests-static): Likewise.
13040 (modules-names): Add modstatic3.
13041 (tststatic3-ENV, tststatic4-ENV): New variables.
13042 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13043 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13044
cbe7d24b
JM
130452013-06-26 Joseph Myers <joseph@codesourcery.com>
13046
13047 * configure.in (CC): Require GCC version 4.4 or later.
13048 * configure: Regenerated.
13049 * manual/install.texi (Tools for Compilation): Update GCC version
13050 requirement.
13051 * INSTALL: Regenerated.
13052
11b8a0e1
LD
130532013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13054
13055 [BZ #15674]
bb5bb87c
L
13056 * string/test-memcmp.c (check2): New.
13057 (main): Call check2.
13058
11b8a0e1
LD
13059 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13060
b0037103
MR
130612013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13062
13063 [BZ #15022]
13064 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13065 over to...
13066 (dl_open_worker) [!SHARED]: ... here.
13067
c18c701d
RA
130682013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13069
13070 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13071
1d17fa5f
RH
130722013-06-25 Richard Henderson <rth@redhat.com>
13073
13074 * locale/programs/locarchive.c: Include <libc-internal.h>
13075
8fcb833a
JM
130762013-06-25 Joseph Myers <joseph@codesourcery.com>
13077
13078 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13079 trailing whitespace removed.
13080
17db6e8d
MF
130812013-06-24 Mike Frysinger <vapier@gentoo.org>
13082
13083 [BZ #10283]
17db6e8d
MF
13084 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13085 * locale/programs/locarchive.c: Include libc-mmap.h.
13086 (prepare_address_space): Take two new outputs (the mmap base and len).
13087 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13088 values.
13089 (create_archive): Declare new mmap base and len values for
13090 prepare_address_space, and store the result in ah.
13091 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13092 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13093 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13094 Declare new mmap base and len values for
13095 prepare_address_space, and store the result in new_ah.
13096 (open_archive): Declare new mmap base and len values for
13097 prepare_address_space, and store the result in ah.
13098 (close_archive): If ah->mmap_base is not NULL, use that and
13099 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13100 * sysdeps/generic/libc-mmap.h: New file.
13101
d605071e
MF
131022013-06-24 Mike Frysinger <vapier@gentoo.org>
13103
13104 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13105 (ALIGN_UP): Likewise.
13106 (PTR_ALIGN_DOWN): Likewise.
13107 (PTR_ALIGN_UP): Likewise.
13108
2f063a6e
RA
131092013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13110
13111 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13112 entry mapped to PPC_PLATFORM_POWER8.
13113 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13114 POWER8.
13115 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13116 (_dl_string_platform): Add case for exporting platform position for
13117 POWER8.
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13119 search path to sysdeps/powerpc/powerpc32/power8 directory.
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13121 search path to sysdeps/powerpc/powerpc64/power8 directory.
13122 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13123 power7 directories.
13124 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13125 power7 directories.
13126
a31ee4b3
SP
131272013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13128
a74ca98f
SP
13129 * INSTALL: Regenerate.
13130
a31ee4b3
SP
13131 * nscd/connections.c (nscd_init): Fix comment.
13132
695c378f
JM
131332013-06-22 Joseph Myers <joseph@codesourcery.com>
13134
d8412221
JM
13135 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13136
695c378f
JM
13137 [BZ #15667]
13138 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13139 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13140
d1d54715
MR
131412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13142
13143 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13144 DL_DST_REQ_STATIC.
13145 (DL_DST_REQ_STATIC): Remove macro.
13146
8fdda7af
JM
131472013-06-21 Joseph Myers <joseph@codesourcery.com>
13148
13149 [BZ #7006]
13150 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13151 with a shift of 0 bits.
13152
f3bc5e5a
MR
131532013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13154
13155 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13156 $(tststatic-ENV).
13157
be09e8c9
KK
131582013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13159
13160 [BZ #15655]
13161 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13162
85c2e611
AZ
131632013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13164
13165 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13166 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13167 accepts -fno-tree-loop-distribute-patterns.
13168 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13169 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13170 recursive call.
13171 * string/memset.c (memset): Likewise.
13172 * string/test-memmove.c (simple_memmove): Disable loop transformation
13173 to library calls.
13174 * string/test-memset.c (simple_memset): Likewise.
13175 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13176 * benchtests/bench-memset.c (simple_memset): Likewise.
13177 * configure: Regenerated.
13178
c91e0825
JM
131792013-06-20 Joseph Myers <joseph@codesourcery.com>
13180
b8c792af
JM
13181 * math/test-misc.c (main): Ignore fesetround failure when failures
13182 of subsequent rounding tests would be ignored.
13183
c91e0825
JM
13184 [BZ #15654]
13185 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13186 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13187 * math/fegetenv.c (__fegetenv): Return 0.
13188 * math/fegetexcept.c (fegetexcept): Return 0.
13189 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13190 FE_TONEAREST.
13191 * math/feholdexcpt.c (feholdexcept): Return 0.
13192 * math/fesetenv.c (__fesetenv): Return 0.
13193 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13194 argument FE_TONEAREST.
13195 * math/feupdateenv.c (__feupdateenv): Return 0.
13196 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13197
bfcacbde
RM
131982013-06-18 Roland McGrath <roland@hack.frob.com>
13199
13200 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13201 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13202 ($(objpfx)rtld-%.os rules): Use them.
13203
e55a9b25
AZ
132042013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13205
13206 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13207 fields.
13208
346d65b3
RM
132092013-06-17 Roland McGrath <roland@hack.frob.com>
13210
12086fb4
RM
13211 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13212 length of target pattern, then descending length of dependency pattern.
13213 * configure.in (AWK): Require gawk 3.1.2 or newer.
13214 * manual/install.texi (Tools for Compilation): Say that we do.
13215 * configure: Regenerated.
13216
346d65b3
RM
13217 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13218 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13219 * scripts/sysd-rules.awk: ... this new script.
13220 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13221 than a glob-style pattern.
13222
1a846317
JM
132232013-06-17 Joseph Myers <joseph@codesourcery.com>
13224
13225 * math/test-misc.c (main): Do not treat incorrectly rounded
13226 conversions as failure unless ROUNDING_TESTS passes.
13227
8fc75e6f
JM
132282013-06-15 Joseph Myers <joseph@codesourcery.com>
13229
3711a167
JM
13230 [BZ #15631]
13231 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13232 restore exception state around main square root computation, then
13233 check for inexactness explicitly.
13234
8fc75e6f
JM
13235 * math/libm-test.inc (fma_test_data): Add another test.
13236
61dd6208
SP
132372013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13238
adf23d2c
SP
13239 * manual/threads.texi (Non-POSIX Extensions): New document
13240 node. Document pthread_getattr_default_np and
13241 pthread_setattr_default_np.
13242
61dd6208
SP
13243 * Versions.def (libpthread): Add GLIBC_2.18.
13244 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13246 Likewise.
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13248 Likewise.
13249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13250 Likewise.
13251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13252 Likewise.
13253 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13254 Likewise.
13255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13256 Likewise.
13257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13258 Likewise.
13259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13260 Likewise.
13261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13262 Likewise.
13263
d086fc7b
LD
132642013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13265
13266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13267 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13268
747ef469
SP
132692013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13270 H.J. Lu <hjl.tools@gmail.com>
13271
13272 [BZ #15627]
13273 * sysdeps/x86_64/rtld-memset.c: Remove file.
13274 * sysdeps/x86_64/rtld-memset.S: New file.
13275
1b2feed2
JM
132762013-06-14 Joseph Myers <joseph@codesourcery.com>
13277
13278 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13279 (test_in_one_mode): Take arguments for whether the rounding mode
13280 is supported for each floating-point type.
13281 (do_test): Pass new arguments to test_in_one_mode using
13282 ROUNDING_TESTS.
13283
a58ad3f8
RM
132842013-06-13 Roland McGrath <roland@hack.frob.com>
13285
13286 * posix/tst-waitid.c (do_test): Distinguish different instances of
13287 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13288 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13289 before entering the kernel for waitpid.
13290
c204ab28
SP
132912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13292
13293 * NEWS: Fix note on clock function precision. Text by Roland
13294 McGrath.
13295
f4a29fba
RM
132962013-06-13 Roland McGrath <roland@hack.frob.com>
13297
13298 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13299 it into place only when and if the sanity check passes.
13300
1f24b9ad
JM
133012013-06-13 Joseph Myers <joseph@codesourcery.com>
13302
13303 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13304 output for whether conversion result is exact. Take argument
13305 indicating whether type is IBM long double.
13306 (round_for_all): Change need_exact field to ibm_ld.
13307 * stdlib/tst-strtod-round.c (struct exactness): New type.
13308 (struct test): Change bool ld_ok field to struct exactness exact.
13309 (TEST): Update all definitions for change to field.
13310 (tests): Regenerate array contents.
13311 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13312 field value. Check for IBM long double here.
13313 (do_test): Update calls to test_in_one_mode.
13314
58206c68
SP
133152013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13316
13317 [BZ #12515]
13318 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13319 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13320
2d6f4c5b 133212013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13322
13323 [BZ #15605]
13324 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13325 generated by the compiler on loop optimizations.
13326 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13327 general definitions.
13328
94f2c076
JM
133292013-06-12 Joseph Myers <joseph@codesourcery.com>
13330
13331 * math/bug-nextafter.c: Include <math-tests.h>.
13332 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13333 the relevant type.
13334 * math/bug-nexttoward.c: Include <math-tests.h>.
13335 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13336 the relevant type.
13337 * math/test-misc.c: Include <math-tests.h>.
13338 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13339 the relevant type.
13340
e0e50a0a
AJ
133412013-06-12 Andreas Jaeger <aj@suse.de>
13342
13343 * po/ia.po: Update Interlingua translation from translation
13344 project.
13345
25061094
SP
133462013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13347
13348 * include/fenv.h: Include stdbool.h.
13349 (struct rm_ctx): New structure.
13350 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13351 Define macro.
13352 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13353 (SET_RESTORE_ROUNDF): Likewise.
13354 (SET_RESTORE_ROUNDL): Likewise.
13355 (SET_RESTORE_ROUND_NOEX): Likewise.
13356 (SET_RESTORE_ROUND_NOEXF): Likewise.
13357 (SET_RESTORE_ROUND_NOEXL): Likewise.
13358 (SET_RESTORE_ROUND_53BIT): Likewise.
13359 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13360 (libc_feresetround_noexf_ctx): Likewise.
13361 (libc_feresetround_noexl_ctx): Likewise.
13362 (libc_feholdsetround_53bit_ctx): Likewise.
13363 (libc_feresetround_53bit_ctx): Likewise.
13364 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13365 (libc_feholdexcept_setround_sse_ctx): New function.
13366 (libc_fesetenv_sse_ctx): Likewise.
13367 (libc_feupdateenv_sse_ctx): Likewise.
13368 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13369 (libc_feholdexcept_setround_387_ctx): Likewise.
13370 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13371 (libc_feholdsetround_387_prec_ctx): Likewise.
13372 (libc_feholdsetround_387_ctx): Likewise.
13373 (libc_feholdsetround_387_53bit_ctx): Likewise.
13374 (libc_feholdsetround_sse_ctx): Likewise.
13375 (libc_feresetround_sse_ctx): Likewise.
13376 (libc_feresetround_387_ctx): Likewise.
13377 (libc_feupdateenv_387_ctx): Likewise.
13378 (libc_feholdexcept_setroundf_ctx): Define macro.
13379 (libc_fesetenvf_ctx): Likewise.
13380 (libc_feupdateenvf_ctx): Likewise.
13381 (libc_feholdsetroundf_ctx): Likewise.
13382 (libc_feresetroundf_ctx): Likewise.
13383 (libc_feholdexcept_setround_ctx): Likewise.
13384 (libc_fesetenv_ctx): Likewise.
13385 (libc_feupdateenv_ctx): Likewise.
13386 (libc_feholdsetround_ctx): Likewise.
13387 (libc_feresetround_ctx): Likewise.
13388 (libc_feholdexcept_setroundl_ctx): Likewise.
13389 (libc_feupdateenvl_ctx): Likewise.
13390 (libc_feholdsetroundl_ctx): Likewise.
13391 (libc_feresetroundl_ctx): Likewise.
13392 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13393 (libc_feresetround_53bit_ctx): Likewise.
13394
59b30555
SP
133952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13396
13397 * locale/iso-639.def: Convert to UTF-8.
13398
f1d73d30
JM
133992013-06-11 Joseph Myers <joseph@codesourcery.com>
13400
13401 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13402 (EXCEPTION_TESTS_double): Likewise.
13403 (EXCEPTION_TESTS_long_double): Likewise.
13404 (EXCEPTION_TESTS): Likewise.
13405 * math/libm-test.inc (test_exceptions): Only test exceptions if
13406 EXCEPTION_TESTS (FLOAT).
13407
94aca5e7
SP
134082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13409
13410 * benchtests/Makefile (string-bench): Add strcpy_chk and
13411 stpcpy_chk.
13412 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13413 * benchtests/bench-stpcpy_chk.c: New file.
13414 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13415 * benchtests/bench-strcpy_chk.c: New file.
13416 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13417 code.
13418 (do_test): Likewise.
13419
fac0c5f2
RA
134202013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13421
13422 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13423 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13424 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13425 with tabs where appropriate.
13426 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13427 dl-procinfo.h.
13428 [PPC_PLATFORM_PPC440]: Likewise.
13429 [PPC_PLATFORM_PPC464]: Likewise.
13430 [PPC_PLATFORM_PPC476]: Likewise.
13431 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13432 ppc464, and ppc476 platform strings merging from ports/
13433 dl-procinfo.h.
13434
f22bc486
AS
134352013-06-11 Andreas Schwab <schwab@suse.de>
13436
13437 [BZ #14991]
13438 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13439 (from_ucs4_idx): Regenerate.
13440 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13441 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13442 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13443 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13444 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13445 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13446 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13447 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13448 from FROM_LOOP and TO_LOOP specific macros.
13449 (BODY): Handle combining characters.
13450 * iconvdata/BIG5HKSCS.irreversible: Update.
13451 * iconvdata/BIG5HKSCS.precomposed: New file.
13452 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13453 characters.
13454 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13455
c1f75dc3
SP
134562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13457
4eacded2
SP
13458 * include/sys/time.h: Fix indentation and add copyright header.
13459
fec799f8
SP
13460 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13461 (do_test): Likewise.
13462 * string/test-memchr.c (do_one_test): Likewise.
13463 (do_test): Likewise.
13464 * string/test-memcmp.c (do_one_test): Likewise.
13465 (do_test): Likewise.
13466 * string/test-memcpy.c (do_one_test): Likewise.
13467 (do_test): Likewise.
13468 * string/test-memmem.c (do_one_test): Likewise.
13469 (do_test): Likewise.
13470 (do_random_tests): Likewise.
13471 * string/test-memmove.c (do_one_test): Likewise.
13472 (do_test): Likewise.
13473 * string/test-memset.c (do_one_test): Likewise.
13474 (do_test): Likewise.
13475 * string/test-rawmemchr.c (do_one_test): Likewise.
13476 (do_test): Likewise.
13477 * string/test-strcasecmp.c (do_one_test): Likewise.
13478 (do_test): Likewise.
13479 * string/test-strcasestr.c (do_one_test): Likewise.
13480 (do_test): Likewise.
13481 * string/test-strcat.c (do_one_test): Likewise.
13482 (do_test): Likewise.
13483 * string/test-strchr.c (do_one_test): Likewise.
13484 (do_test): Likewise.
13485 * string/test-strcmp.c (do_one_test): Likewise.
13486 (do_test): Likewise.
13487 * string/test-strcpy.c (do_one_test): Likewise.
13488 (do_test): Likewise.
13489 * string/test-string.h: Likewise.
13490 (test_init): Likewise.
13491 * string/test-strlen.c (do_one_test): Likewise.
13492 (do_test): Likewise.
13493 * string/test-strncasecmp.c (do_one_test): Likewise.
13494 (do_test): Likewise.
13495 * string/test-strncat.c (do_one_test): Likewise.
13496 (do_test): Likewise.
13497 * string/test-strncmp.c (do_one_test): Likewise.
13498 (do_test_limit): Likewise.
13499 (do_test): Likewise.
13500 * string/test-strncpy.c (do_one_test): Likewise.
13501 (do_test): Likewise.
13502 * string/test-strnlen.c (do_one_test): Likewise.
13503 (do_test): Likewise.
13504 * string/test-strpbrk.c (do_one_test): Likewise.
13505 (do_test): Likewise.
13506 * string/test-strrchr.c (do_one_test): Likewise.
13507 (do_test): Likewise.
13508 * string/test-strspn.c (do_one_test): Likewise.
13509 (do_test): Likewise.
13510 * string/test-strstr.c (do_one_test): Likewise.
13511 (do_test): Likewise.
13512
97020474
SP
13513 * benchtests/Makefile (string-bench): Add string benchmarks.
13514 * benchtests/bench-bcopy-ifunc.c: New file.
13515 * benchtests/bench-bcopy.c: New file.
13516 * benchtests/bench-bzero-ifunc.c: New file.
13517 * benchtests/bench-bzero.c: New file.
13518 * benchtests/bench-memccpy-ifunc.c: New file.
13519 * benchtests/bench-memccpy.c: New file.
13520 * benchtests/bench-memchr-ifunc.c: New file.
13521 * benchtests/bench-memchr.c: New file.
13522 * benchtests/bench-memcmp-ifunc.c: New file.
13523 * benchtests/bench-memcmp.c: New file.
13524 * benchtests/bench-memmem-ifunc.c: New file.
13525 * benchtests/bench-memmem.c: New file.
13526 * benchtests/bench-memmove-ifunc.c: New file.
13527 * benchtests/bench-memmove.c: New file.
13528 * benchtests/bench-mempcpy-ifunc.c: New file.
13529 * benchtests/bench-mempcpy.c: New file.
13530 * benchtests/bench-memset-ifunc.c: New file.
13531 * benchtests/bench-memset.c: New file.
13532 * benchtests/bench-rawmemchr-ifunc.c: New file.
13533 * benchtests/bench-rawmemchr.c: New file.
13534 * benchtests/bench-stpcpy-ifunc.c: New file.
13535 * benchtests/bench-stpcpy.c: New file.
13536 * benchtests/bench-stpncpy-ifunc.c: New file.
13537 * benchtests/bench-stpncpy.c: New file.
13538 * benchtests/bench-strcasecmp-ifunc.c: New file.
13539 * benchtests/bench-strcasecmp.c: New file.
13540 * benchtests/bench-strcasestr-ifunc.c: New file.
13541 * benchtests/bench-strcasestr.c: New file.
13542 * benchtests/bench-strcat-ifunc.c: New file.
13543 * benchtests/bench-strcat.c: New file.
13544 * benchtests/bench-strchr-ifunc.c: New file.
13545 * benchtests/bench-strchr.c: New file.
13546 * benchtests/bench-strchrnul-ifunc.c: New file.
13547 * benchtests/bench-strchrnul.c: New file.
13548 * benchtests/bench-strcmp-ifunc.c: New file.
13549 * benchtests/bench-strcmp.c: New file.
13550 * benchtests/bench-strcpy-ifunc.c: New file.
13551 * benchtests/bench-strcpy.c: New file.
13552 * benchtests/bench-strcspn-ifunc.c: New file.
13553 * benchtests/bench-strcspn.c: New file.
13554 * benchtests/bench-strlen-ifunc.c: New file.
13555 * benchtests/bench-strlen.c: New file.
13556 * benchtests/bench-strncasecmp-ifunc.c: New file.
13557 * benchtests/bench-strncasecmp.c: New file.
13558 * benchtests/bench-strncat-ifunc.c: New file.
13559 * benchtests/bench-strncat.c: New file.
13560 * benchtests/bench-strncmp-ifunc.c: New file.
13561 * benchtests/bench-strncmp.c: New file.
13562 * benchtests/bench-strncpy-ifunc.c: New file.
13563 * benchtests/bench-strncpy.c: New file.
13564 * benchtests/bench-strnlen-ifunc.c: New file.
13565 * benchtests/bench-strnlen.c: New file.
13566 * benchtests/bench-strpbrk-ifunc.c: New file.
13567 * benchtests/bench-strpbrk.c: New file.
13568 * benchtests/bench-strrchr-ifunc.c: New file.
13569 * benchtests/bench-strrchr.c: New file.
13570 * benchtests/bench-strspn-ifunc.c: New file.
13571 * benchtests/bench-strspn.c: New file.
13572 * benchtests/bench-strstr-ifunc.c: New file.
13573 * benchtests/bench-strstr.c: New file.
13574
c1f75dc3
SP
13575 * benchtests/Makefile: Disable parallel execution of targets.
13576 (string-bench): Add memcpy.
13577 (benchset): New variable to store a list of benchmark sets.
13578 (bench-func): Renamed from bench.
13579 (bench-set): New target.
13580 (bench): Depend on bench-func and bench-set.
13581 * benchtests/README: Add section on benchmark sets.
13582 * benchtests/bench-memcpy-ifunc.c: New file.
13583 * benchtests/bench-memcpy.c: New file.
13584 * benchtests/bench-string.h: New file.
13585
50fd745b
AS
135862013-06-11 Andreas Schwab <schwab@suse.de>
13587
13588 [BZ #15577]
13589 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13590 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13591 values in the triple.
13592 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13593 terminator in the group key.
13594
3ee7e9fe
AJ
135952013-06-11 Andreas Jaeger <aj@suse.de>
13596
13597 * po/zh_TW.po: Update Chinese (traditional) translation from
13598 translation project.
13599
89fb6835
SP
136002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13601
13602 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13603 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13604 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13605 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13606 (clock_getcpuclockid): Likewise.
13607 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13608 Add weak_alias and libc_hidden_def.
13609 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13610 * rt/clock_gettime.c (clock_gettime): Rename to
13611 __clock_gettime. Add weak_alias and libc_hidden_def.
13612 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13613 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13614 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13615 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13616 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13617 Likewise.
13618 * rt/clock_settime.c (clock_settime): Rename to
13619 __clock_settime. Add weak_alias and libc_hidden_def.
13620 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13621
0efa6f8b
JM
136222013-06-10 Joseph Myers <joseph@codesourcery.com>
13623
b8c61b4b
JM
13624 * mach/err_boot.sub: Remove trailing whitespace.
13625 * mach/err_ipc.sub: Likewise.
13626 * mach/err_mach.sub: Likewise.
13627
0efa6f8b
JM
13628 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13629 (ROUNDING_TESTS_double): Likewise.
13630 (ROUNDING_TESTS_long_double): Likewise.
13631 (ROUNDING_TESTS): Likewise.
13632 * math/libm-test.inc: Include <math-tests.h>.
13633 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13634 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13635 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13636 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13637
50b818bf
SP
136382013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13639
13640 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13641 of assigning.
13642
60d2f8f3
JM
136432013-06-08 Joseph Myers <joseph@codesourcery.com>
13644
4902d2c3
JM
13645 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13646 otherwise empty TRANS lines.
13647 * sysdeps/gnu/errlist.c: Regenerated.
13648
60d2f8f3
JM
13649 * catgets/gencat.c (error_print): Use (void) in function
13650 definition.
13651 * crypt/crypt_util.c (__init_des): Likewise.
13652 * crypt/speeds.c (Stop): Likewise.
13653 (main): Likewise.
13654 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13655 * inet/ruserpass.c (token): Likewise.
13656 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13657 * intl/localealias.c (extend_alias_table): Likewise.
13658 * intl/plural-exp.c (init_germanic_plural): Likewise.
13659 * libio/fcloseall.c (__fcloseall): Likewise.
13660 * libio/genops.c (_IO_flush_all): Likewise.
13661 (_IO_flush_all_linebuffered): Likewise.
13662 (_IO_cleanup): Likewise.
13663 (_IO_iter_begin): Likewise.
13664 (_IO_iter_end): Likewise.
13665 (_IO_list_lock): Likewise.
13666 (_IO_list_unlock): Likewise.
13667 (_IO_list_resetlock): Likewise.
13668 * libio/getchar.c (getchar): Likewise.
13669 * libio/getchar_u.c (getchar_unlocked): Likewise.
13670 * libio/getwchar.c (getwchar): Likewise.
13671 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13672 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13673 * login/getpt.c (__getpt): Likewise.
13674 * login/tst-utmp.c (main): Likewise.
13675 * malloc/hooks.c (__malloc_check_init): Likewise.
13676 * malloc/malloc.c (__malloc_stats): Likewise.
13677 * malloc/mtrace.c (tr_break): Likewise.
13678 (mtrace): Likewise.
13679 (muntrace): Likewise.
13680 * misc/fstab.c (endfsent): Likewise.
13681 * misc/getclktck.c (__getclktck): Likewise.
13682 * misc/getdtsz.c (__getdtablesize): Likewise.
13683 * misc/gethostid.c (gethostid): Likewise.
13684 * misc/getpagesize.c (__getpagesize): Likewise.
13685 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13686 (__get_nprocs): Likewise.
13687 (__get_phys_pages): Likewise.
13688 (__get_avphys_pages): Likewise.
13689 * misc/getttyent.c (getttyent): Likewise.
13690 (setttyent): Likewise.
13691 (endttyent): Likewise.
13692 * misc/getusershell.c (getusershell): Likewise.
13693 (endusershell): Likewise.
13694 (setusershell): Likewise.
13695 (initshells): Likewise.
13696 * misc/hsearch.c (__hdestroy): Likewise.
13697 * misc/sync.c (sync): Likewise.
13698 * misc/syslog.c (closelog_internal): Likewise.
13699 (closelog): Likewise.
13700 * misc/ttyslot.c (ttyslot): Likewise.
13701 * misc/vhangup.c (vhangup): Likewise.
13702 * posix/fork.c (__fork): Likewise.
13703 * posix/getegid.c (__getegid): Likewise.
13704 * posix/geteuid.c (__geteuid): Likewise.
13705 * posix/getgid.c (__getgid): Likewise.
13706 * posix/getpid.c (__getpid): Likewise.
13707 * posix/getppid.c (__getppid): Likewise.
13708 * posix/getuid.c (__getuid): Likewise.
13709 * posix/pause.c (pause): Likewise.
13710 * posix/setpgrp.c (setpgrp): Likewise.
13711 * posix/setsid.c (__setsid): Likewise.
13712 * posix/test-vfork.c (noop): Likewise.
13713 * resolv/gethnamaddr.c (_endhtent): Likewise.
13714 (_gethtent): Likewise.
13715 (ht_endhostent): Likewise.
13716 (gethostent): Likewise.
13717 (dns_service): Likewise.
13718 * stdlib/drand48.c (drand48): Likewise.
13719 * stdlib/lrand48.c (lrand48): Likewise.
13720 * stdlib/mrand48.c (mrand48): Likewise.
13721 * stdlib/rand.c (rand): Likewise.
13722 * stdlib/random.c (__random): Likewise.
13723 * stdlib/setenv.c (clearenv): Likewise.
13724 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13725 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13726 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13727 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13728 (__get_nprocs): Likewise.
13729 (__get_phys_pages): Likewise.
13730 (__get_avphys_pages): Likewise.
13731 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13732 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13733 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13734 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13735 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13736 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13737 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13738 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13739 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13740 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13741 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13742 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13743 * sysdeps/posix/clock.c (clock): Likewise.
13744 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13745 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13746 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13747 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13748 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13749 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13750 (__get_nprocs_conf): Likewise.
13751 (__get_phys_pages): Likewise.
13752 (__get_avphys_pages): Likewise.
13753 * time/clock.c (clock): Likewise.
13754 * time/tzset.c (__tzname_max): Likewise.
13755
2e09a79a
JM
137562013-06-07 Joseph Myers <joseph@codesourcery.com>
13757
13758 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13759 (__bswap_32): Do not use "register".
13760 * crypt/crypt.c (_ufc_doit_r): Likewise.
13761 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13762 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13763 * gmon/gmon.c (__monstartup): Likewise.
13764 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13765 * hurd/hurdmalloc.c (more_memory): Likewise.
13766 (malloc): Likewise.
13767 (free): Likewise.
13768 (realloc): Likewise.
13769 (malloc_fork_prepare): Likewise.
13770 (malloc_fork_parent): Likewise.
13771 (malloc_fork_child): Likewise.
13772 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13773 (_svcauth_des): Likewise.
13774 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13775 * inet/inet_net.c (inet_network): Likewise.
13776 * inet/inet_netof.c (inet_netof): Likewise.
13777 * inet/rcmd.c (__validuser2_sa): Likewise.
13778 * io/fts.c (fts_open): Likewise.
13779 (fts_load): Likewise.
13780 (fts_close): Likewise.
13781 (fts_read): Likewise.
13782 (fts_children): Likewise.
13783 (fts_build): Likewise.
13784 (fts_stat): Likewise.
13785 (fts_sort): Likewise.
13786 (fts_alloc): Likewise.
13787 (fts_lfree): Likewise.
13788 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13789 (_IO_file_xsgetn): Likewise.
13790 (_IO_file_xsgetn_mmap): Likewise.
13791 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13792 (_IO_cookie_write): Likewise.
13793 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13794 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13795 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13796 * malloc/obstack.c (_obstack_begin): Likewise.
13797 (_obstack_begin_1): Likewise.
13798 (_obstack_newchunk): Likewise.
13799 (_obstack_allocated_p): Likewise.
13800 (obstack_free): Likewise.
13801 (_obstack_memory_used): Likewise.
13802 * misc/getttyent.c (getttynam): Likewise.
13803 (getttyent): Likewise.
13804 (skip): Likewise.
13805 (value): Likewise.
13806 * misc/getusershell.c (initshells): Likewise.
13807 * misc/syslog.c (__vsyslog_chk): Likewise.
13808 * misc/ttyslot.c (ttyslot): Likewise.
13809 * nis/nis_hash.c (__nis_hash): Likewise.
13810 * posix/fnmatch_loop.c (FCT): Likewise.
13811 * posix/getconf.c (print_all): Likewise.
13812 (main): Likewise.
13813 * posix/getopt.c (exchange): Likewise.
13814 * posix/glob.c (globfree): Likewise.
13815 (prefix_array): Likewise.
13816 (__glob_pattern_type): Likewise.
13817 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13818 (NS_GET32): Likewise.
13819 (NS_PUT16): Likewise.
13820 (NS_PUT32): Likewise.
13821 * resolv/gethnamaddr.c (getanswer): Likewise.
13822 (gethostbyname2): Likewise.
13823 (gethostbyaddr): Likewise.
13824 (_gethtent): Likewise.
13825 (_gethtbyname2): Likewise.
13826 (_gethtbyaddr): Likewise.
13827 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13828 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13829 * resolv/res_init.c (__res_vinit): Likewise.
13830 (net_mask): Likewise.
13831 * resolv/res_mkquery.c (outchar): Likewise.
13832 (PRINT): Likewise.
13833 * stdio-common/printf_fp.c (outchar): Likewise.
13834 (PRINT): Likewise.
13835 * stdio-common/printf_fphex.c (outchar): Likewise.
13836 (PRINT): Likewise.
13837 * stdio-common/printf_size.c (outchar): Likewise.
13838 (PRINT): Likewise.
13839 * stdio-common/test_rdwr.c (main): Likewise.
13840 * stdio-common/tfformat.c (matches): Likewise.
13841 * stdio-common/vfprintf.c (outchar): Likewise.
13842 (printf_unknown): Likewise.
13843 (buffered_vfprintf): Likewise.
13844 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13845 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13846 (ReadFile): Likewise.
13847 * stdlib/qsort.c (SWAP): Likewise.
13848 (_quicksort): Likewise.
13849 * stdlib/setenv.c (__add_to_environ): Likewise.
13850 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13851 * stdlib/strtol_l.c (__strtol_l): Likewise.
13852 * stdlib/tst-strtod.c (main): Likewise.
13853 * stdlib/tst-strtol.c (main): Likewise.
13854 * stdlib/tst-strtoll.c (main): Likewise.
13855 * string/bits/string2.h (__strcmp_cc): Likewise.
13856 (__strcmp_cg): Likewise.
13857 (__strcspn_c1): Likewise.
13858 (__strcspn_c2): Likewise.
13859 (__strcspn_c3): Likewise.
13860 (__strspn_c1): Likewise.
13861 (__strspn_c2): Likewise.
13862 (__strspn_c3): Likewise.
13863 (__strsep_1c): Likewise.
13864 (__strsep_2c): Likewise.
13865 (__strsep_3c): Likewise.
13866 * string/memccpy.c (__memccpy): Likewise.
13867 * string/stpcpy.c (__stpcpy): Likewise.
13868 * string/strcmp.c (strcmp): Likewise.
13869 * string/strrchr.c (strrchr): Likewise.
13870 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13871 Likewise.
13872 * sysdeps/mach/hurd/getcwd.c
13873 (_hurd_canonicalize_directory_name_internal): Likewise.
13874 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13875 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13876 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13877 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13878 Likewise, in both definitions.
13879 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13880 definitions.
13881 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13882 64] (__bswap_64): Likewise.
13883 * time/test_time.c (main): Likewise.
13884 * time/tzfile.c (__tzfile_read): Likewise.
13885 (__tzfile_compute): Likewise.
13886 * time/tzset.c (__tzset_parse_tz): Likewise.
13887 (tzset_internal): Likewise.
13888 (compute_change): Likewise.
13889 * wcsmbs/wcscat.c (__wcscat): Likewise.
13890 * wcsmbs/wcschr.c (wcschr): Likewise.
13891 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13892 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13893 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13894 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13895 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13896 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13897 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13898 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13899 * wcsmbs/wmemset.c (wmemset): Likewise.
13900
9e54314b
JM
139012013-06-06 Joseph Myers <joseph@codesourcery.com>
13902
13903 * scripts/config.guess: Update to version 2013-05-16.
13904 * scripts/config.sub: Update to version 2013-04-24.
13905 * scripts/install-sh: Update to version 2011-11-20.07.
13906 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13907 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13908
350635a5
OB
139092013-06-06 Ondřej Bílka <neleai@seznam.cz>
13910
13911 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13912 * elf/sln.c: Likewise.
13913 * hurd/hurd/ioctl.h: Likewise.
13914 * hurd/hurdmalloc.c: Likewise.
13915 * hurd/xattr.c: Likewise.
13916 * include/shlib-compat.h: Likewise.
13917 * inet/ruserpass.c: Likewise.
13918 * libio/iofgets_u.c: Likewise.
13919 * libio/iofgetws_u.c: Likewise.
13920 * locale/programs/ld-identification.c: Likewise.
13921 * locale/programs/ld-time.c: Likewise.
13922 * mach/msg-destroy.c: Likewise.
13923 * nss/nss_files/files-netgrp.c: Likewise.
13924 * resolv/res_data.c: Likewise.
13925 * soft-fp/op-1.h: Likewise.
13926 * soft-fp/op-2.h: Likewise.
13927 * soft-fp/op-4.h: Likewise.
13928 * soft-fp/op-common.h: Likewise.
13929 * stdio-common/printf_fphex.c: Likewise.
13930 * stdlib/strtod_l.c: Likewise.
13931 * sunrpc/rpc/clnt.h: Likewise.
13932 * sysdeps/generic/framestate.c: Likewise.
13933 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13934 * sysdeps/i386/bsd-setjmp.S: Likewise.
13935 * sysdeps/i386/__longjmp.S: Likewise.
13936 * sysdeps/i386/setjmp.S: Likewise.
13937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13938 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13939 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13940 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13947 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13955 * sysdeps/ieee754/support.c: Likewise.
13956 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13957 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13958 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13959 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13960 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13961 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13962 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13963 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13964 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13965 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13966 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13967 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13968 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13969 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13970 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13971 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13972 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13974
44a988af
OB
139752013-06-05 Ondřej Bílka <neleai@seznam.cz>
13976
25506f09 13977 * posix/transbug.c: Remove executable mode.
44a988af 13978
9c84384c
JM
139792013-06-05 Joseph Myers <joseph@codesourcery.com>
13980
13981 * crypt/speeds.c: Remove trailing whitespace.
13982 * dlfcn/default.c: Likewise.
13983 * elf/ifuncdep2.c: Likewise.
13984 * elf/ifuncmain1.c: Likewise.
13985 * elf/ifuncmain1vis.c: Likewise.
13986 * elf/testobj.h: Likewise.
13987 * elf/tst-stackguard1.c: Likewise.
13988 * gmon/sys/gmon.h: Likewise.
13989 * hurd/hurdmsg.c: Likewise.
13990 * hurd/new-fd.c: Likewise.
13991 * hurd/ports-get.c: Likewise.
13992 * iconvdata/ibm1008_420.c: Likewise.
13993 * inet/tst-getni1.c: Likewise.
13994 * inet/tst-getni2.c: Likewise.
13995 * libio/ioungetc.c: Likewise.
13996 * libio/wfiledoalloc.c: Likewise.
13997 * manual/libm-err-tab.pl: Likewise.
13998 * math/w_dremf.c: Likewise.
13999 * misc/ftruncate.c: Likewise.
14000 * posix/bug-glob2.c: Likewise.
14001 * posix/tst-pcre.c: Likewise.
14002 * posix/wait4.c: Likewise.
14003 * resolv/README: Likewise.
14004 * resolv/res_debug.h: Likewise.
14005 * resolv/tst-inet_ntop.c: Likewise.
14006 * setjmp/bug269-setjmp.c: Likewise.
14007 * soft-fp/extended.h: Likewise.
14008 * soft-fp/op-1.h: Likewise.
14009 * soft-fp/op-2.h: Likewise.
14010 * soft-fp/op-4.h: Likewise.
14011 * soft-fp/op-8.h: Likewise.
14012 * soft-fp/testit.c: Likewise.
14013 * stdio-common/bug16.c: Likewise.
14014 * stdlib/random.c: Likewise.
14015 * sunrpc/rpcsvc/rquota.x: Likewise.
14016 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14017 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14018 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14019 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14020 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14021 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14022 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14023 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14024 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14026 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14038 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14041 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14042 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14043 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14044 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14045 * sysdeps/ieee754/s_lib_version.c: Likewise.
14046 * sysdeps/mach/hurd/check_fds.c: Likewise.
14047 * sysdeps/mach/hurd/getsockname.c: Likewise.
14048 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14049 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14050 * sysdeps/powerpc/bits/link.h: Likewise.
14051 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14052 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14053 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14054 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14055 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14056 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14057 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14058 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14059 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14060 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14061 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14062 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14063 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14064 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14065 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14066 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14067 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14068 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14069 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14070 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14071 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14072 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14073 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14074 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14075 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14076 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14077 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14078 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14079 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14080 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14081 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14082 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14083 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14084 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14085 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14086 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14087 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14088 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14089 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14090 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14091 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14092 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14093 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14094 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14095 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14096 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14097 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14098 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14099 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14100 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14101 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14102 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14103 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14104 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14105 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14106 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14107 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14108 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14109 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14110 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14111 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14112 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14113 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14114 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14115 * sysdeps/powerpc/sysdep.h: Likewise.
14116 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14117 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14118 * sysdeps/sh/dl-trampoline.S: Likewise.
14119 * sysdeps/sh/memset.S: Likewise.
14120 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14121 * sysdeps/sh/strlen.S: Likewise.
14122 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14123 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14124 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14125 * sysdeps/sparc/sparc32/rem.S: Likewise.
14126 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14127 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14128 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14129 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14130 * sysdeps/sparc/sparc32/urem.S: Likewise.
14131 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14132 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14133 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14134 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14135 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14136 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14137 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14138 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14139 * sysdeps/unix/bsd/times.c: Likewise.
14140 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14141 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14145 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14146 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14147 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14148 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14149 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14150 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14151 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14152 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14153 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14154 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14155 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14156 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14157 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14158 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14159 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14160 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14161 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14162 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14163 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14164 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14165 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14166 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14167 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14168 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14169 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14170 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14171 * sysdeps/x86_64/strcspn.S: Likewise.
14172
869378a5
RA
141732013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14174
14175 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14176 generated file. Regenerate properly from gen-translit.pl.
14177 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14178 locale/C-translit.h.
14179
840e2943
AS
141802013-06-05 Andreas Schwab <schwab@suse.de>
14181
14182 [BZ #15100]
14183 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14184 week as 6 instead of -1.
14185 * time/tst-strptime.c (day_tests): Add test case.
14186
4c60cb0c
SP
141872013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14188
14189 * sysdeps/generic/math_private.h
14190 (libc_feholdexcept_setround_53bit): Replace with
14191 libc_feholdsetround_53bit.
14192 (libc_feupdateenv_53bit): Replace with
14193 libc_feresetround_53bit.
14194 (SET_RESTORE_ROUND_53BIT): Adjust.
14195
d180203e
SP
141962013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14197
96df079a
SP
14198 * string/test-strchrnul.c: Add copyright header.
14199
d180203e
SP
14200 * posix/tst-getaddrinfo4.c: Increase test timeout.
14201
8b0ccb2d
CD
142022013-06-03 Carlos O'Donell <carlos@redhat.com>
14203
14204 [BZ #15536]
14205 * math/libm-test.inc (MAX_EXP): Remove
14206 (MIN_EXP): Define.
14207 (ulp): Use MIN_EXP - MANT_DIG.
14208 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14209
3b3c4d40
CD
142102013-05-31 Carlos O'Donell <carlos@redhat.com>
14211
14212 * po/be.po: Revert last change.
14213 * po/zh_CN.po: Likewise.
14214 * po/header.pot: Likewise.
14215
fab7ce3f
JM
142162013-05-31 Joseph Myers <joseph@codesourcery.com>
14217
14218 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14219 link-libc-deps to empty as target-specific variable.
14220 * Makerules (link-libc-args): New variable.
14221 (libc-for-link): Likewise.
14222 (link-libc-deps): Likewise.
14223 (lib%.so): Depend on $(link-libc-deps). Link with
14224 $(link-libc-args).
14225 (build-module): Link with $(link-libc-args).
14226 (build-module-asneeded): Likewise.
14227 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14228 list of objects.
14229 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14230 target-specific variable.
14231 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14232 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14233 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14234 libc.
14235 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14236 libc and ld.so.
14237 ($(objpfx)libpcprofile.so): Likewise.
14238 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14239 libc_nonshared.a.
14240 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14241 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14242 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14243 $(link-libc-deps).
14244 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14245 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14246 * login/Makefile ($(objpfx)libutil.so): Likewise.
14247 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14248 * math/Makefile ($(objpfx)libm.so): Likewise.
14249 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14250 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14251 variable instead of depending directly on libc.
14252 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14253 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14254 $(link-libc-deps).
14255 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14256 libc.
14257 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14258 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14259 ($(objpfx)libanl.so): Likewise.
14260 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14261 ld.so.
14262 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14263 $(link-libc-deps).
14264 * sysdeps/i386/fpu/Makefile: Remove file.
14265 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14266 ($(objpfx)libm.so): Remove dependency on ld.so.
14267
eca5920c
PF
142682013-05-30 Patsy Franklin <pfrankli@redhat.com>
14269
14270 [BZ # 15553]
14271 * nis/yp_xdr.c (XDRMAXNAME): Define.
14272 (XDRMAXRECORD): Define.
14273 (xdr_domainname): Use XDRMAXNAME.
14274 (xdr_mapname): Likewise.
14275 (xdr_peername): Likewise.
14276 (xdr_keydat): Use XDRMAXRECORD.
14277 (xdr_valdat): Likewise.
14278
142792013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14280
14281 [BZ #14256]
14282 * manual/errno.texi (ESTALE): Update to account for more than
14283 just NFS file systems.
14284 * sysdeps/gnu/errlist.c: Regenerated.
14285
b9375348
SP
142862013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14287
14288 [BZ #15465]
14289 * elf/Makefile (tests): Add tst-null-argv.
14290 (modules-names): Add tst-null-argv-lib.
14291 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14292 (tst-null-argv-ENV): Set environment for tst-null-argv.
14293 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14294 (RTLD_PROGNAME): New macro.
14295 * elf/tst-null-argv.c: New test case.
14296 * elf/tst-null-argv-lib.c: Library for test case.
14297 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14298 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14299 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14300 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14301 * elf/dl-init.c (call_init): Likewise.
14302 (_dl_init): Likewise.
14303 * elf/dl-load.c (print_search_path): Likewise.
14304 (_dl_map_object): Likewise.
14305 * elf/dl-lookup.c (do_lookup_x): Likewise.
14306 (add_dependency): Likewise.
14307 (_dl_lookup_symbol_x): Likewise.
14308 (_dl_debug_bindings): Likewise.
14309 * elf/dl-open.c (_dl_show_scope): Likewise.
14310 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14311 * elf/dl-version.c (match_symbol): Likewise.
14312 (_dl_check_map_versions): Likewise.
14313 * elf/rtld.c (dl_main): Likewise.
14314 (print_unresolved): Use RTLD_PROGNAME.
14315 (print_missing_version): Likewise.
14316 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14317 (elf_machine_rela): Likewise.
14318 * sysdeps/powerpc/powerpc32/dl-machine.c
14319 (__process_machine_rela): Likewise.
14320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14321 Likewise.
14322 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14323 Likewise.
14324 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14325 Likewise.
14326 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14328 Likewise.
14329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14330 Likewise.
14331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14332
8a9f20c8
CD
143332013-05-28 Carlos O'Donell <carlos@redhat.com>
14334
14335 * po/be.po: Add descriptive title.
14336 * po/zh_CN.po: Likewise.
14337 * po/header.pot: Likewise.
14338
0e60d68e
MF
143392013-05-28 Mike Frysinger <vapier@gentoo.org>
14340
14341 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14342 error message.
14343 (enlarge_archive): Likewise.
14344
56b672e9
BN
143452013-05-28 Ben North <ben@redfrontdoor.org>
14346
14347 * manual/arith.texi (frexp): It is the magnitude of the return
14348 value which lies in [0.5, 1), not the return value itself.
14349
5e056687
AZ
143502013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14351
14352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14353
2b66ef5d
TS
143542013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14355
528c2405
TS
14356 * stdio-common/bug26.c (main): Correct fscanf template.
14357
07b4c13d
TS
14358 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14359 declare _dl_skip_args.
14360
ec9dd97c
TS
14361 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14362 Don't declare.
14363
2b66ef5d
TS
14364 * manual/platform.texi: Add missing @end deftypefun.
14365
4f8dfe27
JM
143662013-05-24 Joseph Myers <joseph@codesourcery.com>
14367
0323d086
JM
14368 [BZ #15529]
14369 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14370 bit of mantissa of 2^16382.
14371 * math/libm-test.inc (hypot_test_data): Add more tests.
14372
dd4259b9
JM
14373 * math/libm-test.inc: Add drem and pow10 to list of tested
14374 functions.
14375 (pow10_test): New function.
14376 (drem_test): Likewise.
14377 (drem_test_tonearest): Likewise.
14378 (drem_test_towardzero): Likewise.
14379 (drem_test_downward): Likewise.
14380 (drem_test_upward): Likewise.
14381 (main): Call the new functions.
14382
4f8dfe27
JM
14383 * math/libm-test.inc (finite_test_data): Remove.
14384 (finite_test): Run tests from isfinite_test_data.
14385 (gamma_test_data): Remove.
14386 (gamma_test): Run tests from lgamma_test_data.
14387 * sysdeps/i386/fpu/libm-test-ulps: Update.
14388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389
d116b7c4
AZ
143902013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14391
14392 * manual/platform.texi: Add PowerPC PPR function set documentation.
14393 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14394 implementation.
14395
e96e3767
CD
143962013-05-24 Carlos O'Donell <carlos@redhat.com>
14397
14398 * math/libm-test.inc (MAX_EXP): Define.
14399 (ULPDIFF): Define.
14400 (ulp): New function.
14401 (check_float_internal): Use ULPDIFF.
14402 (cpow_test): Disable failing test.
14403 (check_ulp): Test ulp() implemetnation.
14404 (main): Call check_ulp before starting tests.
14405
b679a606
JM
144062013-05-24 Joseph Myers <joseph@codesourcery.com>
14407
e8bdba36
JM
14408 * math/gen-libm-test.pl (generate_testfile): Do not handle
14409 START_DATA and END_DATA.
14410 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14411 END_DATA.
14412 (acos_tonearest_test_data): Likewise.
14413 (acos_towardzero_test_data): Likewise.
14414 (acos_downward_test_data): Likewise.
14415 (acos_upward_test_data): Likewise.
14416 (acosh_test_data): Likewise.
14417 (asin_test_data): Likewise.
14418 (asin_tonearest_test_data): Likewise.
14419 (asin_towardzero_test_data): Likewise.
14420 (asin_downward_test_data): Likewise.
14421 (asin_upward_test_data): Likewise.
14422 (asinh_test_data): Likewise.
14423 (atan_test_data): Likewise.
14424 (atanh_test_data): Likewise.
14425 (atan2_test_data): Likewise.
14426 (cabs_test_data): Likewise.
14427 (cacos_test_data): Likewise.
14428 (cacosh_test_data): Likewise.
14429 (carg_test_data): Likewise.
14430 (casin_test_data): Likewise.
14431 (casinh_test_data): Likewise.
14432 (catan_test_data): Likewise.
14433 (catanh_test_data): Likewise.
14434 (cbrt_test_data): Likewise.
14435 (ccos_test_data): Likewise.
14436 (ccosh_test_data): Likewise.
14437 (ceil_test_data): Likewise.
14438 (cexp_test_data): Likewise.
14439 (cimag_test_data): Likewise.
14440 (clog_test_data): Likewise.
14441 (clog10_test_data): Likewise.
14442 (conj_test_data): Likewise.
14443 (copysign_test_data): Likewise.
14444 (cos_test_data): Likewise.
14445 (cos_tonearest_test_data): Likewise.
14446 (cos_towardzero_test_data): Likewise.
14447 (cos_downward_test_data): Likewise.
14448 (cos_upward_test_data): Likewise.
14449 (cosh_test_data): Likewise.
14450 (cosh_tonearest_test_data): Likewise.
14451 (cosh_towardzero_test_data): Likewise.
14452 (cosh_downward_test_data): Likewise.
14453 (cosh_upward_test_data): Likewise.
14454 (cpow_test_data): Likewise.
14455 (cproj_test_data): Likewise.
14456 (creal_test_data): Likewise.
14457 (csin_test_data): Likewise.
14458 (csinh_test_data): Likewise.
14459 (csqrt_test_data): Likewise.
14460 (ctan_test_data): Likewise.
14461 (ctan_tonearest_test_data): Likewise.
14462 (ctan_towardzero_test_data): Likewise.
14463 (ctan_downward_test_data): Likewise.
14464 (ctan_upward_test_data): Likewise.
14465 (ctanh_test_data): Likewise.
14466 (ctanh_tonearest_test_data): Likewise.
14467 (ctanh_towardzero_test_data): Likewise.
14468 (ctanh_downward_test_data): Likewise.
14469 (ctanh_upward_test_data): Likewise.
14470 (erf_test_data): Likewise.
14471 (erfc_test_data): Likewise.
14472 (exp_test_data): Likewise.
14473 (exp_tonearest_test_data): Likewise.
14474 (exp_towardzero_test_data): Likewise.
14475 (exp_downward_test_data): Likewise.
14476 (exp_upward_test_data): Likewise.
14477 (exp10_test_data): Likewise.
14478 (exp2_test_data): Likewise.
14479 (expm1_test_data): Likewise.
14480 (fabs_test_data): Likewise.
14481 (fdim_test_data): Likewise.
14482 (finite_test_data): Likewise.
14483 (floor_test_data): Likewise.
14484 (fma_test_data): Likewise.
14485 (fma_towardzero_test_data): Likewise.
14486 (fma_downward_test_data): Likewise.
14487 (fma_upward_test_data): Likewise.
14488 (fmax_test_data): Likewise.
14489 (fmin_test_data): Likewise.
14490 (fmod_test_data): Likewise.
14491 (fpclassify_test_data): Likewise.
14492 (frexp_test_data): Likewise.
14493 (gamma_test_data): Likewise.
14494 (hypot_test_data): Likewise.
14495 (ilogb_test_data): Likewise.
14496 (isfinite_test_data): Likewise.
14497 (isgreater_test_data): Likewise.
14498 (isgreaterequal_test_data): Likewise.
14499 (isinf_test_data): Likewise.
14500 (isless_test_data): Likewise.
14501 (islessequal_test_data): Likewise.
14502 (islessgreater_test_data): Likewise.
14503 (isnan_test_data): Likewise.
14504 (isnormal_test_data): Likewise.
14505 (issignaling_test_data): Likewise.
14506 (isunordered_test_data): Likewise.
14507 (j0_test_data): Likewise.
14508 (j1_test_data): Likewise.
14509 (jn_test_data): Likewise.
14510 (ldexp_test_data): Likewise.
14511 (lgamma_test_data): Likewise.
14512 (lrint_test_data): Likewise.
14513 (lrint_tonearest_test_data): Likewise.
14514 (lrint_towardzero_test_data): Likewise.
14515 (lrint_downward_test_data): Likewise.
14516 (lrint_upward_test_data): Likewise.
14517 (llrint_test_data): Likewise.
14518 (llrint_tonearest_test_data): Likewise.
14519 (llrint_towardzero_test_data): Likewise.
14520 (llrint_downward_test_data): Likewise.
14521 (llrint_upward_test_data): Likewise.
14522 (log_test_data): Likewise.
14523 (log10_test_data): Likewise.
14524 (log1p_test_data): Likewise.
14525 (log2_test_data): Likewise.
14526 (logb_test_data): Likewise.
14527 (logb_downward_test_data): Likewise.
14528 (lround_test_data): Likewise.
14529 (llround_test_data): Likewise.
14530 (modf_test_data): Likewise.
14531 (nearbyint_test_data): Likewise.
14532 (nextafter_test_data): Likewise.
14533 (nexttoward_test_data): Likewise.
14534 (pow_test_data): Likewise.
14535 (pow_tonearest_test_data): Likewise.
14536 (pow_towardzero_test_data): Likewise.
14537 (pow_downward_test_data): Likewise.
14538 (pow_upward_test_data): Likewise.
14539 (remainder_test_data): Likewise.
14540 (remainder_tonearest_test_data): Likewise.
14541 (remainder_towardzero_test_data): Likewise.
14542 (remainder_downward_test_data): Likewise.
14543 (remainder_upward_test_data): Likewise.
14544 (remquo_test_data): Likewise.
14545 (rint_test_data): Likewise.
14546 (rint_tonearest_test_data): Likewise.
14547 (rint_towardzero_test_data): Likewise.
14548 (rint_downward_test_data): Likewise.
14549 (rint_upward_test_data): Likewise.
14550 (round_test_data): Likewise.
14551 (scalb_test_data): Likewise.
14552 (scalbn_test_data): Likewise.
14553 (scalbln_test_data): Likewise.
14554 (signbit_test_data): Likewise.
14555 (sin_test_data): Likewise.
14556 (sin_tonearest_test_data): Likewise.
14557 (sin_towardzero_test_data): Likewise.
14558 (sin_downward_test_data): Likewise.
14559 (sin_upward_test_data): Likewise.
14560 (sincos_test_data): Likewise.
14561 (sinh_test_data): Likewise.
14562 (sinh_tonearest_test_data): Likewise.
14563 (sinh_towardzero_test_data): Likewise.
14564 (sinh_downward_test_data): Likewise.
14565 (sinh_upward_test_data): Likewise.
14566 (sqrt_test_data): Likewise.
14567 (tan_test_data): Likewise.
14568 (tan_tonearest_test_data): Likewise.
14569 (tan_towardzero_test_data): Likewise.
14570 (tan_downward_test_data): Likewise.
14571 (tan_upward_test_data): Likewise.
14572 (tanh_test_data): Likewise.
14573 (tgamma_test_data): Likewise.
14574 (trunc_test_data): Likewise.
14575 (y0_test_data): Likewise.
14576 (y1_test_data): Likewise.
14577 (yn_test_data): Likewise.
14578 (significand_test_data): Likewise.
14579
b679a606
JM
14580 * math/gen-libm-test.pl (@functions): Remove variable.
14581 (generate_testfile): Don't handle START and END lines.
14582 * math/libm-test.inc (START): New macro.
14583 (END): Likewise.
14584 (END_COMPLEX): Likewise.
14585 (acos_test): Use END macro without arguments.
14586 (acos_test_tonearest): Likewise.
14587 (acos_test_towardzero): Likewise.
14588 (acos_test_downward): Likewise.
14589 (acos_test_upward): Likewise.
14590 (acosh_test): Likewise.
14591 (asin_test): Likewise.
14592 (asin_test_tonearest): Likewise.
14593 (asin_test_towardzero): Likewise.
14594 (asin_test_downward): Likewise.
14595 (asin_test_upward): Likewise.
14596 (asinh_test): Likewise.
14597 (atan_test): Likewise.
14598 (atanh_test): Likewise.
14599 (atan2_test): Likewise.
14600 (cabs_test): Likewise.
14601 (cacos_test): Use END_COMPLEX macro without arguments.
14602 (cacosh_test): Likewise.
14603 (carg_test): Use END macro without arguments.
14604 (casin_test): Use END_COMPLEX macro without arguments.
14605 (casinh_test): Likewise.
14606 (catan_test): Likewise.
14607 (catanh_test): Likewise.
14608 (cbrt_test): Use END macro without arguments.
14609 (ccos_test): Use END_COMPLEX macro without arguments.
14610 (ccosh_test): Likewise.
14611 (ceil_test): Use END macro without arguments.
14612 (cexp_test): Use END_COMPLEX macro without arguments.
14613 (cimag_test): Use END macro without arguments.
14614 (clog_test): Use END_COMPLEX macro without arguments.
14615 (clog10_test): Likewise.
14616 (conj_test): Likewise.
14617 (copysign_test): Use END macro without arguments.
14618 (cos_test): Likewise.
14619 (cos_test_tonearest): Likewise.
14620 (cos_test_towardzero): Likewise.
14621 (cos_test_downward): Likewise.
14622 (cos_test_upward): Likewise.
14623 (cosh_test): Likewise.
14624 (cosh_test_tonearest): Likewise.
14625 (cosh_test_towardzero): Likewise.
14626 (cosh_test_downward): Likewise.
14627 (cosh_test_upward): Likewise.
14628 (cpow_test): Use END_COMPLEX macro without arguments.
14629 (cproj_test): Likewise.
14630 (creal_test): Use END macro without arguments.
14631 (csin_test): Use END_COMPLEX macro without arguments.
14632 (csinh_test): Likewise.
14633 (csqrt_test): Likewise.
14634 (ctan_test): Likewise.
14635 (ctan_test_tonearest): Likewise.
14636 (ctan_test_towardzero): Likewise.
14637 (ctan_test_downward): Likewise.
14638 (ctan_test_upward): Likewise.
14639 (ctanh_test): Likewise.
14640 (ctanh_test_tonearest): Likewise.
14641 (ctanh_test_towardzero): Likewise.
14642 (ctanh_test_downward): Likewise.
14643 (ctanh_test_upward): Likewise.
14644 (erf_test): Use END macro without arguments.
14645 (erfc_test): Likewise.
14646 (exp_test): Likewise.
14647 (exp_test_tonearest): Likewise.
14648 (exp_test_towardzero): Likewise.
14649 (exp_test_downward): Likewise.
14650 (exp_test_upward): Likewise.
14651 (exp10_test): Likewise.
14652 (exp2_test): Likewise.
14653 (expm1_test): Likewise.
14654 (fabs_test): Likewise.
14655 (fdim_test): Likewise.
14656 (finite_test): Likewise.
14657 (floor_test): Likewise.
14658 (fma_test): Likewise.
14659 (fma_test_towardzero): Likewise.
14660 (fma_test_downward): Likewise.
14661 (fma_test_upward): Likewise.
14662 (fmax_test): Likewise.
14663 (fmin_test): Likewise.
14664 (fmod_test): Likewise.
14665 (fpclassify_test): Likewise.
14666 (frexp_test): Likewise.
14667 (gamma_test): Likewise.
14668 (hypot_test): Likewise.
14669 (ilogb_test): Likewise.
14670 (isfinite_test): Likewise.
14671 (isgreater_test): Likewise.
14672 (isgreaterequal_test): Likewise.
14673 (isinf_test): Likewise.
14674 (isless_test): Likewise.
14675 (islessequal_test): Likewise.
14676 (islessgreater_test): Likewise.
14677 (isnan_test): Likewise.
14678 (isnormal_test): Likewise.
14679 (issignaling_test): Likewise.
14680 (isunordered_test): Likewise.
14681 (j0_test): Likewise.
14682 (j1_test): Likewise.
14683 (jn_test): Likewise.
14684 (ldexp_test): Likewise.
14685 (lgamma_test): Likewise.
14686 (lrint_test): Likewise.
14687 (lrint_test_tonearest): Likewise.
14688 (lrint_test_towardzero): Likewise.
14689 (lrint_test_downward): Likewise.
14690 (lrint_test_upward): Likewise.
14691 (llrint_test): Likewise.
14692 (llrint_test_tonearest): Likewise.
14693 (llrint_test_towardzero): Likewise.
14694 (llrint_test_downward): Likewise.
14695 (llrint_test_upward): Likewise.
14696 (log_test): Likewise.
14697 (log10_test): Likewise.
14698 (log1p_test): Likewise.
14699 (log2_test): Likewise.
14700 (logb_test): Likewise.
14701 (logb_test_downward): Likewise.
14702 (lround_test): Likewise.
14703 (llround_test): Likewise.
14704 (modf_test): Likewise.
14705 (nearbyint_test): Likewise.
14706 (nextafter_test): Likewise.
14707 (nexttoward_test): Likewise.
14708 (pow_test): Likewise.
14709 (pow_test_tonearest): Likewise.
14710 (pow_test_towardzero): Likewise.
14711 (pow_test_downward): Likewise.
14712 (pow_test_upward): Likewise.
14713 (remainder_test): Likewise.
14714 (remainder_test_tonearest): Likewise.
14715 (remainder_test_towardzero): Likewise.
14716 (remainder_test_downward): Likewise.
14717 (remainder_test_upward): Likewise.
14718 (remquo_test): Likewise.
14719 (rint_test): Likewise.
14720 (rint_test_tonearest): Likewise.
14721 (rint_test_towardzero): Likewise.
14722 (rint_test_downward): Likewise.
14723 (rint_test_upward): Likewise.
14724 (round_test): Likewise.
14725 (scalb_test): Likewise.
14726 (scalbn_test): Likewise.
14727 (scalbln_test): Likewise.
14728 (signbit_test): Likewise.
14729 (sin_test): Likewise.
14730 (sin_test_tonearest): Likewise.
14731 (sin_test_towardzero): Likewise.
14732 (sin_test_downward): Likewise.
14733 (sin_test_upward): Likewise.
14734 (sincos_test): Likewise.
14735 (sinh_test): Likewise.
14736 (sinh_test_tonearest): Likewise.
14737 (sinh_test_towardzero): Likewise.
14738 (sinh_test_downward): Likewise.
14739 (sinh_test_upward): Likewise.
14740 (sqrt_test): Likewise.
14741 (tan_test): Likewise.
14742 (tan_test_tonearest): Likewise.
14743 (tan_test_towardzero): Likewise.
14744 (tan_test_downward): Likewise.
14745 (tan_test_upward): Likewise.
14746 (tanh_test): Likewise.
14747 (tgamma_test): Likewise.
14748 (trunc_test): Likewise.
14749 (y0_test): Likewise.
14750 (y1_test): Likewise.
14751 (yn_test): Likewise.
14752 (significand_test): Likewise.
14753
bae143d2
OB
147542013-05-24 Ondřej Bílka <neleai@seznam.cz>
14755
14756 [BZ #15381]
14757 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14758
9323d39b
EM
147592013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14760
d4ea44a0 14761 [BZ #14894]
9323d39b
EM
14762 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14763 __ppc_mdoio and __ppc_mdoom.
14764 * manual/platform.texi: Document new functions __ppc_yield,
14765 __ppc_mdoio and __ppc_mdoom.
14766
13e23af7
CD
147672013-05-22 Carlos O'Donell <carlos@redhat.com>
14768
14769 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14770 (main): Mention "tls" pseudo-hwcap is legacy.
14771 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14772
351fe550
JM
147732013-05-22 Joseph Myers <joseph@codesourcery.com>
14774
14775 * math/gen-libm-test.pl (parse_args): Output only string of
14776 arguments as text for test name, not full call or descriptions of
14777 tests for extra outputs.
14778 (generate_testfile): Do not pass function name to parse_args.
14779 Generate this_func variable from START.
14780 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14781 field to arg_str.
14782 (struct test_ff_f_data): Likewise.
14783 (test_ff_f_data_nexttoward): Likewise.
14784 (struct test_fi_f_data): Likewise.
14785 (struct test_fl_f_data): Likewise.
14786 (struct test_if_f_data): Likewise.
14787 (struct test_fff_f_data): Likewise.
14788 (struct test_c_f_data): Likewise.
14789 (struct test_f_f1_data): Likewise. Remove field extra_name.
14790 (struct test_fF_f1_data): Likewise.
14791 (struct test_ffI_f1_data): Likewise.
14792 (struct test_c_c_data): Rename test_name field to arg_str.
14793 (struct test_cc_c_data): Likewise.
14794 (struct test_f_i_data): Likewise.
14795 (struct test_ff_i_data): Likewise.
14796 (struct test_f_l_data): Likewise.
14797 (struct test_f_L_data): Likewise.
14798 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14799 and extra2_name.
14800 (COMMON_TEST_SETUP): New macro.
14801 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14802 (COMMON_TEST_CLEANUP): Likewise.
14803 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14804 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14805 macros.
14806 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14807 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14808 macros.
14809 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14810 (RUN_TEST_fff_f): Take argument string. Call new setup and
14811 cleanup macros.
14812 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14813 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14814 macros.
14815 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14816 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14817 macros.
14818 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14819 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14820 cleanup macros.
14821 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14822 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14823 cleanup macros.
14824 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14825 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14826 cleanup macros.
14827 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14828 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14829 macros.
14830 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14831 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14832 macros.
14833 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14834 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14835 macros.
14836 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14837 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14838 cleanup macros.
14839 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14840 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14841 cleanup macros.
14842 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14843 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14844 macros.
14845 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14846 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14847 cleanup macros.
14848 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14849 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14850 macros.
14851 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14852 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14853 macros.
14854 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14855 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14856 cleanup macros.
14857 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14858
85118d4d
EBM
148592013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14860
14861 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14862 to _sifields.sigfault.
14863 (si_addr_lsb): Define new macro.
14864 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14866 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14867
7a44c18f
CD
148682013-05-03 Carlos O'Donell <carlos at redhat.com>
14869
14870 [BZ #15441]
14871 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14872 returns -1.
14873 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14874 null return -1.
14875 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14876 loading the domain.
14877
b50a7181
JM
148782013-05-22 Joseph Myers <joseph@codesourcery.com>
14879
14880 * math/gen-libm-test.pl (parse_args): Do not include expected
14881 result in test name.
14882 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14883 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14884 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14885 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14886 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14888
051063c8
SP
148892013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14890
3ce9e010
SP
14891 * benchtests/Makefile: Sort function entries.
14892
051063c8
SP
14893 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14894 tanh, asinh, acosh, atanh.
14895 * benchtests/acos-inputs: New file.
14896 * benchtests/acosh-inputs: New file.
14897 * benchtests/asin-inputs: New file.
14898 * benchtests/asinh-inputs: New file.
14899 * benchtests/atanh-inputs: New file.
14900 * benchtests/cosh-inputs: New file.
14901 * benchtests/log-inputs: New file.
14902 * benchtests/sinh-inputs: New file.
14903 * benchtests/tanh-inputs: New file.
14904
47c22455
DL
149052013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14906
14907 [BZ #15339]
14908 * posix/tst-getaddrinfo4.c: New test.
14909 * posix/Makefile (tests): Add it.
14910
3d04f5db
SP
149112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14912
14913 [BZ #15339]
14914 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14915 when no services were used.
14916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14917 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14918
d5dd6189
AS
149192013-05-21 Andreas Schwab <schwab@suse.de>
14920
14921 [BZ #15014]
14922 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14923 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14924 successful.
14925 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14926 redundant variable declarations and reallocation of buffer when
14927 parsing as IPv6 address. Always set NSS status when called from
14928 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14929 buffer too small. Correct computation of needed size.
14930 * nss/Makefile (tests): Add test-digits-dots.
14931 * nss/test-digits-dots.c: New test.
14932
fef94eab
SP
149332013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14934
14935 * benchtests/Makefile: Remove instructions for adding
14936 benchmark tests.
14937 * benchtests/README: New file to explain how to execute and
14938 enhance the benchmark tests.
14939
e39adf43
AS
149402013-05-21 Andreas Schwab <schwab@suse.de>
14941
14942 [BZ #15493]
14943 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14944 * setjmp/tst-sigsetjmp.c: New test.
14945
b2b671b6
OB
149462013-05-20 Ondřej Bílka <neleai@seznam.cz>
14947
14948 * sysdeps/x86_64/memset.S (memset): New implementation.
14949 (__bzero): Likewise.
14950 (__memset_tail): New function.
14951
2d48b41c
OB
149522013-05-20 Ondřej Bílka <neleai@seznam.cz>
14953
14954 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14955 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14956 __memcpy_sse2_unaligned ifunc selection.
14957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14958 Add memcpy-sse2-unaligned.S.
14959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14960 Add: __memcpy_sse2_unaligned.
14961
f16cc3eb
JM
149622013-05-19 Joseph Myers <joseph@codesourcery.com>
14963
3e694268
JM
14964 [BZ #15490]
14965 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14966 math_force_eval before restoring floating-point envrionment.
14967 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14968 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14969 Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14971 <math_private.h>.
14972 (__nearbyintl): Use math_force_eval before restoring
14973 floating-point environment.
14974 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14975
db62a907
JM
14976 * math/gen-libm-test.pl (special_functions): Remove.
14977 (parse_args): Don't handle TEST_extra. Handle functions with no
14978 return value.
14979 * math/libm-test.inc (struct test_sincos_data): Replace with
14980 struct test_fFF_11_data.
14981 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14982 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14983 (sincos_test_data): Change element type to struct
14984 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14985 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14986 RUN_TEST_LOOP_sincos.
14987 * math/README.libm-test: Don't mention special handling of
14988 individual functions.
14989 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14990 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14991 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14992 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14993 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14995
f16cc3eb
JM
14996 * math/gen-libm-test.pl (get_variable): Remove function.
14997 (parse_args): Don't show pointer parameters to call in test
14998 names. Use "extra output N" in test names for extra outputs
14999 rather than naming variables.
15000
3779b5b6
JM
150012013-05-18 Joseph Myers <joseph@codesourcery.com>
15002
2ee094ff
JM
15003 [BZ #15488]
15004 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15005 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15006 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15007 double tests.
15008 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15009 disable.
15010 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15011 check_long_double.
15012
3779b5b6
JM
15013 * math/gen-libm-test.pl (@tests): Remove variable.
15014 ($count): Likewise.
15015 (new_test): Remove function.
15016 (show_exceptions): New function.
15017 (special_functions): Use show_exceptions instead of new_test.
15018 (parse_args): Likewise.
15019 (generate_testfile): Pass only function name in generated call to
15020 print_max_error or print_complex_max_error.
15021 (get_ulps): Do not handle complex tests specially.
15022 (output_test): Rename to ...
15023 (get_all_ulps_for_test): ... this. Return a string rather than
15024 printing to a file. Require ulps to be present.
15025 (output_ulps): Generate arrays rather than #defines.
15026 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15027 (struct ulp_data): New type.
15028 (BUILD_COMPLEX_ULP): Remove macro.
15029 (compare_ulp_data): New function.
15030 (find_ulps): Likewise.
15031 (find_test_ulps): Likewise.
15032 (find_function_ulps): Likewise.
15033 (find_complex_function_ulps): Likewise.
15034 (print_max_error): Determine allowed ulps using
15035 find_function_ulps.
15036 (print_complex_max_error): Determine allowed ulps using
15037 find_complex_function_ulps.
15038 (check_float_internal): Determine max ulps using find_test_ulps.
15039 (check_float): Do not take max_ulp parameter. Update call to
15040 check_float_internal.
15041 (check_complex): Likewise.
15042 (check_int): Do not take max_ulp parameter.
15043 (check_long): Likewise.
15044 (check_bool): Likewise.
15045 (check_longlong): Likewise.
15046 (struct test_f_f_data): Remove max_ulp field.
15047 (struct test_ff_f_data): Likewise.
15048 (struct test_ff_f_data_nexttoward): Likewise.
15049 (struct test_fi_f_data): Likewise.
15050 (struct test_fl_f_data): Likewise.
15051 (struct test_if_f_data): Likewise.
15052 (struct test_fff_f_data): Likewise.
15053 (struct test_c_f_data): Likewise.
15054 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15055 (struct test_fF_f1_data): Likewise.
15056 (struct test_ffI_f1_data): Likewise.
15057 (struct test_c_c_data): Remove max_ulp field.
15058 (struct test_cc_c_data): Likewise.
15059 (struct test_f_i_data): Likewise.
15060 (struct test_ff_i_data): Likewise.
15061 (struct test_f_l_data): Likewise.
15062 (struct test_f_L_data): Likewise.
15063 (struct test_sincos_data): Likewise.
15064 (RUN_TEST_f_f): Do not handle ulps.
15065 (RUN_TEST_LOOP_f_f): Likewise.
15066 (RUN_TEST_2_f): Likewise.
15067 (RUN_TEST_LOOP_2_f): Likewise.
15068 (RUN_TEST_fff_f): Likewise.
15069 (RUN_TEST_LOOP_fff_f): Likewise.
15070 (RUN_TEST_c_f): Likewise.
15071 (RUN_TEST_LOOP_c_f): Likewise.
15072 (RUN_TEST_f_f1): Likewise.
15073 (RUN_TEST_LOOP_f_f1): Likewise.
15074 (RUN_TEST_fF_f1): Likewise.
15075 (RUN_TEST_LOOP_fF_f1): Likewise.
15076 (RUN_TEST_fI_f1): Likewise.
15077 (RUN_TEST_LOOP_fI_f1): Likewise.
15078 (RUN_TEST_ffI_f1): Likewise.
15079 (RUN_TEST_LOOP_ffI_f1): Likewise.
15080 (RUN_TEST_c_c): Likewise.
15081 (RUN_TEST_LOOP_c_c): Likewise.
15082 (RUN_TEST_cc_c): Likewise.
15083 (RUN_TEST_LOOP_cc_c): Likewise.
15084 (RUN_TEST_f_i): Likewise.
15085 (RUN_TEST_LOOP_f_i): Likewise.
15086 (RUN_TEST_f_i_tg): Likewise.
15087 (RUN_TEST_LOOP_f_i_tg): Likewise.
15088 (RUN_TEST_ff_i_tg): Likewise.
15089 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15090 (RUN_TEST_f_b): Likewise.
15091 (RUN_TEST_LOOP_f_b): Likewise.
15092 (RUN_TEST_f_b_tg): Likewise.
15093 (RUN_TEST_LOOP_f_b_tg): Likewise.
15094 (RUN_TEST_f_l): Likewise.
15095 (RUN_TEST_LOOP_f_l): Likewise.
15096 (RUN_TEST_f_L): Likewise.
15097 (RUN_TEST_LOOP_f_L): Likewise.
15098 (RUN_TEST_sincos): Likewise.
15099 (RUN_TEST_LOOP_sincos): Likewise.
15100
8269107f
JM
151012013-05-17 Joseph Myers <joseph@codesourcery.com>
15102
bb38759d
JM
15103 [BZ #15480]
15104 [BZ #15485]
15105 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15106 main case of finite arguments, set rounding mode to FE_TONEAREST
15107 and discard exceptions.
15108 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15109 exceptions.
15110 (remainder_tonearest_test_data): New variable.
15111 (remainder_test_tonearest): New function.
15112 (remainder_towardzero_test_data): New variable.
15113 (remainder_test_towardzero): New function.
15114 (remainder_downward_test_data): New variable.
15115 (remainder_test_downward): New function.
15116 (remainder_upward_test_data): New variable.
15117 (remainder_test_upward): New function.
15118 (main): Call the new test functions.
15119
a00bdcf0
JM
15120 * math/libm-test.inc (struct test_f_f1_data): Remove field
15121 extra_init.
15122 (struct test_fF_f1_data): Likewise.
15123 (struct test_ffI_f1_data): Likewise.
15124 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15125 based on value of EXTRA_EXPECTED.
15126 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15127 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15128 EXTRA_VAR based on value of EXTRA_EXPECTED.
15129 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15130 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15131 EXTRA_VAR based on value of EXTRA_EXPECTED.
15132 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15133 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15134 EXTRA_VAR based on value of EXTRA_EXPECTED.
15135 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15136 * math/gen-libm-test.pl (parse_args): Don't output initializers
15137 for extra output values.
15138
de407f79
JM
15139 * math/libm-test.inc (check_int): Expect result to be exactly
15140 equal to expected value and do not handle ulps.
15141 (check_long): Likewise.
15142 (check_longlong): Likewise.
15143
8269107f
JM
15144 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15145 exceptions.
15146 (cimag_test_data): Likewise.
15147 (conj_test_data): Likewise.
15148 (copysign_test_data): Likewise.
15149 (cproj_test_data): Likewise.
15150 (creal_test_data): Likewise.
15151 (fabs_test_data): Likewise.
15152 (fdim_test_data): Likewise.
15153 (finite_test_data): Likewise.
15154 (floor_test_data): Likewise.
15155 (fmax_test_data): Likewise.
15156 (fmin_test_data): Likewise.
15157 (fmod_test_data): Likewise.
15158 (fpclassify_test_data): Likewise.
15159 (frexp_test_data): Likewise.
15160 (ilogb_test_data): Likewise.
15161 (isfinite_test_data): Likewise.
15162 (isgreater_test_data): Likewise.
15163 (isgreaterequal_test_data): Likewise.
15164 (isinf_test_data): Likewise.
15165 (isless_test_data): Likewise.
15166 (islessequal_test_data): Likewise.
15167 (islessgreater_test_data): Likewise.
15168 (isnan_test_data): Likewise.
15169 (isnormal_test_data): Likewise.
15170 (issignaling_test_data): Likewise.
15171 (isunordered_test_data): Likewise.
15172 (ldexp_test_data): Likewise.
15173 (lrint_test_data): Likewise.
15174 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15175 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15176 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15177 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15178 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15179 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15180 test input.
15181 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15182 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15183 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15184 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15185 that test input.
15186 (lrint_downward_test_data): Test for "inexact" exceptions.
15187 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15188 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15189 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15190 test input.
15191 (lrint_upward_test_data): Test for "inexact" exceptions.
15192 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15193 test input.
15194 (llrint_test_data): Test for "inexact" exceptions.
15195 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15196 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15197 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15198 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15199 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15200 (llrint_downward_test_data): Test for "inexact" exceptions.
15201 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15202 (llrint_upward_test_data): Test for "inexact" exceptions.
15203 (logb_test_data): Likewise.
15204 (logb_downward_test_data): Likewise.
15205 (nextafter_test_data): Likewise.
15206 (nexttoward_test_data): Likewise.
15207 (remainder_test_data): Likewise.
15208 (remquo_test_data): Likewise.
15209 (scalbn_test_data): Likewise.
15210 (scalbln_test_data): Likewise.
15211 (signbit_test_data): Likewise.
15212 (sqrt_test_data): Likewise.
15213 (significand_test_data): Likewise.
15214
48a18de1
SP
152152013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15216
15217 [BZ #15424]
15218 * benchtests/bench-modf.c (struct args): Mark arg0 as
15219 volatile.
15220 * scripts/bench.pl: Mark members of struct args as volatile.
15221
13d3b41a
AZ
152222013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15223
68191c1d 15224 [BZ # 15497]
13d3b41a
AZ
15225 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15226 negative infinity on POWER6 or lower.
15227 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15228
2848b105
MR
152292013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15230
15231 [BZ #15442]
15232 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15233 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15234 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15235 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15236 (_FP_SETQNAN): New macro.
15237 (_FP_SETQNAN_SEMIRAW): Likewise.
15238 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15239 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15240 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15241 (FP_EXTEND): Use _FP_FRAC_SNANP.
15242 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15243 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15244 into account.
15245 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15246 New macro.
15247 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15248 Likewise.
15249
323e5cb7
JM
152502013-05-16 Joseph Myers <joseph@codesourcery.com>
15251
c58b274f
JM
15252 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15253 with DIVIDE_BY_ZERO_EXCEPTION.
15254 (gamma_test_data): Likewise.
15255 (lgamma_test_data): Likewise.
15256 (log_test_data): Likewise.
15257 (log10_test_data): Likewise.
15258 (log2_test_data): Likewise.
15259 (tgamma_test_data): Likewise.
15260
0ab34904
JM
15261 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15262 (acos_test_tonearest): Likewise.
15263 (acos_test_towardzero): Likewise.
15264 (acos_test_downward): Likewise.
15265 (acos_test_upward): Likewise.
15266 (acosh_test): Likewise.
15267 (asin_test): Likewise.
15268 (asin_test_tonearest): Likewise.
15269 (asin_test_towardzero): Likewise.
15270 (asin_test_downward): Likewise.
15271 (asin_test_upward): Likewise.
15272 (asinh_test): Likewise.
15273 (atan_test): Likewise.
15274 (atanh_test): Likewise.
15275 (atan2_test): Likewise.
15276 (cabs_test): Likewise.
15277 (cacos_test): Likewise.
15278 (cacosh_test): Likewise.
15279 (casin_test): Likewise.
15280 (casinh_test): Likewise.
15281 (catan_test): Likewise.
15282 (catanh_test): Likewise.
15283 (cbrt_test): Likewise.
15284 (ccos_test): Likewise.
15285 (ccosh_test): Likewise.
15286 (cexp_test): Likewise.
15287 (clog_test): Likewise.
15288 (clog10_test): Likewise.
15289 (cos_test): Likewise.
15290 (cos_test_tonearest): Likewise.
15291 (cos_test_towardzero): Likewise.
15292 (cos_test_downward): Likewise.
15293 (cos_test_upward): Likewise.
15294 (cosh_test): Likewise.
15295 (cosh_test_tonearest): Likewise.
15296 (cosh_test_towardzero): Likewise.
15297 (cosh_test_downward): Likewise.
15298 (cosh_test_upward): Likewise.
15299 (cpow_test): Likewise.
15300 (csin_test): Likewise.
15301 (csinh_test): Likewise.
15302 (csqrt_test): Likewise.
15303 (ctan_test): Likewise.
15304 (ctan_test_tonearest): Likewise.
15305 (ctan_test_towardzero): Likewise.
15306 (ctan_test_downward): Likewise.
15307 (ctan_test_upward): Likewise.
15308 (ctanh_test): Likewise.
15309 (ctanh_test_tonearest): Likewise.
15310 (ctanh_test_towardzero): Likewise.
15311 (ctanh_test_downward): Likewise.
15312 (ctanh_test_upward): Likewise.
15313 (erf_test): Likewise.
15314 (erfc_test): Likewise.
15315 (exp_test): Likewise.
15316 (exp_test_tonearest): Likewise.
15317 (exp_test_towardzero): Likewise.
15318 (exp_test_downward): Likewise.
15319 (exp_test_upward): Likewise.
15320 (exp10_test): Likewise.
15321 (exp2_test): Likewise.
15322 (expm1_test): Likewise.
15323 (fmod_test): Likewise.
15324 (gamma_test): Likewise.
15325 (hypot_test): Likewise.
15326 (j0_test): Likewise.
15327 (j1_test): Likewise.
15328 (jn_test): Likewise.
15329 (lgamma_test): Likewise.
15330 (log_test): Likewise.
15331 (log10_test): Likewise.
15332 (log1p_test): Likewise.
15333 (log2_test): Likewise.
15334 (logb_test_downward): Likewise.
15335 (pow_test): Likewise.
15336 (pow_test_tonearest): Likewise.
15337 (pow_test_towardzero): Likewise.
15338 (pow_test_downward): Likewise.
15339 (pow_test_upward): Likewise.
15340 (remainder_test): Likewise.
15341 (remquo_test): Likewise.
15342 (sin_test): Likewise.
15343 (sin_test_tonearest): Likewise.
15344 (sin_test_towardzero): Likewise.
15345 (sin_test_downward): Likewise.
15346 (sin_test_upward): Likewise.
15347 (sincos_test): Likewise.
15348 (sinh_test): Likewise.
15349 (sinh_test_tonearest): Likewise.
15350 (sinh_test_towardzero): Likewise.
15351 (sinh_test_downward): Likewise.
15352 (sinh_test_upward): Likewise.
15353 (sqrt_test): Likewise.
15354 (tan_test): Likewise.
15355 (tan_test_tonearest): Likewise.
15356 (tan_test_towardzero): Likewise.
15357 (tan_test_downward): Likewise.
15358 (tan_test_upward): Likewise.
15359 (tanh_test): Likewise.
15360 (tgamma_test): Likewise.
15361 (y0_test): Likewise.
15362 (y1_test): Likewise.
15363 (yn_test): Likewise.
15364
323e5cb7
JM
15365 * math/gen-libm-test.pl (adjust_arg): Remove function.
15366 (special_function): Remove argument $in_func. Only handle
15367 generating output for tables of tests, not inside functions.
15368 (parse_args): Likewise.
15369 (generate_testfile): Remove variable $in_func. Update call to
15370 parse_args.
15371 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15372 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15373 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15374 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15375 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15376 (MAX_VALUE_INIT): Rename macro to max_value.
15377 (MIN_VALUE_INIT): Rename macro to min_value.
15378 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15379 (plus_zero): Remove variable.
15380 (minus_zero): Likewise.
15381 (plus_infty): Likewise.
15382 (minus_infty): Likewise.
15383 (qnan_value): Likewise.
15384 (max_value): Likewise.
15385 (min_value): Likewise.
15386 (min_subnorm_value): Likewise.
15387
e054f494
RA
153882013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15389
15390 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15391 uint64_t or uint32_t usage.
15392 * crypt/sha256-block.c: Likewise.
15393 * crypt/sha256-crypt.c: Likewise.
15394 * crypt/sha256.c: Likewise.
15395 * crypt/sha512-block.c: Likewise.
15396 * crypt/sha512-crypt.c: Likewise.
15397 * crypt/sha512.c: Likewise.
15398 * debug/backtrace-tst.c: Likewise.
15399 * debug/pcprofiledump.c: Likewise.
15400 * elf/cache.c: Likewise.
15401 * elf/dl-cache.c: Likewise.
15402 * elf/dl-misc.c: Likewise.
15403 * elf/dl-profile.c: Likewise.
15404 * elf/dl-support.c: Likewise.
15405 * elf/ldconfig.c: Likewise.
15406 * elf/sprof.c: Likewise.
15407 * iconv/dummy-repertoire.c: Likewise.
15408 * iconv/iconv_charmap.c: Likewise.
15409 * iconv/skeleton.c: Likewise.
15410 * iconvdata/8bit-generic.c: Likewise.
15411 * iconvdata/cp737.h: Likewise.
15412 * iconvdata/cp775.h: Likewise.
15413 * iconvdata/ibm1008.h: Likewise.
15414 * iconvdata/ibm1025.h: Likewise.
15415 * iconvdata/ibm1046.h: Likewise.
15416 * iconvdata/ibm1097.h: Likewise.
15417 * iconvdata/ibm1112.h: Likewise.
15418 * iconvdata/ibm1122.h: Likewise.
15419 * iconvdata/ibm1123.h: Likewise.
15420 * iconvdata/ibm1124.h: Likewise.
15421 * iconvdata/ibm1129.h: Likewise.
15422 * iconvdata/ibm1130.h: Likewise.
15423 * iconvdata/ibm1132.h: Likewise.
15424 * iconvdata/ibm1133.h: Likewise.
15425 * iconvdata/ibm1137.h: Likewise.
15426 * iconvdata/ibm1140.h: Likewise.
15427 * iconvdata/ibm1141.h: Likewise.
15428 * iconvdata/ibm1142.h: Likewise.
15429 * iconvdata/ibm1143.h: Likewise.
15430 * iconvdata/ibm1144.h: Likewise.
15431 * iconvdata/ibm1145.h: Likewise.
15432 * iconvdata/ibm1146.h: Likewise.
15433 * iconvdata/ibm1147.h: Likewise.
15434 * iconvdata/ibm1148.h: Likewise.
15435 * iconvdata/ibm1149.h: Likewise.
15436 * iconvdata/ibm1153.h: Likewise.
15437 * iconvdata/ibm1154.h: Likewise.
15438 * iconvdata/ibm1155.h: Likewise.
15439 * iconvdata/ibm1156.h: Likewise.
15440 * iconvdata/ibm1157.h: Likewise.
15441 * iconvdata/ibm1158.h: Likewise.
15442 * iconvdata/ibm1160.h: Likewise.
15443 * iconvdata/ibm1161.h: Likewise.
15444 * iconvdata/ibm1162.h: Likewise.
15445 * iconvdata/ibm1163.h: Likewise.
15446 * iconvdata/ibm1164.h: Likewise.
15447 * iconvdata/ibm1166.h: Likewise.
15448 * iconvdata/ibm1167.h: Likewise.
15449 * iconvdata/ibm12712.h: Likewise.
15450 * iconvdata/ibm1390.h: Likewise.
15451 * iconvdata/ibm1399.h: Likewise.
15452 * iconvdata/ibm16804.h: Likewise.
15453 * iconvdata/ibm4517.h: Likewise.
15454 * iconvdata/ibm4899.h: Likewise.
15455 * iconvdata/ibm4909.h: Likewise.
15456 * iconvdata/ibm4971.h: Likewise.
15457 * iconvdata/ibm5347.h: Likewise.
15458 * iconvdata/ibm803.h: Likewise.
15459 * iconvdata/ibm856.h: Likewise.
15460 * iconvdata/ibm901.h: Likewise.
15461 * iconvdata/ibm902.h: Likewise.
15462 * iconvdata/ibm9030.h: Likewise.
15463 * iconvdata/ibm9066.h: Likewise.
15464 * iconvdata/ibm921.h: Likewise.
15465 * iconvdata/ibm922.h: Likewise.
15466 * iconvdata/ibm9448.h: Likewise.
15467 * iconvdata/isiri-3342.h: Likewise.
15468 * iconvdata/jis0201.h: Likewise.
15469 * include/link.h: Likewise.
15470 * include/netdb.h: Likewise.
15471 * inet/check_native.c: Likewise.
15472 * inet/check_pf.c: Likewise.
15473 * inet/getipv4sourcefilter.c: Likewise.
15474 * inet/getnameinfo.c: Likewise.
15475 * inet/getsourcefilter.c: Likewise.
15476 * inet/htonl.c: Likewise.
15477 * inet/setipv4sourcefilter.c: Likewise.
15478 * inet/setsourcefilter.c: Likewise.
15479 * inet/test-inet6_opt.c: Likewise.
15480 * inet/tst-network.c: Likewise.
15481 * locale/C-collate.c: Likewise.
15482 * locale/C-ctype.c: Likewise.
15483 * locale/C-time.c: Likewise.
15484 * locale/C-translit.h: Likewise.
15485 * locale/loadarchive.c: Likewise.
15486 * locale/programs/3level.h: Likewise.
15487 * locale/programs/charmap.c: Likewise.
15488 * locale/programs/charmap.h: Likewise.
15489 * locale/programs/ld-address.c: Likewise.
15490 * locale/programs/ld-collate.c: Likewise.
15491 * locale/programs/ld-ctype.c: Likewise.
15492 * locale/programs/ld-identification.c: Likewise.
15493 * locale/programs/ld-measurement.c: Likewise.
15494 * locale/programs/ld-messages.c: Likewise.
15495 * locale/programs/ld-monetary.c: Likewise.
15496 * locale/programs/ld-name.c: Likewise.
15497 * locale/programs/ld-numeric.c: Likewise.
15498 * locale/programs/ld-paper.c: Likewise.
15499 * locale/programs/ld-telephone.c: Likewise.
15500 * locale/programs/ld-time.c: Likewise.
15501 * locale/programs/linereader.c: Likewise.
15502 * locale/programs/locale.c: Likewise.
15503 * locale/programs/locarchive.c: Likewise.
15504 * locale/programs/locfile.h: Likewise.
15505 * locale/programs/repertoire.c: Likewise.
15506 * locale/programs/simple-hash.c: Likewise.
15507 * locale/programs/simple-hash.h: Likewise.
15508 * malloc/memusage.c: Likewise.
15509 * malloc/memusagestat.c: Likewise.
15510 * nis/nis_defaults.c: Likewise.
15511 * nis/nis_hash.c: Likewise.
15512 * nis/nis_print.c: Likewise.
15513 * nis/nis_xdr.c: Likewise.
15514 * nscd/connections.c: Likewise.
15515 * nscd/hstcache.c: Likewise.
15516 * nscd/nscd_gethst_r.c: Likewise.
15517 * nscd/nscd_getserv_r.c: Likewise.
15518 * nscd/nscd_helper.c: Likewise.
15519 * nscd/servicescache.c: Likewise.
15520 * nss/makedb.c: Likewise.
15521 * nss/nss_db/db-XXX.c: Likewise.
15522 * nss/nss_db/db-initgroups.c: Likewise.
15523 * nss/nss_db/db-netgrp.c: Likewise.
15524 * nss/nss_files/files-network.c: Likewise.
15525 * nss/nss_files/files-parse.c: Likewise.
15526 * posix/bug-regex5.c: Likewise.
15527 * posix/fnmatch_loop.c: Likewise.
15528 * posix/regcomp.c: Likewise.
15529 * posix/regexec.c: Likewise.
15530 * posix/tst-rfc3484-2.c: Likewise.
15531 * posix/tst-rfc3484-3.c: Likewise.
15532 * posix/tst-rfc3484.c: Likewise.
15533 * resolv/nss_dns/dns-canon.c: Likewise.
15534 * resolv/nss_dns/dns-network.c: Likewise.
15535 * resolv/res_init.c: Likewise.
15536 * resolv/res_mkquery.c: Likewise.
15537 * resolv/tst-aton.c: Likewise.
15538 * stdlib/cxa_atexit.c: Likewise.
15539 * stdlib/cxa_finalize.c: Likewise.
15540 * stdlib/gen-fpioconst.c: Likewise.
15541 * stdlib/strtol_l.c: Likewise.
15542 * string/tst-endian.c: Likewise.
15543 * sunrpc/auth_des.c: Likewise.
15544 * sunrpc/clnt_udp.c: Likewise.
15545 * sunrpc/rtime.c: Likewise.
15546 * sunrpc/svcauth_des.c: Likewise.
15547 * sunrpc/xdr.c: Likewise.
15548 * sunrpc/xdr_intXX_t.c: Likewise.
15549 * sunrpc/xdr_rec.c: Likewise.
15550 * sysdeps/generic/ldconfig.h: Likewise.
15551 * sysdeps/generic/ldsodefs.h: Likewise.
15552 * sysdeps/generic/memusage.h: Likewise.
15553 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15556 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15559 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15560 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15561 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15563 * sysdeps/posix/getaddrinfo.c: Likewise.
15564 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15565 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15566 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15567 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15568 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15569 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15570 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15571 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15572 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15573 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15574 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15575 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15576 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15577 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15578 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15579 * sysdeps/x86_64/dl-tls.h: Likewise.
15580 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15581 * time/alt_digit.c: Likewise.
15582 * time/era.c: Likewise.
15583 * wcsmbs/tst-c16c32-1.c: Likewise.
15584
8c75f674
JM
155852013-05-16 Joseph Myers <joseph@codesourcery.com>
15586
15587 * math/libm-test.inc (struct test_sincos_data): New type.
15588 (RUN_TEST_LOOP_sincos): New macro.
15589 (sincos_test_data): New variable.
15590 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15591
e6e49e59
RH
155922013-05-16 Richard Henderson <rth@redhat.com>
15593
15594 * math/atest-exp2.c (LIMB64): New macro.
15595 (CONSTSZ): New macro.
15596 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15597 (hexdig): Move ...
15598 (print_mpn_fp): ... to function scope.
15599 (read_mpn_hex): Remove.
15600 (get_log2): Remove.
15601 (exp2_mpn): Use mp_log2.
15602 (main): Use mp_exp1.
15603
15c7c18d
JM
156042013-05-16 Joseph Myers <joseph@codesourcery.com>
15605
105a07df
JM
15606 * math/libm-test.inc: Remove comment about not testing "inexact"
15607 exceptions.
15608 (INEXACT_EXCEPTION): New macro.
15609 (NO_INEXACT_EXCEPTION): Likewise.
15610 (INVALID_EXCEPTION_OK): Update value.
15611 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15612 (OVERFLOW_EXCEPTION_OK): Likewise.
15613 (UNDERFLOW_EXCEPTION_OK): Likewise.
15614 (IGNORE_ZERO_INF_SIGN): Likewise.
15615 (ERRNO_UNCHANGED): Likewise.
15616 (ERRNO_EDOM): Likewise.
15617 (ERRNO_ERANGE): Likewise.
15618 (test_exceptions): Handle testing "inexact" exceptions.
15619 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15620 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15621 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15622 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15623 INEXACT_EXCEPTION.
15624 (rint_towardzero_test_data): Likewise.
15625 (rint_downward_test_data): Likewise.
15626 (rint_upward_test_data): Likewise.
15627
e9eee333
JM
15628 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15629 with OVERFLOW_EXCEPTION.
15630 (exp10_test_data): Likewise.
15631 (exp2_test_data): Likewise.
15632 (expm1_test_data): Likewise.
15633 (lgamma_test_data): Likewise.
15634 (pow_test_data): Likewise.
15635 (tgamma_test_data): Likewise.
15636 (yn_test_data): Remove duplicate test of overflow.
15637
1c38ff73
JM
15638 * math/libm-test.inc (struct test_cc_c_data): New type.
15639 (RUN_TEST_LOOP_cc_c): New macro.
15640 (cpow_test_data): New variable.
15641 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15642
15c7c18d
JM
15643 * math/libm-test.inc (struct test_f_L_data): New type.
15644 (RUN_TEST_LOOP_f_L): New macro.
15645 (llrint_test_data): New variable.
15646 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15647 (llrint_tonearest_test_data): New variable.
15648 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15649 (llrint_towardzero_test_data): New variable.
15650 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15651 (llrint_downward_test_data): New variable.
15652 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15653 (llrint_upward_test_data): New variable.
15654 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15655 (llround_test_data): New variable.
15656 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15657
f137ff13
PC
156582013-05-13 Peter Collingbourne <pcc@google.com>
15659
15660 * math/atest-exp2.c (get_log2): Remove const attribute.
15661
3608cb24
JM
156622013-05-15 Joseph Myers <joseph@codesourcery.com>
15663
15664 * math/libm-test.inc (struct test_f_l_data): New type.
15665 (RUN_TEST_LOOP_f_l): New macro.
15666 (lrint_test_data): New variable.
15667 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15668 (lrint_tonearest_test_data): New variable.
15669 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15670 (lrint_towardzero_test_data): New variable.
15671 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15672 (lrint_downward_test_data): New variable.
15673 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15674 (lrint_upward_test_data): New variable.
15675 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15676 (lround_test_data): New variable.
15677 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15678
39b1f617
PC
156792013-05-15 Peter Collingbourne <pcc@google.com>
15680
1deff3dc
PC
15681 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15682 (EXTRACT_WORDS64) Use where appropriate.
15683 (INSERT_WORDS64) Likewise.
15684
791f3ba0
PC
15685 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15686 constraints with x constraints.
15687 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15688
39b1f617
PC
15689 * malloc/obstack.c (_obstack_compat): Add initializer.
15690
12fba011
EM
156912013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15692
15693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15694 si_trapno and add si_addr_lsb to _sifields.sigfault.
15695 (si_trapno): Remove macro.
15696 (si_addr_lsb): Define new macro.
15697 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15698
d369f531
JM
156992013-05-15 Joseph Myers <joseph@codesourcery.com>
15700
b861c6c4
JM
15701 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15702 instead of TEST_f_l.
15703 (llrint_test_tonearest): Likewise.
15704 (llrint_test_towardzero): Likewise.
15705 (llrint_test_downward): Likewise.
15706 (llrint_test_upward): Likewise.
15707 (llround_test): Likewise.
15708
7abeee12
JM
15709 * math/libm-test.inc (struct test_f_i_data): Add comment.
15710 (RUN_TEST_LOOP_f_b): New macro.
15711 (RUN_TEST_LOOP_f_b_tg): Likewise.
15712 (finite_test_data): New variable.
15713 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15714 (isfinite_test_data): New variable.
15715 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15716 (isinf_test_data): New variable.
15717 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15718 (isnan_test_data): New variable.
15719 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15720 (isnormal_test_data): New variable.
15721 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15722 (issignaling_test_data): New variable.
15723 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15724 (signbit_test_data): New variable.
15725 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15726
cbe8c4d3
JM
15727 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15728 with INVALID_EXCEPTION.
15729 (acosh_test_data): Likewise.
15730 (asin_test_data): Likewise.
15731 (atanh_test_data): Likewise.
15732 (fmod_test_data): Likewise.
15733 (log_test_data): Likewise.
15734 (log10_test_data): Likewise.
15735 (log2_test_data): Likewise.
15736 (pow_test_data): Likewise.
15737 (sqrt_test_data): Likewise.
15738 (y0_test_data): Likewise.
15739 (y1_test_data): Likewise.
15740 (yn_test_data): Likewise.
15741
5575c0e5
JM
15742 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15743 function contents.
15744
d369f531
JM
15745 * math/libm-test.inc (struct test_ff_i_data): New type.
15746 (RUN_TEST_LOOP_ff_i_tg): New macro.
15747 (isgreater_test_data): New variable.
15748 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15749 (isgreaterequal_test_data): New variable.
15750 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15751 (isless_test_data): New variable.
15752 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15753 (islessequal_test_data): New variable.
15754 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15755 (islessgreater_test_data): New variable.
15756 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15757 (isunordered_test_data): New variable.
15758 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15759
781fd748
DM
157602013-05-14 David S. Miller <davem@davemloft.net>
15761
15762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15763
87aa21df
JM
157642013-05-14 Joseph Myers <joseph@codesourcery.com>
15765
5e908270
JM
15766 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15767
f71172e5
JM
15768 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15769 extra_test to int.
15770 (struct test_f_i_data): Change type of max_ulp to int.
15771
8cfa635a
JM
15772 * math/libm-test.inc (test_ffI_f1_data): New type.
15773 (RUN_TEST_LOOP_ffI_f1): New macro.
15774 (remquo_test_data): New variable.
15775 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15776
2bcb36b2
JM
15777 * setjmp/tst-setjmp-fp.c: New file.
15778 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15779 (link-libm): New variable.
15780 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15781
acbd839a
JM
15782 * math/libm-test.inc (struct test_f_i_data): New type.
15783 (RUN_TEST_LOOP_f_i): New macro.
15784 (RUN_TEST_LOOP_f_i_tg): Likewise.
15785 (fpclassify_test_data): New variable.
15786 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15787 (ilogb_test_data): New variable.
15788 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15789
e414d745
JM
15790 * math/libm-test.inc (scalbln_test): Correct function name in END
15791 call.
15792
d9c2a0fd
JM
15793 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15794 (RUN_TEST_LOOP_fI_f1): New macro.
15795 (frexp_test_data): New variable.
15796 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15797
9dc9095d
JM
15798 * math/libm-test.inc (struct test_fF_f1_data): New type.
15799 (RUN_TEST_LOOP_fF_f1): New macro.
15800 (modf_test_data): New variable.
15801 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15802
87aa21df
JM
15803 * math/libm-test.inc (struct test_f_f1_data): New type.
15804 (RUN_TEST_LOOP_f_f1): New macro.
15805 (gamma_test_data): New variable.
15806 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15807 (lgamma_test_data): New variable.
15808 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15809
141af660
CD
158102013-05-13 Carlos O'Donell <carlos@redhat.com>
15811
15812 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15813 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15814 (main): Comment "tls" pseudo-hwcap.
15815
6d33265c
JM
158162013-05-13 Joseph Myers <joseph@codesourcery.com>
15817
68fc074c
JM
15818 * math/libm-test.inc (struct test_fl_f_data): New type.
15819 (RUN_TEST_LOOP_fl_f): New variable.
15820 (scalbln_test_data): New variable.
15821 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15822
243216e1
JM
15823 * math/libm-test.inc (struct test_fi_f_data): New type.
15824 (RUN_TEST_LOOP_fi_f): New macro.
15825 (ldexp_test_data): New variable.
15826 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15827 (scalbn_test_data): New variable.
15828 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15829
6a1992e2
JM
15830 * math/libm-test.inc (struct test_c_f_data): New type.
15831 (RUN_TEST_LOOP_c_f): New macro.
15832 (cabs_test_data): New variable.
15833 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15834 (carg_test_data): New variable.
15835 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15836 (cimag_test_data): New variable.
15837 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15838 (creal_test_data): New variable.
15839 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15840
0e400df5
JM
15841 * math/libm-test.inc (struct test_if_f_data): New type.
15842 (RUN_TEST_LOOP_if_f): New macro.
15843 (jn_test_data): New variable.
15844 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15845 (yn_test_data): New variable.
15846 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15847
6d33265c
JM
15848 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15849
f98ece5f
AZ
158502013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15851
15852 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15853 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15854
0f7d347b
SP
158552013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15856
43fe811b
SP
15857 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15858 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15859 (bench-deps): Add bench-timing.h.
15860 * benchtests-bench-skeleton.c: Include bench-timing.h.
15861 (main): Use TIMING_* macros instead of clock_gettime.
15862 * benchtests/bench-timing.h: New file.
15863
0f7d347b
SP
15864 [BZ #14582]
15865 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15866 Renamed from _LIB_VERSION.
15867 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15868
601a3a5f
JM
158692013-05-12 Joseph Myers <joseph@codesourcery.com>
15870
4f184d30
JM
15871 * math/libm-test.inc (struct test_fff_f_data): New type.
15872 (RUN_TEST_LOOP_fff_f): New macro.
15873 (fma_test_data): New variable.
15874 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15875 (fma_towardzero_test_data): New variable.
15876 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15877 (fma_downward_test_data): New variable.
15878 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15879 (fma_upward_test_data): New variable.
15880 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15881
08198877
JM
15882 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15883 (struct test_c_c_data): New type.
15884 (RUN_TEST_LOOP_c_c): New macro.
15885 (cacos_test_data): New variable.
15886 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15887 (cacosh_test_data): New variable.
15888 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15889 (casin_test_data): New variable.
15890 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15891 (casinh_test_data): New variable.
15892 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15893 (catan_test_data): New variable.
15894 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15895 (catanh_test_data): New variable.
15896 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15897 (ccos_test_data): New variable.
15898 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15899 (ccosh_test_data): New variable.
15900 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15901 (cexp_test_data): New variable.
15902 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15903 (clog_test_data): New variable.
15904 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15905 (clog10_test_data): New variable.
15906 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15907 (conj_test_data): New variable.
15908 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15909 (cproj_test_data): New variable.
15910 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15911 (csin_test_data): New variable.
15912 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15913 (csinh_test_data): New variable.
15914 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15915 (csqrt_test_data): New variable.
15916 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15917 (ctan_test_data): New variable.
15918 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15919 (ctan_tonearest_test_data): New variable.
15920 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15921 (ctan_towardzero_test_data): New variable.
15922 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15923 (ctan_downward_test_data): New variable.
15924 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15925 (ctan_upward_test_data): New variable.
15926 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15927 (ctanh_test_data): New variable.
15928 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15929 (ctanh_tonearest_test_data): New variable.
15930 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15931 (ctanh_towardzero_test_data): New variable.
15932 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15933 (ctanh_downward_test_data): New variable.
15934 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15935 (ctanh_upward_test_data): New variable.
15936 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15937 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15938 of BUILD_COMPLEX.
15939
601a3a5f
JM
15940 * math/libm-test.inc (struct test_ff_f_data): New type.
15941 (struct test_ff_f_data_nexttoward): Likewise.
15942 (RUN_TEST_LOOP_2_f): New macro.
15943 (RUN_TEST_LOOP_ff_f): Likewise.
15944 (atan2_test_data): New variable.
15945 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15946 (copysign_test_data): New variable.
15947 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15948 (fdim_test_data): New variable.
15949 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15950 (fmax_test_data): New variable.
15951 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15952 (fmin_test_data): New variable.
15953 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15954 (fmod_test_data): New variable.
15955 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15956 (hypot_test_data): New variable.
15957 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15958 (nextafter_test_data): New variable.
15959 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15960 (nexttoward_test_data): New variable.
15961 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15962 (pow_test_data): New variable.
15963 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15964 (pow_tonearest_test_data): New variable.
15965 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15966 (pow_towardzero_test_data): New variable.
15967 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15968 (pow_downward_test_data): New variable.
15969 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15970 (pow_upward_test_data): New variable.
15971 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15972 (remainder_test_data): New variable.
15973 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15974 (scalb_test_data): New variable.
15975 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15976 * sysdeps/i386/fpu/libm-test-ulps: Update.
15977
74c57478
JM
159782013-05-11 Joseph Myers <joseph@codesourcery.com>
15979
8329e4da
JM
15980 * math/libm-test.inc (fma_test): Use max_value instead of local
15981 variable fltmax.
15982 (nextafter_test): Likewise.
15983
74c57478
JM
15984 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15985 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15986 (acos_downward_test_data): New variable.
15987 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15988 (acos_upward_test_data): New variable.
15989 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15990 (acosh_test_data): New variable.
15991 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15992 (asin_test_data): New variable.
15993 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15994 (asin_tonearest_test_data): New variable.
15995 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15996 (asin_towardzero_test_data): New variable.
15997 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15998 (asin_downward_test_data): New variable.
15999 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16000 (asin_upward_test_data): New variable.
16001 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16002 (asinh_test_data): New variable.
16003 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16004 (atan_test_data): New variable.
16005 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16006 (atanh_test_data): New variable.
16007 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16008 (cbrt_test_data): New variable.
16009 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16010 (ceil_test_data): New variable.
16011 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16012 (cos_test_data): New variable.
16013 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16014 (cos_tonearest_test_data): New variable.
16015 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16016 (cos_towardzero_test_data): New variable.
16017 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16018 (cos_downward_test_data): New variable.
16019 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16020 (cos_upward_test_data): New variable.
16021 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16022 (cosh_test_data): New variable.
16023 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16024 (cosh_tonearest_test_data): New variable.
16025 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16026 (cosh_towardzero_test_data): New variable.
16027 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16028 (cosh_downward_test_data): New variable.
16029 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16030 (cosh_upward_test_data): New variable.
16031 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16032 (erf_test_data): New variable.
16033 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16034 (erfc_test_data): New variable.
16035 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16036 (exp_test_data): New variable.
16037 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16038 (exp_tonearest_test_data): New variable.
16039 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16040 (exp_towardzero_test_data): New variable.
16041 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16042 (exp_downward_test_data): New variable.
16043 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16044 (exp_upward_test_data): New variable.
16045 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16046 (exp10_test_data): New variable.
16047 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16048 (exp2_test_data): New variable.
16049 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16050 (expm1_test_data): New variable.
16051 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16052 (fabs_test_data): New variable.
16053 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16054 (floor_test_data): New variable.
16055 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16056 (j0_test_data): New variable.
16057 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16058 (j1_test_data): New variable.
16059 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16060 (log_test_data): New variable.
16061 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16062 (log10_test_data): New variable.
16063 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16064 (log1p_test_data): New variable.
16065 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16066 (log2_test_data): New variable.
16067 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16068 (logb_test_data): New variable.
16069 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16070 (logb_downward_test_data): New variable.
16071 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16072 (nearbyint_test_data): New variable.
16073 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16074 (rint_test_data): New variable.
16075 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16076 (rint_tonearest_test_data): New variable.
16077 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16078 (rint_towardzero_test_data): New variable.
16079 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16080 (rint_downward_test_data): New variable.
16081 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16082 (rint_upward_test_data): New variable.
16083 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16084 (round_test_data): New variable.
16085 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16086 (sin_test_data): New variable.
16087 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16088 (sin_tonearest_test_data): New variable.
16089 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16090 (sin_towardzero_test_data): New variable.
16091 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16092 (sin_downward_test_data): New variable.
16093 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16094 (sin_upward_test_data): New variable.
16095 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16096 (sinh_test_data): New variable.
16097 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16098 (sinh_tonearest_test_data): New variable.
16099 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16100 (sinh_towardzero_test_data): New variable.
16101 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16102 (sinh_downward_test_data): New variable.
16103 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16104 (sinh_upward_test_data): New variable.
16105 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16106 (sqrt_test_data): New variable.
16107 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16108 (tan_test_data): New variable.
16109 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16110 (tan_tonearest_test_data): New variable.
16111 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16112 (tan_towardzero_test_data): New variable.
16113 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16114 (tan_downward_test_data): New variable.
16115 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16116 (tan_upward_test_data): New variable.
16117 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16118 (tanh_test_data): New variable.
16119 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16120 (tgamma_test_data): New variable.
16121 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16122 (trunc_test_data): New variable.
16123 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16124 (y0_test_data): New variable.
16125 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16126 (y1_test_data): New variable.
16127 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16128 (significand_test_data): New variable.
16129 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16130
7187d844
CG
161312013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16132
16133 [BZ #12387]
16134 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16135
f63fae73
PT
161362013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16137
16138 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16139
8a67a4b3
AJ
161402013-05-10 Andreas Jaeger <aj@suse.de>
16141
16142 [BZ #15448]
16143 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16144 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16145
51df539d
JM
161462013-05-10 Joseph Myers <joseph@codesourcery.com>
16147
16148 * math/gen-libm-test.pl (adjust_arg): New function.
16149 (special_functions): Handle generating output in both functions
16150 and arrays.
16151 (parse_args): Likewise.
16152 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16153 $in_func argument to parse_args.
16154 * math/libm-test.inc (struct test_f_f_data): New type.
16155 (IF_ROUND_INIT_): New macro.
16156 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16157 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16158 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16159 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16160 (ROUND_RESTORE_): Likewise.
16161 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16162 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16163 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16164 (ROUND_RESTORE_FE_UPWARD): Likewise.
16165 (RUN_TEST_LOOP_f_f): New macro.
16166 (acos_test_data): New variable.
16167 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16168 (acos_tonearest_test_data): New variable.
16169 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16170
5c637fe5
SP
161712013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16172
16173 * benchtests/bench-skeleton.c (startup): Fix coding style.
16174
ab2b9461
JM
161752013-05-10 Joseph Myers <joseph@codesourcery.com>
16176
16177 [BZ #6809]
16178 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16179 negative infinity argument.
16180 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16181 negative infinity argument.
16182 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16183 negative infinity argument.
16184 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16185 domain errors.
16186
4c0fe6fe
FW
161872013-05-10 Florian Weimer <fweimer@redhat.com>
16188
16189 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16190 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16191 * iconv/iconv_prog.c (main): Likewise.
16192 * locale/programs/charmap-dir.c (charmap_readdir)
16193 (fopen_uncompressed): Likewise.
16194 * locale/programs/locfile.c (siblings_uncached)
16195 (write_locale_data): Use lstat64 instead of lstat.
16196 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16197 stat.
16198
a3375d29
AJ
161992013-05-10 Andreas Jaeger <aj@suse.de>
16200
16201 [BZ #15395]
16202 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16203 localization.
16204 Include <locale.h>.
16205
36129722
CD
162062013-05-09 Carlos O'Donell <carlos@redhat.com>
16207
16208 * elf/dl-close.c (_dl_close_worker): Add comments.
16209
faa7f811
JM
162102013-05-09 Joseph Myers <joseph@codesourcery.com>
16211
ed41ffef
JM
16212 [BZ #15359]
16213 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16214 high part of pi/2.
16215 (__ieee754_rem_pio2l): Update comments.
16216
d0213cd0
JM
16217 [BZ #15429]
16218 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16219 high part of pi/2.
16220 (__ieee754_rem_pio2l): Update comments.
16221
0d3e777a
JM
16222 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16223 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16224
24f56066
JM
16225 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16226 M_PI_4l.
16227
faa7f811
JM
16228 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16229 (M_PI_34_LOG10El): Likewise.
16230 (M_PI2_LOG10El): Likewise.
16231 (M_PI4_LOG10El): Likewise.
16232 (M_PI_LOG10El): Likewise.
16233
e9a5e0fd
AZ
162342013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16235
16236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16237
d8cd06db
JM
162382013-05-08 Joseph Myers <joseph@codesourcery.com>
16239
a0d9f9d7
JM
16240 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16241 (MINUS_ZERO_INIT): Likewise.
16242 (PLUS_INFTY_INIT): Likewise.
16243 (MINUS_INFTY_INIT): Likewise.
16244 (QNAN_VALUE_INIT): Likewise.
16245 (MAX_VALUE_INIT): Likewise.
16246 (MIN_VALUE_INIT): Likewise.
16247 (MIN_SUBNORM_VALUE_INIT): Likewise.
16248 (plus_zero): Initialize with PLUS_ZERO_INIT.
16249 (minus_zero): Initialize with MINUS_ZERO_INIT.
16250 (plus_infty): Initialize with PLUS_INFTY_INIT.
16251 (minus_infty): Initialize with MINUS_INFTY_INIT.
16252 (qnan_value): Initialize with QNAN_VALUE_INIT.
16253 (max_value): Initialize with MAX_VALUE_INIT.
16254 (min_value): Initialize with MIN_VALUE_INIT.
16255 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16256
ae08db3b
JM
16257 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16258 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16259 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16260 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16261
f44bf14a
JM
16262 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16263 (RUN_TEST_2_f): Likewise.
16264 (RUN_TEST_ff_f): Likewise.
16265 (RUN_TEST_fi_f): Likewise.
16266 (RUN_TEST_fl_f): Likewise.
16267 (RUN_TEST_fff_f): Likewise.
16268 (RUN_TEST_c_f): Likewise.
16269 (RUN_TEST_f_f1): Likewise.
16270 (RUN_TEST_fF_f1): Likewise.
16271 (RUN_TEST_fI_f1): Likewise.
16272 (RUN_TEST_ffI_f1): Likewise.
16273 (RUN_TEST_c_c): Likewise.
16274 (RUN_TEST_cc_c): Likewise.
16275 (RUN_TEST_f_i): Likewise.
16276 (RUN_TEST_f_i_tg): Likewise.
16277 (RUN_TEST_ff_i_tg): Likewise.
16278 (RUN_TEST_f_b): Likewise.
16279 (RUN_TEST_f_b_tg): Likewise.
16280 (RUN_TEST_f_l): Likewise.
16281 (RUN_TEST_f_L): Likewise.
16282 (RUN_TEST_sincos): Likewise.
16283 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16284 whether to show exceptions. Do not include ");\n" in return
16285 value.
16286 (special_functions): Output call to RUN_TEST_sincos instead of
16287 check_float calls. Update calls to new_test.
16288 (parse_args): Output call to single RUN_TEST_* macro instead of
16289 check_* calls and other assignments. Update calls to new_test.
16290
d8cd06db
JM
16291 [BZ #2546]
16292 [BZ #2560]
16293 [BZ #5159]
16294 [BZ #15426]
16295 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16296 input to result for tgamma overflow.
16297 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16298 (gamma_coeff): New variable.
16299 (NCOEFF): New macro.
16300 (gamma_positive): New function.
16301 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16302 underflow here. Use gamma_positive instead of exp (lgamma) for
16303 other arguments.
16304 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16305 (gamma_coeff): New variable.
16306 (NCOEFF): New macro.
16307 (gammaf_positive): New function.
16308 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16309 underflow here. Use gamma_positive instead of exp (lgamma) for
16310 other arguments.
16311 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16312 (gamma_coeff): New variable.
16313 (NCOEFF): New macro.
16314 (gammal_positive): New function.
16315 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16316 underflow here. Use gamma_positive instead of exp (lgamma) for
16317 other arguments.
16318 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16319 (gamma_coeff): New variable.
16320 (NCOEFF): New macro.
16321 (gammal_positive): New function.
16322 (__ieee754_gammal_r): Handle positive infinity, overflow and
16323 underflow here. Handle NaN the same as positive infinity. Remove
16324 check x < 0xffffffff for negative integers. Use gamma_positive
16325 instead of exp (lgamma) for other arguments.
16326 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16327 (gamma_coeff): New variable.
16328 (NCOEFF): New macro.
16329 (gammal_positive): New function.
16330 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16331 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16335 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16336 * sysdeps/generic/math_private.h (__gamma_productf): New
16337 prototype.
16338 (__gamma_product): Likewise.
16339 (__gamma_productl): Likewise.
16340 * math/Makefile (libm-calls): Add gamma_product.
16341 * math/libm-test.inc (tgamma_test): Add more tests.
16342 * sysdeps/i386/fpu/libm-test-ulps: Update.
16343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16344
bb7cf681
OB
163452013-05-08 Ondřej Bílka <neleai@seznam.cz>
16346
16347 * benchtests/bench-skeleton.c (main): Preheat CPU.
16348
ba853947
AJ
163492013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16350
16351 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16352
8347c74c
RM
163532013-05-07 Roland McGrath <roland@hack.frob.com>
16354
16355 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16356 and _dl_skip_args_internal.
16357
e8dd4791
CD
163582013-05-07 Carlos O'Donell <carlos@redhat.com>
16359
16360 * manual/message.texi (Message Translation): Talk about users.
16361 Message to key mapping impacts design.
16362
c7405830
RM
163632013-05-06 Roland McGrath <roland@hack.frob.com>
16364
a9173057
RM
16365 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16366
976e2f03
RM
16367 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16368
9723ffc5
RM
16369 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16370 * sysdeps/wordsize-64/glob64.c: ... here.
16371
962e6658
RM
16372 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16373 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16374 New macros.
16375
ee586a6d
RM
16376 * debug/getlogin_r_chk.c: Moved to ...
16377 * login/getlogin_r_chk.c: ... here.
16378 * debug/Makefile (routines): Move getlogin_r_chk to ...
16379 * login/Makefile (routines): ... here.
16380 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16381 * login/Versions (libc: GLIBC_2.4): ... here.
16382
355f9165
RM
16383 * io/poll.c (__poll): Renamed from poll.
16384 Add libc_hidden_def.
16385 (poll): Define as weak alias.
16386
bd9ffde6
RM
16387 * debug/ptsname_r_chk.c: Moved to ...
16388 * login/ptsname_r_chk.c: ... here.
16389 * debug/Makefile (routines): Move ptsname_r_chk to ...
16390 * login/Makefile (routines): ... here.
16391 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16392 * login/Versions (libc: GLIBC_2.4): ... here.
16393
8fb16a04
RM
16394 * posix/getlogin.c: Moved to ...
16395 * login/getlogin.c: ... here.
16396 * posix/getlogin_r.c: Moved to ...
16397 * login/getlogin_r.c: ... here.
16398 * posix/getlogin_r.c: Moved to ...
16399 * login/getlogin_r.c: ... here.
16400 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16401 * login/Makefile (routines): ... here.
16402 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16403 * login/Versions (libc: GLIBC_2.0): ... here.
16404
b99b892f
RM
16405 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16406 (setrlimit): Define as weak alias.
16407
c7405830
RM
16408 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16409 Call __ names for open, ftruncate, and close.
16410 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16411 (truncate): Define as weak alias.
16412
5bf96de5
JM
164132013-05-06 Joseph Myers <joseph@codesourcery.com>
16414
9ea3513c
JM
16415 * math/gen-libm-test.pl (parse_args): Initialize x before each
16416 test of frexp, modf and remquo.
16417
5bf96de5
JM
16418 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16419 test signgam value.
16420
16e616a7
AZ
164212013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16422
16423 [BZ #15418]
16424 [BZ #15419]
16425 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16426 internal tests.
16427 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16428
d5e82754
RM
164292013-05-06 Roland McGrath <roland@hack.frob.com>
16430
16431 * elf/dl-writev.h: New file.
16432 * elf/dl-misc.c: Include it.
16433 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16434 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16435
a7548d41
JM
164362013-05-04 Joseph Myers <joseph@codesourcery.com>
16437
b7dab1e4
JM
16438 * math/libm-test.inc (noXFails): Remove variable.
16439 (noXPasses): Likewise.
16440 (BUILD_COMPLEX_INT): Remove macro.
16441 (print_screen): Remove xfail argument.
16442 (print_screen_max_error): Likewise.
16443 (update_stats): Likewise.
16444 (print_max_error): Likewise. Update calls to other affected
16445 functions.
16446 (print_complex_max_error): Likewise.
16447 (test_single_exception): Update calls to print_screen.
16448 (test_single_errno): Likewise.
16449 (check_float_internal): Remove xfail argument. Update calls to
16450 other affected functions.
16451 (check_float): Likewise.
16452 (check_complex): Likewise.
16453 (check_int): Likewise.
16454 (check_long): Likewise.
16455 (check_bool): Likewise.
16456 (check_longlong): Likewise.
16457 (main): Don't print noXFails and noXPasses.
16458 * math/gen-libm-test.pl (top level): Don't mention expected
16459 failure handling in comment.
16460 (new_test): Don't handle expected failures.
16461 (parse_args): Don't mention expected failure handling in comment.
16462 (generate_testfile): Don't handle expected failures.
16463 (parse_ulps): Likewise.
16464 (print_ulps_file): Likewise.
16465 (get_failure): Remove function.
16466 (output_test): Don't handle expected failures.
16467 * make/README.libm-test: Don't mention expected failure handling.
16468
a7548d41
JM
16469 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16470 (minus_zero): Likewise.
16471 (plus_infty): Likewise.
16472 (minus_infty): Likewise.
16473 (qnan_value): Likewise.
16474 (max_value): Likewise.
16475 (min_value): Likewise.
16476 (min_subnorm_value): Likewise.
16477 (initialize): Do not initialize those variables dynamically.
16478
60bfd54c
RM
164792013-05-03 Roland McGrath <roland@hack.frob.com>
16480
cc0e6ed8
RM
16481 * io/open.c (__open_2): Moved to ...
16482 * io/open_2.c: ... this new file.
16483 * io/open64.c (__open64_2): Moved to ...
16484 * io/open64_2.c: ... this new file.
16485 * io/openat.c (__openat_2): Moved to ...
16486 * io/openat_2.c: ... this new file.
16487 * io/openat64.c (__openat64_2): Moved to ...
16488 * io/openat64_2.c: ... this new file.
16489 * io/Makefile (routines): Add them.
16490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16491 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16492 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16493 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16494 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16495 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16496 (__openat64): Add hidden_ver.
16497 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16498 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16499
60bfd54c
RM
16500 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16501 Separately conditionalize setting of GLRO(dl_sysinfo) so
16502 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16503 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16504
83e7640f
AZ
165052013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16506
16507 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16508 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16509 definition.
16510 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16511 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16512 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16513 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16514 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16515
d5dc2af3
JM
165162013-05-03 Joseph Myers <joseph@codesourcery.com>
16517
c31a5b1e
JM
16518 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16519 test signgam value.
16520
d5dc2af3
JM
16521 * math/libm-test.inc (hypot_test): Do not use
16522 IGNORE_ZERO_INF_SIGN.
16523
164fd39d
AJ
165242013-05-03 Andreas Jaeger <aj@suse.de>
16525
16526 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16527 Linux 3.9.
16528 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16529 (PF_MAX): Adjust for VSOCK change.
16530
8237f48c
AZ
165312013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16532
16533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16534
9df02941
CD
165352013-05-02 Carlos O'Donell <carlos@redhat.com>
16536
16537 [BZ #15264]
16538 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16539 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16540 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16541
d422395e
DM
165422013-05-02 David S. Miller <davem@davemloft.net>
16543
16544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16545
a07c5731
OB
165462013-05-01 Ondřej Bílka <neleai@seznam.cz>
16547
16548 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16549
1324e37f
RM
165502013-05-01 Roland McGrath <roland@hack.frob.com>
16551
16552 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16553
0695940b
RS
165542013-05-01 Richard Smith <richard@metafoo.co.uk>
16555
bb5f27ad 16556 [BZ #14952]
0695940b
RS
16557 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16558 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16559 Use __attribute__ ((__gnu_inline__)).
16560 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16561 Don't use __attribute__ ((__gnu_inline__)).
16562
10de07f5
JM
165632013-05-01 Joseph Myers <joseph@codesourcery.com>
16564
16565 [BZ #15423]
16566 * math/s_catan.c (__catan): Handle small real or imaginary part of
16567 input specially to avoid spurious underflow.
16568 * math/s_catanf.c (__catanf): Likewise.
16569 * math/s_catanh.c (__catanh): Likewise.
16570 * math/s_catanhf.c (__catanhf): Likewise.
16571 * math/s_catanhl.c (__catanhl): Likewise.
16572 * math/s_catanl.c (__catanl): Likewise.
16573 * math/libm-test.inc (catan_test): Add more tests.
16574 (catanh_test): Likewise.
16575 * sysdeps/i386/fpu/libm-test-ulps: Update.
16576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16577
cb4d5414
AZ
165782013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16579
16580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16581
caf84319
JM
165822013-04-30 Joseph Myers <joseph@codesourcery.com>
16583
16584 [BZ #15416]
16585 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16586 accurately for denominator in atan2.
16587 * math/s_catanf.c (__catanf): Likewise.
16588 * math/s_catanh.c (__catanh): Likewise.
16589 * math/s_catanhf.c (__catanhf): Likewise.
16590 * math/s_catanhl.c (__catanhl): Likewise.
16591 * math/s_catanl.c (__catanl): Likewise.
16592 * math/libm-test.inc (catan_test): Add more tests.
16593 (catanh_test): Likewise.
16594 * sysdeps/i386/fpu/libm-test-ulps: Update.
16595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16596
d569c6ee
SP
165972013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16598
6dbe713d
SP
16599 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16600
f0ee064b
SP
16601 * benchtests/Makefile (bench): Remove slow benchmarks.
16602 * benchtests/atan-inputs: Add slow benchmark inputs.
16603 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16604 (BENCH_FUNC): Accept variant offset.
16605 (VARIANT): Define.
16606 * benchtests/bench-skeleton.c (main): Run benchmark for each
16607 variant.
16608 * benchtests/cos-inputs: Add slow benchmark inputs.
16609 * benchtests/exp-inputs: Likewise.
16610 * benchtests/pow-inputs: Likewise.
16611 * benchtests/sin-inputs: Likewise.
16612 * benchtests/slowatan-inputs: Remove.
16613 * benchtests/slowatan.c: Remove.
16614 * benchtests/slowcos-inputs: Remove.
16615 * benchtests/slowcos.c: Remove.
16616 * benchtests/slowexp-inputs: Remove.
16617 * benchtests/slowexp.c: Remove.
16618 * benchtests/slowpow-inputs: Remove.
16619 * benchtests/slowpow.c: Remove.
16620 * benchtests/slowsin-inputs: Remove.
16621 * benchtests/slowsin.c: Remove.
16622 * benchtests/slowtan-inputs: Remove.
16623 * benchtests/slowtan.c: Remove.
16624 * benchtests/tan-inputs: Add slow benchmark inputs.
16625 * scripts/bench.pl: Parse comments and directives.
16626
d569c6ee
SP
16627 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16628 in CPPFLAGS.
16629 ($(objpfx)bench-%.c): Remove *-ITER.
16630 * benchtests/bench-modf.c: Remove definition of ITER.
16631 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16632 (main): Loop for DURATION seconds instead of fixed number of
16633 iterations.
16634 * scripts/bench.pl: Don't expect iterations in parameters.
16635
a6a242fe
RM
166362013-04-29 Roland McGrath <roland@hack.frob.com>
16637
16638 * io/fchdir.c (__fchdir): Renamed from fchdir.
16639 (fchdir): Define as weak alias.
16640
f2da7793
JM
166412013-04-29 Joseph Myers <joseph@codesourcery.com>
16642
16643 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16644 (ERRNO_EDOM): Likewise.
16645 (ERRNO_ERANGE): Likewise.
16646 (noErrnoTests): New variable.
16647 (init_max_error): Set errno to 0.
16648 (test_single_errno): New function.
16649 (test_errno): Likewise.
16650 (check_float_internal): Call test_errno. Set errno to 0.
16651 (check_complex): Refer to errno tests in comment.
16652 (check_int): Call test_errno. Set errno to 0.
16653 (check_long): Likewise.
16654 (check_bool): Likewise.
16655 (check_longlong): Likewise.
16656 (cos_test): Use ERRNO_* flags for errno tests instead of
16657 check_int.
16658 (expm1_test): Likewise.
16659 (fmod_test): Likewise.
16660 (ilogb_test): Likewise.
16661 (lgamma_test): Likewise.
16662 (pow_test): Likewise.
16663 (remainder_test): Likewise.
16664 (sin_test): Likewise.
16665 (tan_test): Likewise.
16666 (yn_test): Likewise.
16667 (initialize): Set errno to 0.
16668 (main): Print number of errno tests.
16669 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16670
b1a36ceb
AJ
166712013-04-29 Andreas Jaeger <aj@suse.de>
16672
c3ed8088
AJ
16673 [BZ #15084]
16674 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16675 and RES_USEVC.
16676
f1a24198
AJ
16677 [BZ #15085]
16678 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16679 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16680 unimplemented.
16681
9ce3b2cb
AJ
16682 [BZ #15380]
16683 * stdlib/random.c (__initstate): Return NULL if
16684 __initstate fails.
16685
f1a24198 16686 [BZ #15086]
b1a36ceb
AJ
16687 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16688 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16689 RES_SNGLKUPREOP.
16690
7e7b6f36
AZ
166912013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16692
16693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16694
4d14f449
JM
166952013-04-29 Joseph Myers <joseph@codesourcery.com>
16696
16697 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16698 of individual tests.
16699 (casin_test): Likewise.
16700 (casinh_test): Likewise.
16701
5b4217d7
JM
167022013-04-27 Joseph Myers <joseph@codesourcery.com>
16703
16704 [BZ #15409]
16705 * math/s_catan.c (__catan): Handle arguments with large real or
16706 imaginary part separately without squaring.
16707 * math/s_catanf.c (__catanf): Likewise.
16708 * math/s_catanh.c (__catanh): Likewise.
16709 * math/s_catanhf.c (__catanhf): Likewise.
16710 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16711 and redefine.
16712 (__catanhl): Handle arguments with large real or imaginary part
16713 separately without squaring.
16714 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16715 and redefine.
16716 (__catanl): Handle arguments with large real or imaginary part
16717 separately without squaring.
16718 * math/libm-test.inc (catan_test): Add more tests.
16719 (catanh_test): Likewise.
16720 * sysdeps/i386/fpu/libm-test-ulps: Update.
16721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16722
4220c3ef
AJ
167232013-04-27 Andreas Jaeger <aj@suse.de>
16724
16725 [BZ #15007]
16726 * stdlib/stdlib.h: Update guards for qecvt.
16727 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16728 <stdlib.h>.
16729
4721b2d1
AM
167302013-04-27 Allan McRae <allan@archlinux.org>
16731
16732 * sysdeps/i386/fpu/libm-test-ulps: Update.
16733
f0302940
JM
167342013-04-26 Joseph Myers <joseph@codesourcery.com>
16735
9457fd95
JM
16736 [BZ #15406]
16737 * math/s_catan.c: Include <float.h>.
16738 (__catan): Ensure underflow exception occurs for underflowed
16739 result.
16740 * math/s_catanf.c: Include <float.h>.
16741 (__catanf): Ensure underflow exception occurs for underflowed
16742 result.
16743 * math/s_catanh.c: Include <float.h>.
16744 (__catanh): Ensure underflow exception occurs for underflowed
16745 result.
16746 * math/s_catanhf.c: Include <float.h>.
16747 (__catanhf): Ensure underflow exception occurs for underflowed
16748 result.
16749 * math/s_catanhl.c: Include <float.h>.
16750 (__catanhl): Ensure underflow exception occurs for underflowed
16751 result.
16752 * math/s_catanl.c: Include <float.h>.
16753 (__catanl): Ensure underflow exception occurs for underflowed
16754 result.
16755 * math/libm-test.inc (catan_test): Add more tests.
16756 (catanh_test): Likewise.
16757
f0302940
JM
16758 [BZ #15405]
16759 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16760 underflowed result.
16761 * math/s_ccoshf.c (__ccoshf): Likewise.
16762 * math/s_ccoshl.c (__ccoshl): Likewise.
16763 * math/s_csin.c (__csin): Likewise.
16764 * math/s_csinf.c (__csinf): Likewise.
16765 * math/s_csinh.c (__csinh): Likewise.
16766 * math/s_csinhf.c (__csinhf): Likewise.
16767 * math/s_csinhl.c (__csinhl): Likewise.
16768 * math/s_csinl.c (__csinl): Likewise.
16769 * math/libm-test.inc (ccos_test): Add more tests.
16770 (ccosh_test): Likewise.
16771 (csin_test): Likewise.
16772 (csinh_test): Likewise.
16773
aa630f59
AZ
167742013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16775
16776 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16777 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16778 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16779 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16780 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16781 powerpc/power5+/fpu folders.
16782 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16783
16784
1b835983
MT
167852013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16786
16787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16788
73709b26
JM
167892013-04-25 Joseph Myers <joseph@codesourcery.com>
16790
16791 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16792 additions to variable.
16793 [$(config-machine) = x86_64] (modules-names): Likewise.
16794 ($(objpfx)tst-audit3): Remove dependency.
16795 ($(objpfx)tst-audit3.out): Likewise.
16796 ($(objpfx)tst-audit4): Likewise.
16797 ($(objpfx)tst-audit4.out): Likewise.
16798 ($(objpfx)tst-audit5): Likewise.
16799 ($(objpfx)tst-audit5.out): Likewise.
16800 ($(objpfx)tst-audit6): Likewise.
16801 ($(objpfx)tst-audit6.out): Likewise.
16802 ($(objpfx)tst-audit7): Likewise.
16803 ($(objpfx)tst-audit7.out): Likewise.
16804 (tst-audit3-ENV): Remove variable.
16805 (tst-audit4-ENV): Likewise.
16806 (tst-audit5-ENV): Likewise.
16807 (tst-audit6-ENV): Likewise.
16808 (tst-audit7-ENV): Likewise.
16809 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16810 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16811 addition to variable.
16812 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16813 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16814 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16815 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16816 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16817 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16818 tst-audit3, tst-audit4 and tst-audit5.
16819 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16820 tst-audit6 and tst-audit7.
16821 [$(subdir) = elf] (modules-names): Add audit modules for those
16822 tests.
16823 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16824 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16825 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16826 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16827 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16828 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16829 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16830 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16831 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16832 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16833 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16834 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16835 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16836 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16837 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16838 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16839 Likewise.
16840 [$(subdir) = elf && $(config-cflags-avx) = yes]
16841 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16842 [$(subdir) = elf && $(config-cflags-avx) = yes]
16843 (CFLAGS-tst-auditmod4a.c): Likewise.
16844 [$(subdir) = elf && $(config-cflags-avx) = yes]
16845 (CFLAGS-tst-auditmod4b.c): Likewise.
16846 [$(subdir) = elf && $(config-cflags-avx) = yes]
16847 (CFLAGS-tst-auditmod6b.c): Likewise.
16848 [$(subdir) = elf && $(config-cflags-avx) = yes]
16849 (CFLAGS-tst-auditmod6c.c): Likewise.
16850 [$(subdir) = elf && $(config-cflags-avx) = yes]
16851 (CFLAGS-tst-auditmod7b.c): Likewise.
16852 * elf/tst-audit3.c: Move to ...
16853 * sysdeps/x86_64/tst-audit3.c: ... here.
16854 * elf/tst-audit4.c: Move to ...
16855 * sysdeps/x86_64/tst-audit4.c: ... here.
16856 * elf/tst-audit5.c: Move to ...
16857 * sysdeps/x86_64/tst-audit5.c: ... here.
16858 * elf/tst-audit6.c: Move to ...
16859 * sysdeps/x86_64/tst-audit6.c: ... here.
16860 * elf/tst-audit7.c: Move to ...
16861 * sysdeps/x86_64/tst-audit7.c: ... here.
16862 * elf/tst-auditmod3a.c: Move to ...
16863 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16864 * elf/tst-auditmod3b.c: Move to ...
16865 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16866 * elf/tst-auditmod4a.c: Move to ...
16867 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16868 * elf/tst-auditmod4b.c: Move to ...
16869 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16870 * elf/tst-auditmod5a.c: Move to ...
16871 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16872 * elf/tst-auditmod5b.c: Move to ...
16873 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16874 * elf/tst-auditmod6a.c: Move to ...
16875 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16876 * elf/tst-auditmod6b.c: Move to ...
16877 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16878 * elf/tst-auditmod6c.c: Move to ...
16879 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16880 * elf/tst-auditmod7a.c: Move to ...
16881 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16882 * elf/tst-auditmod7b.c: Move to ...
16883 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16884
1ef74943
PP
168852013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16886
16887 [BZ #15366]
16888 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16889 define unconditionally.
16890 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16891 define unconditionally.
16892 (INT8_C, INT16_C, etc.): Likewise.
16893
93fd48c5
MR
168942013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16895
ae9552cf
MR
16896 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16897 __ehdr_start with hidden visibility.
16898
93fd48c5
MR
16899 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16900
418601aa
CD
169012013-04-24 Carlos O'Donell <carlos@redhat.com>
16902
16903 * math/libm-test.inc (cos_test): Use accurate hex constants.
16904 (sincost_test): Likewise.
16905
2f38fbfe
JM
169062013-04-24 Joseph Myers <joseph@codesourcery.com>
16907
5e221800
JM
16908 * math/libm-test.inc (catan_test): Add more tests.
16909 (catanh_test): Likewise.
16910
77f143fd
JM
16911 * math/s_catanf.c (__catanf): Use suffixed floating-point
16912 constants.
16913 * math/s_catanhf.c (__catanhf): Likewise.
16914 * math/s_catanhl.c (__catanhl): Likewise.
16915 * math/s_catanl.c (__catanl): Likewise.
16916
2f38fbfe
JM
16917 [BZ #15394]
16918 * math/s_catan.c (__catan): Calculate imaginary part of result
16919 with log1p not log unless computing log of number close to 0.
16920 * math/s_catanf.c (__catanf): Likewise.
16921 * math/s_catanl.c (__catanl): Likewise.
16922 * math/s_catanh.c (__catanh): Calculate real part of result with
16923 log1p not log unless computing log of number close to 0.
16924 * math/s_catanhf.c (__catanhf): Likewise.
16925 * math/s_catanhl.c (__catanhl): Likewise.
16926 * math/libm-test.inc (catan_test): Add more tests.
16927 (catanh_test): Likewise.
16928 * sysdeps/i386/fpu/libm-test-ulps: Update.
16929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16930
45d69176
SP
169312013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16932
16933 * benchtests/Makefile: Mention files in which fast and slow
16934 paths of math functions are implemented.
16935
87f51853
RM
169362013-04-23 Roland McGrath <roland@hack.frob.com>
16937
16938 * sysdeps/posix/timespec_get.c: New file.
16939
3c026539
AZ
169402013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16941
16942 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16943 POWER.
16944 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16945 for POWER.
16946 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16947 powerpc/power5/fpu folders.
16948 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16949 * benchtests/Makefile: Add modf testcase.
16950 * benchtests/bench-modf.c: New file: Benchmark test for mo
16951
ff491d14
SP
169522013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16953
16954 [BZ #14888]
16955 * time/Makefile (tests): Add tst-strptime-whitespace.
16956 * time/strptime_l.c (get_number): Use ISSPACE.
16957 (__strptime_internal): Likewise.
16958 * time/tst-strptime-whitespace.c: New test case.
16959
7ed3f4e8
AS
169602013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16961
16962 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16963 member.
16964 (_nss_files_init): Set it here.
16965
5c95f7b6
HC
169662013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16967
16968 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16969 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16970 unsigned.
16971
d34c9158
JBG
169722013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16973
16974 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16975
2169712d
SP
169762013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16977
16978 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16979 size just once.
16980
29c5de99
DM
169812013-04-21 David S. Miller <davem@davemloft.net>
16982
16983 * po/ru.po: Update Russion translation from translation project.
16984
ccdad15d
AC
169852013-04-17 Adam Conrad <adconrad@0c3.net>
16986
16987 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16988 and setfsgid.
16989
0f122b8d
CD
169902013-04-17 Carlos O'Donell <carlos@redhat.com>
16991
5c5b07da 16992 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16993 * configure: Regenerate.
5c5b07da 16994 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16995 Add example to error message.
16996 * sysdeps/i386/configure: Regenerate.
16997
037714dd
SP
169982013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16999
17000 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17001 slowtan.
17002 * benchtests/cos-inputs: New file.
17003 * benchtests/slowcos-inputs: New file.
17004 * benchtests/slowcos.c: New file.
17005 * benchtests/slowtan-inputs: New file.
17006 * benchtests/slowtan.c: New file.
17007 * benchtests/tan-inputs: New file.
17008
e913141d
RM
170092013-04-16 Roland McGrath <roland@hack.frob.com>
17010
17011 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17012 considered kosher.
17013
a2964074
SP
170142013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17015
4856bcd2
SP
17016 * benchtests/Makefile: Include cppflags-iterator.mk to add
17017 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17018
a2964074
SP
17019 * Makefile.in (bench-clean): New target.
17020 * benchtests/Makefile (bench-clean): Likewise.
17021
9fbf9aca
DH
170222013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17023
17024 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17025
207d1e2a
TS
170262013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17027
17028 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17029
306dfba9
AS
170302013-04-15 Andreas Schwab <schwab@suse.de>
17031
17032 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17033 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17034 * nscd/pwdcache.c (cache_addpw): Likewise.
17035 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17036 more than recsize.
17037
206a6699
SP
170382013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17039
17040 * benchtests/Makefile (bench): Write all output to
17041 bench-out.tmp together.
17042
0582f6b3
AS
170432013-04-15 Andreas Schwab <schwab@suse.de>
17044
17045 * nscd/nscd.c (main): Don't fork again after closing files.
17046
acb4325f
SP
170472013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17048
5cb26d0a
SP
17049 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17050
acb4325f
SP
17051 * benchtests/Rules (bench-deps): Collect dependencies into a
17052 single variable. Add Makefile to dependencies.
17053 ($(objpfx)bench-%.c): Depend on bench-deps.
17054
47792506
RM
170552013-04-12 Roland McGrath <roland@hack.frob.com>
17056 Xavier Roche <roche+kml2@exalead.com>
17057
17058 [BZ #15361]
17059 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17060 just that it's a file descriptor.
17061 * manual/llio.texi (Synchronizing AIO Operations): Update description
17062 for EBADF error from aio_fsync.
17063
8fc1bee5
SP
170642013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17065
17066 * Rules (bench): Move target definition...
17067 * benchtests/Makefile: ... here.
17068
aba5e333
CD
170692013-04-11 Carlos O'Donell <carlos@redhat.com>
17070
17071 * math/libm-test.inc (cos_test): Fix PI/2 test.
17072 (sincos_test): Likewise.
17073 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17074 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17075
273cdee8
AS
170762013-04-11 Andreas Schwab <schwab@suse.de>
17077
6ecec3b6
AS
17078 [BZ #13988]
17079 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17080 accept exponent character only when digits were seen.
17081 * stdio-common/Makefile (tests): Add bug26.
17082 * stdio-common/bug26.c: New file.
17083
273cdee8
AS
17084 [BZ #14293]
17085 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17086 non-freeable.
17087
8da491f5
SP
170882013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17089
01dc6df9
SP
17090 * Makeconfig (rtld-prefix): Define built linker prefix.
17091 * Rules (run-bench): Use it.
17092 * math/Makefile (run-regen-ulps): Likewise.
17093
8da491f5
SP
17094 * Rules (bench): Remove eval.
17095
abe7f530
SP
170962013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17097 Roland McGrath <roland@hack.frob.com>
17098 Ondrej Bilka <neleai@seznam.cz>
17099
17100 [BZ #15346]
17101 * time/getdate.c: Include ctype.h and alloca.h.
17102 (__getdate_r): Trim leading and trailing spaces of input.
17103 * time/tst-getdate.c (tests): Add tests with leading and
17104 trailing spaces.
17105
61c23e62
RM
171062013-04-08 Roland McGrath <roland@hack.frob.com>
17107
17108 [BZ #14280]
17109 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17110 when computing value.
17111
7208a313
CD
171122013-04-06 Carlos O'Donell <carlos@redhat.com>
17113
085b2d41
CD
17114 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17115 Use testrun.sh to run libm tests.
17116
7208a313
CD
17117 [BZ #15309]
17118 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17119
872c0acd
MM
171202013-04-06 Marko Myllynen <myllynen@redhat.com>
17121
17122 [BZ #15264]
17123 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17124
26510bdd
CD
171252013-04-06 Carlos O'Donell <carlos@redhat.com>
17126
17127 * Makefile.in (regen-ulps): New target.
17128 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17129 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17130 [ifneq (no,$(PERL)] (regen-ulps): New target.
17131 [ifeq (no,$(PERL)] (regen-ulps): New target.
17132 * math/libm-test.inc (ulps_file_name): Define.
17133 (output_dir): New variable.
17134 (options): Add "output-dir" option.
17135 (parse_opt): Handle 'o' case.
17136 (main): If output_dir is non-NULL use it as a prefix
17137 otherwise use "".
17138 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17139
a01f19c8
CD
171402013-04-06 Carlos O'Donell <carlos@redhat.com>
17141
17142 [BZ #10060, #10062]
17143 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17144 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17145 fail configure if __sync_val_compare_and_swap is not inlined.
17146 * sysdeps/i386/configure: Regenerate.
17147 * configure.in: Build for i686 when configured for i386.
17148 * configure: Regenerate.
17149 * README: Remove i386 reference.
17150
b7a329a5
CD
171512013-04-06 Carlos O'Donell <carlos@redhat.com>
17152
17153 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17155
bf0f50df
TS
171562013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17157
ee091edf
TS
17158 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17159 (lmsnanval): New variables.
17160 (F): Add conversion tests.
17161 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17162 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17163
a8b792d6
TS
17164 * stdio-common/tstdiomisc.c (F): Properly collect individual
17165 tests' results.
17166
a1cbf437
TS
17167 [BZ #14686, #15336]
17168 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17169 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17170 Instead, use input NaN values or generate a qNaN by arithmetic
17171 operation. Also fix bugs to comply with the standard.
17172 * math/libm-test.inc (remainder_test): Add more tests.
17173
8b43a0c9
TS
17174 [BZ #15335, #15342]
17175 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17176 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17177 input NaN values or generate a qNaN by arithmetic operation.
17178
d91da4ce
TS
17179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17180 unreachable code.
17181
bf0f50df
TS
17182 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17183 definitions.
17184
05e166c8
JM
171852013-04-03 Joseph Myers <joseph@codesourcery.com>
17186
17187 [BZ #14478]
17188 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17189 underflowed result.
17190 * math/s_cexpf.c (__cexpf): Likewise.
17191 * math/s_cexpl.c (__cexpl): Likewise.
17192 * math/libm-test.inc (cexp_test): Add more tests.
17193
1cef1b19
AS
171942013-04-03 Andreas Schwab <schwab@suse.de>
17195
17196 [BZ #15330]
17197 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17198 order arrays from heap if bigger than alloca cutoff.
17199
74d87055
TS
172002013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17201
17202 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17203 (SNAN_TESTS_double): Refer to GCC PR56831.
17204 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17205 GCC PR56828.
17206
d755bba4
SP
172072013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17208
90d5d5bb
SP
17209 * Rules (bench): Move bench.out after the run is complete.
17210
73e0cd5d
SP
17211 * Rules (bench): Echo currently running benchmark.
17212
64aabd4b
SP
17213 * benchtests/Makefile (bench): Add atan and slowatan.
17214 * benchtests/atan-inputs: New file.
17215 * benchtests/slowatan-inputs: New file.
17216 * benchtests/slowatan.c: New file.
17217
c871eccd
SP
17218 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17219 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17220 its value.
17221
d755bba4
SP
17222 [BZ #15305]
17223 * sysdeps/unix/sysv/linux/kernel-features.h
17224 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17225 __ASSUME_XFS_RESTRICTED_CHOWN.
17226 * sysdeps/unix/sysv/linux/pathconf.c
17227 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17228 Save and restore errno.
17229
52ce4860
JM
172302013-04-02 Joseph Myers <joseph@codesourcery.com>
17231
17232 [BZ #15327]
17233 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17234 arguments using __kernel_casinh.
17235 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17236 arguments using __kernel_casinhf.
17237 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17238 arguments using __kernel_casinhl.
17239 * math/libm-test.inc (cacosh_test): Add more tests.
17240 * sysdeps/i386/fpu/libm-test-ulps: Update.
17241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17242
81f311c2
SP
172432013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17244
e7906a47
SP
17245 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17247
92e3664b
SP
17248 * bench/Makefile (bench): Add sin and slowsin.
17249 * benchtests/sin-inputs: New file.
17250 * benchtests/slowsin-inputs: New file.
17251 * benchtests/slowsin.c: New file.
17252
81f311c2
SP
17253 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17254 (bench): Add slowexp and slowpow.
17255 (exp-ITER): Increase iterations.
17256 (pow-ITER): Likewise.
17257 * benchtests/exp-inputs: Change input.
17258 * benchtests/pow-inputs: Likewise.
17259 * benchtests/slowexp-inputs: New file.
17260 * benchtests/slowexp.c: New file.
17261 * benchtests/slowpow-inputs: New file.
17262 * benchtests/slowpow.c: New file.
17263
ab0f1aa9
AZ
172642013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17265
17266 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17267 instructions.
17268 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17269 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17270 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17271 * benchtests/Makefile: Add rint benchtest.
17272 * benchtests/rint-inputs: Input for rint benchtest.
17273
57267616
TS
172742013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17275
17276 * Versions.def (libm): Add GLIBC_2.18.
17277 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17278 hidden libm prototypes.
17279 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17280 * math/Makefile (libm-calls): Add s_issignaling.
17281 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17282 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17283 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17284 declaration.
17285 * math/math.h [__USE_GNU] (issignaling): New macro.
17286 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17287 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17288 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17289 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17292 * manual/arith.texi (issignaling): New section.
17293 * manual/libm-err-tab.pl (@all_functions): Update comment.
17294 * math/gen-libm-test.pl (parse_args): Apply special handling for
17295 issignaling.
17296 * math/libm-test.inc (print_float, issignaling_test): New
17297 functions.
17298 (check_float_internal): Add issignaling checks.
17299 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17300 default definition.
17301 * sysdeps/powerpc/math-tests.h: New file.
17302 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17303 tests.
17304 * math/test-snan.c (TEST_FUNC): Likewise.
17305
6142896d
DM
173062013-03-30 David S. Miller <davem@davemloft.net>
17307
17308 * po/de.po: Update from translation team.
17309
ccc8cadf
JM
173102013-03-30 Joseph Myers <joseph@codesourcery.com>
17311
17312 [BZ #10357]
17313 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17314 imaginary part less than 1.0 and real part less than 0.5
17315 specially.
17316 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17317 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17318 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17319 (cacos_test): Add more tests.
17320 (casin_test): Likewise.
17321 (casinh_test): Likewise.
17322 * sysdeps/i386/fpu/libm-test-ulps: Update.
17323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17324
0f6a8d4b
SP
173252013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17326
0d1029de
SP
17327 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17328 ONE with its value.
17329
c2d94018
SP
17330 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17331 (__pow_mp): Replace ONE and MONE with their values.
17332 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17334 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17335 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17336 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17337 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17338
27ec37f1
SP
17339 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17340
a64d7e0e
SP
17341 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17342 (__pow_mp): Replace ZERO and MZERO with their values.
17343 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17345 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17347 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17348 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17349 (__sqr): Likewise.
17350
d26dd3eb
SP
17351 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17352
0f6a8d4b
SP
17353 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17354
e57b0c61
RM
173552013-03-28 Roland McGrath <roland@hack.frob.com>
17356
17357 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17358 Declare with __attribute__ ((weak)).
17359 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17360 Call __call_tls_dtors only if it's not NULL.
17361
356b3480
RM
173622013-03-28 Roland McGrath <roland@hack.frob.com>
17363
288f7d79
RM
17364 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17365 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17366 magic __ehdr_start linker symbol if it's defined.
17367 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17368 them up here if it was already done.
17369
dc0a0263
RM
17370 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17371 (_dl_aux_init): Use const in cast when setting it.
17372 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17373 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17374 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17375
3d3436ae
RM
17376 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17377 Declare them here.
17378 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17379 * csu/libc-tls.c: Nor here.
17380 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17381
356b3480
RM
17382 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17383 (__libc_message): Never call vsyslog.
17384
b0f1246a
AM
173852013-03-28 Alan Modra <amodra@gmail.com>
17386
17387 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17388 Define as empty.
17389 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17390 Likewise.
17391
fbbe2b9a
AZ
173922013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17393
17394 [BZ #15214]
17395 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17396 underflow.
17397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17398
1728ab37
SP
173992013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17400
7a86be6e
SP
17401 [BZ #15304]
17402 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17403 Don't add gid passed as argument.
17404
1728ab37
SP
17405 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17406
3a7182a1
JM
174072013-03-27 Joseph Myers <joseph@codesourcery.com>
17408
17409 [BZ #15307]
17410 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17411 imaginary part between 1.0 and 1.5 and real part less than 0.5
17412 specially.
17413 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17414 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17415 * math/libm-test.inc (cacos_test): Add more tests.
17416 (casin_test): Likewise.
17417 (casinh_test): Likewise.
17418 * sysdeps/i386/fpu/libm-test-ulps: Update.
17419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17420
6f2e90e7
SP
174212013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17422
5739f705
SP
17423 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17424 constants.
17425 (norm): Likewise.
17426 (denorm): Likewise.
17427 (__dbl_mp): Likewise.
17428 (add_magnitudes): Likewise.
17429 (sub_magnitudes): Likewise.
17430 (__add): Likewise.
17431 (__sub): Likewise.
17432 (__mul): Likewise.
17433 (__sqr): Likewise.
17434 (__inv): Likewise.
17435 (__dvd): Likewise.
17436
e375e83d
SP
17437 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17438 commented code.
17439 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17440 (__dubcos): Likewise.
17441 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17442 (__ieee754_acos): Likewise.
17443 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17444 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17445 (__exp1): Likewise.
17446 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17448 (log1): Likewise.
17449 (my_log2): Likewise.
17450 (checkint): Likewise.
17451 * sysdeps/ieee754/dbl-64/e_remainder.c
17452 (__ieee754_remainder): Likewise.
17453 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17455 (bsloww): Likewise.
17456 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17457
6f2e90e7
SP
17458 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17459 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17460 MANTISSA_STORE_T to store computations on mantissa. Use
17461 macros for rounding and division.
17462 (denorm): Likewise.
17463 (__dbl_mp): Likewise.
17464 (add_magnitudes): Likewise.
17465 (sub_magnitudes): Likewise.
17466 (__mul): Likewise.
17467 (__sqr): Likewise.
17468 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17469 powers of two in terms of TWOPOW macro.
17470 (mp_no): Make type of mantissa as MANTISSA_T.
17471 [!RADIXI]: Define RADIXI.
17472 [!TWO52]: Define TWO52.
17473 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17474
fce14d4e
AZ
174752013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17476
17477 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17478 llroundl symbol when building for PPC32.
17479
9ad027fb
MW
174802013-03-24 Mark H Weaver <mhw@netris.org>
17481
17482 * manual/arith.texi (Normalization Functions): Fix prototypes for
17483 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17484
e42a38dd
AZ
174852013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17486
17487 [BZ #13889]
17488 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17489 high value to check if expl overflow.
17490 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17491 to check for underflow and overflow.
17492 * math/libm-test.inc: Add exp test.
17493
2e0fb521
DL
174942013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17495
17496 [BZ #11120]
17497 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17498 with NOT_IN_libc.
17499
b5784d95
AZ
175002013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17501
17502 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17503 symbol.
17504
5aa4a1a1
TS
175052013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17506
bdef0be7
TS
17507 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17508 wrap blocks consisting of several statements.
17509
5aa4a1a1
TS
17510 * sysdeps/generic/math-tests.h: New file.
17511 * sysdeps/i386/fpu/math-tests.h: Likewise.
17512 * math/test-snan.c: Include it.
17513 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17514
98c48fe5
JM
175152013-03-21 Joseph Myers <joseph@codesourcery.com>
17516
17517 [BZ #15285]
17518 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17519 (__ieee754_j0l): Do not improve calculations using cos of twice
17520 input for inputs above LDBL_MAX / 2.0L.
17521 (__ieee754_y0l): Likewise.
17522 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17523 (__ieee754_j1l): Do not improve calculations using cos of twice
17524 input for inputs above LDBL_MAX / 2.0L.
17525 (__ieee754_y1l): Likewise.
17526 * math/libm-test.inc (j0_test): Add another test.
17527 (j1_test): Likewise.
17528 (y0_test): Likewise.
17529 (y1_test): Likewise.
17530 * sysdeps/i386/fpu/libm-test-ulps: Update.
17531
3775a8bc
SP
175322013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17533
17534 * Rules ($(objpfx)bench-%.c): Include code from a C source
17535 file.
17536
0a1b2ae6
JM
175372013-03-21 Joseph Myers <joseph@codesourcery.com>
17538
17539 [BZ #15287]
17540 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17541 imaginary part 1.0 and real part less than 0.5 specially.
17542 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17543 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17544 * math/libm-test.inc (cacos_test): Add more tests.
17545 (casin_test): Likewise.
17546 (casinh_test): Likewise.
17547 * sysdeps/i386/fpu/libm-test-ulps: Update.
17548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17549
b33d4ce4
SP
175502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17551
17552 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17553 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17554
bef0b507
JM
175552013-03-20 Joseph Myers <joseph@codesourcery.com>
17556
17557 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17558 * config.make.in (config-cflags-sse4): Remove variable.
17559 (config-cflags-avx): Likewise.
17560 (config-cflags-sse2avx): Likewise.
17561 (config-cflags-novzeroupper): Likewise.
17562 (config-asflags-i686): Likewise.
17563 (have-mfma4): Likewise.
17564 (have-as-vis3): Likewise.
17565 (MIG): Likewise.
17566 * configure.in (MIG): Do not AC_SUBST.
17567 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17568 (libc_cv_cc_sse4): Do not AC_SUBST.
17569 (libc_cv_cc_avx): Likewise.
17570 (libc_cv_cc_sse2avx): Likewise.
17571 (libc_cv_cc_novzeroupper): Likewise.
17572 (libc_cv_cc_fma4): Likewise.
17573 (libc_cv_as_i686): Likewise.
17574 (libc_cv_sparc_as_vis3): Likewise.
17575 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17576 LIBC_CONFIG_VAR.
17577 (config-asflags-i686): Likewise.
17578 (config-cflags-avx): Likewise.
17579 (config-cflags-sse2avx): Likewise.
17580 (have-mfma4): Likewise.
17581 (config-cflags-novzeroupper): Likewise.
17582 * sysdeps/mach/configure.in (MIG): Likewise.
17583 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17584 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17585 LIBC_CONFIG_VAR.
17586 (config-cflags-avx): Likewise.
17587 (config-cflags-sse2avx): Likewise.
17588 (have-mfma4): Likewise.
17589 (config-cflags-novzeroupper): Likewise.
17590 * configure: Regenerated.
17591 * sysdeps/i386/configure: Likewise.
17592 * sysdeps/mach/configure: Likewise.
17593 * sysdeps/sparc/configure: Likewise.
17594 * sysdeps/x86_64/configure: Likewise.
17595
912cc4b3
RM
175962013-03-20 Roland McGrath <roland@hack.frob.com>
17597
17598 [BZ #14812]
17599 * locale/programs/localedef.c (options): Put N_ translation marker
17600 on argument names, not just descriptions.
17601
04eed2b0
MS
176022013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17603
17604 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17605
a065ceff
OB
176062013-03-20 Ondřej Bílka <neleai@seznam.cz>
17607
9bb2a810 17608 [BZ #14176]
a065ceff
OB
17609 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17610
a600e5ce
RM
176112013-03-19 Roland McGrath <roland@hack.frob.com>
17612
17613 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17614 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17615 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17616 [!BEFORE_ABORT] (before_abort): New function.
17617 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17618 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17619 (writev_for_fatal): New function.
17620 (WRITEV_FOR_FATAL): New macro; call that.
17621 (backtrace_and_maps): New function.
17622 (BEFORE_ABORT): New macro; call that.
17623 (struct str_list): Type removed.
17624 (__libc_message, __libc_fatal): Functions removed.
17625 Include <sysdeps/posix/libc_fatal.c> instead.
17626
6b18bea6
JM
176272013-03-19 Joseph Myers <joseph@codesourcery.com>
17628
17629 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17630 constants.
17631 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17632 double constants.
17633
aaa8cb4b
AS
176342013-03-19 Andreas Schwab <schwab@suse.de>
17635
44673770
AS
17636 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17637 * sysdeps/gnu/configure: Regenerate.
17638
aaa8cb4b
AS
17639 * configure.in: Substitute libc_cv_rtlddir.
17640 * configure: Regenerate.
17641 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17642 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17643 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17644 * elf/Makefile (install-others, CFLAGS-interp.c)
17645 (ldso_install, common-ldd-rewrite): Likewise.
17646 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17647 $(inst_slibdir)/$(rtld-installed-name).
17648 * scripts/rellns-sh: Add -p option.
17649 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17650 for source.
17651
d3cfc668
SP
176522013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17653
17654 * manual/nptl.texi: Renamed to ...
17655 * manual/threads.texi: ... this.
17656 * manual/Makefile (chapters): Update.
17657
0e2b9cdd
RM
176582013-03-18 Roland McGrath <roland@hack.frob.com>
17659
17660 [BZ #14812]
17661 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17662 on argument names, not just descriptions.
0e2b9cdd
RM
17663 * malloc/memusagestat.c (options): Likewise.
17664 * nss/getent.c (options): Likewise.
63270c24
RM
17665
176662013-03-18 Benno Schulenberg <bensberg@justemail.net>
17667
17668 [BZ #14812]
17669 * iconv/iconv_prog.c (options): Put N_ translation marker
17670 on argument names, not just descriptions.
17671 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17672
b2e1393c
OB
176732013-03-18 Ondrej Bilka <neleai@seznam.cz>
17674
17675 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17676 implementation which is faster on all x86_64 architectures.
17677 Tested on AMD, Intel Nehalem, SNB, IVB.
17678 * sysdeps/x86_64/strnlen.S: Likewise.
17679
17680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17681 Remove all multiarch strlen and strnlen versions.
17682 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17683 Remove strlen and strnlen related parts.
17684
17685 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17686 Inline strlen part.
17687 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17688
17689 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17690 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17691 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17692 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17693 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17694 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17695
ec4ff04d
CD
176962013-03-17 Carlos O'Donell <carlos@redhat.com>
17697
17698 * manual/memory.texi (Malloc Tunable Parameters):
17699 Sort parameters alphabetically. Add comments for missing entries.
17700
cd18e90a
DM
177012013-03-17 David S. Miller <davem@davemloft.net>
17702
17703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17704
2a185d32
JM
177052013-03-16 Joseph Myers <joseph@codesourcery.com>
17706
d2f9799e
JM
17707 [BZ #15283]
17708 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17709 for arguments at most half maximum finite value.
17710 * math/libm-test.inc (j0_test): Add more tests.
17711 (j1_test): Likewise.
17712 (y0_test): Likewise.
17713 (y1_test): Likewise.
17714 * sysdeps/i386/fpu/libm-test-ulps: Update.
17715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17716
2a185d32
JM
17717 [BZ #14155]
17718 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17719 1 / x and functions P and Q for arguments above 0x1p256L.
17720 (__ieee754_y0l): Likewise.
17721 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17722 (__ieee754_y1l): Likewise.
17723 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17724 (j1_test): Likewise.
17725 (y0_test): Likewise.
17726 (y1_test): Likewise.
17727
6cbec759
TS
177282013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17729
17730 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17731 variable.
17732
bc16e260
RM
177332013-03-15 Roland McGrath <roland@hack.frob.com>
17734
aefc9b8c
RM
17735 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17736 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17737 zero since it's initialized to EXEC_PAGESIZE.
17738
bc16e260
RM
17739 * sysdeps/unix/sysv/linux/ldsodefs.h
17740 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17741 * sysdeps/generic/ldsodefs.h: ... here.
17742
a57da955
TS
177432013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17744
af00a34d
TS
17745 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17746
495ded2c
TS
17747 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17748 math/test-snan.c.
17749 * math/test-snan.c: Renamed from
17750 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17751 * math/Makefile (tests): Add test-snan.
17752 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17753 test-powerpc-snan.
17754
777b0332
TS
17755 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17756 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17757 functions.
17758 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17759 __builtin_nan family of functions.
17760 * math/libm-test.inc (initialize): Initialize qnan_value with
17761 __builtin_nan family of functions.
17762 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17763 Remove variables.
17764 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17765 Remove functions.
17766 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17767 storage class. Initialize qNaN_var and sNaN_var with
17768 __builtin_nan and __builtin_nans families of functions,
17769 respectively.
17770
64d063b8
TS
17771 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17772 (sqrt_test): Remove duplicate test with qNaN input.
17773 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17774 (round_test, signbit_test, significand_test): Note missing +/-Inf
17775 as well as qNaN tests.
17776
67e971f1
TS
17777 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17778 qNaN_var. Fix a few strings, too.
17779 * math/libm-test.inc (nan_value): Rename to qnan_value.
17780 * math/gen-libm-test.pl (%beautify): Adjust to that.
17781 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17782 * math/test-misc.c (main): Likewise.
17783 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17784 to __qnan_bytes, and __qnan_union, respectively.
17785 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17786 Likewise.
17787 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17788 and lqnanval, respectively.
17789 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17790 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17791 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17792 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17793
64487e12
TS
17794 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17795 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17796 doubles.
17797
e015e27b
TS
17798 * math/test-misc.c (main): Fix copy'n'pastos.
17799 * misc/tst-efgcvt.c (special): Likewise.
17800
a57da955
TS
17801 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17802 Remove declarations.
17803
1e380345
SP
178042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17805
17806 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17807 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17808 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17809 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17810
ef26eece
AZ
178112013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17812
17813 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17814 macro to return vdso values correctly in IFUNC implementations.
17815 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17816 Optimization by using IFUNC.
17817
8cfdb7e0
SP
178182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17819 Richard Henderson <rth@redhat.com>
17820 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17821
17822 * Makefile.in (bench): New target.
17823 * NEWS: Mention the benchmark framework.
17824 * Rules (bench): Likewise.
17825 (binaries-bench): Generate binaries for functions to
17826 benchmark.
17827 * benchtests/Makefile: New makefile for benchmark tests.
17828 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17829 programs.
17830 * benchtests/exp-inputs: New input file for EXP function.
17831 * benchtests/pow-inputs: New input file for POW function.
17832 * scripts/bench.pl: New script to generate source files for
17833 benchmark programs.
17834
bcda9880
SP
178352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17836
d22ca8cd
SP
17837 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17838 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17839 computations on mantissa. Use macros for rounding and
17840 division.
17841 (denorm): Likewise.
17842 (__dbl_mp): Likewise.
17843 (add_magnitudes): Likewise.
17844 (sub_magnitudes): Likewise.
17845 (__mul): Likewise.
17846 (__sqr): Likewise.
17847 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17848 powers of two in terms of TWOPOW macro.
17849 (mp_no): Make type of mantissa as MANTISSA_T.
17850 [!RADIXI]: Define RADIXI.
17851 [!TWO52]: Define TWO52.
17852 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17853
bcda9880
SP
17854 * manual/nptl.texi (cindex): Modify threads to pthreads.
17855
06d5adfb
JM
178562013-03-15 Joseph Myers <joseph@codesourcery.com>
17857
17858 * sysdeps/x86_64/preconfigure: Regenerated.
17859
41c7328e
JM
178602013-03-14 Joseph Myers <joseph@codesourcery.com>
17861
17862 [BZ #14155]
17863 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17864 0x1p28 and above.
17865 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17866 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17867 0x1p28 and above.
17868 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17869 * math/libm-test.inc (j0_test): Do not allow one spurious
17870 underflow exception.
17871 (y1_test): Likewise.
17872
e25cfa60
SP
178732013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17874
0409959c
SP
17875 * manual/Makefile (chapters): Add nptl.
17876 * manual/debug.texi (Debugging Support): Add link to Threads
17877 chapter.
17878 * manual/nptl.texi: New file.
17879
e25cfa60
SP
17880 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17881
58a1335e
PB
178822013-03-14 Petr Baudis <pasky@ucw.cz>
17883
17884 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17885 for non-NULL pointer before the memory validity test. Pointed
17886 out by Holger Brunck <holger.brunck@keymile.com>.
17887
9dc7c64f
AS
178882013-03-13 Andreas Schwab <schwab@suse.de>
17889
17890 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17891 instead of .os.
17892
54206aa6
JM
178932013-03-13 Joseph Myers <joseph@codesourcery.com>
17894
17895 * timezone/zic.c: Update from tzcode 2013b.
17896
e98cdb38
CD
178972013-03-12 Carlos O'Donell <carlos@redhat.com>
17898
17899 * manual/install.texi (Configuring and compiling):
17900 Mention i686 and i586.
17901 * INSTALL: Regenerate.
17902
9967e003
RM
179032013-03-12 Roland McGrath <roland@hack.frob.com>
17904
17905 * sysdeps/init_array/elf-init.c: New file.
17906 * csu/elf-init.c
17907 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17908 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17909
17910 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17911 __gmon_start__ as global, but as static with a .preinit_array pointer.
17912 * sysdeps/init_array/gmon-start.c: New file. Use that.
17913 * sysdeps/init_array/crti.S: New file, empty except for comments.
17914 * sysdeps/init_array/crtn.S: Likewise.
17915
e6b5a293 179162013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17917
17918 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17919 definining bcopy.
80f844c9
OB
17920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17921 Remove Prefer_SSE_for_memop.
17922 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17923 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17924 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17926 memset-x86-64.
80f844c9 17927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17928 Remove bzero, memset ifunc support.
80f844c9
OB
17929 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17930 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17931 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17932 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17933
fb6b0fcb
AS
179342013-03-11 Andreas Schwab <schwab@suse.de>
17935
17936 [BZ #15234]
17937 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17938 by SHLIB_COMPAT.
17939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17940 (GLIBC_2.16): Remove pthread_atfork.
17941
3e6bd4b1
PP
179422013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17943
17944 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17945 (ptestcases.h): Likewise.
17946
222d7f00
RM
179472013-03-08 Roland McGrath <roland@hack.frob.com>
17948
17949 * Makeconfig ($(common-objpfx)config.status): Depend on
17950 sysdeps/*/preconfigure{,.in} too.
17951
1ba4f030
JM
179522013-03-08 Joseph Myers <joseph@codesourcery.com>
17953
a222d91a
JM
17954 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17955 (__free_hook): Use void * instead of __malloc_ptr_t.
17956 (__malloc_hook): Likewise.
17957 (__realloc_hook): Likewise.
17958 (__memalign_hook): Likewise.
17959 (__after_morecore_hook): Likewise.
17960 * malloc/arena.c (save_malloc_hook): Likewise.
17961 (save_free_hook): Likewise.
17962 * malloc/hooks.c (malloc_hook_ini): Likewise.
17963 (realloc_hook_ini): Likewise.
17964 (memalign_hook_ini): Likewise.
17965 * malloc/malloc.c (malloc_hook_ini): Likewise.
17966 (realloc_hook_ini): Likewise.
17967 (memalign_hook_ini): Likewise.
17968 (__free_hook): Likewise.
17969 (__malloc_hook): Likewise.
17970 (__realloc_hook): Likewise.
17971 (__memalign_hook): Likewise.
17972 (__libc_malloc): Likewise.
17973 (__libc_free): Likewise.
17974 (__libc_realloc): Likewise.
17975 (__libc_memalign): Likewise.
17976 (__libc_valloc): Likewise.
17977 (__libc_pvalloc): Likewise.
17978 (__libc_calloc): Likewise.
17979 (__posix_memalign): Likewise.
17980 * malloc/morecore.c (__sbrk): Likewise.
17981 (__default_morecore): Likewise.
17982
5cc45e10
JM
17983 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17984
dd54b864
JM
17985 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17986 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17987 __malloc_ptrdiff_t.
17988
1ba4f030
JM
17989 * malloc/malloc.h (__malloc_size_t): Remove macro.
17990 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17991 __malloc_size_t.
17992 (old_memalign_hook): Likewise.
17993 (old_realloc_hook): Likewise.
17994 (struct hdr): Likewise.
17995 (flood): Likewise.
17996 (mallochook): Likewise.
17997 (memalignhook): Likewise.
17998 (reallochook): Likewise.
17999 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18000 (tr_old_realloc_hook): Likewise.
18001 (tr_old_memalign_hook): Likewise.
18002 (tr_mallochook): Likewise.
18003 (tr_reallochook): Likewise.
18004 (tr_memalignhook): Likewise.
18005
edf66e57
AZ
180062013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18007
18008 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18009 default_ldbl_pack and using as default implementation.
18010 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18011 implementation.
18012 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18013 redundant definition.
18014 (ldbl_insert_mantissa): Likewise.
18015 (ldbl_canonicalize): Likewise.
18016 (ldbl_nearbyint): Likewise.
18017 (ldbl_pack): Rename to ldbl_pack_ppc.
18018 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18019 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18020 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18021
6d9145d8
SP
180222013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18023
18024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18025 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18026 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18027 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18029 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18030 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18031 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18032
4dd4e157
AJ
180332013-03-07 Andreas Jaeger <aj@suse.de>
18034
18035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18036 bits/mman-linux.h.
18037
adbb8027
SP
180382013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18039
ce544b5b
SP
18040 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18041 Include mpa.h and declare __MPEXP.
18042 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18043 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18044 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18045 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18046 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18047 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18048 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18049
4cc149fd
SP
18050 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18051 (__slowpow): Use long double EXPL and LOGL functions to
18052 compute POW.
18053 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18054 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18055 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18056 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18057 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18058 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18059
e6ebd4a7
SP
18060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18061 intermediate variable to calculate exponent.
18062 (__sqr): Likewise.
18063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18064 Likewise.
18065 (__sqr): Likewise.
18066
82a9811d
SP
18067 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18068 [!NO__SQR]: Define __sqr.
18069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18070 and NO__SQR. Remove all code except __mul and __sqr. Include
18071 sysdeps/ieee754/dbl-64/mpa.c.
18072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18073
adbb8027
SP
18074 [BZ #12723]
18075 * posix/Makefile (tests): Add tst-pathconf.
18076 * posix/tst-pathconf.c: New test case.
18077 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18078 _PC_PIPE_BUF.
18079 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18080
39120df9
PF
180812013-03-06 Patsy Franklin <pfrankli@redhat.com>
18082
18083 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18084
67525cb8
AJ
180852013-03-06 Andreas Jaeger <aj@suse.de>
18086
664a9ce4
AJ
18087 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18088 definition via __MAP_ANONYMOUS.
18089
8e39047d
AJ
18090 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18091 it's not part of Linux headers.
18092
67525cb8
AJ
18093 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18094 (MAP_HUGE_MASK): Define.
18095
18096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18097 Define.
18098 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18099 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18100 Define.
18101 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18102 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18103 Define.
18104 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18105 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18106 Define.
18107 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18108
18109 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18110 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18111 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18112 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18113 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18114 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18115
18116 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18117 Handle f2fs.
18118
18119 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18120 Handle f2fs and efivarfs.
18121
18122 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18123 f2fs.
18124
18125 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18126 (EFIVARFS_MAGIC): Add.
18127 (F2FS_LINK_MAX): Add.
18128
e1b42695
PP
181292013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18130
18131 * stdio-common/vfprintf.c: Replace __builtin_expect with
18132 __glibc_unlikely.
18133
2d67d91a
JM
181342013-03-06 Joseph Myers <joseph@codesourcery.com>
18135
18136 [BZ #13550]
18137 * sysdeps/generic/bp-sym.h: Remove file.
18138 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18139 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18140 <bp-sym.h> and <bp-asm.h>.
18141 (__longjmp): Don't use BP_SYM.
18142 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18143 and <bp-asm.h>.
18144 (memcpy): Don't use BP_SYM.
18145 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18146 <bp-sym.h> and <bp-asm.h>.
18147 (memcpy): Don't use BP_SYM.
18148 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18149 <bp-asm.h>.
18150 (memcpy): Don't use BP_SYM.
18151 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18152 <bp-asm.h>.
18153 (memset): Don't use BP_SYM.
18154 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18155 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18156 (__bzero): Don't use BP_SYM.
18157 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18158 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18159 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18160 <bp-sym.h> and <bp-asm.h>.
18161 (memcmp): Don't use BP_SYM. Remove comment about bounded
18162 pointers.
18163 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18164 <bp-sym.h> and <bp-asm.h>.
18165 (memcpy): Don't use BP_SYM.
18166 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18167 <bp-sym.h> and <bp-asm.h>.
18168 (memset): Don't use BP_SYM.
18169 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18170 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18171 (__bzero): Don't use BP_SYM.
18172 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18173 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18174 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18175 <bp-sym.h> and <bp-asm.h>.
18176 (strncmp): Don't use BP_SYM. Remove comment about bounded
18177 pointers.
18178 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18179 <bp-sym.h> and <bp-asm.h>.
18180 (memcpy): Don't use BP_SYM.
18181 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18182 <bp-sym.h> and <bp-asm.h>.
18183 (memset): Don't use BP_SYM.
18184 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18185 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18186 (__bzero): Don't use BP_SYM.
18187 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18188 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18189 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18190 <bp-sym.h> and <bp-asm.h>.
18191 (__memchr): Don't use BP_SYM.
18192 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18193 <bp-sym.h> and <bp-asm.h>.
18194 (memcmp): Don't use BP_SYM. Remove comment about bounded
18195 pointers.
18196 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18197 <bp-sym.h> and <bp-asm.h>.
18198 (memcpy): Don't use BP_SYM.
18199 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18200 <bp-sym.h> and <bp-asm.h>.
18201 (__mempcpy): Don't use BP_SYM.
18202 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18203 <bp-sym.h> and <bp-asm.h>.
18204 (__memrchr): Don't use BP_SYM.
18205 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18206 <bp-sym.h> and <bp-asm.h>.
18207 (memset): Don't use BP_SYM.
18208 (__bzero): Likewise.
18209 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18210 <bp-sym.h> and <bp-asm.h>.
18211 (__rawmemchr): Don't use BP_SYM.
18212 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18213 <bp-sym.h> and <bp-asm.h>.
18214 (__STRCMP): Don't use BP_SYM.
18215 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18216 <bp-sym.h> and <bp-asm.h>.
18217 (strchr): Don't use BP_SYM.
18218 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18219 <bp-sym.h> and <bp-asm.h>.
18220 (__strchrnul): Don't use BP_SYM.
18221 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18222 <bp-sym.h> and <bp-asm.h>.
18223 (strlen): Don't use BP_SYM.
18224 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18225 <bp-sym.h> and <bp-asm.h>.
18226 (strncmp): Don't use BP_SYM. Remove comment about bounded
18227 pointers.
18228 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18229 <bp-sym.h> and <bp-asm.h>.
18230 (__strnlen): Don't use BP_SYM.
18231 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18232 <bp-sym.h> and <bp-asm.h>.
18233 (__GI__setjmp): Don't use BP_SYM.
18234 (_setjmp): Likewise.
18235 (__sigsetjmp): Likewise.
18236 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18237 (L(start_addresses)): Don't use BP_SYM.
18238 (_start): Likewise.
18239 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18240 <bp-asm.h>.
18241 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18242 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18243 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18244 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18245 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18246 <bp-asm.h>.
18247 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18248 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18249 about bounded pointers.
18250 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18251 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18252 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18253 <bp-asm.h>.
18254 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18255 about bounded pointers. Remove GKM FIXME comments.
18256 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18257 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18258 <bp-asm.h>.
18259 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18260 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18261 Remove GKM FIXME comments.
18262 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18263 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18264 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18265 <bp-asm.h>.
18266 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18267 about bounded pointers. Remove GKM FIXME comment.
18268 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18269 and <bp-asm.h>.
18270 (strncmp): Don't use BP_SYM. Remove comment about bounded
18271 pointers.
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18273 <bp-sym.h> and <bp-asm.h>.
18274 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18276 <bp-sym.h> and <bp-asm.h>.
18277 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18278 comment.
18279
cdcf361f
PP
182802013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18281
18282 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18283 call free(NULL).
18284
3c4a2b15
DM
182852013-03-05 David S. Miller <davem@davemloft.net>
18286
18287 * po/es.po: Update from translation team.
18288
cdcf361f 182892013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18290
18291 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18292 <bits/mman-linux.h>.
18293 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18294 is fine.
18295 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18296 <bits/mman-linux.h> to end of file.
18297 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18298 is fine.
18299 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18300 <bits/mman-linux.h> to end of file.
18301 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18302 is fine.
18303 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18304 <bits/mman-linux.h> to end of file.
18305
18306 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18307 (MCL_CURRENT, MCL_FUTURE): Define here.
18308
5f67c04f
AK
183092013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18310
8a4473cc 18311 [BZ #15232]
5f67c04f
AK
18312 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18313 attribute_hidden.
18314 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18315
c3e94a95
AK
183162013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18317
18318 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18319 fourth parameter needed for rt_sigprocmask syscall.
18320 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18321 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18322 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18323 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18324 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18325 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18326
cfb6382a
JM
183272013-03-04 Joseph Myers <joseph@codesourcery.com>
18328
18329 [BZ #13550]
18330 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18331 comment about bounded pointers.
18332 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18333 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18334
539d8e01
AJ
183352013-03-04 Andreas Jaeger <aj@suse.de>
18336
18337 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18338 common definitions.
18339
18340 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18341 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18342 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18343 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18344 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18346
2e167a70 183472013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18348
18349 [BZ #15055]
18350 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18351 __ieee754_sqrl instead of __sqrl.
18352
68508633
JM
183532013-03-01 Joseph Myers <joseph@codesourcery.com>
18354
18355 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18356 * sysdeps/powerpc/fpu_control.h: ... here.
18357 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18358 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18359 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18360 * sysdeps/powerpc/bits/mathinline.h: ... here.
18361
7775448e
RM
183622013-03-01 Roland McGrath <roland@hack.frob.com>
18363
18364 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18365 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18366 to just [NEED_DL_SYSINFO_DSO].
18367 * elf/dl-support.c: Likewise.
18368 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18369 * elf/rtld.c (dl_main): Likewise.
18370 * elf/setup-vdso.h (setup_vdso): Likewise.
18371 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18372 * sysdeps/unix/sysv/linux/dl-sysdep.c
18373 (_dl_discover_osversion): Likewise.
18374
4e9b5995
CD
183752013-03-01 Carlos O'Donell <carlos@redhat.com>
18376
18377 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18378 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18379
e23872c8
SP
183802013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18381
e5c74c63
SP
18382 * NEWS: Mention libm performance improvements and non-x86 PI
18383 futex support.
18384
e23872c8
SP
18385 * csu/libc-start.c (__pthread_initialize_minimal): Change
18386 function arguments.
18387 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18388
b5510883
JM
183892013-02-28 Joseph Myers <joseph@codesourcery.com>
18390
18391 [BZ #13550]
18392 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18393 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18394 <bp-sym.h> and <bp-asm.h>.
18395 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18396 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18397 and <bp-asm.h>.
18398 (memcpy): Don't use BP_SYM.
18399 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18400 <bp-asm.h>.
18401 (__mpn_add_n): Don't use BP_SYM.
18402 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18403 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18404 and <bp-asm.h>.
18405 (__mpn_addmul_1): Don't use BP_SYM.
18406 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18407 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18408 <bp-sym.h>.
18409 (_setjmp): Don't use BP_SYM.
18410 (__novmx_setjmp): Likewise.
18411 (__GI__setjmp): Likewise.
18412 (__vmx_setjmp): Likewise.
18413 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18414 <bp-sym.h>.
18415 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18416 (__bzero): Don't use BP_SYM.
18417 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18418 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18419 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18420 <bp-sym.h> and <bp-asm.h>.
18421 (memcpy): Don't use BP_SYM.
18422 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18423 <bp-sym.h> and <bp-asm.h>.
18424 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18425 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18426 <bp-sym.h> and <bp-asm.h>.
18427 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18428 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18429 <bp-asm.h>.
18430 (__mpn_lshift): Don't use BP_SYM.
18431 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18432 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18433 <bp-asm.h>.
18434 (memset): Don't use BP_SYM.
18435 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18436 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18437 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18438 <bp-asm.h>.
18439 (__mpn_mul_1): Don't use BP_SYM.
18440 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18441 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18442 <bp-sym.h> and <bp-asm.h>.
18443 (memcmp): Don't use BP_SYM.
18444 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18445 <bp-sym.h> and <bp-asm.h>.
18446 (memcpy): Don't use BP_SYM.
18447 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18448 <bp-sym.h> and <bp-asm.h>.
18449 (memset): Don't use BP_SYM.
18450 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18451 <bp-sym.h> and <bp-asm.h>.
18452 (strncmp): Don't use BP_SYM.
18453 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18454 <bp-sym.h> and <bp-asm.h>.
18455 (memcpy): Don't use BP_SYM.
18456 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18457 <bp-sym.h> and <bp-asm.h>.
18458 (memset): Don't use BP_SYM.
18459 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18460 <bp-sym.h> and <bp-asm.h>.
18461 (__memchr): Don't use BP_SYM.
18462 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18463 <bp-sym.h> and <bp-asm.h>.
18464 (memcmp): Don't use BP_SYM.
18465 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18466 <bp-sym.h> and <bp-asm.h>.
18467 (memcpy): Don't use BP_SYM.
18468 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18469 <bp-sym.h> and <bp-asm.h>.
18470 (__mempcpy): Don't use BP_SYM.
18471 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18472 <bp-sym.h> and <bp-asm.h>.
18473 (__memrchr): Don't use BP_SYM.
18474 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18475 <bp-sym.h> and <bp-asm.h>.
18476 (memset): Don't use BP_SYM.
18477 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18478 <bp-sym.h> and <bp-asm.h>.
18479 (__rawmemchr): Don't use BP_SYM.
18480 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18481 <bp-sym.h> and <bp-asm.h>.
18482 (__STRCMP): Don't use BP_SYM.
18483 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18484 <bp-sym.h> and <bp-asm.h>.
18485 (strchr): Don't use BP_SYM.
18486 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18487 <bp-sym.h> and <bp-asm.h>.
18488 (__strchrnul): Don't use BP_SYM.
18489 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18490 <bp-sym.h> and <bp-asm.h>.
18491 (strlen): Don't use BP_SYM.
18492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18493 <bp-sym.h> and <bp-asm.h>.
18494 (strncmp): Don't use BP_SYM.
18495 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18496 <bp-sym.h> and <bp-asm.h>.
18497 (__strnlen): Don't use BP_SYM.
18498 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18499 <bp-asm.h>.
18500 (__mpn_rshift): Don't use BP_SYM.
18501 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18502 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18503 <bp-sym.h> and <bp-asm.h>.
18504 (__sigsetjmp): Don't use BP_SYM.
18505 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18506 (L(start_addresses)): Don't use BP_SYM.
18507 (_start): Likewise.
18508 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18509 <bp-asm.h>.
18510 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18511 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18512 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18513 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18514 <bp-asm.h>.
18515 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18516 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18517 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18518 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18519 <bp-asm.h>.
18520 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18521 comments.
18522 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18523 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18524 <bp-asm.h>.
18525 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18526 FIXME comments.
18527 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18528 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18529 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18530 <bp-asm.h>.
18531 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18532 comment.
18533 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18534 and <bp-asm.h>.
18535 (strncmp): Don't use BP_SYM,
18536 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18537 <bp-asm.h>.
18538 (__mpn_sub_n): Don't use BP_SYM.
18539 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18540 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18541 and <bp-asm.h>.
18542 (__mpn_submul_1): Don't use BP_SYM.
18543 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18545 <bp-sym.h> and <bp-asm.h>.
18546 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18548 <bp-sym.h> and <bp-asm.h>.
18549 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18550 comment.
18551
8d19fe64
SP
185522013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18553
18554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18555 Use ZK to minimize writes to Z.
18556 (sub_magnitudes): Simplify code a bit.
18557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18558 Use ZK to minimize writes to Z.
18559 (sub_magnitudes): Simplify code a bit.
18560
85bd816a
RM
185612013-02-27 Roland McGrath <roland@hack.frob.com>
18562
18563 * csu/gmon-start.c: Add special exception to license text.
18564
b5977bf2
RH
185652013-02-27 Richard Henderson <rth@redhat.com>
18566
18567 * scripts/config.guess: Update from config.git.
18568 * scripts/config.sub: Likewise.
18569
11d6e2f2
SP
185702013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18571
09c14ed2
SP
18572 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18573
a688864e
SP
18574 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18575
6295157a
SP
18576 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18577
b8de2202
SP
18578 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18579
11d6e2f2
SP
18580 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18581
7e80ddb8
RM
185822013-02-26 Roland McGrath <roland@hack.frob.com>
18583
18584 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18585 [$(build-shared = yes].
7e80ddb8 18586
7da6d9ed
SP
185872013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18588
45f05884
SP
18589 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18590 (__mul): Reduce iterations for calculating mantissa.
18591
2236d359
SP
18592 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18593 MPTWO.
18594 (__mpranred): Likewise.
18595
7da6d9ed
SP
18596 [BZ #15160]
18597 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18598 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18599
b7688c42
PE
186002013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18601
18602 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18603 Define __attribute__.
18604
53a5c423
SP
186052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18606
18607 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18608 unused.
18609 * posix/regex_internal.h (__attribute): Remove.
18610 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18611 (re_string_context_at): Likewise.
18612 (bitset_not): Use __attribute__ and mark function as possibly
18613 unused.
18614 (bitset_merge): Likewise.
18615 (bitset_mask): Likewise.
18616 (re_string_char_size_at): Likewise.
18617 (re_string_wchar_at): Likewise.
18618 (re_string_elem_size_at): Likewise.
18619
60f5a8b5
SP
186202013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18621
2a983a2e
SP
18622 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18623 code.
18624 (cc32): Likewise.
18625
e69804d1
SP
18626 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18627 (__acr): Likewise.
18628 (__cpy): Likewise.
18629 (norm): Likewise.
18630 (denorm): Likewise.
18631 (__dbl_mp): Likewise.
18632 (add_magnitudes): Likewise.
18633 (sub_magnitudes): Likewise.
18634 (__mul): Likewise.
18635 (__inv): Likewise.
18636
2f22a1e8
SP
18637 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18638 style.
18639
8930ddc7
SP
18640 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18641 style.
18642
dc60cb11
SP
18643 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18644 code.
18645
60f5a8b5
SP
18646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18647 up changes with default code.
18648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18649 Likewise.
18650
b4d1fd33
AM
186512013-02-24 Allan McRae <allan@archlinux.org>
18652
faf6f8bc
AM
18653 * manual/socket.texi (The Internet Namespace): Order menu items
18654 to match that in the file.
18655
b4d1fd33
AM
18656 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18657 node listing of the info page menu.
18658
2366713d
JM
186592013-02-21 Joseph Myers <joseph@codesourcery.com>
18660
18661 [BZ #13550]
18662 * sysdeps/i386/bp-asm.h: Remove file.
18663 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18664 (PARMS): Do not use macros from bp-asm.h.
18665 (S1): Likewise.
18666 (S2): Likewise.
18667 (SIZE): Likewise.
18668 (__mpn_add_n): Do not use BP_SYM
18669 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18670 "bp-asm.h".
18671 (PARMS): Do not use macros from bp-asm.h.
18672 (S1): Likewise.
18673 (SIZE): Likewise.
18674 (__mpn_addmul_1): Do not use BP_SYM
18675 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18676 "bp-asm.h".
18677 (PARMS): Do not use macros from bp-asm.h.
18678 (SIGMSK): Likewise.
18679 (_setjmp): Likewise. Do not use BP_SYM.
18680 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18681 "bp-asm.h".
18682 (PARMS): Do not use macros from bp-asm.h.
18683 (SIGMSK): Likewise.
18684 (setjmp): Likewise. Do not use BP_SYM.
18685 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18686 "bp-asm.h".
18687 (PARMS): Do not use macros from bp-asm.h.
18688 (__frexp): Do not use BP_SYM.
18689 (frexp): Likewise.
18690 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18691 "bp-asm.h".
18692 (PARMS): Do not use macros from bp-asm.h.
18693 (__frexpf): Do not use BP_SYM.
18694 (frexpf): Likewise.
18695 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18696 "bp-asm.h".
18697 (PARMS): Do not use macros from bp-asm.h.
18698 (__frexpl): Do not use BP_SYM.
18699 (frexpl): Likewise.
18700 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18701 "bp-asm.h".
18702 (PARMS): Do not use macros from bp-asm.h.
18703 (__remquo): Do not use BP_SYM.
18704 (remquo): Likewise.
18705 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18706 "bp-asm.h".
18707 (PARMS): Do not use macros from bp-asm.h.
18708 (__remquof): Do not use BP_SYM.
18709 (remquof): Likewise.
18710 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18711 "bp-asm.h".
18712 (PARMS): Do not use macros from bp-asm.h.
18713 (__remquol): Do not use BP_SYM.
18714 (remquol): Likewise.
18715 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18716 "bp-asm.h".
18717 (PARMS): Do not use macros from bp-asm.h.
18718 (DEST): Likewise.
18719 (SRC): Likewise.
18720 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18721 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18722 "bp-asm.h".
18723 (PARMS): Do not use macros from bp-asm.h.
18724 (strlen): Do not use BP_SYM.
18725 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18726 "bp-asm.h".
18727 (PARMS): Do not use macros from bp-asm.h.
18728 (S1): Likewise.
18729 (S2): Likewise.
18730 (SIZE): Likewise.
18731 (__mpn_add_n): Do not use BP_SYM.
18732 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18733 "bp-asm.h".
18734 (PARMS): Do not use macros from bp-asm.h.
18735 (S1): Likewise.
18736 (SIZE): Likewise.
18737 (__mpn_addmul_1): Do not use BP_SYM.
18738 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18739 weak_alias.
18740 (bzero): Likewise.
18741 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18742 "bp-asm.h".
18743 (PARMS): Do not use macros from bp-asm.h.
18744 (S): Likewise.
18745 (SIZE): Likewise.
18746 (__mpn_lshift): Do not use BP_SYM.
18747 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18748 "bp-asm.h".
18749 (PARMS): Do not use macros from bp-asm.h.
18750 (DEST): Likewise.
18751 (SRC): Likewise.
18752 (LEN): Likewise.
18753 (memcpy): Likewise. Do not use BP_SYM.
18754 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18755 libc_hidden_def and weak_alias.
18756 (mempcpy): Do not use BP_SYM in weak_alias.
18757 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18758 "bp-asm.h".
18759 (PARMS): Do not use macros from bp-asm.h.
18760 (DEST): Likewise.
18761 (LEN): Likewise.
18762 [!BZERO_P] (CHR): Likewise.
18763 (memset): Likewise. Do not use BP_SYM.
18764 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18765 "bp-asm.h".
18766 (PARMS): Do not use macros from bp-asm.h.
18767 (S1): Likewise.
18768 (SIZE): Likewise.
18769 (__mpn_mul_1): Do not use BP_SYM.
18770 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18771 "bp-asm.h".
18772 (PARMS): Do not use macros from bp-asm.h.
18773 (S): Likewise.
18774 (SIZE): Likewise.
18775 (__mpn_rshift): Do not use BP_SYM.
18776 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18777 "bp-asm.h".
18778 (PARMS): Do not use macros from bp-asm.h.
18779 (STR): Likewise.
18780 (CHR): Likewise.
18781 (strchr): Likewise. Do not use BP_SYM.
18782 (index): Do not use BP_SYM in weak_alias.
18783 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18784 "bp-asm.h".
18785 (PARMS): Do not use macros from bp-asm.h.
18786 (DEST): Likewise.
18787 (SRC): Likewise.
18788 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18789 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18790 "bp-asm.h".
18791 (PARMS): Do not use macros from bp-asm.h.
18792 (strlen): Do not use BP_SYM.
18793 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18794 "bp-asm.h".
18795 (PARMS): Do not use macros from bp-asm.h.
18796 (S1): Likewise.
18797 (S2): Likewise.
18798 (SIZE): Likewise.
18799 (__mpn_sub_n): Do not use BP_SYM.
18800 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18801 "bp-asm.h".
18802 (PARMS): Do not use macros from bp-asm.h.
18803 (S1): Likewise.
18804 (SIZE): Likewise.
18805 (__mpn_submul_1): Do not use BP_SYM.
18806 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18807 "bp-asm.h".
18808 (PARMS): Do not use macros from bp-asm.h.
18809 (S1): Likewise.
18810 (S2): Likewise.
18811 (SIZE): Likewise.
18812 (__mpn_add_n): Do not use BP_SYM.
18813 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18814 weak_alias.
18815 (bzero): Likewise.
18816 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18817 "bp-asm.h".
18818 (PARMS): Do not use macros from bp-asm.h.
18819 (BLK2): Likewise.
18820 (LEN): Likewise.
18821 (memcmp): Do not use BP_SYM.
18822 (bcmp): Do not use BP_SYM in weak_alias.
18823 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18824 "bp-asm.h".
18825 (PARMS): Do not use macros from bp-asm.h.
18826 (DEST): Likewise.
18827 (SRC): Likewise.
18828 (LEN): Likewise.
18829 (memcpy): Likewise. Do not use BP_SYM.
18830 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18831 "bp-asm.h".
18832 (PARMS): Do not use macros from bp-asm.h.
18833 (DEST): Likewise.
18834 (SRC): Likewise.
18835 (LEN): Likewise.
18836 (memmove): Likewise. Do not use BP_SYM.
18837 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18838 "bp-asm.h".
18839 (PARMS): Do not use macros from bp-asm.h.
18840 (DEST): Likewise.
18841 (SRC): Likewise.
18842 (LEN): Likewise.
18843 (__mempcpy): Likewise. Do not use BP_SYM.
18844 (mempcpy): Do not use BP_SYM in weak_alias.
18845 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18846 "bp-asm.h".
18847 (PARMS): Do not use macros from bp-asm.h.
18848 (DEST): Likewise.
18849 (LEN): Likewise.
18850 [!BZERO_P] (CHR): Likewise.
18851 (memset): Likewise. Do not use BP_SYM.
18852 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18853 "bp-asm.h".
18854 (PARMS): Do not use macros from bp-asm.h.
18855 (STR2): Likewise.
18856 (strcmp): Do not use BP_SYM.
18857 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18858 "bp-asm.h".
18859 (PARMS): Do not use macros from bp-asm.h.
18860 (STR): Likewise.
18861 (DELIM): Likewise.
18862 [USE_AS_STRTOK_R] (SAVE): Likewise.
18863 (FUNCTION): Likewise. Do not use BP_SYM.
18864 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18865 aliases.
18866 (strtok_r): Likewise.
18867 (__GI___strtok_r): Likewise.
18868 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18869 (PARMS): Do not use macros from bp-asm.h.
18870 (S): Likewise.
18871 (SIZE): Likewise.
18872 (__mpn_lshift): Do not use BP_SYM.
18873 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18874 (PARMS): Do not use macros from bp-asm.h.
18875 (STR): Likewise.
18876 (CHR): Likewise.
18877 (__memchr): Do not use BP_SYM.
18878 (memchr): Do not use BP_SYM in weak_alias.
18879 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18880 (PARMS): Do not use macros from bp-asm.h.
18881 (BLK2): Likewise.
18882 (LEN): Likewise.
18883 (memcmp): Do not use BP_SYM.
18884 (bcmp): Do not use BP_SYM in weak_alias.
18885 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18886 (PARMS): Do not use macros from bp-asm.h.
18887 (S1): Likewise.
18888 (SIZE): Likewise.
18889 (__mpn_mul_1): Do not use BP_SYM.
18890 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18891 "bp-asm.h".
18892 (PARMS): Do not use macros from bp-asm.h.
18893 (STR): Likewise.
18894 (CHR): Likewise.
18895 (__rawmemchr): Do not use BP_SYM.
18896 (rawmemchr): Do not use BP_SYM in weak_alias.
18897 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18898 (PARMS): Do not use macros from bp-asm.h.
18899 (S): Likewise.
18900 (SIZE): Likewise.
18901 (__mpn_rshift): Do not use BP_SYM.
18902 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18903 (PARMS): Do not use macros from bp-asm.h.
18904 (SIGMSK): Likewise.
18905 (__sigsetjmp): Likewise. Do not use BP_SYM.
18906 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18907 (_start): Do not use BP_SYM.
18908 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18909 (PARMS): Do not use macros from bp-asm.h.
18910 (DEST): Likewise.
18911 (SRC): Likewise.
18912 (__stpcpy): Likewise. Do not use BP_SYM.
18913 (stpcpy): Do not use BP_SYM in weak_alias.
18914 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18915 "bp-asm.h".
18916 (PARMS): Do not use macros from bp-asm.h.
18917 (DEST): Likewise.
18918 (SRC): Likewise.
18919 (LEN): Likewise.
18920 (__stpncpy): Likewise. Do not use BP_SYM.
18921 (stpncpy): Do not use BP_SYM in weak_alias.
18922 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18923 (PARMS): Do not use macros from bp-asm.h.
18924 (STR): Likewise.
18925 (CHR): Likewise.
18926 (strchr): Likewise. Do not use BP_SYM.
18927 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18928 "bp-asm.h".
18929 (PARMS): Do not use macros from bp-asm.h.
18930 (STR): Likewise.
18931 (CHR): Likewise.
18932 (__strchrnul): Likewise. Do not use BP_SYM.
18933 (strchrnul): Do not use BP_SYM in weak_alias.
18934 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18935 "bp-asm.h".
18936 (PARMS): Do not use macros from bp-asm.h.
18937 (STOP): Likewise.
18938 (strcspn): Do not use BP_SYM.
18939 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18940 "bp-asm.h".
18941 (PARMS): Do not use macros from bp-asm.h.
18942 (STR): Likewise.
18943 (STOP): Likewise.
18944 (strpbrk): Likewise. Do not use BP_SYM.
18945 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18946 "bp-asm.h".
18947 (PARMS): Do not use macros from bp-asm.h.
18948 (STR): Likewise.
18949 (CHR): Likewise.
18950 (strrchr): Likewise. Do not use BP_SYM.
18951 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18952 (PARMS): Do not use macros from bp-asm.h.
18953 (SKIP): Likewise.
18954 (strspn): Do not use BP_SYM.
18955 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18956 (PARMS): Do not use macros from bp-asm.h.
18957 (STR): Likewise.
18958 (DELIM): Likewise.
18959 (SAVE): Likewise.
18960 (FUNCTION): Likewise. Do not use BP_SYM.
18961 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18962 aliases.
18963 (strtok_r): Likewise.
18964 (__GI___strtok_r): Likewise.
18965 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18966 (PARMS): Do not use macros from bp-asm.h.
18967 (S1): Likewise.
18968 (S2): Likewise.
18969 (SIZE): Likewise.
18970 (__mpn_sub_n): Do not use BP_SYM.
18971 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18972 "bp-asm.h".
18973 (PARMS): Do not use macros from bp-asm.h.
18974 (S1): Likewise.
18975 (SIZE): Likewise.
18976 (__mpn_submul_1): Do not use BP_SYM.
18977 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18978 <bp-sym.h>.
18979 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18980 and <bp-asm.h>.
18981 (PARMS): Do not use macros from bp-asm.h.
18982 (FLAGS): Likewise.
18983 (PTID): Likewise.
18984 (TLS): Likewise.
18985 (CTID): Likewise.
18986 (__clone): Do not use BP_SYM.
18987 (clone): Do not use BP_SYM in weak_alias.
18988 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18989 and <bp-asm.h>.
18990 (PARMS): Do not use macros from bp-asm.h.
18991 (LEN): Likewise.
18992 (__mmap64): Do not use BP_SYM.
18993 (mmap64): Do not use BP_SYM in weak_alias.
18994 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18995 <bp-sym.h> and <bp-asm.h>.
18996 (PARMS): Do not use macros from bp-asm.h.
18997 (__posix_fadvise64_l64): Do not use BP_SYM.
18998 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18999 (PARMS): Do not use macros from bp-asm.h.
19000 (NSOPS): Likewise.
19001 (semtimedop): Do not use BP_SYM.
19002 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19003 and <bp-asm.h>.
19004
582a3cff
AM
190052013-02-21 Allan McRae <allan@archlinux.org>
19006
19007 * manual/message.texi (Charset conversion in gettext):
19008 Move @end statement to beginning of line.
19009
bab8a695
SP
190102013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19011
80945231
SP
19012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19013 static.
19014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19015 Likewise.
19016
bab8a695
SP
19017 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19018 (denorm): Likewise.
19019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19021
e21d7aa7
AK
190222013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19023
19024 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19025 tail-call to the resolved function if pltexit isn't needed.
19026
4c7a4263
SP
190272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19028
19029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19030 or Y being zero as being unlikely.
19031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19032 Likewise.
19033
41f49342
CD
190342013-02-20 Carlos O'Donell <carlos@redhat.com>
19035
19036 * manual/nss.texi (System Databases and Name Service Switch):
19037 Remove frobnicate @pxref.
19038
50022a93
TS
190392013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19040
19041 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19042 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19043
08cbd996
PM
190442013-02-20 Petr Machata <pmachata@redhat.com>
19045
19046 * elf/elf.h (R_ARM_TARGET1): New macro.
19047 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19048 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19049 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19050 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19051 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19052 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19053 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19054 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19055 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19056 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19057 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19058 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19059 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19060 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19061 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19062 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19063 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19064 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19065 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19066 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19067 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19068 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19069 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19070 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19071 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19072 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19073 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19074 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19075 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19076 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19077 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19078 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19079 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19080 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19081 (R_ARM_THM_GOT_BREL12): Likewise.
19082 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19083 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19084 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19085 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19086 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19087 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19088 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19089 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19090 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19091
c7b275d6
TS
190922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19093
19094 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19095 __attribute_used__ to __attribute__ ((unused)).
19096
20cd7fb3
SP
190972013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19098
19099 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19100 powerpc mpa.c.
19101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19102 comment formatting.
19103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19104
92945b52
JM
191052013-02-19 Joseph Myers <joseph@codesourcery.com>
19106
19107 [BZ #13550]
19108 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19109 Remove macro.
19110 (ENTER): Remove both macro definitions.
19111 (LEAVE): Likewise.
19112 (CHECK_BOUNDS_LOW): Likewise.
19113 (CHECK_BOUNDS_HIGH): Likewise.
19114 (CHECK_BOUNDS_BOTH): Likewise.
19115 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19116 (RETURN_BOUNDED_POINTER): Likewise.
19117 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19118 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19119 (POP_ERRNO_LOCATION_RETURN): Likewise.
19120 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19121 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19122 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19123 macros.
19124 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19125 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19126 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19127 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19128 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19129 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19130 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19131 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19132 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19133 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19134 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19135 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19136 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19137 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19138 removed macros.
19139 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19140 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19141 macros.
19142 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19143 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19144 * sysdeps/i386/i586/memset.S (memset): Likewise.
19145 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19146 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19147 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19148 macros.
19149 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19150 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19151 Change uses of L(2) to L(out).
19152 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19153 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19154 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19155 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19156 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19157 removed macros.
19158 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19159 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19160 macros.
19161 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19162 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19163 (RETURN): Do not use macro LEAVE.
19164 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19165 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19166 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19167 * sysdeps/i386/i686/memset.S (memset): Likewise.
19168 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19169 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19170 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19171 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19172 Likewise.
19173 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19174 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19175 L(1_2) and L(1_3) into L(1).
19176 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19177 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19178 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19179 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19180 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19181 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19182 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19183 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19184 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19185 macros.
19186 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19187 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19188 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19189 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19190 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19191 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19192 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19193 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19194 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19195 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19196 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19197 * sysdeps/i386/strspn.S (strspn): Likewise.
19198 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19199 conditional code.
19200 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19201 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19202 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19203 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19204 L(1_3) into L(1_1).
19205 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19206 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19207 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19208 macros.
19209 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19210
2389741a
JJ
192112013-02-19 Jakub Jelinek <jakub@redhat.com>
19212
19213 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19214 macro.
19215
2016b3cd
SP
192162013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19217
e4f22324
SP
19218 * math/atest-exp.c (exp_mpn): Remove ROUND.
19219 * math/atest-exp2.c (exp_mpn): Likewise.
19220 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19221
2016b3cd
SP
19222 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19223 * stdlib/tst-tls-atexit-lib.c: Likewise.
19224 * stdlib/tst-tls-atexit.c: Likewise.
19225
4be9b544
MF
192262013-02-18 Mike Frysinger <vapier@gentoo.org>
19227
19228 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19229 and __attribute_alloc_size__.
19230
2f62b9ee
MF
192312013-02-18 Mike Frysinger <vapier@gentoo.org>
19232
19233 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19234 __attribute_alloc_size__.
19235 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19236 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19237
6ff444c4
MF
192382013-02-18 Mike Frysinger <vapier@gentoo.org>
19239
19240 * include/programs/xmalloc.h: New file.
19241 * catgets/gencat.c: Include it.
19242 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19243 * elf/pldd.c: Likewise.
19244 * iconv/iconv_charmap.c: Likewise.
19245 * iconv/iconvconfig.c: Likewise.
19246 * iconv/strtab.c: Likewise.
19247 * locale/programs/locale.c: Likewise.
19248 * locale/programs/localedef.h: Likewise.
19249 * locale/programs/simple-hash.c: Likewise.
19250 * nscd/nscd.h: Likewise.
19251 * nss/makedb.c: Likewise.
19252 * sysdeps/generic/ldconfig.h: Likewise.
19253
be179c8a
SP
192542013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19255
ba384f6e
SP
19256 * Versions.def: Add GLIBC_2.18.
19257 * include/link.h (struct link_map): New member l_tls_dtor_count.
19258 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19259 (__call_tls_dtors): Likewise.
19260 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19261 __cxa_thread_atexit_impl.
19262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19263 Likewise.
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19265 Likewise.
19266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19267 Likewise.
19268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19269 Likewise.
19270 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19272 Likewise.
19273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19274 Likewise.
19275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19277 Likewise.
19278 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19279 (tests): Add test case tst-tls-atexit.
19280 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19281 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19282 (GLIBC_PRIVATE): Add __call_tls_dtors.
19283 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19284 for libstdc++.
19285 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19286 * stdlib/tst-tls-atexit.c: New test case.
19287 * stdlib/tst-tls-atexit-lib.c: New test case.
19288
ffaa74cf 19289 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19290
be179c8a
SP
19291 * elf/Versions (ld): Add _dl_find_dso_for_object.
19292 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19293 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19294 (dl_open_worker): Use _dl_find_dso_for_object.
19295 * elf/dl-sym.c (do_sym): Likewise.
19296 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19297
f78b5caa
AK
192982013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19299
19300 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19301 Syntactic changes only.
19302 (_dl_runtime_profile): Do a tail-call to the resolved function.
19303
29691210
JM
193042013-02-17 Joseph Myers <joseph@codesourcery.com>
19305
19306 [BZ #13550]
19307 * sysdeps/x86_64/bp-asm.h: Remove file.
19308 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19309 <bp-sym.h> and <bp-asm.h>.
19310 (__clone): Do not use BP_SYM.
19311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19312 <bp-sym.h> and <bp-asm.h>.
19313 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19314 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19315 "bp-asm.h".
19316 (_setjmp): Do not use BP_SYM.
19317 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19318 "bp-asm.h".
19319 (setjmp): Do not use BP_SYM.
19320 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19321 libc_hidden_def.
19322 (mempcpy): Do not use BP_SYM in weak_alias.
19323 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19324 "bp-asm.h".
19325 (strchr): Do not use BP_SYM.
19326 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19327 "bp-asm.h".
19328 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19329 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19330 (_start): Do not use BP_SYM.
19331 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19332 "bp-asm.h".
19333 (strcat): Do not use BP_SYM.
19334 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19335 "bp-asm.h".
19336 (STRCMP): Do not use BP_SYM.
19337 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19338 "bp-asm.h".
19339 (STRCPY): Do not use BP_SYM.
19340 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19341 "bp-asm.h".
19342 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19343 "bp-asm.h".
19344 (FUNCTION): Do not use BP_SYM.
19345 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19346 weak_alias.
19347 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19348
f238fd19
AJ
193492013-02-17 Andreas Jaeger <aj@suse.de>
19350
19351 * time/Versions: Sort entries.
19352 * string/Versions: Likewise.
19353 * resolv/Versions: Likewise.
19354 * posix/Versions: Likewise.
19355 * iconv/Versions: Likewise.
19356 * elf/Versions: Likewise.
19357 * wcsmbs/Versions: Likewise.
19358
bd07f23c 193592013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19360
22af19f9
SP
19361 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19362 loop termination condition.
19363
4709fe76
SP
19364 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19365 variable to calculate EZ.
19366 (__sqr): Likewise.
2d0e0f29
SP
19367
19368 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19369 the lower precision input.
19370
daaa7713
JM
193712013-02-15 Joseph Myers <joseph@codesourcery.com>
19372
19373 [BZ #13550]
19374 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19375 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19376 (run-via-rtld-prefix): Do not handle %-bp tests.
19377 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19378 (all-object-suffixes): Remove .ob.
19379 (bppfx): Remove variable.
19380 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19381 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19382 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19383 [$(build-bounded) = yes] (libtype.ob): Likewise.
19384 * Makerules (elide-routines.ob): Remove variable.
19385 (do-tests-clean): Do not handle *-bp.out.
19386 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19387 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19388 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19389 (tests): Do not include $(tests-bp.out).
19390 (xtests): Do not include $(xtests-bp.out).
19391 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19392 [$(build-bounded) = yes] ($(addprefix
19393 $(objpfx),$(binaries-bounded))): Remove rule.
19394 ($(objpfx)%-bp.out): Remove rule.
19395 * config.make.in (build-bounded): Remove variable.
19396 * crypt/Makefile [$(build-bounded) = yes]
19397 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19398 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19399 append to variable.
19400 [$(build-bounded) = yes] (install-lib): Likewise.
19401 [$(build-bounded) = yes] (generated): Likewise.
19402 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19403 Remove rule.
19404 * intl/Makefile [$(build-bounded) = yes]
19405 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19406 * math/Makefile [$(build-bounded) = yes]
19407 ($(tests:%=$(objpfx)%-bp): Likewise.
19408 * misc/Makefile [$(build-bounded) = yes]
19409 ($(objpfx)tst-tsearch-bp): Likewise.
19410 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19411 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19412 Remove dependency.
19413 * string/Makefile (o-objects.ob): Remove variable.
19414 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19415 (CFLAGS-.ob): Remove variable.
19416 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19417 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19418 both definitions of variable.
19419 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19420 (ASFLAGS-.ob): Remove variable.
19421
e97ed6dd
JM
194222013-02-14 Joseph Myers <joseph@codesourcery.com>
19423
2bdd4ca6
JM
19424 [BZ #13550]
19425 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19426 Remove __BOUNDED_POINTERS__ from condition.
19427 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19428 * string/bits/string2.h [!__NO_STRING_INLINES &&
19429 !__BOUNDED_POINTERS__]: Likewise.
19430 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19431 Likewise.
19432 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19433 Remove conditional code.
19434 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19435 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19436 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19437 condition.
19438
e97ed6dd
JM
19439 [BZ #13550]
19440 * csu/libc-start.c: Do not include <bp-sym.h>.
19441 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19442 * elf/dl-open.c: Do not include <bp-sym.h>.
19443 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19444 * math/fegetenv.c: Do not include <bp-sym.h>.
19445 (fegetenv): Do not use BP_SYM in versioned symbols.
19446 * nptl/sysdeps/pthread/bits/libc-lockP.h
19447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19448 <bp-sym.h>.
19449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19450 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19452 (__pthread_mutex_destroy): Likewise.
19453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19454 (__pthread_mutex_lock): Likewise.
19455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19456 (__pthread_mutex_trylock): Likewise.
19457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19458 (__pthread_mutex_unlock): Likewise.
19459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19460 (__pthread_mutexattr_init): Likewise.
19461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19462 (__pthread_mutexattr_destroy): Likewise.
19463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19464 (__pthread_mutexattr_settype): Likewise.
19465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19466 (__pthread_rwlock_init): Likewise.
19467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19468 (__pthread_rwlock_destroy): Likewise.
19469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19470 (__pthread_rwlock_rdlock): Likewise.
19471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19472 (__pthread_rwlock_tryrdlock): Likewise.
19473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19474 (__pthread_rwlock_wrlock): Likewise.
19475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19476 (__pthread_rwlock_trywrlock): Likewise.
19477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19478 (__pthread_rwlock_unlock): Likewise.
19479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19480 (__pthread_key_create): Likewise.
19481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19482 (__pthread_setspecific): Likewise.
19483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19484 (__pthread_getspecific): Likewise.
19485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19486 Likewise.
19487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19488 (_pthread_cleanup_push_defer): Likewise.
19489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19490 (_pthread_cleanup_pop_restore): Likewise.
19491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19492 (pthread_setcancelstate): Likewise.
19493 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19494 <bp-sym.h>.
19495 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19496 (memchr): Do not use BP_SYM in weak_alias.
19497 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19498 (fegetenv): Do not use BP_SYM in versioned symbols.
19499 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19500 (fesetenv): Do not use BP_SYM in versioned symbols.
19501 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19502 (feupdateenv): Do not use BP_SYM in versioned symbols.
19503 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19504 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19505 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19506 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19507 (open64): Do not use BP_SYM in weak_alias.
19508 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19509 (fegetenv): Do not use BP_SYM in versioned symbols.
19510 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19511 (fesetenv): Do not use BP_SYM in versioned symbols.
19512 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19513 (feupdateenv): Do not use BP_SYM in versioned symbols.
19514 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19515 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19516 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19517 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19518 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19519 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19520 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19521 <bp-sym.h>.
19522 (__libc_start_main): Do not use BP_SYM.
19523
d6752ccd
SP
195242013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19525
cb57ce60
SP
19526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19527 redundant return line.
19528 (norm): Likewise.
19529 (denorm): Likewise.
19530 (dbl_mp): Likewise.
19531 (sub_magnitudes): Likewise.
19532 (__add): Likewise.
19533 (__sub): Likewise.
19534 (__mul): Likewise.
19535 (__inv): Likewise.
19536 (__dvd): Likewise.
19537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19538 (norm): Likewise.
19539 (denorm): Likewise.
19540 (dbl_mp): Likewise.
19541 (sub_magnitudes): Likewise.
19542 (__add): Likewise.
19543 (__sub): Likewise.
19544 (__mul): Likewise.
19545 (__inv): Likewise.
19546 (__dvd): Likewise.
19547
f414520d
SP
19548 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19549 instead of __mul.
19550 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19551 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19552 (cc32): Likewise.
19553
d6752ccd
SP
19554 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19555 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19557 of __mul for squares.
19558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19559 function
19560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19561 Likewise.
19562 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19563 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19564
70d9946a
JM
195652013-02-13 Joseph Myers <joseph@codesourcery.com>
19566
19567 [BZ #13550]
19568 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19569 code.
19570 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19571 prototype or function definition. Rename ubp_* variables and
19572 parameters. Remove argv definitions conditional on
19573 [__BOUNDED_POINTERS__].
19574 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19575 * elf/dl-runtime.c (_dl_fixup): Likewise.
19576 * include/set-hooks.h (RUN_HOOK): Likewise.
19577 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19578 definition.
19579 * string/strcpy.c (strcpy): Do not use __unbounded.
19580 * sysdeps/generic/frame.h (struct layout): Likewise.
19581 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19582 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19583 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19584 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19585 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19586 (__backtrace): Likewise.
19587 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19588 use __ptrvalue.
19589 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19590 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19591 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19592 Likewise.
19593 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19594 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19595 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19596 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19597 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19598 Do not use __unbounded.
19599 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19600 Rename __unboundedrlimits parameter to rlimits in prototype.
19601 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19602 Do not use __unbounded.
19603 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19604 not use __ptrvalue.
19605 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19606 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19607 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19608 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19609 __ptrvalue or __unbounded.
19610 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19611 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19612 use __unbounded.
19613 (__new_msgctl): Do not use __ptrvalue.
19614 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19615 __unbounded.
19616 (__libc_msgrcv): Do not use __ptrvalue.
19617 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19618 startup_info): Do not use __unbounded.
19619 (__libc_start_main): Likewise. Rename ubp_* variables and
19620 parameters. Remove argv definitions conditional on
19621 [__BOUNDED_POINTERS__].
19622 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19623 __ptrvalue.
19624 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19625 use __unbounded.
19626 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19627 or __ptrvalue.
19628 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19629 use __unbounded.
19630 (__new_shmctl): Do not use __ptrvalue.
19631 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19632 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19633 Likewise.
19634 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19635 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19636 (__libc_sigaction): Likewise.
19637 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19638 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19639 Likewise.
19640 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19641
cc7834d6
OB
196422013-02-13 Ondřej Bílka <neleai@seznam.cz>
19643
ffb1ec7b 19644 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19645
19646 * string/mempcpy.c: Implement by calling memcpy.
19647
bdf02814
SP
196482013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19649
c2af38aa
SP
19650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19651
4e92d59e
SP
19652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19653 evaluation.
19654
909279a5
SP
19655 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19656 values in the mantissa.
19657
bdf02814
SP
19658 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19659 minimize writes to Z.
19660 (sub_magnitudes): Simplify code a bit.
19661
cd525923
RM
196622013-02-12 Roland McGrath <roland@hack.frob.com>
19663
19664 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19665 from the message. The linker prefixes all warnings with that already.
19666
7e2f0d2d
AS
196672013-02-12 Andreas Schwab <schwab@suse.de>
19668
a445af0b
AS
19669 [BZ #15078]
19670 * posix/regexec.c (extend_buffers): Add parameter min_len.
19671 (check_matching): Pass minimum needed length.
19672 (clean_state_log_if_needed): Likewise.
19673 (get_subexp): Likewise.
19674 * posix/Makefile (tests): Add bug-regex34.
19675 (bug-regex34-ENV): Define.
19676 * posix/bug-regex34.c: New file.
19677
7e2f0d2d
AS
19678 [BZ #11561]
19679 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19680 elements compare against the byte sequence of it, not its name.
19681 * posix/Makefile (tests): Add bug-regex35.
19682 (bug-regex35-ENV): Define.
19683 * posix/bug-regex35.c: New file.
19684
a175b684
TV
196852013-02-11 Tom de Vries <tom@codesourcery.com>
19686
19687 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19688 comment.
19689 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19690 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19691 (CHECK_EOL): Add undef.
19692
310998fe 196932013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19694
19695 * bits/stdlib-bsearch.h: New file.
19696 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19697 * stdlib/stdlib.h: Likewise.
41eda41d 19698
8ded91fb
RM
196992013-02-11 Roland McGrath <roland@hack.frob.com>
19700
19701 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19702 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19703 declaration.
19704 * manual/search.texi (Array Search Function): Add missing const in
19705 lfind prototype.
19706 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19707 declaration to use rlim_t.
19708 (Basic Scheduling Functions): Remove erroneous const from
19709 sched_getparam prototype. Remove erroneous * from
19710 sched_get_priority_max and sched_get_priority_min prototypes.
19711 (Resource Usage): Fix summary @comment on vtimes to refer to
19712 sys/vtimes.h rather than vtimes.h.
19713 Add missing *s in vtimes prototype.
19714 (Limits on Resources): Fix ulimit prototype to return long int.
19715 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19716 prototypes to use long int rather than double.
19717 (BSD Random): Fix initstate and setstate to use char *, not void *.
19718 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19719 prototype to make second argument 'struct aiocb64 *const[]'.
19720 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19721 (Status of AIO Operations): Remove erroneous const in aio_return and
19722 aio_return64 prototypes.
19723 (Synchronizing I/O): Fix sync prototype to return void.
19724 * manual/startup.texi (Suboptions): Remove an erroneous const in
19725 getsubopt prototype.
19726 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19727 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19728 use size_t rather than int.
19729 (Scanning All Users): Likewise for getpwent_r.
19730 (Setting Groups): Add missing const to setgroups prototype.
19731 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19732 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19733 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19734 'const void *' rather than 'const char *'.
19735 (Host Address Functions): Likewise for inet_ntop.
19736 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19737 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19738 ssize_t for return value.
19739 (Sending Data): Likewise for send, sendto, sendmsg.
19740 (Socket Option Functions): Add a missing const in setsockopt prototype.
19741 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19742 use wchar_t for the argument.
19743 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19744 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19745 take no arguments.
19746 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19747 double/float/long double for second argument.
19748 Fix return types of significand, significandf, significandl.
19749 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19750 argument in fchmod prototype.
19751 (File Owner): Use uid_t and gid_t in fchown prototype.
19752 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19753 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19754 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19755 use 'const struct dirent **' as argument types to CMP function pointer
19756 argument.
19757 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19758 (File Times): Fix summary magic @comment for struct utimbuf and utime
19759 to refer to utime.h, not time.h.
19760 * manual/string.texi (Argz Functions): Add missing const in
19761 argz_extract and argz_next prototypes.
19762 (Finding Tokens in a String): Likewise for basename.
19763 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19764 (Copying and Concatenation): Fix typo in wmemmove prototype.
19765 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19766 (Signal Stack): Remove erroneous const in sigstack prototype.
19767 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19768 prototype.
19769 (Simple Calendar Time): Likewise for stime.
19770 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19771 prototype.
19772 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19773 say sys/sysctl.h instead.
19774 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19775 and vsyslog prototypes.
19776
fe77fe6d
TV
197772013-02-11 Tom de Vries <tom@codesourcery.com>
19778
19779 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19780 Remove.
19781
3a09b620
RM
197822013-02-11 Roland McGrath <roland@hack.frob.com>
19783
19784 * misc/sys/mman.h: Fix typo in mremap comment.
19785
550a0b89
RM
197862013-02-08 Roland McGrath <roland@hack.frob.com>
19787
19788 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19789 the '\0' terminator.
19790
a2da1673
JM
197912013-02-08 Joseph Myers <joseph@codesourcery.com>
19792
19793 [BZ #13550]
19794 * debug/segfault.c: Don't include <bp-checks.h>.
19795 * sysdeps/generic/bp-checks.h: Remove file.
19796 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19797 (__GETDENTS): Don't use CHECK_N.
19798 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19799 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19800 (__getgroups): Don't use CHECK_N.
19801 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19802 (setgroups): Don't use CHECK_N.
19803 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19804 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19805 (__libc_msgrcv): Don't use CHECK_N.
19806 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19807 (__libc_msgsnd): Don't use CHECK_N.
19808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19809 <bp-checks.h>.
19810 (__libc_pread): Don't use CHECK_N.
19811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19812 include <bp-checks.h>.
19813 (__libc_pread64): Don't use CHECK_N.
19814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19815 include <bp-checks.h>.
19816 (__libc_pwrite): Don't use CHECK_N.
19817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19818 include <bp-checks.h>.
19819 (__libc_pwrite64): Don't use CHECK_N.
19820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19821 <bp-checks.h>.
19822 (__libc_pread): Don't use CHECK_N.
19823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19824 include <bp-checks.h>.
19825 (__libc_pread64): Don't use CHECK_N.
19826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19827 include <bp-checks.h>.
19828 (__libc_pwrite): Don't use CHECK_N.
19829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19830 include <bp-checks.h>.
19831 (__libc_pwrite64): Don't use CHECK_N.
19832 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19833 (do_pread): Don't use CHECK_N.
19834 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19835 (do_pread64): Don't use CHECK_N.
19836 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19837 (do_pwrite): Don't use CHECK_N.
19838 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19839 (do_pwrite64): Don't use CHECK_N.
19840 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19841 (__libc_readv): Don't use CHECK_N.
19842 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19843 (semop): Don't use CHECK_N.
19844 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19845 <bp-checks.h>.
19846 (semtimedop): Don't use CHECK_N.
19847 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19848 (__libc_pread): Don't use CHECK_N.
19849 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19850 <bp-checks.h>.
19851 (__libc_pread64): Don't use CHECK_N.
19852 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19853 <bp-checks.h>.
19854 (__libc_pwrite): Don't use CHECK_N.
19855 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19856 <bp-checks.h>.
19857 (__libc_pwrite64): Don't use CHECK_N.
19858 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19859 <bp-checks.h>.
19860 (__libc_msgrcv): Don't use CHECK_N.
19861 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19862 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19863 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19864 (__libc_writev): Don't use CHECK_N.
19865
b84660a8
RM
198662013-02-08 Roland McGrath <roland@hack.frob.com>
19867
7f3e75f8
RM
19868 * string/strcpy.c: Removed unused variable.
19869
b84660a8
RM
19870 * Makeconfig (+sysdep-includes): Define with := rather than =.
19871 Use an existing include/ subdir of each sysdeps dir before it.
19872
471514d3
CD
198732013-02-08 Carlos O'Donell <carlos@redhat.com>
19874
19875 * nscd/connection.c (register_traced_file): Comment function.
19876 [HAVE_INOTIFY] (union __inev): Define.
19877 [HAVE_INOTIFY] (inotify_check_files): New function.
19878 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19879 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19880 clear_db_cache.
19881 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19882
b2d3c3be
CD
198832013-02-08 Carlos O'Donell <carlos@redhat.com>
19884
19885 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19886 loaded if not already and that a failure is permanent.
19887
b39949d2
CD
198882013-02-08 Carlos O'Donell <carlos@redhat.com>
19889
ddacd1db 19890 [BZ #15006]
b39949d2
CD
19891 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19892 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19893
b2c9eff4
JM
198942013-02-08 Joseph Myers <joseph@codesourcery.com>
19895
f3aae3f3
JM
19896 [BZ #13550]
19897 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19898 (CHECK_1_NULL_OK): Likewise.
19899 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19900 (__fxstat): Do not use CHECK_1.
19901 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19902 <bp-checks.h>.
19903 (___fxstat64): Do not use CHECK_1.
19904 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19905 <bp-checks.h>.
19906 (__fxstatat): Do not use CHECK_1.
19907 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19908 <bp-checks.h>.
19909 (__fxstatat64): Do not use CHECK_1.
19910 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19911 <bp-checks.h>.
19912 (__fxstat): Do not use CHECK_1.
19913 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19914 <bp-checks.h>.
19915 (__fxstatat): Do not use CHECK_1.
19916 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19917 <bp-checks.h>.
19918 (__getresgid): Do not use CHECK_1.
19919 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19920 <bp-checks.h>.
19921 (__getresuid): Do not use CHECK_1.
19922 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19923 <bp-checks.h>.
19924 (__lxstat): Do not use CHECK_1.
19925 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19926 <bp-checks.h>.
19927 (__old_msgctl): Do not use CHECK_1.
19928 (__new_msgctl): Likewise.
19929 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19930 <bp-checks.h>.
19931 (__new_setrlimit): Do not use CHECK_1.
19932 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19933 <bp-checks.h>.
19934 (__old_shmctl): Do not use CHECK_1.
19935 (__new_shmctl): Likewise.
19936 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19937 <bp-checks.h>.
19938 (__xstat): Do not use CHECK_1.
19939 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19940 (__lxstat): Do not use CHECK_1.
19941 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19942 <bp-checks.h>.
19943 (___lxstat64): Do not use CHECK_1.
19944 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19945 (__old_msgctl): Do not use CHECK_1.
19946 (__new_msgctl): Likewise.
19947 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19948 <bp-checks.h>.
19949 (__gettimeofday): Do not use CHECK_1.
19950 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19951 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19952 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19953 <bp-checks.h>.
19954 (__gettimeofday): Do not use CHECK_1.
19955 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19956 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19957 (__new_shmctl): Do not use CHECK_1.
19958 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19959 <bp-checks.h>.
19960 (do_sigtimedwait): Do not use CHECK_1.
19961 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19962 <bp-checks.h>.
19963 (do_sigwaitinfo): Do not use CHECK_1.
19964 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19965 <bp-checks.h>.
19966 (msgctl): Do not use CHECK_1.
19967 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19968 <bp-checks.h>.
19969 (shmctl): Do not use CHECK_1.
19970 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19971 (ustat): Do not use CHECK_1.
19972 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19973 <bp-checks.h>.
19974 (__fxstat): Do not use CHECK_1.
19975 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19976 <bp-checks.h>.
19977 (__fxstatat): Do not use CHECK_1.
19978 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19979 <bp-checks.h>.
19980 (__lxstat): Do not use CHECK_1.
19981 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19982 <bp-checks.h>.
19983 (__xstat): Do not use CHECK_1.
19984 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19985 (__xstat): Do not use CHECK_1.
19986 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19987 (___xstat64): Do not use CHECK_1.
19988
b2c9eff4
JM
19989 [BZ #13550]
19990 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19991 definitions.
19992 (CHECK_BOUNDS_HIGH): Likewise.
19993 * string/strcpy.c: Do not include <bp-checks.h>.
19994 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19995
f1d70dad
RM
199962013-02-07 Roland McGrath <roland@hack.frob.com>
19997
19998 * nscd/nscd-client.h (__nscd_drop_map_ref):
19999 Add __attribute__ ((unused)).
20000 * nis/nss-nisplus.h (niserr2nss): Likewise.
20001
20002 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20003 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20004
20005 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20006 Remove inline keyword.
20007 * include/rounding-mode.h (round_away): Likewise.
20008 * libio/wfileops.c (adjust_wide_data): Likewise.
20009 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20010 (__m128i_strloadu_tolower): Likewise.
20011 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20012 (__m128i_strloadu_tolower): Likewise.
20013 * time/mktime.c (ydhms_diff): Likewise.
20014 * locale/elem-hash.h (elem_hash): Likewise.
20015 * locale/setlocale.c (setdata): Likewise.
20016 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20017 (re_string_wchar_at): Likewise.
20018 (bitset_not, bitset_merge, bitset_mask): Likewise.
20019 [!(__GNUC__ > 3)] (inline): Remove macro.
20020 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20021 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20022 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20023 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20024 * string/memcmp.c (memcmp_bytes): Likewise.
20025 * locale/programs/locarchive.c (compute_hashval): Likewise.
20026 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20027 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20028 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20029 * nss/getent.c (print_rpc, print_protocols): Likewise.
20030 (print_passwd, print_group, print_aliases): Likewise.
20031 * nis/nss-nisplus.h (niserr2nss): Likewise.
20032 * nscd/connections.c (restart_p): Likewise.
20033 Change return type to bool.
20034
eab55bfb
RM
200352013-02-05 Roland McGrath <roland@hack.frob.com>
20036
7bd642f5
RM
20037 * Makeconfig (all-Depend-files): Add existing
20038 $(sorted-subdirs:=/Depend) files.
20039 (all-subdirs): Remove nss.
20040 * sysdeps/unix/inet/Subdirs: Add it here instead.
20041 * hesiod/Depend: New file.
20042
573c29b2
RM
20043 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20044 instead of calling alloca.
20045
b2e25af0
RM
20046 * io/lseek.c (__lseek): Rename to __libc_lseek.
20047 Define __lseek as an alias.
20048
eab55bfb
RM
20049 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20050
9a0d1941
CD
200512013-02-04 Carlos O'Donell <carlos@redhat.com>
20052
20053 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20054 else clause and remove check for non-standard endianness.
20055
b83bbec4
DM
200562013-02-04 David S. Miller <davem@davemloft.net>
20057
20058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20059
6277fdab
JM
200602013-02-04 Joseph Myers <joseph@codesourcery.com>
20061
20062 [BZ #13550]
20063 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20064 (__ubp_memchr): Remove prototype.
20065 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20066 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20067 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20068 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20069 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20070 Remove alias.
20071 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20072 (__ubp_memchr): Likewise.
20073 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20074 (__ubp_memchr): Likewise.
20075 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20076 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20077 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20078 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20079 CHECK_STRING.
20080 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20081 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20082 (__getcwd): Do not use CHECK_STRING.
20083 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20084 <bp-checks.h>.
20085 (__real_chown): Do not use CHECK_STRING.
20086 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20087 <bp-checks.h>.
20088 (fchownat): Do not use CHECK_STRING.
20089 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20090 CHECK_STRING.
20091 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20092 <bp-checks.h>.
20093 (__lchown): Do not use CHECK_STRING.
20094 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20095 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20096 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20097 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20099 include <bp-checks.h>.
20100 (truncate64): Do not use CHECK_STRING.
20101 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20102 <bp-checks.h>.
20103 (__real_chown): Do not use CHECK_STRING.
20104 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20105 <bp-checks.h>.
20106 (__lchown): Do not use CHECK_STRING.
20107 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20108 <bp-checks.h>.
20109 (__chown): Do not use CHECK_STRING.
20110 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20111 <bp-checks.h>.
20112 (truncate64): Do not use CHECK_STRING.
20113 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20114 Likewise.
20115 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20116 (__xmknod): Do not use CHECK_STRING.
20117 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20118 <bp-checks.h>.
20119 (__xmknodat): Do not use CHECK_STRING.
20120 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20121 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20122
903ae060
AS
201232013-02-04 Andreas Schwab <schwab@suse.de>
20124
20125 [BZ #14142]
20126 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20127 * include/netdb.h: Likewise for h_errno.
20128 * elf/tst-stackguard1.c: Include <tls.h>.
20129
542f9466
JK
201302013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20131
20132 * elf/link.h (struct link_map): Extend the l_addr comment.
20133 * include/link.h (struct link_map): Likewise.
20134
e782a927
JM
201352013-02-01 Joseph Myers <joseph@codesourcery.com>
20136
20137 [BZ #13550]
20138 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20139 (BOUNDED_1): Remove macro.
20140 * debug/backtrace.c: Don't include <bp-checks.h>.
20141 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20142 (__backtrace): Likewise.
20143 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20144 <bp-checks.h>.
20145 (__backtrace): Don't use BOUNDED_1.
20146 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20147 <bp-checks.h>.
20148 (__backtrace): Don't use BOUNDED_1.
20149 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20150 (__backtrace): Don't use BOUNDED_1.
20151 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20152 (shmat): Don't use BOUNDED_N.
20153
8cf28c5e
JM
201542013-01-31 Joseph Myers <joseph@codesourcery.com>
20155
3a7ac8a0
JM
20156 [BZ #13550]
20157 * sysdeps/generic/bp-start.h: Remove file.
20158 * csu/libc-start.c: Don't include <bp-start.h>.
20159 (LIBC_START_MAIN): Set up __environ directly instead of using
20160 INIT_ARGV_and_ENVIRON.
20161 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20162 <bp-start.h>.
20163
f3499f95
JM
20164 [BZ #13550]
20165 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20166 definitions.
20167 (CHECK_FCNTL): Likewise.
20168 (CHECK_N_PAGES): Likewise.
20169
32a45bea
JM
20170 [BZ #13550]
20171 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20172 definitions.
20173 (CHECK_SIGSET_NULL_OK): Likewise.
20174 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20175 <bp-checks.h>.
20176 (sigpending): Don't use CHECK_SIGSET.
20177 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20178 <bp-checks.h>.
20179 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20180 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20181 <bp-checks.h>.
20182 (do_sigsuspend): Don't use CHECK_SIGSET.
20183 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20184 use CHECK_SIGSET.
20185 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20186 (do_sigwait): Don't use CHECK_SIGSET.
20187 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20188 use CHECK_SIGSET.
20189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20190 include <bp-checks.h>.
20191 (sigpending): Don't use CHECK_SIGSET.
20192 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20193 include <bp-checks.h>.
20194 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20195 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20196 <bp-checks.h>.
20197 (sigpending): Don't use CHECK_SIGSET.
20198 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20199 <bp-checks.h>.
20200 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20201
2e8a5c8c
JM
20202 [BZ #13550]
20203 * sysdeps/generic/bp-semctl.h: Remove file.
20204 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20205 <bp-checks.h> and <bp-semctl.h>.
20206 (__old_semctl): Don't use CHECK_SEMCTL.
20207 (__new_semctl): Likewise.
20208 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20209 and <bp-semctl.h>.
20210 (__old_semctl): Don't use CHECK_SEMCTL.
20211 (__new_semctl): Likewise.
20212 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20213 <bp-checks.h> and <bp-semctl.h>.
20214 (__old_semctl): Don't use CHECK_SEMCTL.
20215 (__new_semctl): Likewise.
20216 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20217 <bp-checks.h> and <bp-semctl.h>.
20218 (semctl): Don't use CHECK_SEMCTL.
20219
c2d54929
JM
20220 [BZ #13550]
20221 * Makerules (elide-bp-thunks): Remove variable.
20222 (elide-routines.oS): Don't use $(elide-bp-thunks).
20223 (elide-routines.os): Likewise.
20224 (elide-routines.o): Likewise.
20225 (elide-routines.op): Likewise.
20226 (elide-routines.og): Likewise.
20227 (objects): Don't use $(bp-thunks).
20228 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20229 include.
20230 (common-generated): Do not add s-proto-bp.d.
20231 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20232 (int): Likewise.
20233 (typ): Likewise.
20234 Do not generate makefile rules for bounded-pointer thunks.
20235 * sysdeps/generic/bp-thunks.h: Remove file.
20236 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20237 * sysdeps/unix/s-proto-bp.S: Likewise.
20238
8cf28c5e
JM
20239 [BZ #15062]
20240 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20241 parts of result separately when argument is not close to line from
20242 -i to i and one part of argument is small.
20243 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20244 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20245 * math/libm-test.inc (cacos_test): Add more tests.
20246 (casin_test): Likewise.
20247 (casinh_test): Likewise.
20248 * sysdeps/i386/fpu/libm-test-ulps: Update.
20249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20250
c4e33b8d
DM
202512013-01-31 David S. Miller <davem@davemloft.net>
20252
20253 * po/de.po: Update from translation team.
20254
3b60b421
MK
202552013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20256
20257 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20258
bb931195
TS
202592013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20260
b5a5da23
TS
20261 * configure.in (_AC_PROG_CC_C89): New definition.
20262 * configure: Regenerate.
20263
bb931195
TS
20264 * configure.in (AC_PROG_CPP): New definition.
20265 * configure: Regenerate.
20266
8c53a12c
JM
202672013-01-23 Joseph Myers <joseph@codesourcery.com>
20268
20269 * debug/tst-backtrace.h: New file.
20270 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20271 (ret): Remove variable.
20272 (x): Likewise.
20273 (FAIL): Remove macro.
20274 (NO_INLINE): Likewise.
20275 (fn1): Use match function instead of strstr.
20276 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20277 (ret): Remove variable.
20278 (x): Likewise.
20279 (FAIL): Remove macro.
20280 (NO_INLINE): Likewise.
20281 (fn): Use match function instead of strstr.
20282 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20283 (ret): Remove variable.
20284 (x): Likewise.
20285 (FAIL): Remove macro.
20286 (NO_INLINE): Likewise.
20287 (handle_signal): Use match function instead of strstr.
20288 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20289 (ret): Remove variable.
20290 (x): Likewise.
20291 (FAIL): Remove macro.
20292 (NO_INLINE): Likewise.
20293 (handle_signal): Use match function instead of strstr.
20294
4858fa2a
RM
202952013-01-23 Roland McGrath <roland@hack.frob.com>
20296
20297 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20298
bae8e7f5
DM
202992013-01-23 David S. Miller <davem@davemloft.net>
20300
20301 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20302 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20303 argument of CAS if possible.
20304 * sysdeps/sparc/sparc64/bits/atomic.h
20305 (__arch_compare_and_exchange_val_32_acq): Likewise.
20306 (__arch_compare_and_exchange_val_64_acq): Likewise.
20307
9cbbc4ae
PT
203082013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20309
20310 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20311 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20312 Include <limits.h>.
67b3f58c 20313 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20314
5655a0b5
AC
203152013-01-23 Adam Conrad <adconrad@0c3.net>
20316
20317 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20318 (LDFLAGS-tst-array5): Likewise.
20319
052aff95
JM
203202013-01-23 Joseph Myers <joseph@codesourcery.com>
20321
20322 [BZ #15036]
20323 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20324 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20325 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20326 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20327
7c1e01aa
DM
203282013-01-21 David S. Miller <davem@davemloft.net>
20329
20330 * sysdeps/sparc/backtrace.c: New file.
20331 * sysdeps/sparc/sparc32/backtrace.h: New file.
20332 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20333 * sysdeps/sparc/sparc64/backtrace.h: New file.
20334 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20335 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20336 -funwind-tables.
20337
ab087e0a
AS
203382013-01-21 Andreas Schwab <schwab@suse.de>
20339
20340 [BZ #15020]
20341 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20342 closed its stdout.
20343
ed689c2f
AS
203442013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20345
20346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20347 "mpa2.h".
20348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20349
31d470ac
JM
203502013-01-18 Joseph Myers <joseph@codesourcery.com>
20351 Mark Mitchell <mark@codesourcery.com>
20352 Tom de Vries <tom@codesourcery.com>
20353 Paul Pluzhnikov <ppluzhnikov@google.com>
20354
20355 * debug/tst-backtrace2.c: New file.
20356 * debug/tst-backtrace3.c: Likewise.
20357 * debug/tst-backtrace4.c: Likewise.
20358 * debug/tst-backtrace5.c: Likewise.
20359 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20360 (CFLAGS-tst-backtrace3.c): Likewise.
20361 (CFLAGS-tst-backtrace4.c): Likewise.
20362 (CFLAGS-tst-backtrace5.c): Likewise.
20363 (LDFLAGS-tst-backtrace2): Likewise.
20364 (LDFLAGS-tst-backtrace3): Likewise.
20365 (LDFLAGS-tst-backtrace4): Likewise.
20366 (LDFLAGS-tst-backtrace5): Likewise.
20367 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20368 tst-backtrace4 and tst-backtrace5.
20369
90567f30 203702013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20371 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20372
20373 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20374 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20375 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20376 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20378 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20379 "+r" and remove output regs list as redundant. Add explicit inline
20380 asm to specify register of return val to work around compiler codegen
20381 bug. Remove (int) cast on return value. Add return type parameter to
20382 use in macro so that this macro does not truncate return value for
20383 64-bit values.
20384 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20385 pass to INTERNAL_VSYSCALL_NCS.
20386 (INLINE_VSYSCALL): Add 'long int' as return type to
20387 INTERNAL_VSYSCALL_NCS macro invocation.
20388 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20389 INTERNAL_VSYSCALL_NCS macro invocation.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20391
d3b9ea61
SP
203922013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20393
0b57daeb
SP
20394 [BZ #14496]
20395 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20396 Fix application of SIMD FP exception mask.
20397
caa99d06
SP
20398 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20399 mp_no from a power of two.
20400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20401 __mpexp_twomm1. Use __pow_mp.
20402
d3b9ea61
SP
20403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20404 multiplication.
20405
1dbaee3c
DM
204062013-01-17 David S. Miller <davem@davemloft.net>
20407
20408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20409
728d7b43
JM
204102013-01-17 Joseph Myers <joseph@codesourcery.com>
20411
20412 [BZ #15023]
20413 * include/complex.h: Condition contents on [!_COMPLEX_H].
20414 (__kernel_casinhf): New prototype.
20415 (__kernel_casinh): Likewise.
20416 (__kernel_casinhl): Likewise.
20417 * math/Makefile (libm_calls): Add k_casinh.
20418 * math/k_casinh.c: New file.
20419 * math/k_casinhf.c: Likewise.
20420 * math/k_casinhl.c: Likewise.
20421 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20422 finite nonzero arguments.
20423 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20424 finite nonzero arguments.
20425 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20426 finite nonzero arguments.
20427 * math/s_casinh.c: Do not include <float.h>.
20428 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20429 * math/s_casinhf.c: Do not include <float.h>.
20430 (__casinhf): Move code for finite nonzero arguments to
20431 k_casinhf.c.
20432 * math/s_casinhl.c: Do not include <float.h>.
20433 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20434 redefine.
20435 (__casinhl): Move code for finite nonzero arguments to
20436 k_casinhl.c.
20437 * math/libm-test.inc (cacos_test): Add more tests.
20438 * sysdeps/i386/fpu/libm-test-ulps: Update.
20439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20440
2a26ef3a
PT
204412013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20442
20443 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20444 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20445 [!HAVE_MREMAP]: Remove [defined linux] case.
20446 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20447
a897655d
SP
204482013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20449
20450 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20451
881ebe89 204522013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20453
20454 * elf/elf.h (R_386_SIZE32): New relocation.
20455 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20456 R_386_SIZE32.
20457 (elf_machine_rela): Likewise.
20458 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20459 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20460
59981e9b
JM
204612013-01-17 Joseph Myers <joseph@codesourcery.com>
20462
20463 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20464 (FP_FAST_FMA): Do not define.
20465 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20466 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20467 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20468 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20469 !_SOFT_FLOAT]: Likewise.
20470 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20471 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20472 value.
20473 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20474 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20475 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20476 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20477 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20478 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20479 file.
20480
cfa8054f
AS
204812013-01-16 Andreas Schwab <schwab@suse.de>
20482
20483 [BZ #14327]
20484 * include/stdlib.h (__mktemp): Add declaration.
20485 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20486 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20487
dd930cc5
SP
204882013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20489
881ebe89
SP
20490 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20491 definitions.
20492 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20493 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20494 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20495 definitions here.
20496 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20497 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20498 definitions.
20499 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20500 and ONE.
20501 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20502 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20503 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20504 definitions.
20505 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20506 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20507 definitions.
20508 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20509
dd930cc5
SP
20510 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20511
c19a9f89
DM
205122013-01-15 David S. Miller <davem@davemloft.net>
20513
1aa61767
DM
20514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20515 trunc{,f} to libm-sysdep_routes.
20516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20518 file.
20519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20521 file.
20522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20523 file.
20524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20526 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20527 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20528 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20529 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20530 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20531 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20532
c42d5e98
DM
20533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20534 nearbyint{,f} to libm-sysdep_routes.
20535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20537 New file.
20538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20539 file.
20540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20541 New file.
20542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20543 file.
20544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20546 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20547 file.
20548 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20549 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20550 file.
20551 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20552 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20553 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20554
c19a9f89
DM
20555 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20556 libc_feholdexcept and libc_fesetenv.
20557
357679d2
MF
205582013-01-15 Mike Frysinger <vapier@gentoo.org>
20559
20560 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20561
65a82e3d
DM
205622013-01-14 David S. Miller <davem@davemloft.net>
20563
8b954ab9
DM
20564 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20565 (SPARC_ASM_VIS2_IFUNC): Likewise.
20566 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20568 use of 'siam' instruction.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20570 Likewise.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20572 Likewise.
20573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20574 Likewise.
20575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20580 file.
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20582 file.
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20584 file.
20585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20586 file.
20587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20592 new VIS2 routines.
20593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20596 Likewise.
20597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20602 routines to libm-sysdep_routines.
20603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20604
65a82e3d
DM
20605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20606 fdim/fdimf to libm-sysdep_routines.
20607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20608 file.
20609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20611 file.
20612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20615 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20616 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20617 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20618 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20619
e34ab705
SP
206202013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20621
2a91b573
SP
20622 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20623 to optimize copies.
20624
1066a534
SP
20625 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20628
e34ab705
SP
20629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20630 local variable MPTWO.
20631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20632 Likewise.
20633
aba5e596
MF
206342013-01-13 Mike Frysinger <vapier@gentoo.org>
20635
20636 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20637 GLOB_NOESCAPE.
20638
e557e9e5
MF
206392013-01-13 Mike Frysinger <vapier@gentoo.org>
20640
20641 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20642
0428cec9
MF
206432013-01-13 Mike Frysinger <vapier@gentoo.org>
20644
20645 * manual/pattern.texi (glob_t): Document gl_flags.
20646 (glob64_t): Likewise.
20647
8794a964
DM
206482013-01-11 David S. Miller <davem@davemloft.net>
20649
66438c3f
RM
20650 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20651 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20652 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20653 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20654 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20655 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20656 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20657 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20658 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20659 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20660 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20661 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20662 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20663
4ae4244d
DM
20664 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20665 sparc V9 rather than using V8 code.
20666 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20667 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20668
8794a964
DM
20669 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20670 Move to...
20671 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20672 Here.
20673
6270516e
RM
206742013-01-11 Roland McGrath <roland@hack.frob.com>
20675
20676 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20677 not in the main loop.
20678 * configure: Regenerated.
20679
6a57d931
JM
206802013-01-11 Joseph Myers <joseph@codesourcery.com>
20681
20682 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20683 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20684 to just #else.
20685 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20686 [!__GLIBC_HAVE_LONG_LONG] case.
20687 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20688 condition to just #else.
20689 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20690 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20691 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20692 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20693 unconditional.
20694 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20695 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20696 #elif condition to just #else.
20697 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20698 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20699 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20700 #elif condition to just #else.
20701
0e8529e9
SE
207022013-01-11 Steve Ellcey <sellcey@mips.com>
20703
20704 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20705 (EF_MIPS_ARCH_64): Fix value.
20706 (EF_MIPS_ARCH_32R2): New.
20707 (EF_MIPS_ARCH_64R2): New.
20708
740b3dbe
L
207092013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20710
20711 * Makeconfig (+link-pie-before-libc): New.
20712 (+link-pie-after-libc): Likewise.
20713 (+link-pie-tests): Likewise.
20714 (+link-pie): Rewritten.
20715 (link-before-libc): Remove $(config-LDFLAGS).
20716 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20717 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20718 (config-LDFLAGS): Renamed to ...
20719 (rtld-LDFLAGS): This.
20720 (rtld-tests-LDFLAGS): New macro.
20721 (link-libc-rpath-link): Likewise.
20722 (link-libc-tests-rpath-link): Likewise.
20723 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20724 (link-libc): Prepand $(link-libc-rpath-link).
20725 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20726 (test-program-prefix): New macro.
20727 (test-via-rtld-prefix): Likewise.
20728 (test-program-cmd): Likewise.
20729 (host-test-program-cmd): Likewise.
20730 * Makefile ($(common-objpfx)testrun.sh): Replace
20731 $(run-program-prefix) with $(test-program-prefix).
20732 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20733 $(rtld-LDFLAGS).
20734 ($(common-objpfx)shlib.lds): Likewise.
20735 (build-module-helper): Likewise.
20736 ($(common-objpfx)format.lds): Likewise.
20737 * Rules (binaries-pie-tests): New.
20738 (binaries-pie-notests): Likewise.
20739 (binaries-pie): Rewritten.
20740 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20741 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20742 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20743 (make-test-out): Replace $(host-built-program-cmd) with
20744 $(host-test-program-cmd).
20745 * config.make.in (build-hardcoded-path-in-tests): New variable.
20746 * configure.in (--enable-hardcoded-path-in-tests): New configure
20747 option.
20748 (hardcoded_path_in_tests): New AC_SUBST.
20749 * configure: Regenerated.
20750 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20751 $(built-program-cmd) with $(test-program-cmd).
20752 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20753 (test_program_cmd): This.
20754 * elf/Makefile ($(objpfx)order.out): Run test with
20755 $(test-program-prefix).
20756 ($(objpfx)order2.out): Likewise.
20757 ($(objpfx)tst-initorder.out): Likewise.
20758 ($(objpfx)tst-initorder2.out): Likewise.
20759 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20760 $(test-program-cmd).
20761 ($(objpfx)tst-array1-static.out): Likewise.
20762 ($(objpfx)tst-array2.out): Likewise.
20763 ($(objpfx)tst-array3.out): Likewise.
20764 ($(objpfx)tst-array4.out): Likewise.
20765 ($(objpfx)tst-array5.out): Likewise.
20766 ($(objpfx)tst-array5-static.out): Likewise.
20767 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20768 $(test-program-cmd).
20769 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20770 $(run-program-prefix) with $(test-program-prefix).
20771 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20772 (test_program_prefix): This.
20773 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20774 $(run-program-prefix) with $(test-program-prefix).
20775 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20776 (test_program_prefix): This.
20777 * iconvdata/tst-tables.sh: Likewise.
20778 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20779 $(run-program-prefix) with $(test-program-prefix).
20780 ($(objpfx)tst-translit.out): Likewise.
20781 ($(objpfx)tst-gettext2.out): Likewise.
20782 ($(objpfx)tst-gettext4.out): Likewise.
20783 ($(objpfx)tst-gettext6.out): Likewise.
20784 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20785 (test_program_prefix): This.
20786 * intl/tst-gettext2.sh: Likewise.
20787 * intl/tst-gettext4.sh Likewise.
20788 * intl/tst-gettext6.sh: Likewise.
20789 * intl/tst-translit.sh: Likewise.
20790 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20791 with $(test-program-cmd).
20792 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20793 $(run-program-prefix) with $(test-program-prefix).
20794 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20795 (test_program_prefix): This.
20796 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20797 $(run-program-prefix) with $(test-program-prefix).
20798 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20799 (test_program_prefix): This.
20800 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20801 * posix/Makefile ($(objpfx)globtest.out): Replace
20802 $(run-via-rtld-prefix) and $(test-wrapper) with
20803 $(test-program-prefix) and $(test-via-rtld-prefix).
20804 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20805 $(test-program-prefix).
20806 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20807 $(host-test-program-cmd).
20808 (tst-spawn-ARGS): Likewise.
20809 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20810 $(test-program-prefix).
20811 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20812 (test_via_rtld_prefix): This.
20813 (test_wrapper): Renamed to ...
20814 (test_program_prefix): This.
20815 (run_program_prefix): Replaced by test_program_prefix.
20816 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20817 (test_program_prefix): This.
20818 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20819 with $(host-test-program-cmd).
20820 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20821 $(run-program-prefix) with $(test-program-prefix).
20822 ($(objpfx)tst-printf.out): Likewise.
20823 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20824 $(test-program-cmd).
20825 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20826 (test_program_prefix): This.
20827 * stdio-common/tst-unbputc.sh: Likewise.
20828 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20829 $(run-program-prefix) with $(test-program-prefix).
20830 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20831 (test_program_prefix): This.
20832 * string/Makefile ($(objpfx)tst-svc.out): Replace
20833 $(built-program-cmd) with $(test-program-cmd).
20834
c6fe55cf
AJ
208352013-01-11 Andreas Jaeger <aj@suse.de>
20836
20837 [BZ #15003]
20838 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20839 value. Sync with Linux 3.7.
20840
9e6919c8
DM
208412013-01-10 David S. Miller <davem@davemloft.net>
20842
20843 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20844 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20845 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20846
1c9f1a02
RM
208472013-01-10 Roland McGrath <roland@hack.frob.com>
20848
20849 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20850 never set.
20851 * configure: Regenerated.
20852
b9de2dde
DM
208532013-01-10 David S. Miller <davem@davemloft.net>
20854
20855 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20856 sparc V9 rather than using V8 code.
20857 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20858 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20859
e7f68ef4
RM
208602013-01-10 Roland McGrath <roland@hack.frob.com>
20861
20862 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20863 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20864 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20865 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20866 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20867 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20868 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20869 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20870 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20871 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20872 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20873 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20874 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20875 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20876 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20877 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20878 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20879 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20880 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20881 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20882 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20883 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20884 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20885 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20886 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20887 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20888 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20889
5a47cc9c
DM
208902013-01-10 David S. Miller <davem@davemloft.net>
20891
20892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20893
4cf8f209
L
208942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20895
20896 * posix/Makefile (tests-static): New variable.
20897 (tests): Add $(tests-static).
20898 (tst-exec-static-ARGS): New variable.
20899 (tst-spawn-static-ARGS): Likewise.
20900 * posix/tst-exec-static.c: New file.
20901 * posix/tst-spawn-static.c: Likewise.
20902 * posix/tst-exec.c: Support run directly.
20903 * posix/tst-spawn.c: Likewise.
20904
fed0faa1
JM
209052013-01-10 Joseph Myers <joseph@codesourcery.com>
20906
828beb13
JM
20907 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20908 long.
20909 * math/bits/mathcalls.h (llrint): Likewise.
20910 (llround): Likewise.
20911 * stdlib/stdlib.h (struct drand48_data): Likewise.
20912 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20913 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20914 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20915 Likewise.
20916 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20917 Likewise.
20918 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20919 (elf_greg_t): Likewise.
20920 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20921 (__jmp_buf): Likewise.
20922 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20923 definitions.
20924 (llrint): Likewise, for all definitions.
20925 (llrintl): Likewise.
20926
fed0faa1
JM
20927 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20928 Remove [__GNUC__] condition.
20929 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20930 condition to just [__USE_ISOC99].
20931 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20932
1a20cb20
L
209332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20934
20935 [BZ #14200]
20936 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20937 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20938 defined.
20939 (_POSIX_V6_ILP32_OFF32): Likewise.
20940 (_XBS5_ILP32_OFF32): Likewise.
20941 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20942 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20943
751b85f7
SP
209442013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20945
7490eb81
SP
20946 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20947
751b85f7
SP
20948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20949 doubles __mpexp_twomm1. Adjust usage.
20950 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20951 Remove.
20952
988197f0
AS
209532013-01-10 Andreas Schwab <schwab@suse.de>
20954
20955 [BZ #14964]
20956 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20957 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20958
e83d7298
DM
209592013-01-09 David S. Miller <davem@davemloft.net>
20960
034ed64b 20961 [BZ #15003]
57f41c40
AS
20962 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20963 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20964 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20965 (TCP_FASTOPEN): Define.
e83d7298
DM
20966 (tcp_repair_opt): New structure.
20967 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20968 enum values.
57f41c40
AS
20969 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20970 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20971 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20972 (tcp_cookie_transactions): New structure.
20973
d5e0b9bd
AB
209742013-01-09 Anton Blanchard <anton@samba.org>
20975
20976 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20977 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20978 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20979 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20980
0c07e3ea
JM
209812013-01-09 Joseph Myers <joseph@codesourcery.com>
20982
20983 * include/features.h (__USE_ANSI): Remove.
20984
232f7002
RM
209852013-01-09 Roland McGrath <roland@hack.frob.com>
20986
ad98e30c
RM
20987 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20988
232f7002
RM
20989 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20990
950c99ca
SP
209912013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20992
b5792741
SP
20993 * sysdeps/s390/fpu/libm-test-ulps: Update.
20994
47cf2278
SP
20995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20996
950c99ca
SP
20997 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20998 (__acr): Likewise.
20999 (__cpy): Likewise.
21000 (norm): Likewise.
21001 (denorm): Likewise.
21002 (__mp_dbl): Likewise.
21003 (__dbl_mp): Likewise.
21004 (add_magnitudes): Likewise.
21005 (sub_magnitudes): Likewise.
21006 (__add): Likewise.
21007 (__sub): Likewise.
21008 (__mul): Likewise.
21009 (__inv): Likewise.
21010 (__dvd): Likewise.
21011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21012 (__acr): Likewise.
21013 (__cpy): Likewise.
21014 (norm): Likewise.
21015 (denorm): Likewise.
21016 (__mp_dbl): Likewise.
21017 (__dbl_mp): Likewise.
21018 (add_magnitudes): Likewise.
21019 (sub_magnitudes): Likewise.
21020 (__add): Likewise.
21021 (__sub): Likewise.
21022 (__mul): Likewise.
21023 (__inv): Likewise.
21024 (__dvd): Likewise.
21025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21026 (__acr): Likewise.
21027 (__cpy): Likewise.
21028 (norm): Likewise.
21029 (denorm): Likewise.
21030 (__mp_dbl): Likewise.
21031 (__dbl_mp): Likewise.
21032 (add_magnitudes): Likewise.
21033 (sub_magnitudes): Likewise.
21034 (__add): Likewise.
21035 (__sub): Likewise.
21036 (__mul): Likewise.
21037 (__inv): Likewise.
21038 (__dvd): Likewise.
21039
eede9df9
JM
210402013-01-08 Joseph Myers <joseph@codesourcery.com>
21041
21042 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21043 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21044 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21045 2 && __USE_EXTERN_INLINES]: Likewise.
21046
c40ea3d9
AJ
210472013-01-08 Andreas Jaeger <aj@suse.de>
21048
21049 [BZ# 14985]
21050 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21051 Remove.
21052 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21053 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21054
2ccdea26
AB
210552013-01-07 Anton Blanchard <anton@samba.org>
21056
21057 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21058 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21059 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21060 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21061 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21062 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21063 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21064 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21066 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21067 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21068 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21069 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21070 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21071 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21072 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21073 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21074 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21075 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21076 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21077 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21078 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21079 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21080 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21081 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21082 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21083 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21084 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21085 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21086 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21087 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21089 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21090 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21091 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21092 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21093 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21094 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21095 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21096 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21097 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21099 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21100
a9708fed
JM
211012013-01-07 Joseph Myers <joseph@codesourcery.com>
21102
375607b9
JM
21103 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21104 (__MALLOC_PMT): Likewise.
21105 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21106 [__GNUC__], only on [_LIBC].
21107 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21108 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21109 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21110 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21111 forward declaration.
21112 (realloc_hook_ini): Likewise.
21113 (memalign_hook_ini): Likewise.
21114 (__libc_memalign): Do not use __MALLOC_PMT in variable
21115 declaration.
21116 (__libc_valloc): Likewise.
21117 (__libc_pvalloc): Likewise.
21118 (__libc_calloc): Likewise.
21119 (__posix_memalign): Likewise.
21120
a9708fed
JM
21121 [BZ #14996]
21122 * math/s_casinh.c: Include <float.h>.
21123 (__casinh): Do not do computation with squaring and square root
21124 for large arguments.
21125 * math/s_casinhf.c: Include <float.h>.
21126 (__casinhf): Do not do computation with squaring and square root
21127 for large arguments.
21128 * math/s_casinhl.c: Include <float.h>.
21129 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21130 (__casinhl): Do not do computation with squaring and square root
21131 for large arguments.
21132 * math/libm-test.inc (casin_test): Add more tests.
21133 (casinh_test): Likewise.
21134 * sysdeps/i386/fpu/libm-test-ulps: Update.
21135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21136
afec409a
L
211372013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21138
21139 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21140 (__x86_64_raw_data_cache_size): Likewise.
21141 (__x86_64_data_cache_size_half): Likewise.
21142 (__x86_64_raw_data_cache_size_half): Likewise.
21143 (__x86_64_shared_cache_size): Likewise.
21144 (__x86_64_raw_shared_cache_size): Likewise.
21145 (__x86_64_shared_cache_size_half): Likewise.
21146 (__x86_64_raw_shared_cache_size_half): Likewise.
21147 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21148 to ...
21149 (__x86_data_cache_size): This.
21150 (__x86_64_raw_data_cache_size): Renamed to ...
21151 (__x86_raw_data_cache_size): This.
21152 (__x86_64_data_cache_size_half): Renamed to ...
21153 (__x86_data_cache_size_half): This.
21154 (__x86_64_raw_data_cache_size_half): Renamed to ...
21155 (__x86_raw_data_cache_size_half): This.
21156 (__x86_64_shared_cache_size): Renamed to ...
21157 (__x86_shared_cache_size): This.
21158 (__x86_64_raw_shared_cache_size): Renamed to ...
21159 (__x86_raw_shared_cache_size): This.
21160 (__x86_64_shared_cache_size_half): Renamed to ...
21161 (__x86_shared_cache_size_half): This.
21162 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21163 (__x86_raw_shared_cache_size_half): This.
21164 * sysdeps/x86_64/memcpy.S: Updated.
21165 * sysdeps/x86_64/memset.S: Likewise.
21166 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21167 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21168 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21169
0b3986d0
DM
211702013-01-04 David S. Miller <davem@davemloft.net>
21171
21172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21173
e47686e9
AS
211742013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21175
d643bac1
AS
21176 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21177 1 to avoid redefinition warning.
21178 (__USE_GNU): Don't define.
21179 (init_signaling_nan): Protoize.
21180
e47686e9
AS
21181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21182
b18decba
SP
211832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21184
fffb407f
SP
21185 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21187 (__cpymn): Likewise.
21188 (norm): Remove commented code.
21189 (denorm): Likewise.
21190 (__mp_dbl): Likewise.
21191 (__inv): Likewise.
21192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21193 (__cpymn): Likewise.
21194 (norm): Remove commented code.
21195 (denorm): Likewise.
21196 (__mp_dbl): Likewise.
21197 (__inv): Likewise.
21198
b18decba
SP
21199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21200 mp_no value for 1.0 and 2.0.
21201 (norm): Use RADIXI instead of radixi.d.
21202 (denorm): Likewise.
21203 (__mul): Use 0.0 instead of zero.d.
21204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21205 mp_no value for 1.0 and 2.0.
21206 (norm): Use RADIXI instead of radixi.d.
21207 (denorm): Likewise.
21208 (__mul): Use 0.0 instead of zero.d.
21209
cdc1c96f
JM
212102013-01-04 Joseph Myers <joseph@codesourcery.com>
21211
21212 [BZ #14994]
21213 * math/s_casinh.c (__casinh): Reduce finite argument to first
21214 quadrant then set signs of results at the end.
21215 * math/s_casinhf.c (__casinhf): Likewise.
21216 * math/s_casinhl.c (__casinhl): Likewise.
21217 * math/libm-test.inc (casin_test): Add more tests.
21218 (casinh_test): Likewise.
21219 * sysdeps/i386/fpu/libm-test-ulps: Update.
21220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21221
302913e1
SP
212222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21223
6420d207
SP
21224 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21225
a9e48ab4
SP
21226 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21227
b7837264
SP
21228 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21229 declarations.
21230 (denorm): Likewise.
21231 (__mp_dbl): Likewise.
21232 (__inv): Likewise.
21233
f8af25d2
SP
21234 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21235 and adjust the header comment.
21236
302913e1
SP
21237 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21238 variable name from declaration.
21239
5d7dd1ca
L
212402013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21241
21242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21243 Initialize COMMON_CPUID_INDEX_7 element.
21244 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21245 (CPUID_RTM): Likewise.
21246 (HAS_RTM): Likewise.
21247 (COMMON_CPUID_INDEX_7): New enum.
21248
2f5f40f4
AS
212492013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21250
21251 [BZ #14981]
21252 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21253 size is zero, record memory as freed.
21254
4056f4a0
AJ
212552013-01-03 Andreas Jaeger <aj@suse.de>
21256
21257 * po/ia.po: Add new Interlingua translation.
21258
ab15736f 212592012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21260
21261 * locale/programs/localedef.c: Fix description of '--posix' flag.
21262
568035b7
JM
212632013-01-02 Joseph Myers <joseph@codesourcery.com>
21264
e6898b8d
JM
21265 * NEWS: Update dates in second copyright notice.
21266 * README: Update copyright dates in example.
21267 * manual/libc.texinfo: Update copyright dates.
21268 * scripts/test-installation.pl: Update copyright date in --version
21269 output.
21270
0e2f9562
JM
21271 * hurd/ctty-input.c: Fix copyright notice formatting.
21272 * hurd/ctty-output.c: Likewise.
21273 * hurd/dtable.c: Likewise.
21274 * hurd/hurd-raise.c: Likewise.
21275 * hurd/hurdprio.c: Likewise.
21276 * hurd/msgportdemux.c: Likewise.
21277 * misc/sys/file.h: Likewise.
21278 * misc/sys/ioctl.h: Likewise.
21279 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21280 * sysdeps/mach/hurd/chdir.c: Likewise.
21281 * sysdeps/mach/hurd/fchdir.c: Likewise.
21282 * sysdeps/mach/hurd/rename.c: Likewise.
21283 * sysdeps/mach/hurd/rmdir.c: Likewise.
21284 * sysdeps/mach/hurd/seekdir.c: Likewise.
21285 * sysdeps/mach/hurd/setsid.c: Likewise.
21286 * sysdeps/posix/wait3.c: Likewise.
21287
568035b7
JM
21288 * All files with FSF copyright notices: Update copyright dates
21289 using scripts/update-copyrights.
21290 * intl/plural.c: Regenerated.
21291 * locale/programs/charmap-kw.h: Likewise.
21292 * locale/programs/locfile-kw.h: Likewise.
21293
da08f647
SP
212942013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21295
0f5477af
SP
21296 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21297 four values.
21298
44e0d4c2
SP
21299 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21300 calculation loop and add branch prediction.
21301
4d55b4e5
SP
21302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21303 check access beyond bounds of m1np.
21304
da08f647
SP
21305 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21306 MPTWO.
21307 (__inv): Remove local variable MPTWO to use the global
21308 constant.
21309 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21310 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21311 variable MPTWO.
21312 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21313 MP3HALFS static const.
21314
8e051029
DM
213152013-01-01 David S. Miller <davem@davemloft.net>
21316
21317 * po/ca.po: Update from translation team.
21318
f4cf5f2d
JM
213192013-01-01 Joseph Myers <joseph@codesourcery.com>
21320
21321 * scripts/update-copyrights: New file.
21322 * Makeconfig: Reformat copyright notice.
21323 * ctype/ctype.h: Likewise.
21324 * debug/swprintf_chk.c: Likewise.
21325 * elf/dl-cache.c: Likewise.
21326 * elf/dl-debug.c: Likewise.
21327 * elf/dl-object.c: Likewise.
21328 * grp/initgroups.c: Likewise.
21329 * hurd/Makefile: Likewise.
21330 * hurd/hurd/signal.h: Likewise.
21331 * hurd/hurdfault.c: Likewise.
21332 * hurd/hurdioctl.c: Likewise.
21333 * hurd/hurdlookup.c: Likewise.
21334 * hurd/intr-msg.c: Likewise.
21335 * iconv/gconv_open.c: Likewise.
21336 * libio/swprintf.c: Likewise.
21337 * locale/lc-ctype.c: Likewise.
21338 * locale/nl_langinfo.c: Likewise.
21339 * mach/Machrules: Likewise.
21340 * mach/Makefile: Likewise.
21341 * malloc/obstack.h: Likewise.
21342 * manual/Makefile: Likewise.
21343 * manual/tsort.awk: Likewise.
21344 * misc/bits/stab.def: Likewise.
21345 * nis/nis_print_group_entry.c: Likewise.
21346 * nis/nis_table.c: Likewise.
21347 * nis/nss_compat/compat-pwd.c: Likewise.
21348 * nis/nss_compat/compat-spwd.c: Likewise.
21349 * po/Makefile: Likewise.
21350 * posix/fnmatch.c: Likewise.
21351 * posix/regex.h: Likewise.
21352 * resolv/Makefile: Likewise.
21353 * resolv/nss_dns/dns-network.c: Likewise.
21354 * resolv/res_hconf.c: Likewise.
21355 * scripts/gen-sorted.awk: Likewise.
21356 * soft-fp/soft-fp.h: Likewise.
21357 * stdio-common/printf.h: Likewise.
21358 * stdlib/monetary.h: Likewise.
21359 * stdlib/random.c: Likewise.
21360 * stdlib/random_r.c: Likewise.
21361 * sysdeps/generic/Makefile: Likewise.
21362 * sysdeps/gnu/Makefile: Likewise.
21363 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21365 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21367 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21368 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21370 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21371 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21372 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21373 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21374 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21375 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21376 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21377 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21378 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21379 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21381 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21383 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21384 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21385 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21386 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21387 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21391 * sysdeps/mach/hurd/errnos.awk: Likewise.
21392 * sysdeps/mach/hurd/fork.c: Likewise.
21393 * sysdeps/mach/hurd/getcwd.c: Likewise.
21394 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21395 * sysdeps/mach/hurd/mmap.c: Likewise.
21396 * sysdeps/mach/hurd/utimes.c: Likewise.
21397 * sysdeps/mach/hurd/xmknod.c: Likewise.
21398 * sysdeps/posix/profil.c: Likewise.
21399 * sysdeps/posix/readdir_r.c: Likewise.
21400 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21401 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21402 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21403 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21405 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21406 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21407 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21409 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21410 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21411 * sysdeps/pthread/lio_listio.c: Likewise.
21412 * sysdeps/sparc/dl-procinfo.h: Likewise.
21413 * sysdeps/unix/i386/sysdep.S: Likewise.
21414 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21415 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21416 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21417 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21419 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21420 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21421 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21422 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21423 * sysdeps/wordsize-32/divdi3.c: Likewise.
21424 * time/sys/time.h: Likewise.
21425 * wcsmbs/Makefile: Likewise.
21426
0549fbba
DM
214272013-01-01 David S. Miller <davem@davemloft.net>
21428
a141f1a7
DM
21429 * po/fr.po: Update from translation team.
21430
0549fbba
DM
21431 * catgets/gencat.c: Update copyright year.
21432 * csu/version.c: Likewise.
21433 * debug/catchsegv.sh: Likewise.
21434 * debug/pcprofiledump.c: Likewise.
21435 * debug/xtrace.sh: Likewise.
21436 * elf/ldconfig.c: Likewise.
21437 * elf/ldd.bash.in: Likewise.
21438 * elf/pldd.c: Likewise.
21439 * elf/sotruss.ksh: Likewise.
21440 * elf/sprof.c: Likewise.
21441 * iconv/iconv_prog.c: Likewise.
21442 * iconv/iconvconfig.c: Likewise.
21443 * locale/programs/locale.c: Likewise.
21444 * locale/programs/localedef.c: Likewise.
21445 * login/programs/pt_chown.c: Likewise.
21446 * malloc/memusage.sh: Likewise.
21447 * malloc/memusagestat.c: Likewise.
21448 * malloc/mtrace.pl: Likewise.
21449 * nscd/nscd.c: Likewise.
21450 * nss/getent.c: Likewise.
21451 * nss/makedb.c: Likewise.
21452 * posix/getconf.c: Likewise.
21453
18ea052c
SP
214542012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21455
21456 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21457 numbers.
21458
9c89fca6
MF
214592012-12-30 Mike Frysinger <vapier@gentoo.org>
21460
21461 * math/bits/mathcalls.h (modf): Use __nonnull.
21462
085ec079
SP
214632012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21464
21465 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21466 (split): Use macro CN instead of the bare value.
21467 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21468 could be used.
21469 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21470 instead of the bare value.
21471 (power1): Likewise.
21472
6d9f97e1
SP
214732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21474
d63f73be
SP
21475 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21476 __ATAN_TWOM.
21477 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21478
6d9f97e1
SP
21479 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21480 their values.
21481 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21482 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21483 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21484 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21485
4c4febf5
AJ
214862012-12-28 Andreas Jaeger <aj@suse.de>
21487
af5843ef
AJ
21488 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21489 values are from Linux 3.7.
21490
4c4febf5
AJ
21491 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21492 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21493
99136f82
SP
214942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21495
2f216c3c 21496 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21497 TRUE case.
21498
99136f82
SP
21499 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21500 (norm): Likewise.
21501 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21502 variables with preprocessor constants.
21503 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21504 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21505 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21506
7fffbdff
BH
215072012-12-27 Bruno Haible <bruno@clisp.org>
21508
21509 [BZ #14317]
21510 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21511 only if needed.
21512
b76eb5f0
SP
215132012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21514
31a7fe5c
SP
21515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21516 and use variable directly.
21517 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21518
b76eb5f0
SP
21519 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21520 MPONE.
21521 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21522 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21523 variable MPONE.
21524 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21525 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21526 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21527 include directive. Remove local variable MPONE.
21528 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21529 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21530 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21531
2c8bfe7d
DM
215322012-12-25 David S. Miller <davem@davemloft.net>
21533
21534 * version.h (RELEASE): Set to "development".
21535 (VERSION): Set to "2.17.90".
21536 * NEWS: Add 2.18 section.
21537
147d03b0
DM
215382012-12-21 David S. Miller <davem@davemloft.net>
21539
21540 * po/hr.po: Update from translation team.
21541
a8ebb2b9
AK
215422012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21543
21544 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21545
95b4f1b6
SE
215462012-12-19 Steve Ellcey <sellcey@mips.com>
21547
b2d94007 21548 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21549
cedb2a90
MS
215502012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21551
21552 * manual/contrib.texi (Contributors): Spelling correction.
21553
bbf527d6
DM
215542012-12-15 David S. Miller <davem@davemloft.net>
21555
21556 * po/ru.po: Update from translation team.
21557
bc38c906
DM
215582012-12-13 David S. Miller <davem@davemloft.net>
21559
85429b1a
DM
21560 * NEWS: Mention IFUNC testsuite enhancements.
21561
d283e353
DM
21562 * po/pl.po: Update from translation team.
21563 * po/bg.po: Likewise.
21564
bc38c906
DM
21565 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21566 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21567
a181b0d7
DM
215682012-12-11 David S. Miller <davem@davemloft.net>
21569
4641d57e
DM
21570 * po/sv.po: Update from translation team.
21571
f7bc6495
DM
21572 * po/vi.po: Update from translation team.
21573
6fc9048f
DM
21574 * po/cs.po: Update from translation team.
21575
a181b0d7
DM
21576 * po/de.po: Update from translation team.
21577 * po/eo.po: Likewise.
21578 * po/nl.po: Likewise.
21579
f70bfe80
SP
215802012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21581
3c8b4190
SP
21582 [BZ #14246]
21583 * manual/argp.texi (Argp Helper Functions): Move node to follow
21584 Argp Parsing State.
21585
f70bfe80
SP
21586 [BZ #14872]
21587 * manual/conf.texi (Limits on File System Capacity): Mention if
21588 terminating null is included in the max size.
21589
188f0adf
AJ
215902012-12-10 Andreas Jaeger <aj@suse.de>
21591
21592 * po/cs.po: Update from translation team.
21593
56e7d3ad
SP
215942012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21595
21596 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21597 void pointer and cast to uintptr_t.
21598 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21599 path.
21600 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21601 * sysdeps/s390/s390-64/memset.S: Likewise.
21602
76f2d2ea 216032012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21604
21605 [BZ #14833]
21606 * menual/message.texi (Message Translation): Fix typos.
21607 (Helper programs for gettext): Likewise.
21608
67cbf9a2
AS
216092012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21610
21611 [BZ #14898]
21612 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21613 Change to -1.
21614
682d0e9a
DM
216152012-12-07 David S. Miller <davem@davemloft.net>
21616
21617 * po/libc.pot: Update.
21618
573cd484
RH
216192012-12-07 Richard Henderson <rth@redhat.com>
21620
7e9da188 21621 [BZ #10114]
573cd484
RH
21622 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21623 normal/normal case to before the switch.
21624 (_FP_DIV): Likewise.
21625
e933a943
MF
216262012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21627 Mike Frysinger <vapier@gentoo.org>
21628
21629 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21630 check for __NR_fadvise64_64.
21631
82123268
CM
216322012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21633
21634 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21635 0, not just to plain "0" as a statement.
21636 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21637 with cw.
21638
d9814526
JM
216392012-12-06 Joseph Myers <joseph@codesourcery.com>
21640
21641 * NEWS: Use sourceware.org in Bugzilla URL.
21642
7728c574
SP
216432012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21644
f16946dd
SP
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21646 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21647
5704bbcb
SP
21648 * stdio-common/tst-put-error.c (do_test): Add newline to the
21649 padded test to ensure flush.
21650
17aa0516
JL
216512012-12-05 Jeff Law <law@redhat.com>
21652
21653 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21654
363313b5
JM
216552012-12-05 Joseph Myers <joseph@codesourcery.com>
21656
effbd42a
JM
21657 * README: Don't refer to ports add-on as distributed separately.
21658 Mention AArch64 in list of systems supported in the ports add-on.
21659
87600365
JM
21660 * LICENSES: Add more non-FSF copyright and license notices.
21661
a0d7066a
JM
21662 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21663 ((unused)).
21664
66ca5a5b
JM
21665 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21666
363313b5
JM
21667 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21668 10000 as width of padded output.
21669
b37984ad
JM
216702012-12-04 Joseph Myers <joseph@codesourcery.com>
21671
9003570a
JM
21672 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21673
b37984ad
JM
21674 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21675 variable LX with __attribute__ ((unused)).
21676 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21677 Likewise.
21678 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21679 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21681 with __attribute__ ((unused)).
21682
c8df52ec
DM
216832012-12-04 David S. Miller <davem@abraco.davemloft.net>
21684
21685 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21686
b3b099af
JM
216872012-12-04 Joseph Myers <joseph@codesourcery.com>
21688
c33aa6e3
JM
21689 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21690 (CFLAGS-nldbl-acos.c): New variable.
21691 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21692 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21693 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21694 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21695 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21696 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21697 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21698 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21699 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21700 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21701 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21702 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21703 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21704 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21705 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21706 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21707 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21708 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21709 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21710 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21711 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21712 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21713 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21714 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21715 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21716 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21717 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21718 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21719 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21720 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21721 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21722 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21723 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21724 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21725 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21726 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21727 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21728 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21729 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21730 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21731 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21732 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21733 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21734 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21735 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21736 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21737 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21738 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21739 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21740 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21741 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21742 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21743 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21744 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21745 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21746 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21747 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21748 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21749 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21750 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21751 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21752 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21753 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21754 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21755 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21756 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21757 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21758 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21759 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21760 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21761 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21762 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21763 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21764 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21765 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21766 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21767 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21768 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21769 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21770 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21771 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21772 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21773 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21774 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21775 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21776 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21777 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21778 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21779 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21780 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21781 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21782 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21783 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21784 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21785 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21786 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21787 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21788
20f0018d
JM
21789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21790 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21791
b3b099af
JM
21792 [BZ #14914]
21793 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21794 whole low double instead of just low 47 bits when splitting values
21795 into two parts.
21796
029264d1
AM
217972012-12-03 Allan McRae <allan@archlinux.org>
21798
21799 * manual/stdio.texi (Predefined Printf Handlers): Remove
21800 @hsep and @vsep usage.
21801
c9d6789e
MF
218022012-12-03 Mike Frysinger <vapier@gentoo.org>
21803
21804 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21805 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21806
4b7634a5
JL
218072012-12-03 Jeff Law <law@redhat.com>
21808
21809 * time/sys/time.h (settimeofday): Do not mark TV argument
21810 as __nonnull.
21811
eb6cbd24
MF
218122012-12-01 Mike Frysinger <vapier@gentoo.org>
21813
21814 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21815 when currently writing and seek to current position when not.
21816 * libio/Makefile (tests): Remove bug-fclose1.
21817 * libio/bug-fclose1.c: Delete.
21818
f638872a
JM
218192012-12-01 Joseph Myers <joseph@codesourcery.com>
21820
21821 * manual/arith.texi (feenableexcept): Fix typo.
21822 (fedisableexcept): Likewise.
21823
48085d14
RM
218242012-11-30 Roland McGrath <roland@hack.frob.com>
21825
21826 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21827 second, differently-typed declaration, rather than a cast.
21828
1a538b9f
SP
218292012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21830
21831 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21832 * include/rpc/svc.h: ... here.
21833
d07f2ff1 218342012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21835
21836 [BZ #13013]
21837 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21838 depending n and resplen2 to catch cases where answer
21839 equals answerp2.
21840
c93ec1f0
CD
218412012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21842
21843 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21844 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21845
37db69de
MF
218462012-11-29 Mike Frysinger <vapier@gentoo.org>
21847
21848 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21849
e10c4e4f
RM
218502012-11-29 Roland McGrath <roland@hack.frob.com>
21851
21852 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21853
2af1b328
JL
218542012-11-28 Jeff Law <law@redhat.com>
21855
21856 [BZ #13761]
21857 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21858 dataset_temporary. Track alloca usage into alloca_used.
21859 If dataset is large allocate and release it via malloc/free.
21860
111db5b1
FW
218612012-06-04 Florian Weimer <fweimer@redhat.com>
21862
f06cc227 21863 [BZ #14197]
111db5b1
FW
21864 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21865
dd694abd
DM
218662012-11-28 David S. Miller <davem@davemloft.net>
21867
21868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21869
9984dd01
JM
218702012-11-28 Joseph Myers <joseph@codesourcery.com>
21871
21872 [BZ #14803]
21873 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21874 of pi/2 rounded to nearest to 64 bits.
21875 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21876 nearest to 64 bits.
21877 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21878 bits.
21879
14bc93a9
JL
218802012-11-28 Jeff Law <law@redhat.com>
21881 Martin Osvald <mosvald@redhat.com>
21882
21883 [BZ #14889]
21884 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21885 * sunrpc/svc.c: Include time.h.
21886 (__svc_accept_failed): New function.
21887 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21888 any reason other than EINTR, call __svc_accept_failed.
21889 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21890 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21891
e3c6aa3a
AS
218922012-11-28 Andreas Schwab <schwab@suse.de>
21893
21894 * scripts/abilist.awk: Also handle indirect functions in .opd
21895 section.
21896
1bead169
JM
218972012-11-28 Joseph Myers <joseph@codesourcery.com>
21898
21899 [BZ #13881]
21900 * sysdeps/x86/fpu/powl_helper.c: New file.
21901 * sysdeps/x86/fpu/Makefile: Likewise.
21902 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21903 (p3): New object.
21904 (__ieee754_powl): Use __powl_helper for finite arguments except
21905 integer exponents below 8.
21906 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21907 (p3): New object.
21908 (__ieee754_powl): Use __powl_helper for finite arguments except
21909 integer exponents below 8.
21910 * math/libm-test.inc (pow_test): Add more tests and enable some
21911 previously disabled tests.
21912 * sysdeps/i386/fpu/libm-test-ulps: Update.
21913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21914
0817d63d
SP
219152012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21916 Carlos O'Donell <carlos_odonell@mentor.com>
21917
21918 * nss/makedb.c (is_prime): Assert that input is odd and greater
21919 than 4. Note that fact in a comment too.
21920 (next_prime): Add 4 to input.
21921
de2fd463
SP
219222012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21923
21924 [BZ #11741]
21925 * libio/Makefile (tests): Add test case tst-fwrite-error.
21926 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21927 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21928 * libio/tst-fwrite-error.c: New test case.
21929
c515fb51
L
219302012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21931
21932 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21933 before casting to void *.
21934 * include/libc-internal.h (__pointer_type): New macro.
21935 (__integer_if_pointer_type_sub): Likewise.
21936 (__integer_if_pointer_type): Likewise.
21937 (cast_to_integer): Likewise.
21938 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21939 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21940 before casting to atomic64_t.
21941 (atomic_exchange_acq): Likewise.
21942 (__arch_exchange_and_add_body): Likewise.
21943 (__arch_add_body): Likewise.
21944 (atomic_add_negative): Likewise.
21945 (atomic_add_zero): Likewise.
21946
4cf77aa9
JM
219472012-11-26 Joseph Myers <joseph@codesourcery.com>
21948
21949 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21950 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21951 (add_fdes): Likewise.
21952 (linear_search_fdes): Likewise.
21953 (binary_search_unencoded_fdes): Likewise.
21954
d260b3b4
AS
219552012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21956
21957 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21958
67060746
AC
219592012-11-24 Adam Conrad <adconrad@0c3.net>
21960
21961 * configure.in: Autodetect C++ header directories.
21962 * configure: Regenerated.
21963
800938a1
MF
219642012-11-23 Mike Frysinger <vapier@gentoo.org>
21965
21966 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21967
4e6e34e6
AS
219682012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21969
21970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21971
7c7feb47
JM
219722012-11-22 Joseph Myers <joseph@codesourcery.com>
21973
7184dcdf
JM
21974 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21975 LDBL_MANT_DIG == 106]: Disable some tests.
21976 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21977 Likewise.
21978 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21979 Likewise.
21980
0a42601f
JM
21981 [BZ #14871]
21982 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21983 input for small inputs. Return +/- pi/2 for large inputs.
21984 * math/libm-test.inc (atan_test): Add more tests.
21985
79c9b9fe
JM
21986 * sysdeps/generic/unwind-dw2-fde-glibc.c
21987 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21988 __attribute__ ((unused)).
21989
c60d3bf2
JM
21990 [BZ #14645]
21991 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21992 x * y if x and y are nonzero and z is zero.
21993
ef1e0867
JM
21994 [BZ #14811]
21995 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21996 nonzero exponents with absolute value below 0x1p-117 to +/-
21997 0x1p-117.
21998
1468ded3
JM
21999 [BZ #14869]
22000 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22001 up arguments below 2**-450, not just those below 2**-500.
22002 * math/libm-test.inc (hypot_test): Add another test.
22003
8e27e3cc
JM
22004 [BZ #14868]
22005 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22006 Return a+b for ratio over 2**120, not 2**60.
22007 * math/libm-test.inc (hypot_test): Add another test.
22008
c9c0279b
JM
22009 * math/libm-test.inc (clog_test): Use
22010 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22011 (clog10_test): Likewise.
22012
7c7feb47
JM
22013 [BZ #6778]
22014 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22015
fff1530e
AS
220162012-11-22 Andreas Schwab <schwab@suse.de>
22017
22018 * sysdeps/i386/fpu/libm-test-ulps: Update.
22019
94558d30
PT
220202012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22021
22022 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22023 printf output with newline.
22024
7e1be741
L
220252012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22026
6bfea974
L
22027 [BZ #14865]
22028 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22029 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22030 -z nodlopen, -z initfirst and -z execstack support.
22031 * configure: Regenerated.
22032
7e1be741
L
22033 * elf/elf.h (DF_1_NODIRECT): New macro.
22034 (DF_1_IGNMULDEF): Likewise.
22035 (DF_1_NOKSYMS): Likewise.
22036 (DF_1_NOHDR): Likewise.
22037 (DF_1_EDITED): Likewise.
22038 (DF_1_NORELOC): Likewise.
22039 (DF_1_SYMINTPOSE): Likewise.
22040 (DF_1_GLOBAUDIT): Likewise.
22041 (DF_1_SINGLETON): Likewise.
22042 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22043 DT_1_SUPPORTED_MASK bits.
22044 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22045
105ce2ce
CD
220462012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22047
22048 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22049
123be9de
TS
220502012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22051
d072f3f7
TS
22052 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22053 macro.
22054
123be9de
TS
22055 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22056 (sendmmsg): Move declarations...
22057 * socket/sys/socket.h: ... here.
22058 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22059 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22060 include it from...
22061 * socket/recvmmsg.c: ... this new file.
22062 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22063 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22064 definition of __sendmmsg hidden.
22065 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22066 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22067 Move ENOSYS stub into and include it from...
22068 * socket/sendmmsg.c: ... this new file.
22069 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22070 (sysdep_routines): Move recvmmsg and sendmmsg...
22071 * socket/Makefile (routines): ... here.
22072 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22073 (GLIBC_PRIVATE): Add __sendmmsg.
22074 * include/sys/socket.h (__sendmmsg): Add declarations.
22075 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22076 sendmmsg.
22077
cf9a5d18
JM
220782012-11-20 Joseph Myers <joseph@codesourcery.com>
22079
22080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22081 variable I1 with __attribute__ ((unused)).
22082 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22083
ecd4caf9
JM
220842012-11-19 Joseph Myers <joseph@codesourcery.com>
22085
be14d48f
JM
22086 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22087 DUMMY variables with __attribute__ ((unused)).
22088
ecd4caf9
JM
22089 * bits/byteswap.h: Include <bits/types.h>.
22090 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22091
986cab95
PT
220922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22093
22094 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22095 string_t. Do not manually set errno.
22096 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22097 length with __strnlen. Make sure to both set errno and return it on
22098 failure.
22099
6d33cc9d
DM
221002012-11-19 David S. Miller <davem@davemloft.net>
22101
22102 With help from Joseph Myers.
22103 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22104 very large arguments properly.
22105 * math/libm-test.inc (atan_test): New tests.
22106 (atan2_test): New tests.
22107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22109
ee663277
JM
221102012-11-19 Joseph Myers <joseph@codesourcery.com>
22111
877f2d8e
JM
22112 [BZ #14856]
22113 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22114 Define to 3.
22115
116fc08a
JM
22116 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22117 [POSIX] (EADDRNOTAVAIL): Likewise.
22118 [POSIX] (EAFNOSUPPORT): Likewise.
22119 [POSIX] (EALREADY): Likewise.
22120 [POSIX] (ECONNABORTED): Likewise.
22121 [POSIX] (ECONNREFUSED): Likewise.
22122 [POSIX] (ECONNRESET): Likewise.
22123 [POSIX] (EDESTADDRREQ): Likewise.
22124 [POSIX] (EDQUOT): Likewise.
22125 [POSIX] (EHOSTUNREACH): Likewise.
22126 [POSIX] (EIDRM): Likewise.
22127 [POSIX] (EISCONN): Likewise.
22128 [POSIX] (ELOOP): Likewise.
22129 [POSIX] (EMULTIHOP): Likewise.
22130 [POSIX] (ENETDOWN): Likewise.
22131 [POSIX] (ENETUNREACH): Likewise.
22132 [POSIX] (ENOBUFS): Likewise.
22133 [POSIX] (ENODATA): Likewise.
22134 [POSIX] (ENOLINK): Likewise.
22135 [POSIX] (ENOMSG): Likewise.
22136 [POSIX] (ENOPROTOOPT): Likewise.
22137 [POSIX] (ENOSR): Likewise.
22138 [POSIX] (ENOSTR): Likewise.
22139 [POSIX] (ENOTCONN): Likewise.
22140 [POSIX] (ENOTSOCK): Likewise.
22141 [POSIX] (EOPNOTSUPP): Likewise.
22142 [POSIX] (EOVERFLOW): Likewise.
22143 [POSIX] (EPROTO): Likewise.
22144 [POSIX] (EPROTONOSUPPORT): Likewise.
22145 [POSIX] (EPROTOTYPE): Likewise.
22146 [POSIX] (ESTALE): Likewise.
22147 [POSIX] (ETIME): Likewise.
22148 [POSIX] (ETXTBSY): Likewise.
22149 [POSIX] (EWOULDBLOCK): Likewise.
22150 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22151 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22152 [POSIX] (SEEK_CUR): Likewise.
22153 [POSIX] (SEEK_END): Likewise.
22154 [POSIX || UNIX98] (mode_t): Do not require.
22155 [POSIX] (off_t): Likewise.
22156 [POSIX] (pid_t): Likewise.
22157 [POSIX] (sys/stat.h): Do not allow header.
22158 [POSIX] (unistd.h): Likewise.
22159 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22160 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22161 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22162 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22163 require.
22164 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22165 sigevent): Specify elements.
22166 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22167 entry.
22168 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22169 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22170
a483863f
JM
22171 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22172 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22173 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22174 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22175 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22176 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22177 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22178 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22179 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22180 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22181 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22182 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22183 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22184 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22185 Likewise.
22186 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22187 Likewise.
22188 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22189 Likewise.
22190 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22191 Likewise.
22192 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22193 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22194 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22195 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22196 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22197 Specify lower bound on value.
22198 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22199 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22200 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22201 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22202 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22203 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22204 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22205 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22206 value.
22207 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22208 as optional.
22209 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22210 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22211 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22212 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22213 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22214 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22215 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22216 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22217 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22218 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22219 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22220 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22221 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22222 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22223 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22224 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22225 entry.
22226 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22227 optional.
22228 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22229 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22230 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22231 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22232 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22233 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22234 Likewise.
22235 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22236 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22237 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22238 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22239 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22240 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22241 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22242 as optional.
22243 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22244 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22245 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22246 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22247 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22248 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22249 specify as optional.
22250 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22251 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22252 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22253 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22254 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22255 [XPG3] (NL_LANGMAX): Likewise.
22256 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22257 [POSIX || XPG3] (NL_NMAX): Likewise.
22258 [POSIX || XPG3] (NL_SETMAX): Likewise.
22259 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22260 [XPG3] (NZERO): Likewise.
22261 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22262 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22263 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22264 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22265 (REG_ERANGE): Expect.
22266 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22267 optional-constant.
22268 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22269 Use (void) in prototype.
22270 [POSIX] (*_t): Allow.
22271 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22272 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22273 (WRDE_BADVAL): Expect.
22274
5ba924e3
JM
22275 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22276 expect.
22277 [XPG3 || XPG4] (O_RSYNC): Likewise.
22278 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22279 Likewise.
22280 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22281 [XPG3 || XPG4] (sigqueue): Likewise.
22282 [XPG3 || XPG4] (sigtimedwait): Likewise.
22283 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22284 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22285 [XPG3 || XPG4] (vsnprintf): Likewise.
22286 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22287 Likewise.
22288 [XPG3 || XPG4] (blksize_t): Likewise.
22289 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22290 Likewise.
22291 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22292 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22293 [XPG3 || XPG4] (struct itimerspec): Likewise.
22294 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22295 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22296 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22297 [XPG3 || XPG4] (clockid_t): Likewise.
22298 [XPG3 || XPG4] (timer_t): Likewise.
22299 [XPG3 || XPG4] (clock_getres): Likewise.
22300 [XPG3 || XPG4] (clock_gettime): Likewise.
22301 [XPG3 || XPG4] (clock_settime): Likewise.
22302 [XPG3 || XPG4] (nanosleep): Likewise.
22303 [XPG3 || XPG4] (timer_create): Likewise.
22304 [XPG3 || XPG4] (timer_delete): Likewise.
22305 [XPG3 || XPG4] (timer_gettime): Likewise.
22306 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22307 [XPG3 || XPG4] (timer_settime): Likewise.
22308 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22309 [XPG3 || XPG4] (getlogin_r): Likewise.
22310 [XPG3 || XPG4] (pread): Likewise.
22311 [XPG3 || XPG4] (pthread_atfork): Likewise.
22312 [XPG3 || XPG4] (pwrite): Likewise.
22313
ee663277
JM
22314 [BZ #14835]
22315 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22316 <bits/siginfo.h>.
22317
942caa16
PT
223182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22319
e19af380
PT
22320 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22321 finalizing MALLSTREAM.
22322
942caa16
PT
22323 * sysdeps/mach/hurd/syncfs.c: New file.
22324
cfde9b46
SP
223252012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22326
22327 [BZ #14719]
22328 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22329 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22330 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22331 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22332 (_nss_dns_gethostbyname4_r): Likewise.
22333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22334 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22335
f6da27e5
PH
223362012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22337
22338 [BZ #13763]
22339 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22340
6665d4a2
SM
223412012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22342
1f51ee92
SM
22343 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22344 * elf/cache.c (print_entry): Print ",AArch64" for
22345 FLAG_AARCH64_LIB64
22346
6665d4a2
SM
22347 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22348 * elf/cache.c (print_entry): Print ",hard-float" for
22349 FLAG_ARM_LIBHF.
22350
05b227bd
DM
223512012-11-18 David S. Miller <davem@davemloft.net>
22352
22353 With help from Joseph Myers.
22354 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22355 cutoff to 2**-13.
22356 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22357 cutoff to 2**-25.
22358 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22359 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22360 small.
22361 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22362 * math/libm-test.inc (y0_test): New tests.
22363 (y1_test): New tests.
22364 * sysdeps/i386/fpu/libm-test-ulps: Update.
22365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22367
786b0b67
AS
223682012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22369
22370 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22371 64-bit targets.
22372 * configure: Regenerated.
22373
8e18b86d
DM
223742012-11-17 David S. Miller <davem@davemloft.net>
22375
22376 [BZ #14811]
22377 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22378 nonzero exponents with absolute value below 0x1p-128 to +/-
22379 0x1p-128.
22380
531f1ae0
JM
223812012-11-17 Joseph Myers <joseph@codesourcery.com>
22382
12df29e2
JM
22383 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22384
150dc1a0
JM
22385 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22386
531f1ae0
JM
22387 * posix/getconf-speclist.c: New file.
22388 * posix/posix-envs.def: Likewise.
22389 * posix/confstr.c (START_ENV_GROUP): New macro.
22390 (END_ENV_GROUP): Likewise.
22391 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22392 (KNOWN_PRESENT_ENV_STRING): Likewise.
22393 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22394 (UNKNOWN_ENVIRONMENT): Likewise.
22395 (confstr): Include posix-envs.def instead of handling
22396 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22397 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22398 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22399 (END_ENV_GROUP): Likewise.
22400 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22401 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22402 (UNKNOWN_ENVIRONMENT): Likewise.
22403 (__sysconf): Include posix-envs.def instead of handling associated
22404 cases directly here.
22405 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22406 preprocessing getconf-speclist.c rather than running getconf or
22407 generating empty file.
22408
a93f9cbc
PT
224092012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22410
22411 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22412
d64d9f87
AL
224132012-11-16 Andrej Lajovic <natrij@gmail.com>
22414
22415 [BZ #14672]
22416 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22417
447885eb
DM
224182012-11-16 David S. Miller <davem@davemloft.net>
22419
22420 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22421 smaller than LDBL_EPSILON/2.0L, just return xm1.
22422
bcbf9830
L
224232012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22424
22425 * elf/tst-array1.c (init): Set constructor priority to 1000.
22426 (fini): Set destructor priority to 1000.
22427 * elf/tst-array2dep.c: Likewise.
22428
2b766585
SP
224292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22430
22431 [BZ #11741]
22432 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22433 (_IO_new_file_xsputn): Also return EOF if none of the input
22434 data was written when overflow failed.
22435 * libio/iopadn.c (_IO_padn): Likewise.
22436 * libio/iowpadn.c (_IO_wpadn): Likewise.
22437 * stdio-common/tst-put-error.c: Add copyright notice.
22438 (do_test): Add case for printing padded string.
22439 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22440 _IO_padn returned error.
22441 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22442 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22443 return EOF.
22444
b1848fde
SP
224452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22446
22447 * libio/libioP.h: Add comment note that the references to C++
22448 bits are now obsolete.
22449
2fd89785
MS
224502012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22451
22452 * math/libm-test.inc (check_complex): Use asprintf.
22453
e3ea5409
JM
224542012-11-14 Joseph Myers <joseph@codesourcery.com>
22455
22456 * debug/pcprofiledump.c (print_version): Update copyright year.
22457 * malloc/memusagestat.c (print_version): Likewise.
22458
2e64d265
L
224592012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22460
22461 [BZ #14831]
22462 * elf/Makefile (tests): Add tst-audit8.
22463 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22464 ($(objpfx)tst-audit8.out): New target.
22465 (tst-audit8-ENV): New variable.
22466 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22467 audit if l_reloc_result is NULL.
22468 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22469 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22470 * elf/tst-audit8.c: New file.
22471
c485e4d2
MS
224722012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22473
22474 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22475 * misc/Makefile (CFLAGS-select.c): Define.
22476 * posix/Makefile (CFLAGS-pause.c): Define.
22477
3a0d900a
DM
224782012-11-13 David S. Miller <davem@davemloft.net>
22479
22480 * crypt/Makefile: Move test targets after toplevel Rules
22481 inclusion. Grab any necessary sysdep routines when linking.
22482 * crypt/md5.c (md5_process_block): Remove define, we will always
22483 name it __md5_process_block.
22484 (md5_finish_ctx): Update md5_process_block call.
22485 (md5_stream): Likewise.
22486 (md5_process_bytes): Likewise.
22487 (md5_process_block): Rename to __md5_process_block and move to ...
22488 * crypt/md5-block.c: ... here.
22489 * crypt/sha256.c (sha256_process_block): Move to ...
22490 * crypt/sha256-block.c: ... here.
22491 * crypt/sha512.c (sha512_process_block): Move to ...
22492 * crypt/sha512-block.c: ... here.
22493 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22494 path.
22495 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22496 * sysdeps/sparc/sparc64/multiarch/Makefile
22497 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22498 crypt subdir.
22499 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22500 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22501 multiarch changes.
22502 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22503 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22504 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22505 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22506 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22507 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22508 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22509 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22510 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22511 file.
22512 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22513 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22514 file.
22515 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22516
8ca89318
JM
225172012-11-13 Joseph Myers <joseph@codesourcery.com>
22518
e27d476a
JM
22519 * timezone/tzselect.ksh: Update from tzcode git revision
22520 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22521 * timezone/zdump.c: Likewise.
22522 * timezone/zic.c: Likewise.
22523 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22524 in TZVERSION setting, not $(PKGVERSION).
22525 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22526 REPORT_BUGS_TO settings.
22527
8ca89318
JM
22528 [BZ #14838]
22529 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22530 macro.
22531
47594329
MS
225322012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22533
22534 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22535 detection to immediately after _FP_ROUND().
22536 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22537 bits are 0.
22538
640ac3f1
DM
225392012-11-11 David S. Miller <davem@davemloft.net>
22540
22541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22542 inttypes.h
22543 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22544 __close rather than their public counterparts.
22545
3d2577bb
JM
225462012-11-10 Joseph Myers <joseph@codesourcery.com>
22547
22548 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22549 file.
22550 [UNIX98] (sem_timedwait): Do not expect.
22551 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22552 [XPG4 || UNIX98] (sockatmark): Do not expect.
22553 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22554 (clock_getcpuclockid): Do not expect.
22555 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22556 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22557 Do not expect.
22558 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22559 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22560 [UNIX98] (vwscanf): Likewise.
22561 [UNIX98] (vswscanf): Likewise.
22562
fb1ae1ee
JM
225632012-11-09 Joseph Myers <joseph@codesourcery.com>
22564
9ec6f8bd
JM
22565 * timezone/version.h: Remove file.
22566 * timezone/README: Do not refer to version.h.
22567 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22568 $(objpfx)version.h.
22569 ($(objpfx)zdump.o): Likewise.
c3f81911 22570 ($(objpfx)version.h): New target.
9ec6f8bd 22571
0aa8f8a1
JM
22572 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22573 2012i.
22574 * timezone/README: Don't mention modification to tzselect.ksh.
22575 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22576 work on unmodified tzselect.ksh. Substitute version numbers in
22577 tzselect.ksh.
22578
4e87147f
JM
22579 * Makefile (format-me): Remove.
22580 (INSTALL): Adjust indentation. Use commands directly instead of
22581 using $(format-me).
22582
8b748aed
JM
22583 * aclocal.m4 (ACX_PKGVERSION): New macro.
22584 (ACX_BUGURL): Likewise.
22585 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22586 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22587 (REPORT_BUGS_TO): Likewise.
22588 * configure: Regenerated.
22589 * config.h.in (PKGVERSION): New macro.
22590 (REPORT_BUGS_TO): Likewise.
22591 * config.make.in (PKGVERSION): New variable.
22592 (PKGVERSION_TEXI): Likewise.
22593 (REPORT_BUGS_TO): Likewise.
22594 (REPORT_BUGS_TEXI): Likewise.
22595 * Makefile (format-me): Use -I$(common-objpfx)manual.
22596 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22597 ($(common-objpfx)manual/%): New target.
22598 (manual/%): Remove target.
22599 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22600 (print_version): Use PKGVERSION.
22601 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22602 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22603 and REPORT_BUGS_TO.
22604 ($(objpfx)xtrace): Likewise.
22605 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22606 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22607 (print_version): Use PKGVERSION.
22608 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22609 (do_version): Use PKGVERSION.
22610 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22611 REPORT_BUGS_TO.
22612 (common-ldd-rewrite): Likewise.
22613 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22614 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22615 (print_version): Use PKGVERSION.
22616 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22617 * elf/pldd.c (argp_program_bug_address): Remove variable.
22618 (more_help): New function.
22619 (argp): Use more_help.
22620 (print_version): Use PKGVERSION.
22621 * elf/sln.c (main): Use PKGVERSION.
22622 (usage): Use REPORT_BUGS_TO.
22623 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22624 (top level): Use PKGVERSION.
22625 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22626 (print_version): Use PKGVERSION.
22627 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22628 (print_version): Use PKGVERSION.
22629 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22630 (print_version): Use PKGVERSION.
22631 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22632 (print_version): Use PKGVERSION.
22633 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22634 (print_version): Use PKGVERSION.
22635 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22636 (print_version): Use PKGVERSION.
22637 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22638 and BUGURL.
22639 ($(objpfx)memusage): Likewise.
22640 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22641 (do_version): Use PKGVERSION.
22642 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22643 (print_version): Use PKGVERSION.
22644 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22645 ($PKGVERSION): New variable.
22646 ($REPORT_BUGS_TO): Likewise.
22647 (usage): Use $REPORT_BUGS_TO.
22648 (top level): Use $PKGVERSION.
22649 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22650 ($(objpfx)pkgvers.texi): New rule.
22651 ($(objpfx)stamp-pkgvers): Likewise.
22652 * manual/install.texi: Include pkgvers.texi.
22653 (--with-pkgversion): Document new configure option.
22654 (--with-bugurl): Likewise.
22655 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22656 than necessarily for this particular distribution. Use
22657 REPORT_BUGS_TO for where to report bugs.
22658 * INSTALL: Regenerated.
22659 * manual/libc.texinfo: Include pkgvers.texi.
22660 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22661 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22662 (print_version): Use PKGVERSION.
22663 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22664 (print_version): Use PKGVERSION.
22665 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22666 (print_version): Use PKGVERSION.
22667 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22668 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22669 macro.
22670 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22671 (print_version): Use PKGVERSION.
22672 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22673 (print_version): Use PKGVERSION.
22674 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22675 and PKGVERSION.
22676
92e4b6a9
JM
22677 * timezone/checktab.awk: Update from tzcode 2012i.
22678 * timezone/ialloc.c: Likewise.
22679 * timezone/private.h: Likewise.
22680 * timezone/scheck.c: Likewise.
22681 * timezone/tzfile.h: Likewise.
22682 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22683 (TZVERSION): Hardcode tzcode version number.
22684 * timezone/zdump.c: Update from tzcode 2012i.
22685 * timezone/zic.c: Likewise.
22686 * timezone/version.h: New file.
22687 * timezone/README: Describe version.h. Update upstream location.
22688
9bde902c
JM
22689 [BZ #14824]
22690 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22691 (mktemp): Enable declaration.
22692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22693 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22694 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22695 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22696 Likewise.
22697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22698 Likewise.
22699 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22700 Likewise.
22701 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22702 Likewise.
22703 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22704 Likewise.
22705 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22706 Likewise.
22707
fb1ae1ee
JM
22708 [BZ #14821]
22709 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22710 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22711 for copies of such integer values.
22712 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22713 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22714
2c1adbcb
AJ
227152012-11-09 Andreas Jaeger <aj@suse.de>
22716
22717 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22718 definitions and declarations that are provided by
22719 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22720
d0f8457e
AK
227212012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22722
3a235abb 22723 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22724 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22725 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22726 definition.
22727
57241e26
MS
227282012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22729
22730 * elf/elf.h: Update comment before AArch64 relocations.
22731
60e8270d
DM
227322012-11-07 David S. Miller <davem@davemloft.net>
22733
22734 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22735 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22736 (__start_context): Declare.
22737 (__makecontext_ret): Delete.
22738 (__makecontext): Hook up __start_context instead of
22739 __makecontext_ret.
22740 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22741 (sysdep_routines): Add __start_context when in stdlib.
22742
0fbb0fbc
JM
227432012-11-07 Joseph Myers <joseph@codesourcery.com>
22744
22745 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22746 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22747 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22748 hardcoded "nm".
22749 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22750 (READELF): New variable. Use it instead of hardcoded "readelf".
22751
eb48db7e
L
227522012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22753
22754 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22755 * sysdeps/x86/Makefile: Here.
22756 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22757 * sysdeps/x86/tst-xmmymm.sh: This.
22758
05bcf62a
JM
227592012-11-07 Joseph Myers <joseph@codesourcery.com>
22760
c4b6cf53
JM
22761 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22762 expectations.
22763 [UNIX98] (pthread_barrier_t): Do not expect.
22764 [UNIX98] (pthread_barrierattr_t): Likewise.
22765 [UNIX98] (pthread_spinlock_t): Likewise.
22766 [UNIX98] (pthread_barrier_destroy): Likewise.
22767 [UNIX98] (pthread_barrier_init): Likewise.
22768 [UNIX98] (pthread_barrier_wait): Likewise.
22769 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22770 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22771 [UNIX98] (pthread_barrierattr_init): Likewise.
22772 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22773 [UNIX98] (pthread_getcpuclockid): Likewise.
22774 [UNIX98] (pthread_mutex_timedlock): Likewise.
22775 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22776 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22777 [UNIX98] (pthread_sigmask): Likewise.
22778 [UNIX98] (pthread_spin_destroy): Likewise.
22779 [UNIX98] (pthread_spin_init): Likewise.
22780 [UNIX98] (pthread_spin_lock): Likewise.
22781 [UNIX98] (pthread_spin_trylock): Likewise.
22782 [UNIX98] (pthread_spin_unlock): Likewise.
22783 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22784 Do not expect.
22785 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22786 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22787 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22788 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22789 [XPG3 || XPG4] (pthread_key_t): Likewise.
22790 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22791 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22792 [XPG3 || XPG4] (pthread_once_t): Likewise.
22793 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22794 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22795 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22796 [XPG3 || XPG4] (pthread_t): Likewise.
22797
cbe6e120
JM
22798 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22799 not expect.
22800 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22801
1b126443
JM
22802 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22803 Change function return type to int.
22804
b961a573
JM
22805 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22806 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22807 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22808 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22809 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22810 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22811 [!POSIX] (posix_madvise): Likewise.
22812 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22813 && !UNIX98].
22814 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22815 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22816 (mode_t): Likewise.
22817 (posix_mem_offset): Likewise.
22818 (posix_typed_mem_get_info): Likewise.
22819 (posix_typed_mem_open): Likewise.
22820
9e188909
JM
22821 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22822 Change condition to [XOPEN2K8].
22823
05bcf62a
JM
22824 * conform/conformtest.pl: Preprocess allow-header data with -x c
22825 instead of from stdin.
22826 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22827 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22828 [C99-based standards] (cerfc): Likewise.
22829 [C99-based standards] (cexp2): Likewise.
22830 [C99-based standards] (cexpm1): Likewise.
22831 [C99-based standards] (clog10): Likewise.
22832 [C99-based standards] (clog1p): Likewise.
22833 [C99-based standards] (clog2): Likewise.
22834 [C99-based standards] (clgamma): Likewise.
22835 [C99-based standards] (ctgamma): Likewise.
22836 [C99-based standards] (cerff): Likewise.
22837 [C99-based standards] (cerfcf): Likewise.
22838 [C99-based standards] (cexp2f): Likewise.
22839 [C99-based standards] (cexpm1f): Likewise.
22840 [C99-based standards] (clog10f): Likewise.
22841 [C99-based standards] (clog1pf): Likewise.
22842 [C99-based standards] (clog2f): Likewise.
22843 [C99-based standards] (clgammaf): Likewise.
22844 [C99-based standards] (ctgammaf): Likewise.
22845 [C99-based standards] (cerfl): Likewise.
22846 [C99-based standards] (cerfcl): Likewise.
22847 [C99-based standards] (cexp2l): Likewise.
22848 [C99-based standards] (cexpm1l): Likewise.
22849 [C99-based standards] (clog10l): Likewise.
22850 [C99-based standards] (clog1pl): Likewise.
22851 [C99-based standards] (clog2l): Likewise.
22852 [C99-based standards] (clgammal): Likewise.
22853 [C99-based standards] (ctgammal): Likewise.
22854 * conform/data/inttypes.h-data [C99-based standards]: Include
22855 stdint.h-data. Remove all expectations for stdint.h contents.
22856 [C99-based standards] (PRI*): Do not allow.
22857 [C99-based standards] (SCN*): Likewise.
22858 [C99-based standards] (*_t): Likewise.
22859 [C99-based-standards] (PRId8): Expect macro.
22860 [C99-based-standards] (PRIi8): Likewise.
22861 [C99-based-standards] (PRIo8): Likewise.
22862 [C99-based-standards] (PRIu8): Likewise.
22863 [C99-based-standards] (PRIx8): Likewise.
22864 [C99-based-standards] (PRIX8): Likewise.
22865 [C99-based-standards] (SCNd8): Likewise.
22866 [C99-based-standards] (SCNi8): Likewise.
22867 [C99-based-standards] (SCNo8): Likewise.
22868 [C99-based-standards] (SCNu8): Likewise.
22869 [C99-based-standards] (SCNx8): Likewise.
22870 [C99-based-standards] (PRIdLEAST8): Likewise.
22871 [C99-based-standards] (PRIiLEAST8): Likewise.
22872 [C99-based-standards] (PRIoLEAST8): Likewise.
22873 [C99-based-standards] (PRIuLEAST8): Likewise.
22874 [C99-based-standards] (PRIxLEAST8): Likewise.
22875 [C99-based-standards] (PRIXLEAST8): Likewise.
22876 [C99-based-standards] (SCNdLEAST8): Likewise.
22877 [C99-based-standards] (SCNiLEAST8): Likewise.
22878 [C99-based-standards] (SCNoLEAST8): Likewise.
22879 [C99-based-standards] (SCNuLEAST8): Likewise.
22880 [C99-based-standards] (SCNxLEAST8): Likewise.
22881 [C99-based-standards] (PRIdFAST8): Likewise.
22882 [C99-based-standards] (PRIiFAST8): Likewise.
22883 [C99-based-standards] (PRIoFAST8): Likewise.
22884 [C99-based-standards] (PRIuFAST8): Likewise.
22885 [C99-based-standards] (PRIxFAST8): Likewise.
22886 [C99-based-standards] (PRIXFAST8): Likewise.
22887 [C99-based-standards] (SCNdFAST8): Likewise.
22888 [C99-based-standards] (SCNiFAST8): Likewise.
22889 [C99-based-standards] (SCNoFAST8): Likewise.
22890 [C99-based-standards] (SCNuFAST8): Likewise.
22891 [C99-based-standards] (SCNxFAST8): Likewise.
22892 [C99-based-standards] (PRId16): Likewise.
22893 [C99-based-standards] (PRIi16): Likewise.
22894 [C99-based-standards] (PRIo16): Likewise.
22895 [C99-based-standards] (PRIu16): Likewise.
22896 [C99-based-standards] (PRIx16): Likewise.
22897 [C99-based-standards] (PRIX16): Likewise.
22898 [C99-based-standards] (SCNd16): Likewise.
22899 [C99-based-standards] (SCNi16): Likewise.
22900 [C99-based-standards] (SCNo16): Likewise.
22901 [C99-based-standards] (SCNu16): Likewise.
22902 [C99-based-standards] (SCNx16): Likewise.
22903 [C99-based-standards] (PRIdLEAST16): Likewise.
22904 [C99-based-standards] (PRIiLEAST16): Likewise.
22905 [C99-based-standards] (PRIoLEAST16): Likewise.
22906 [C99-based-standards] (PRIuLEAST16): Likewise.
22907 [C99-based-standards] (PRIxLEAST16): Likewise.
22908 [C99-based-standards] (PRIXLEAST16): Likewise.
22909 [C99-based-standards] (SCNdLEAST16): Likewise.
22910 [C99-based-standards] (SCNiLEAST16): Likewise.
22911 [C99-based-standards] (SCNoLEAST16): Likewise.
22912 [C99-based-standards] (SCNuLEAST16): Likewise.
22913 [C99-based-standards] (SCNxLEAST16): Likewise.
22914 [C99-based-standards] (PRIdFAST16): Likewise.
22915 [C99-based-standards] (PRIiFAST16): Likewise.
22916 [C99-based-standards] (PRIoFAST16): Likewise.
22917 [C99-based-standards] (PRIuFAST16): Likewise.
22918 [C99-based-standards] (PRIxFAST16): Likewise.
22919 [C99-based-standards] (PRIXFAST16): Likewise.
22920 [C99-based-standards] (SCNdFAST16): Likewise.
22921 [C99-based-standards] (SCNiFAST16): Likewise.
22922 [C99-based-standards] (SCNoFAST16): Likewise.
22923 [C99-based-standards] (SCNuFAST16): Likewise.
22924 [C99-based-standards] (SCNxFAST16): Likewise.
22925 [C99-based-standards] (PRId32): Likewise.
22926 [C99-based-standards] (PRIi32): Likewise.
22927 [C99-based-standards] (PRIo32): Likewise.
22928 [C99-based-standards] (PRIu32): Likewise.
22929 [C99-based-standards] (PRIx32): Likewise.
22930 [C99-based-standards] (PRIX32): Likewise.
22931 [C99-based-standards] (SCNd32): Likewise.
22932 [C99-based-standards] (SCNi32): Likewise.
22933 [C99-based-standards] (SCNo32): Likewise.
22934 [C99-based-standards] (SCNu32): Likewise.
22935 [C99-based-standards] (SCNx32): Likewise.
22936 [C99-based-standards] (PRIdLEAST32): Likewise.
22937 [C99-based-standards] (PRIiLEAST32): Likewise.
22938 [C99-based-standards] (PRIoLEAST32): Likewise.
22939 [C99-based-standards] (PRIuLEAST32): Likewise.
22940 [C99-based-standards] (PRIxLEAST32): Likewise.
22941 [C99-based-standards] (PRIXLEAST32): Likewise.
22942 [C99-based-standards] (SCNdLEAST32): Likewise.
22943 [C99-based-standards] (SCNiLEAST32): Likewise.
22944 [C99-based-standards] (SCNoLEAST32): Likewise.
22945 [C99-based-standards] (SCNuLEAST32): Likewise.
22946 [C99-based-standards] (SCNxLEAST32): Likewise.
22947 [C99-based-standards] (PRIdFAST32): Likewise.
22948 [C99-based-standards] (PRIiFAST32): Likewise.
22949 [C99-based-standards] (PRIoFAST32): Likewise.
22950 [C99-based-standards] (PRIuFAST32): Likewise.
22951 [C99-based-standards] (PRIxFAST32): Likewise.
22952 [C99-based-standards] (PRIXFAST32): Likewise.
22953 [C99-based-standards] (SCNdFAST32): Likewise.
22954 [C99-based-standards] (SCNiFAST32): Likewise.
22955 [C99-based-standards] (SCNoFAST32): Likewise.
22956 [C99-based-standards] (SCNuFAST32): Likewise.
22957 [C99-based-standards] (SCNxFAST32): Likewise.
22958 [C99-based-standards] (PRId64): Likewise.
22959 [C99-based-standards] (PRIi64): Likewise.
22960 [C99-based-standards] (PRIo64): Likewise.
22961 [C99-based-standards] (PRIu64): Likewise.
22962 [C99-based-standards] (PRIx64): Likewise.
22963 [C99-based-standards] (PRIX64): Likewise.
22964 [C99-based-standards] (SCNd64): Likewise.
22965 [C99-based-standards] (SCNi64): Likewise.
22966 [C99-based-standards] (SCNo64): Likewise.
22967 [C99-based-standards] (SCNu64): Likewise.
22968 [C99-based-standards] (SCNx64): Likewise.
22969 [C99-based-standards] (PRIdLEAST64): Likewise.
22970 [C99-based-standards] (PRIiLEAST64): Likewise.
22971 [C99-based-standards] (PRIoLEAST64): Likewise.
22972 [C99-based-standards] (PRIuLEAST64): Likewise.
22973 [C99-based-standards] (PRIxLEAST64): Likewise.
22974 [C99-based-standards] (PRIXLEAST64): Likewise.
22975 [C99-based-standards] (SCNdLEAST64): Likewise.
22976 [C99-based-standards] (SCNiLEAST64): Likewise.
22977 [C99-based-standards] (SCNoLEAST64): Likewise.
22978 [C99-based-standards] (SCNuLEAST64): Likewise.
22979 [C99-based-standards] (SCNxLEAST64): Likewise.
22980 [C99-based-standards] (PRIdFAST64): Likewise.
22981 [C99-based-standards] (PRIiFAST64): Likewise.
22982 [C99-based-standards] (PRIoFAST64): Likewise.
22983 [C99-based-standards] (PRIuFAST64): Likewise.
22984 [C99-based-standards] (PRIxFAST64): Likewise.
22985 [C99-based-standards] (PRIXFAST64): Likewise.
22986 [C99-based-standards] (SCNdFAST64): Likewise.
22987 [C99-based-standards] (SCNiFAST64): Likewise.
22988 [C99-based-standards] (SCNoFAST64): Likewise.
22989 [C99-based-standards] (SCNuFAST64): Likewise.
22990 [C99-based-standards] (SCNxFAST64): Likewise.
22991 [C99-based-standards] (PRIdMAX): Likewise.
22992 [C99-based-standards] (PRIiMAX): Likewise.
22993 [C99-based-standards] (PRIoMAX): Likewise.
22994 [C99-based-standards] (PRIuMAX): Likewise.
22995 [C99-based-standards] (PRIxMAX): Likewise.
22996 [C99-based-standards] (PRIXMAX): Likewise.
22997 [C99-based-standards] (SCNdMAX): Likewise.
22998 [C99-based-standards] (SCNiMAX): Likewise.
22999 [C99-based-standards] (SCNoMAX): Likewise.
23000 [C99-based-standards] (SCNuMAX): Likewise.
23001 [C99-based-standards] (SCNxMAX): Likewise.
23002 [C99-based-standards] (PRIdPTR): Likewise.
23003 [C99-based-standards] (PRIiPTR): Likewise.
23004 [C99-based-standards] (PRIoPTR): Likewise.
23005 [C99-based-standards] (PRIuPTR): Likewise.
23006 [C99-based-standards] (PRIxPTR): Likewise.
23007 [C99-based-standards] (PRIXPTR): Likewise.
23008 [C99-based-standards] (SCNdPTR): Likewise.
23009 [C99-based-standards] (SCNiPTR): Likewise.
23010 [C99-based-standards] (SCNoPTR): Likewise.
23011 [C99-based-standards] (SCNuPTR): Likewise.
23012 [C99-based-standards] (SCNxPTR): Likewise.
23013 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23014 allow.
23015 * conform/data/stdint.h-data: Update comments to clarify
23016 requirements.
23017 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23018 type.
23019 [C99-based standards] (INT8_MAX): Likewise.
23020 [C99-based standards] (INT16_MIN): Likewise.
23021 [C99-based standards] (INT16_MAX): Likewise.
23022 [C99-based standards] (INT32_MIN): Likewise.
23023 [C99-based standards] (INT32_MAX): Likewise.
23024 [C99-based standards] (INT64_MIN): Likewise.
23025 [C99-based standards] (INT64_MAX): Likewise.
23026 [C99-based standards] (UINT8_MAX): Likewise.
23027 [C99-based standards] (UINT16_MAX): Likewise.
23028 [C99-based standards] (UINT32_MAX): Likewise.
23029 [C99-based standards] (UINT64_MAX): Likewise.
23030 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23031 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23032 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23033 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23034 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23035 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23036 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23037 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23038 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23039 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23040 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23041 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23042 [C99-based standards] (INT_FAST8_MIN): Likewise.
23043 [C99-based standards] (INT_FAST8_MAX): Likewise.
23044 [C99-based standards] (INT_FAST16_MIN): Likewise.
23045 [C99-based standards] (INT_FAST16_MAX): Likewise.
23046 [C99-based standards] (INT_FAST32_MIN): Likewise.
23047 [C99-based standards] (INT_FAST32_MAX): Likewise.
23048 [C99-based standards] (INT_FAST64_MIN): Likewise.
23049 [C99-based standards] (INT_FAST64_MAX): Likewise.
23050 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23051 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23052 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23053 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23054 [C99-based standards] (INTPTR_MIN): Likewise.
23055 [C99-based standards] (INTPTR_MAX): Likewise.
23056 [C99-based standards] (UINTPTR_MAX): Likewise.
23057 [C99-based standards] (INTMAX_MIN): Likewise.
23058 [C99-based standards] (INTMAX_MAX): Likewise.
23059 [C99-based standards] (UINTMAX_MAX): Likewise.
23060 [C99-based standards] (PTRDIFF_MIN): Likewise.
23061 [C99-based standards] (PTRDIFF_MAX): Likewise.
23062 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23063 [C99-based standards] (SIZE_MAX): Likewise.
23064 [C99-based standards] (WCHAR_MAX): Likewise.
23065 [C99-based standards] (WINT_MAX): Likewise.
23066 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23067 constraint on value.
23068 [C99-based standards] (WCHAR_MIN): Likewise.
23069 [C99-based standards] (WINT_MIN): Likewise.
23070 [C99-based standards] (*_t): Allow.
23071 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23072 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23073 Include math.h-data and complex.h-data. Remove all expectations
23074 of math.h and complex.h contents.
23075 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23076 at end of line.
23077 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23078 (struct tm): Expect tag.
23079 [C99-based-standards] (wcstof): Expect function.
23080 [C99-based-standards] (wcstold): Likewise.
23081 [C99-based-standards] (wcstoll): Likewise.
23082 [C99-based-standards] (wcstoull): Likewise.
23083 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23084 macro-int-constant. Specify type.
23085 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23086 constraint on value.
23087 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23088 Specify type.
23089 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23090 Specify value.
23091 [ISO C standards]: Do not allow headers.
23092 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23093 wcs[abcdefghijklmnopqrstuvwxyz]*.
23094 [ISO C standards] (*_t): Do not allow.
23095 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23096 Expect function.
23097 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23098 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23099 Specify type.
23100 [ISO C standards]: Do not allow headers.
23101 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23102 is[abcdefghijklmnopqrstuvwxyz]*.
23103 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23104 to[abcdefghijklmnopqrstuvwxyz]*.
23105 [ISO C standards] (*_t): Do not allow.
23106 * conform/data/stdalign.h-data: New file.
23107 * conform/data/stdbool.h-data: Likewise.
23108 * conform/data/stdnoreturn.h-data: Likewise.
23109
7514feb8
RM
231102012-11-07 Roland McGrath <roland@hack.frob.com>
23111
23112 [BZ #14815]
23113 * manual/filesys.texi (Directory Entries): Typo fix.
23114 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23115
19b2ecfc
MS
231162012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23117
23118 * elf/elf.h (EM_AARCH64): New macro.
23119 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23120 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23121 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23122 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23123 (R_AARCH64_TLSDESC): Likewise.
23124 (NT_ARM_TLS): Likewise.
23125 (NT_ARM_HW_BREAK): Likewise.
23126 (NT_ARM_HW_WATCH): Likewise.
23127
60e235ee
JM
231282012-11-07 Joseph Myers <joseph@codesourcery.com>
23129
23130 [BZ #14811]
23131 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23132 (__ieee754_powl): Saturate nonzero exponents with absolute value
23133 below 0x1p-79 to +/- 0x1p-79.
23134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23135 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23136 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23137 nonzero exponents with absolute value below 0x1p-32 to +/-
23138 0x1p-32.
23139 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23140 (__ieee754_powl): Saturate nonzero exponents with absolute value
23141 below 0x1p-79 to +/- 0x1p-79.
23142 * math/libm-test.inc (pow_test): Add more tests.
23143
0ab234b7
AK
231442012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23145
23146 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23147 _dl_s390_cap_flags with kernel. Increase string length.
23148 (_dl_s390_platforms): Add z196 and zEC12.
23149
45832f74
JM
231502012-11-07 Joseph Myers <joseph@codesourcery.com>
23151
23152 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23153 Change XOPEN21K to XOPEN2K.
23154
19218757
MK
231552012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23156
23157 * string/memmove.c: Use memcpy when possible.
23158
c5f45721
AJ
231592012-11-06 Andreas Jaeger <aj@suse.de>
23160
23161 * po/eo.po: Update from translation team.
23162
82477c28
JM
231632012-11-06 Joseph Myers <joseph@codesourcery.com>
23164
23165 [BZ #14793]
23166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23167 exponent and small x and y exponents, scale x or y up. Increase
23168 by 2 the exponent used in scaling up.
23169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23171 * math/libm-test.inc (fma_test): Add more tests.
23172 (fma_test_towardzero): Likewise.
23173 (fma_test_downward): Likewise.
23174 (fma_test_upward): Likewise.
23175
99252c8c
JM
231762012-11-05 Joseph Myers <joseph@codesourcery.com>
23177
acfa885f
JM
23178 [BZ #14805]
23179 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23180 fenv_t *.
23181
99252c8c
JM
23182 [BZ #14801]
23183 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23184 namespace for names of struct fields.
23185 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23186 fenv_t fields.
23187 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23188 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23189
d6d98dea
ST
231902012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23191
23192 [BZ #3665]
23193 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23194
e10bb107
TS
231952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23196
23197 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23198 PTR_DEMANGLE.
23199
23200 [BZ #5246]
23201 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23202 PTR_DEMANGLE.
23203
a0c2940d
JM
232042012-11-04 Joseph Myers <joseph@codesourcery.com>
23205
23206 [BZ #14797]
23207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23208 definitely overflow as x * y not x * y + z.
23209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23211 * math/libm-test.inc (fma_test): Add more tests.
23212 (fma_test_towardzero): Likewise.
23213 (fma_test_downward): Likewise.
23214 (fma_test_upward): Likewise.
23215
b830319d
TS
232162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23217
23218 [BZ #157]
23219
23220 * include/stub-tag.h: Remove file.
23221 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23222 '#include' of it.
23223 * manual/maint.texi (Porting): Don't reference it.
23224 * Makerules ($(objpfx)stubs): Likewise.
23225 * dirent/closedir.c: Don't include <stub-tag.h>.
23226 * dirent/dirfd.c: Likewise.
23227 * dirent/fdopendir.c: Likewise.
23228 * dirent/getdents.c: Likewise.
23229 * dirent/getdents64.c: Likewise.
23230 * dirent/opendir.c: Likewise.
23231 * dirent/readdir.c: Likewise.
23232 * dirent/readdir64.c: Likewise.
23233 * dirent/readdir64_r.c: Likewise.
23234 * dirent/readdir_r.c: Likewise.
23235 * dirent/rewinddir.c: Likewise.
23236 * dirent/seekdir.c: Likewise.
23237 * dirent/telldir.c: Likewise.
23238 * gmon/profil.c: Likewise.
23239 * grp/setgroups.c: Likewise.
23240 * inet/if_index.c: Likewise.
23241 * io/access.c: Likewise.
23242 * io/chdir.c: Likewise.
23243 * io/chmod.c: Likewise.
23244 * io/chown.c: Likewise.
23245 * io/close.c: Likewise.
23246 * io/dup.c: Likewise.
23247 * io/dup2.c: Likewise.
23248 * io/dup3.c: Likewise.
23249 * io/euidaccess.c: Likewise.
23250 * io/faccessat.c: Likewise.
23251 * io/fchdir.c: Likewise.
23252 * io/fchmod.c: Likewise.
23253 * io/fchmodat.c: Likewise.
23254 * io/fchown.c: Likewise.
23255 * io/fchownat.c: Likewise.
23256 * io/fcntl.c: Likewise.
23257 * io/flock.c: Likewise.
23258 * io/fstatfs.c: Likewise.
23259 * io/fstatfs64.c: Likewise.
23260 * io/fstatvfs.c: Likewise.
23261 * io/fstatvfs64.c: Likewise.
23262 * io/futimens.c: Likewise.
23263 * io/fxstat.c: Likewise.
23264 * io/fxstat64.c: Likewise.
23265 * io/fxstatat.c: Likewise.
23266 * io/fxstatat64.c: Likewise.
23267 * io/getcwd.c: Likewise.
23268 * io/isatty.c: Likewise.
23269 * io/lchmod.c: Likewise.
23270 * io/lchown.c: Likewise.
23271 * io/link.c: Likewise.
23272 * io/linkat.c: Likewise.
23273 * io/lseek.c: Likewise.
23274 * io/lseek64.c: Likewise.
23275 * io/lxstat64.c: Likewise.
23276 * io/mkdir.c: Likewise.
23277 * io/mkdirat.c: Likewise.
23278 * io/mkfifo.c: Likewise.
23279 * io/mkfifoat.c: Likewise.
23280 * io/open.c: Likewise.
23281 * io/open64.c: Likewise.
23282 * io/openat.c: Likewise.
23283 * io/openat64.c: Likewise.
23284 * io/pipe.c: Likewise.
23285 * io/pipe2.c: Likewise.
23286 * io/poll.c: Likewise.
23287 * io/posix_fadvise.c: Likewise.
23288 * io/posix_fadvise64.c: Likewise.
23289 * io/posix_fallocate.c: Likewise.
23290 * io/posix_fallocate64.c: Likewise.
23291 * io/read.c: Likewise.
23292 * io/readlink.c: Likewise.
23293 * io/readlinkat.c: Likewise.
23294 * io/rmdir.c: Likewise.
23295 * io/sendfile.c: Likewise.
23296 * io/sendfile64.c: Likewise.
23297 * io/statfs.c: Likewise.
23298 * io/statfs64.c: Likewise.
23299 * io/statvfs.c: Likewise.
23300 * io/statvfs64.c: Likewise.
23301 * io/symlink.c: Likewise.
23302 * io/symlinkat.c: Likewise.
23303 * io/ttyname.c: Likewise.
23304 * io/ttyname_r.c: Likewise.
23305 * io/umask.c: Likewise.
23306 * io/unlink.c: Likewise.
23307 * io/unlinkat.c: Likewise.
23308 * io/utime.c: Likewise.
23309 * io/utimensat.c: Likewise.
23310 * io/write.c: Likewise.
23311 * io/xmknod.c: Likewise.
23312 * io/xmknodat.c: Likewise.
23313 * io/xstat.c: Likewise.
23314 * io/xstat64.c: Likewise.
23315 * login/getpt.c: Likewise.
23316 * login/grantpt.c: Likewise.
23317 * login/unlockpt.c: Likewise.
23318 * math/e_acoshl.c: Likewise.
23319 * math/e_acosl.c: Likewise.
23320 * math/e_asinl.c: Likewise.
23321 * math/e_atan2l.c: Likewise.
23322 * math/e_atanhl.c: Likewise.
23323 * math/e_coshl.c: Likewise.
23324 * math/e_expl.c: Likewise.
23325 * math/e_fmodl.c: Likewise.
23326 * math/e_gammal_r.c: Likewise.
23327 * math/e_hypotl.c: Likewise.
23328 * math/e_j0l.c: Likewise.
23329 * math/e_j1l.c: Likewise.
23330 * math/e_jnl.c: Likewise.
23331 * math/e_lgammal_r.c: Likewise.
23332 * math/e_log10l.c: Likewise.
23333 * math/e_log2l.c: Likewise.
23334 * math/e_logl.c: Likewise.
23335 * math/e_powl.c: Likewise.
23336 * math/e_rem_pio2l.c: Likewise.
23337 * math/e_sinhl.c: Likewise.
23338 * math/e_sqrtl.c: Likewise.
23339 * math/fclrexcpt.c: Likewise.
23340 * math/fedisblxcpt.c: Likewise.
23341 * math/feenablxcpt.c: Likewise.
23342 * math/fegetenv.c: Likewise.
23343 * math/fegetexcept.c: Likewise.
23344 * math/fegetround.c: Likewise.
23345 * math/feholdexcpt.c: Likewise.
23346 * math/fesetenv.c: Likewise.
23347 * math/fesetround.c: Likewise.
23348 * math/feupdateenv.c: Likewise.
23349 * math/fgetexcptflg.c: Likewise.
23350 * math/fraiseexcpt.c: Likewise.
23351 * math/fsetexcptflg.c: Likewise.
23352 * math/ftestexcept.c: Likewise.
23353 * math/k_cosl.c: Likewise.
23354 * math/k_rem_pio2l.c: Likewise.
23355 * math/k_sinl.c: Likewise.
23356 * math/k_tanl.c: Likewise.
23357 * math/s_asinhl.c: Likewise.
23358 * math/s_atanl.c: Likewise.
23359 * math/s_cbrtl.c: Likewise.
23360 * math/s_erfl.c: Likewise.
23361 * math/s_expm1l.c: Likewise.
23362 * math/s_log1pl.c: Likewise.
23363 * math/s_tanhl.c: Likewise.
23364 * misc/acct.c: Likewise.
23365 * misc/brk.c: Likewise.
23366 * misc/chflags.c: Likewise.
23367 * misc/chroot.c: Likewise.
23368 * misc/fchflags.c: Likewise.
23369 * misc/fgetxattr.c: Likewise.
23370 * misc/flistxattr.c: Likewise.
23371 * misc/fremovexattr.c: Likewise.
23372 * misc/fsetxattr.c: Likewise.
23373 * misc/fsync.c: Likewise.
23374 * misc/ftruncate.c: Likewise.
23375 * misc/futimes.c: Likewise.
23376 * misc/futimesat.c: Likewise.
23377 * misc/getdomain.c: Likewise.
23378 * misc/getdtsz.c: Likewise.
23379 * misc/gethostid.c: Likewise.
23380 * misc/gethostname.c: Likewise.
23381 * misc/getloadavg.c: Likewise.
23382 * misc/getpagesize.c: Likewise.
23383 * misc/getsysstats.c: Likewise.
23384 * misc/getxattr.c: Likewise.
23385 * misc/gtty.c: Likewise.
23386 * misc/ioctl.c: Likewise.
23387 * misc/lgetxattr.c: Likewise.
23388 * misc/listxattr.c: Likewise.
23389 * misc/llistxattr.c: Likewise.
23390 * misc/lremovexattr.c: Likewise.
23391 * misc/lsetxattr.c: Likewise.
23392 * misc/lutimes.c: Likewise.
23393 * misc/madvise.c: Likewise.
23394 * misc/mincore.c: Likewise.
23395 * misc/mlock.c: Likewise.
23396 * misc/mlockall.c: Likewise.
23397 * misc/mmap.c: Likewise.
23398 * misc/mprotect.c: Likewise.
23399 * misc/msync.c: Likewise.
23400 * misc/munlock.c: Likewise.
23401 * misc/munlockall.c: Likewise.
23402 * misc/munmap.c: Likewise.
23403 * misc/preadv.c: Likewise.
23404 * misc/preadv64.c: Likewise.
23405 * misc/ptrace.c: Likewise.
23406 * misc/pwritev.c: Likewise.
23407 * misc/pwritev64.c: Likewise.
23408 * misc/readv.c: Likewise.
23409 * misc/reboot.c: Likewise.
23410 * misc/remap_file_pages.c: Likewise.
23411 * misc/removexattr.c: Likewise.
23412 * misc/revoke.c: Likewise.
23413 * misc/select.c: Likewise.
23414 * misc/setdomain.c: Likewise.
23415 * misc/setegid.c: Likewise.
23416 * misc/seteuid.c: Likewise.
23417 * misc/sethostid.c: Likewise.
23418 * misc/sethostname.c: Likewise.
23419 * misc/setregid.c: Likewise.
23420 * misc/setreuid.c: Likewise.
23421 * misc/setxattr.c: Likewise.
23422 * misc/sstk.c: Likewise.
23423 * misc/stty.c: Likewise.
23424 * misc/swapoff.c: Likewise.
23425 * misc/swapon.c: Likewise.
23426 * misc/sync.c: Likewise.
23427 * misc/syncfs.c: Likewise.
23428 * misc/syscall.c: Likewise.
23429 * misc/truncate.c: Likewise.
23430 * misc/ualarm.c: Likewise.
23431 * misc/usleep.c: Likewise.
23432 * misc/ustat.c: Likewise.
23433 * misc/utimes.c: Likewise.
23434 * misc/vhangup.c: Likewise.
23435 * misc/writev.c: Likewise.
23436 * posix/_exit.c: Likewise.
23437 * posix/alarm.c: Likewise.
23438 * posix/execve.c: Likewise.
23439 * posix/fexecve.c: Likewise.
23440 * posix/fork.c: Likewise.
23441 * posix/fpathconf.c: Likewise.
23442 * posix/getaddrinfo.c: Likewise.
23443 * posix/getegid.c: Likewise.
23444 * posix/geteuid.c: Likewise.
23445 * posix/getgid.c: Likewise.
23446 * posix/getgroups.c: Likewise.
23447 * posix/getlogin.c: Likewise.
23448 * posix/getlogin_r.c: Likewise.
23449 * posix/getpgid.c: Likewise.
23450 * posix/getpid.c: Likewise.
23451 * posix/getppid.c: Likewise.
23452 * posix/getresgid.c: Likewise.
23453 * posix/getresuid.c: Likewise.
23454 * posix/getsid.c: Likewise.
23455 * posix/getuid.c: Likewise.
23456 * posix/glob64.c: Likewise.
23457 * posix/nanosleep.c: Likewise.
23458 * posix/pathconf.c: Likewise.
23459 * posix/pause.c: Likewise.
23460 * posix/posix_madvise.c: Likewise.
23461 * posix/pread.c: Likewise.
23462 * posix/pread64.c: Likewise.
23463 * posix/pwrite.c: Likewise.
23464 * posix/pwrite64.c: Likewise.
23465 * posix/sched_getaffinity.c: Likewise.
23466 * posix/sched_getp.c: Likewise.
23467 * posix/sched_gets.c: Likewise.
23468 * posix/sched_primax.c: Likewise.
23469 * posix/sched_primin.c: Likewise.
23470 * posix/sched_rr_gi.c: Likewise.
23471 * posix/sched_setaffinity.c: Likewise.
23472 * posix/sched_setp.c: Likewise.
23473 * posix/sched_sets.c: Likewise.
23474 * posix/sched_yield.c: Likewise.
23475 * posix/setgid.c: Likewise.
23476 * posix/setlogin.c: Likewise.
23477 * posix/setpgid.c: Likewise.
23478 * posix/setresgid.c: Likewise.
23479 * posix/setresuid.c: Likewise.
23480 * posix/setsid.c: Likewise.
23481 * posix/setuid.c: Likewise.
23482 * posix/sleep.c: Likewise.
23483 * posix/spawni.c: Likewise.
23484 * posix/sysconf.c: Likewise.
23485 * posix/times.c: Likewise.
23486 * posix/wait.c: Likewise.
23487 * posix/wait3.c: Likewise.
23488 * posix/wait4.c: Likewise.
23489 * posix/waitpid.c: Likewise.
23490 * resolv/gai_sigqueue.c: Likewise.
23491 * resource/getpriority.c: Likewise.
23492 * resource/getrlimit.c: Likewise.
23493 * resource/getrusage.c: Likewise.
23494 * resource/nice.c: Likewise.
23495 * resource/setpriority.c: Likewise.
23496 * resource/setrlimit.c: Likewise.
23497 * resource/ulimit.c: Likewise.
23498 * rt/aio_cancel.c: Likewise.
23499 * rt/aio_fsync.c: Likewise.
23500 * rt/aio_read.c: Likewise.
23501 * rt/aio_sigqueue.c: Likewise.
23502 * rt/aio_suspend.c: Likewise.
23503 * rt/aio_write.c: Likewise.
23504 * rt/clock_getres.c: Likewise.
23505 * rt/clock_gettime.c: Likewise.
23506 * rt/clock_nanosleep.c: Likewise.
23507 * rt/clock_settime.c: Likewise.
23508 * rt/lio_listio.c: Likewise.
23509 * rt/mq_close.c: Likewise.
23510 * rt/mq_getattr.c: Likewise.
23511 * rt/mq_notify.c: Likewise.
23512 * rt/mq_open.c: Likewise.
23513 * rt/mq_receive.c: Likewise.
23514 * rt/mq_send.c: Likewise.
23515 * rt/mq_setattr.c: Likewise.
23516 * rt/mq_timedreceive.c: Likewise.
23517 * rt/mq_timedsend.c: Likewise.
23518 * rt/mq_unlink.c: Likewise.
23519 * rt/shm_open.c: Likewise.
23520 * rt/shm_unlink.c: Likewise.
23521 * rt/timer_create.c: Likewise.
23522 * rt/timer_delete.c: Likewise.
23523 * rt/timer_getoverr.c: Likewise.
23524 * rt/timer_gettime.c: Likewise.
23525 * rt/timer_settime.c: Likewise.
23526 * setjmp/__longjmp.c: Likewise.
23527 * setjmp/setjmp.c: Likewise.
23528 * signal/kill.c: Likewise.
23529 * signal/killpg.c: Likewise.
23530 * signal/raise.c: Likewise.
23531 * signal/sigaction.c: Likewise.
23532 * signal/sigaltstack.c: Likewise.
23533 * signal/sigblock.c: Likewise.
23534 * signal/sigignore.c: Likewise.
23535 * signal/sigintr.c: Likewise.
23536 * signal/signal.c: Likewise.
23537 * signal/sigpause.c: Likewise.
23538 * signal/sigpending.c: Likewise.
23539 * signal/sigqueue.c: Likewise.
23540 * signal/sigreturn.c: Likewise.
23541 * signal/sigset.c: Likewise.
23542 * signal/sigsetmask.c: Likewise.
23543 * signal/sigstack.c: Likewise.
23544 * signal/sigsuspend.c: Likewise.
23545 * signal/sigtimedwait.c: Likewise.
23546 * signal/sigvec.c: Likewise.
23547 * signal/sigwait.c: Likewise.
23548 * signal/sigwaitinfo.c: Likewise.
23549 * signal/sysv_signal.c: Likewise.
23550 * socket/accept.c: Likewise.
23551 * socket/accept4.c: Likewise.
23552 * socket/bind.c: Likewise.
23553 * socket/connect.c: Likewise.
23554 * socket/getpeername.c: Likewise.
23555 * socket/getsockname.c: Likewise.
23556 * socket/getsockopt.c: Likewise.
23557 * socket/isfdtype.c: Likewise.
23558 * socket/listen.c: Likewise.
23559 * socket/recv.c: Likewise.
23560 * socket/recvfrom.c: Likewise.
23561 * socket/recvmsg.c: Likewise.
23562 * socket/send.c: Likewise.
23563 * socket/sendmsg.c: Likewise.
23564 * socket/sendto.c: Likewise.
23565 * socket/setsockopt.c: Likewise.
23566 * socket/shutdown.c: Likewise.
23567 * socket/sockatmark.c: Likewise.
23568 * socket/socket.c: Likewise.
23569 * socket/socketpair.c: Likewise.
23570 * stdio-common/ctermid.c: Likewise.
23571 * stdio-common/cuserid.c: Likewise.
23572 * stdio-common/remove.c: Likewise.
23573 * stdio-common/rename.c: Likewise.
23574 * stdio-common/renameat.c: Likewise.
23575 * stdio-common/tempname.c: Likewise.
23576 * stdlib/getcontext.c: Likewise.
23577 * stdlib/makecontext.c: Likewise.
23578 * stdlib/setcontext.c: Likewise.
23579 * stdlib/swapcontext.c: Likewise.
23580 * stdlib/system.c: Likewise.
23581 * streams/fattach.c: Likewise.
23582 * streams/fdetach.c: Likewise.
23583 * streams/getmsg.c: Likewise.
23584 * streams/getpmsg.c: Likewise.
23585 * streams/putmsg.c: Likewise.
23586 * streams/putpmsg.c: Likewise.
23587 * sysdeps/unix/bsd/getpt.c: Likewise.
23588 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23589 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23590 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23592 Likewise.
23593 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23594 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23595 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23596 * sysvipc/msgctl.c: Likewise.
23597 * sysvipc/msgget.c: Likewise.
23598 * sysvipc/msgrcv.c: Likewise.
23599 * sysvipc/msgsnd.c: Likewise.
23600 * sysvipc/semctl.c: Likewise.
23601 * sysvipc/semget.c: Likewise.
23602 * sysvipc/semop.c: Likewise.
23603 * sysvipc/semtimedop.c: Likewise.
23604 * sysvipc/shmat.c: Likewise.
23605 * sysvipc/shmctl.c: Likewise.
23606 * sysvipc/shmdt.c: Likewise.
23607 * sysvipc/shmget.c: Likewise.
23608 * termios/tcdrain.c: Likewise.
23609 * termios/tcflow.c: Likewise.
23610 * termios/tcflush.c: Likewise.
23611 * termios/tcgetattr.c: Likewise.
23612 * termios/tcgetpgrp.c: Likewise.
23613 * termios/tcsendbrk.c: Likewise.
23614 * termios/tcsetattr.c: Likewise.
23615 * termios/tcsetpgrp.c: Likewise.
23616 * time/adjtime.c: Likewise.
23617 * time/clock.c: Likewise.
23618 * time/getitimer.c: Likewise.
23619 * time/gettimeofday.c: Likewise.
23620 * time/setitimer.c: Likewise.
23621 * time/settimeofday.c: Likewise.
23622 * time/stime.c: Likewise.
23623 * time/time.c: Likewise.
23624
236252012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23626
a20492cf
PT
23627 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23628 /usr/old/bin.
23629
72e182e3
PT
23630 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23631 instead of spaces.
23632 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23633
fbeafede
JM
236342012-11-03 Joseph Myers <joseph@codesourcery.com>
23635
5b5b04d6
JM
23636 [BZ #14796]
23637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23638 FE_TONEAREST before applying Dekker multiplication and Knuth
23639 addition. Clear inexact exceptions and check for exact zero
23640 results afterwards.
23641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23642 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23643 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23644 * math/libm-test.inc (fma_test): Add more tests.
23645 (fma_test_towardzero): Likewise.
23646 (fma_test_downward): Likewise.
23647 (fma_test_upward): Likewise.
23648 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23649 function.
23650 (libc_fesetround): New macro.
23651 (libc_fesetroundf): Likewise.
23652 (libc_fesetroundl): Likewise.
23653 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23654 function.
23655 (libc_fesetround_387): Likewise.
23656 (libc_fesetroundf): New macro.
23657 (libc_fesetround): Likewise.
23658 (libc_fesetroundl): Likewise.
23659 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23660 function.
23661 (libc_fesetroundf): New macro.
23662 (libc_fesetround): Likewise.
23663 (libc_fesetroundl): Likewise.
23664 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23665 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23666 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23667 libm_hidden_ver.
23668 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23669 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23670 libm_hidden_def.
23671 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23672 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23673 libm_hidden_ver.
23674 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23675 libm_hidden_def.
23676
fbeafede
JM
23677 [BZ #3439]
23678 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23679 integer constant usable in #if and use that to give value to enum
23680 constant.
23681 (FE_DIVBYZERO): Likewise.
23682 (FE_UNDERFLOW): Likewise.
23683 (FE_OVERFLOW): Likewise.
23684 (FE_INVALID): Likewise.
23685 (FE_INVALID_SNAN): Likewise.
23686 (FE_INVALID_ISI): Likewise.
23687 (FE_INVALID_IDI): Likewise.
23688 (FE_INVALID_ZDZ): Likewise.
23689 (FE_INVALID_IMZ): Likewise.
23690 (FE_INVALID_COMPARE): Likewise.
23691 (FE_INVALID_SOFTWARE): Likewise.
23692 (FE_INVALID_SQRT): Likewise.
23693 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23694 (FE_TONEAREST): Likewise.
23695 (FE_TOWARDZERO): Likewise.
23696 (FE_UPWARD): Likewise.
23697 (FE_DOWNWARD): Likewise.
23698 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23699 (FE_DIVBYZERO): Likewise.
23700 (FE_OVERFLOW): Likewise.
23701 (FE_UNDERFLOW): Likewise.
23702 (FE_INEXACT): Likewise.
23703 (FE_TONEAREST): Likewise.
23704 (FE_DOWNWARD): Likewise.
23705 (FE_UPWARD): Likewise.
23706 (FE_TOWARDZERO): Likewise.
23707 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23708 (FE_UNDERFLOW): Likewise.
23709 (FE_OVERFLOW): Likewise.
23710 (FE_DIVBYZERO): Likewise.
23711 (FE_INVALID): Likewise.
23712 (FE_TONEAREST): Likewise.
23713 (FE_TOWARDZERO): Likewise.
23714 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23715 (FE_OVERFLOW): Likewise.
23716 (FE_UNDERFLOW): Likewise.
23717 (FE_DIVBYZERO): Likewise.
23718 (FE_INEXACT): Likewise.
23719 (FE_TONEAREST): Likewise.
23720 (FE_TOWARDZERO): Likewise.
23721 (FE_UPWARD): Likewise.
23722 (FE_DOWNWARD): Likewise.
23723 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23724 (FE_DIVBYZERO): Likewise.
23725 (FE_OVERFLOW): Likewise.
23726 (FE_UNDERFLOW): Likewise.
23727 (FE_INEXACT): Likewise.
23728 (FE_TONEAREST): Likewise.
23729 (FE_DOWNWARD): Likewise.
23730 (FE_UPWARD): Likewise.
23731 (FE_TOWARDZERO): Likewise.
23732
105ca950
CM
237332012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23734
23735 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23736
a542b389
AS
237372012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23738
23739 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23740 commands. Quote $PWD.
23741 (blacklist_exports): Don't use remove_newlines. Replace "declare
23742 -x" by "export".
23743 (remove_newlines): Remove.
23744
f62c8abc
L
237452012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23746
23747 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23748 * stdlib/stdlib.h (atof): Moved to ...
23749 * include/bits/stdlib-float.h: Here. New file.
23750 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23751 * stdlib/bits/stdlib-float.h: New file.
23752 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23753 -mno-sse -mno-mmx.
23754 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23755 <xmmintrin.h>.
23756
0155d5b2
JM
237572012-11-02 Joseph Myers <joseph@codesourcery.com>
23758
a68d0680
JM
23759 * conform/conformtest.pl (@headers): Add fenv.h.
23760 * conform/data/fenv.h-data: New file.
23761 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23762 include of <math/fenv.h>.
23763
caf7f573
JM
23764 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23765 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23766 && !UNIX98]. Enables tests for XOPEN2K8.
23767 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23768 POSIX2008]: Likewise.
23769
6c073ad6
JM
23770 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23771 (struct rusage): Do not expect type or its members.
23772
0155d5b2
JM
23773 [BZ #3439]
23774 * math/math.h (FP_NAN): Define macro to integer constant usable in
23775 #if and use that to give value to enum constant.
23776 (FP_INFINITE): Likewise.
23777 (FP_ZERO): Likewise.
23778 (FP_SUBNORMAL): Likewise.
23779 (FP_NORMAL): Likewise.
23780
b5dcacb4
AS
237812012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23782
23783 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23784 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23785 arguments.
23786
f7934be8
RM
237872012-11-02 Roland McGrath <roland@hack.frob.com>
23788
23789 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23790 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23791 autoconf-time if not.
23792 * configure.in: Remove AC_PREREQ.
23793
d7d08bde
TMQMF
237942012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23795
23796 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23797 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23798 of the internal implementation.
23799
dcdae19a
JM
238002012-11-02 Joseph Myers <joseph@codesourcery.com>
23801
23802 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23803 except include of <misc/sys/syslog.h>.
23804
d6cffd3e
AS
238052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23806
23807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23808 function returns with a NULL context exit with zero.
23809
b3563932
TMQMF
238102012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23811
23812 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23813
b288a93d
L
238142012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23815
23816 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23817 (run_program_cmd): This.
23818 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23819 (tst_langinfo): New variable. Use it.
23820
a2421a68
SAS
238212012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23822
23823 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23824 floating point opcodes.
23825
6f796e1b
TS
238262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23827
7402596b
TS
23828 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23829 variable.
23830
d0d4f868
TS
23831 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23832
6f796e1b
TS
23833 * sysdeps/mach/hurd/powerpc: Remove directory.
23834 * sysdeps/mach/powerpc: Likewise.
23835
4da224a2
AS
238362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23837
23838 * scripts/check-local-headers.sh: Ignore c++ headers.
23839
341dd673
TS
238402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23841
23842 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23843 __libc_cleanup_region_start argument.
23844
473611b2
JM
238452012-11-01 Joseph Myers <joseph@codesourcery.com>
23846
23847 [BZ #14784]
23848 [BZ #14785]
23849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23850 x * y using scaling, not as x * y + z.
23851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23852 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23853 * math/libm-test.inc (fma_test): Add more tests.
23854 (fma_test_towardzero): Likewise.
23855 (fma_test_downward): Likewise.
23856 (fma_test_upward): Likewise.
23857
4078da3d
TS
238582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23859
23860 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23861
903252aa
JM
238622012-10-31 Joseph Myers <joseph@codesourcery.com>
23863
23864 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23865 New variable.
23866
cbc818d0
TS
238672012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23868
23869 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23870
5a03cb1e
AS
238712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23872
23873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23874 Fix sort order.
23875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23876 Likewise.
23877
90aff2ff
TMQMF
238782012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23879
23880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23881 Fix the order of the list for glibc 2.17.
23882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23883 Likewise.
23884
1818fcb7
AS
238852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23886
23887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23888
ef82f4da
JM
238892012-10-31 Joseph Myers <joseph@codesourcery.com>
23890
16a0e2ec
JM
23891 [BZ #14610]
23892 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23893 for low part of x being zero before using __atanl (y).
23894 * math/libm-test.inc (atan2_test): Add another test.
23895
0eb69512
JM
23896 * manual/install.texi (Configuring and compiling): Document
23897 general use of test-wrapper and test-wrapper-env.
23898 * INSTALL: Regenerated.
23899
ef82f4da
JM
23900 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23901 (__fma): Do not extract and scale down low bits on after-rounding
23902 systems when result rounded to normal precision would have normal
23903 exponent.
23904 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23905 (__fmal): Do not extract and scale down low bits on after-rounding
23906 systems when result rounded to normal precision would have normal
23907 exponent.
23908 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23909 (__fmal): Do not extract and scale down low bits on after-rounding
23910 systems when result rounded to normal precision would have normal
23911 exponent.
23912 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23913 macro.
23914 (fma_test): Add more tests.
23915 (fma_test_towardzero): Likewise.
23916 (fma_test_downward): Likewise.
23917 (fma_test_upward): Likewise.
23918
954ef0d9
L
239192012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23920
23921 * sysdeps/i386/tininess.h: Renamed to ...
23922 * sysdeps/x86/tininess.h: This.
23923 * sysdeps/x86_64/tininess.h: Removed.
23924
df61ffb2
JM
239252012-10-30 Joseph Myers <joseph@codesourcery.com>
23926
23927 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23928 input. Use $(build-program-cmd).
23929 ($(objpfx)tst-array1-static.out): Likewise.
23930 ($(objpfx)tst-array2.out): Likewise.
23931 ($(objpfx)tst-array3.out): Likewise.
23932 ($(objpfx)tst-array4.out): Likewise.
23933 ($(objpfx)tst-array5.out): Likewise.
23934 ($(objpfx)tst-array5-static.out): Likewise.
23935
01767843
CM
239362012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23937
47cc1490
CM
23938 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23939 if defined.
23940
01767843
CM
23941 * nss/nsswitch.h (nss_interface_function): Provide new
23942 macro for use with NSS functions.
23943 * grp/initgroups.c: Use new macro.
23944 * nss/getXXbyYY.c: Likewise.
23945 * nss/getXXbyYY_r.c: Likewise.
23946 * nss/getXXent.c: Likewise.
23947 * nss/getXXent_r.c: Likewise.
23948 * sysdeps/posix/getaddrinfo.c: Likewise.
23949
8321aa97
AJ
239502012-10-30 Andreas Jaeger <aj@suse.de>
23951
23952 * po/ru.po: Update Russion translation from translation project.
23953
2a27fd6d
JM
239542012-10-30 Joseph Myers <joseph@codesourcery.com>
23955
8627a232
JM
23956 [BZ #14152]
23957 [BZ #14783]
23958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23959 result and shift together with sticky bit instead of replicating
23960 round-to-nearest rounding.
23961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23963 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23964 missing underflow exceptions.
23965 (fma_test_towardzero): Add more tests.
23966 (fma_test_downward): Likewise.
23967 (fma_test_upward): Likewise.
23968
2a27fd6d
JM
23969 [BZ #14047]
23970 * sysdeps/generic/tininess.h: New file.
23971 * sysdeps/i386/tininess.h: Likewise.
23972 * sysdeps/sh/tininess.h: Likewise.
23973 * sysdeps/x86_64/tininess.h: Likewise.
23974 * stdlib/tst-strtod-underflow.c: Likewise.
23975 * stdlib/tst-tininess.c: Likewise.
23976 * stdlib/strtod_l.c: Include <tininess.h>.
23977 (round_and_return): Do not set errno for exact underflow cases.
23978 Force an underflow exception when setting errno for underflow.
23979 Determine underflow based on rounding to normal precision if
23980 TININESS_AFTER_ROUNDING.
23981 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23982 ERANGE for exact underflow cases.
23983 * stdlib/Makefile (tests): Add tst-tininess and
23984 tst-strtod-underflow.
23985 ($(objpfx)tst-tininess): Use $(link-libm).
23986 ($(objpfx)tst-strtod-underflow): Likewise.
23987
e7170363
AJ
239882012-10-30 Andreas Jaeger <aj@suse.de>
23989
e5088dc6
AJ
23990 [BZ#14767]
23991 * elf/Makefile (tests): Remove conditional for have-initfini-array
23992 since this is now always required and the variable does not exist
23993 anymore.
23994 (tests-static): Likewise.
23995 (modules-names): Likewise.
23996
e7170363 23997 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23998
23999 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24000 merged with constructor/destructor.
24001 (init_array): Likewise.
24002 * elf/tst-array2dep.c (fini_array): Likewise.
24003 (init_array): Likewise.
24004
60457d8a
MF
240052012-10-29 Mike Frysinger <vapier@gentoo.org>
24006
24007 * manual/message.texi: Delete @cartouche tags.
24008
8bece752
PT
240092012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24010
94ce799f
PT
24011 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24012 EOPNOTSUPP.
24013 * sysdeps/mach/hurd/fsync.c: Likewise.
24014
8bece752
PT
24015 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24016 [_POSIX_REALTIME_SIGNALS]: Change condition to
24017 [_POSIX_REALTIME_SIGNALS > 0].
24018
86ebe6b1
AJ
240192012-10-27 Andreas Jaeger <aj@suse.de>
24020
24021 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24022 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24023 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24024 [__WORDSIZE != 64]: Likewise.
24025
54399c08
L
240262012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24027
24028 * iconvdata/tst-table.sh: Remove ${SHELL}.
24029 * iconvdata/tst-tables.sh: Likewise.
24030
e2211bed
DM
240312012-10-25 David S. Miller <davem@davemloft.net>
24032
24033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24034 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24035 of strtoull.
24036
f303f97c
DM
24037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24038 ifunc-impl-list.c
24039 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24040 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24041 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24042 file.
24043
1e9d84cd
RM
240442012-10-25 Roland McGrath <roland@hack.frob.com>
24045
24046 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24047 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24048 __getdirentries.
24049
df381762
JM
240502012-10-25 Joseph Myers <joseph@codesourcery.com>
24051 Jim Blandy <jimb@codesourcery.com>
24052
24053 * scripts/cross-test-ssh.sh: New file.
24054 * manual/install.texi (Configuring and compiling): Document use of
24055 cross-test-ssh.sh.
24056 * INSTALL: Regenerated.
24057
bff64913
PT
240582012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24059
24060 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24061 EOPNOTSUPP.
24062
25fe8932
JM
240632012-10-25 Joseph Myers <joseph@codesourcery.com>
24064
24065 * Makeconfig (run-program-prefix): Fix comment.
24066
cc1290d0
JM
240672012-10-24 Joseph Myers <joseph@codesourcery.com>
24068 Jim Blandy <jimb@codesourcery.com>
24069
24070 * Makeconfig (test-wrapper): New variable,
24071 (test-wrapper-env): Likewise.
24072 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24073 (run-built-tests): Define to yes.
24074 (run-program-prefix): Use $(test-wrapper).
24075 (built-program-cmd): Likewise.
24076 * Rules (make-test-out): Use $(test-wrapper-env) and
24077 $(host-built-program-cmd).
24078 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24079 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24080 tst-pathopt.sh.
24081 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24082 $(test-wrapper-env) to tst-rtld-load-self.sh.
24083 ($(objpfx)order2.out): Use $(test-wrapper).
24084 ($(objpfx)tst-initorder.out): Likewise.
24085 ($(objpfx)tst-initorder2.out): Likewise.
24086 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24087 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24088 (test_wrapper_env): New variable. Use it to run ld.so.
24089 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24090 Use it to run ld.so.
24091 (test_wrapper_env): Likewise.
24092 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24093 $(test-wrapper) to run-iconv-test.sh.
24094 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24095 (ICONV): Use $test_wrapper.
24096 * posix/Makefile ($(objpfx)globtest.out): Pass
24097 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24098 globtest.sh, not $(run-program-prefix).
24099 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24100 (test_wrapper): Likewise.
24101 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24102 set together with run_via_rtld_prefix.
24103 (run_program_prefix): Define in terms of test_wrapper and
24104 run_via_rtld_prefix.
24105
6e6249d0
RM
241062012-10-24 Roland McGrath <roland@hack.frob.com>
24107
24108 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24109 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24110 Targets removed.
24111
24112 [BZ #14743]
24113 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24114 Declare __clock_getres, __clock_gettime, __clock_settime,
24115 __clock_nanosleep, and __clock_getcpuclockid.
24116 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24117 Remove librt_hidden_def (clock_gettime).
24118 * sysdeps/unix/clock_gettime.c: Likewise.
24119 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24120 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24121 * rt/clock_getres.c: Define __clock_getres as an alias.
24122 * sysdeps/posix/clock_getres.c: Likewise.
24123 * rt/clock_settime.c: Define __clock_settime as an alias.
24124 * sysdeps/unix/clock_settime.c: Likewise.
24125 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24126 * sysdeps/unix/clock_nanosleep.c: Likewise.
24127 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24128 * rt/clock-compat.c: New file.
24129 * rt/Makefile (librt-routines): Add clock-compat and move
24130 $(clock-routines) to ...
24131 (routines): ... here, new variable.
24132 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24133 Don't add get_clockfreq here.
24134 * rt/Versions (libc: GLIBC_2.17): New version set.
24135 Add clock_* symbols here.
24136 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24137 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24138 (GLIBC_2.17): Add clock_* symbols.
24139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24143 Likewise.
24144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24145 Likewise.
24146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24150 * NEWS: Mention the move.
24151
24152 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24153 Use __open, __read, __close rather than their public counterparts.
24154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24155 (__get_clockfreq_via_cpuinfo): Likewise.
24156 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24157 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24158
24159 * config.h.in (HAVE_IFUNC): New #undef.
24160 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24161 was successful.
24162 * configure: Regenerated.
24163
0cae3f4b
MF
241642012-10-24 Mike Frysinger <vapier@gentoo.org>
24165
24166 * configure.in: Move READELF check to start of file.
24167 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24168 libc_cv_asm_gnu_indirect_function in the process.
24169 * configure: Regenerated.
24170
8175a253
MF
241712012-10-24 Mike Frysinger <vapier@gentoo.org>
24172
24173 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24174 send the output to /dev/null.
24175 (libc_cv_cc_with_libunwind): Likewise.
24176 (libc_cv_as_noexecstack): Likewise.
24177 * configure: Regenerate.
24178
0708a7d1
JM
241792012-10-24 Joseph Myers <joseph@codesourcery.com>
24180
10b40d85
JM
24181 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24182
0708a7d1
JM
24183 * posix/globtest.sh (TMPDIR): Do not set.
24184 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24185 (testout): Likewise.
24186
9fddec1a
AJ
241872012-10-24 Andreas Jaeger <aj@suse.de>
24188
3a8db22f
AJ
24189 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24190 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24191 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24192 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24193 posix_fadvise64, posix_fallocate64.
24194
9fddec1a
AJ
24195 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24196 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24197 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24198 Likewise.
24199 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24200 Likewise.
24201 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24202
24203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24204 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24205 <bits/fcntl-linux.h>.
24206 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24207
24208 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24209 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24210 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24211 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24212 [__WORDSIZE != 64]: Likewise.
24213
ebfd1bbd
JM
242142012-10-23 Joseph Myers <joseph@codesourcery.com>
24215
03ac099f
JM
24216 * Makeconfig (run-built-tests): New variable.
24217 * Rules [$(cross-compiling) = yes]: Change condition to
24218 [$(run-built-tests) = no].
24219 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24220 to [$(run-built-tests) = yes].
24221 * elf/Makefile [$(cross-compiling) = no]: Likewise
24222 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24223 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24224 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24225 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24226 * io/Makefile [$(cross-compiling) = no]: Likewise.
24227 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24228 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24229 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24230 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24231 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24232 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24233 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24234 * string/Makefile [$(cross-compiling) = no]: Likewise.
24235
ebfd1bbd
JM
24236 * posix/Makefile ($(objpfx)globtest.out): Pass
24237 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24238 $(rtld-installed-name).
24239 * posix/globtest.sh (elf_objpfx): Remove variable.
24240 (rtld_installed_name): Likewise.
24241 (library_path): Likewise.
24242 (run_program_prefix): New variable. Use for running globtest
24243 binary.
24244
166bca24
JB
242452012-10-23 Jim Blandy <jimb@codesourcery.com>
24246 Joseph Myers <joseph@codesourcery.com>
24247
24248 * Makeconfig (host-built-program-cmd): New variable.
24249 * elf/Makefile (tst-stackguard1-ARGS): Use
24250 $(host-built-program-cmd).
24251 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24252 (tst-spawn-ARGS): Likewise.
24253 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24254
88866099
JM
242552012-10-23 Joseph Myers <joseph@codesourcery.com>
24256 Jim Blandy <jimb@codesourcery.com>
24257
24258 * Makeconfig (run-via-rtld-prefix): New variable.
24259 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24260 (built-program-cmd): Likewise.
24261
b4b4c296
AJ
242622012-10-22 Andreas Jaeger <aj@suse.de>
24263
24264 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24265 __O_RSYNC if it exists, otherwise to O_SYNC.
24266
6fb54a22
JB
242672012-10-22 Jim Blandy <jimb@codesourcery.com>
24268 Joseph Myers <joseph@codesourcery.com>
24269
24270 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24271 /dev/null.
24272 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24273 from /dev/null
24274 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24275 /dev/null.
24276
481b90b9
AJ
242772012-10-22 Andreas Jaeger <aj@suse.de>
24278
2a0e2669
AJ
24279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24280 Define always.
24281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24282
76e38f9a
AJ
24283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24284 bits/fcntl-linux.h.
24285
7cd37b43
AJ
24286 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24287 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24288
481b90b9
AJ
24289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24290 to __O_LARGEFILE.
24291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24292 to __O_LARGEFILE.
24293
aba75984
JB
242942012-10-21 Jim Blandy <jimb@codesourcery.com>
24295 Joseph Myers <joseph@codesourcery.com>
24296
24297 * config.make.in (NM): New variable.
24298
88d4247f
AJ
242992012-10-21 Andreas Jaeger <aj@suse.de>
24300
24301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24302 definitions and declarations that are provided by
24303 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24304
f2eed205
L
243052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24306
24307 [BZ #14683]
24308 * elf/Makefile (tests-static): Add tst-leaks1-static.
24309 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24310 ($(objpfx)tst-leaks1-static): New rule.
24311 ($(objpfx)tst-leaks1-static-mem): Likewise.
24312 (tst-leaks1-static-ENV): New macro.
24313 * elf/dl-open.c (dl_open_worker): Check the main application
24314 only if SHARED is defined.
24315 * elf/tst-leaks1-static.c: New file.
24316
335e6931
AJ
243172012-10-20 Andreas Jaeger <aj@suse.de>
24318
24319 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24320 generic values for Linux.
24321 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24322 and declarations that are provided by <bits/fcntl-linux.h> and
24323 include <bits/fcntl-linux.h>.
24324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24326
ac5c94d3
RM
243272012-10-20 Roland McGrath <roland@hack.frob.com>
24328
24329 * io/fcntl.h: Move include of <bits/types.h> to the top and
24330 include it unconditionally.
24331
de54b33a
L
243322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24333
228cfb01
L
24334 * wcsmbs/Makefile (tests-ifunc): New variable.
24335 (tests): Add $(tests-ifunc).
24336 * wcsmbs/test-wcschr-ifunc.c: New file.
24337 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24338 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24339 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24340 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24341 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24342
69f07e5f
L
24343 * string/Makefile (tests-ifunc): New variable.
24344 (tests): Add $(tests-ifunc).
24345 * string/test-memccpy.c (TEST_NAME): New macro.
24346 * string/test-memchr.c (TEST_NAME): Likewise.
24347 * string/test-memcmp.c (TEST_NAME): Likewise.
24348 * string/test-memcpy.c (TEST_NAME): Likewise.
24349 * string/test-memmem.c (TEST_NAME): Likewise.
24350 * string/test-memmove.c (TEST_NAME): Likewise.
24351 * string/test-memset.c (TEST_NAME): Likewise.
24352 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24353 * string/test-stpcpy.c (TEST_NAME): Likewise.
24354 * string/test-stpncpy.c (TEST_NAME): Likewise.
24355 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24356 * string/test-strcasestr.c (TEST_NAME): Likewise.
24357 * string/test-strcat.c (TEST_NAME): Likewise.
24358 * string/test-strchr.c (TEST_NAME): Likewise.
24359 * string/test-strcmp.c(TEST_NAME): Likewise.
24360 * string/test-strcpy.c (TEST_NAME): Likewise.
24361 * string/test-strcspn.c (TEST_NAME): Likewise.
24362 * string/test-strlen.c (TEST_NAME): Likewise.
24363 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24364 * string/test-strncmp.c (TEST_NAME): Likewise.
24365 * string/test-strncpy.c (TEST_NAME): Likewise.
24366 * string/test-strnlen.c (TEST_NAME): Likewise.
24367 * string/test-strpbrk.c (TEST_NAME): Likewise.
24368 * string/test-strrchr.c (TEST_NAME): Likewise.
24369 * string/test-strspn.c (TEST_NAME): Likewise.
24370 * string/test-strstr.c (TEST_NAME): Likewise.
24371 * string/test-bcopy-ifunc.c: New file.
24372 * string/test-bzero-ifunc.c: Likewise.
24373 * string/test-memccpy-ifunc.c: Likewise.
24374 * string/test-memchr-ifunc.c: Likewise.
24375 * string/test-memcmp-ifunc.c: Likewise.
24376 * string/test-memcpy-ifunc.c: Likewise.
24377 * string/test-memmem-ifunc.c: Likewise.
24378 * string/test-memmove-ifunc.c: Likewise.
24379 * string/test-mempcpy-ifunc.c: Likewise.
24380 * string/test-memset-ifunc.c: Likewise.
24381 * string/test-rawmemchr-ifunc.c: Likewise.
24382 * string/test-stpcpy-ifunc.c: Likewise.
24383 * string/test-stpncpy-ifunc.c: Likewise.
24384 * string/test-strcasecmp-ifunc.c: Likewise.
24385 * string/test-strcasestr-ifunc.c: Likewise.
24386 * string/test-strcat-ifunc.c: Likewise.
24387 * string/test-strchr-ifunc.c: Likewise.
24388 * string/test-strchrnul-ifunc.c: Likewise.
24389 * string/test-strcmp-ifunc.c: Likewise.
24390 * string/test-strcpy-ifunc.c: Likewise.
24391 * string/test-strcspn-ifunc.c: Likewise.
24392 * string/test-strlen-ifunc.c: Likewise.
24393 * string/test-strncasecmp-ifunc.c: Likewise.
24394 * string/test-strncat-ifunc.c: Likewise.
24395 * string/test-strncmp-ifunc.c: Likewise.
24396 * string/test-strncpy-ifunc.c: Likewise.
24397 * string/test-strnlen-ifunc.c: Likewise.
24398 * string/test-strpbrk-ifunc.c: Likewise.
24399 * string/test-strrchr-ifunc.c: Likewise.
24400 * string/test-strspn-ifunc.c: Likewise.
24401 * string/test-strstr-ifunc.c: Likewise.
24402
de54b33a
L
24403 * debug/Makefile (tests-ifunc): New variable.
24404 (tests): Add $(tests-ifunc).
24405 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24406 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24407 * debug/test-stpcpy_chk-ifunc.c: New file.
24408 * debug/test-strcpy_chk-ifunc.c: Likewise.
24409
88481c16
SP
244102012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24411
24412 [BZ #13601]
24413 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24414 header is not read in.
24415
135948bd
JM
244162012-10-19 Joseph Myers <joseph@codesourcery.com>
24417
89f1c388
JM
24418 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24419 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24420 directly. Pass built executable to script as
24421 $(built-program-cmd).
24422 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24423 $testprogram without using LD_LIBRARY_PATH and $ldso.
24424
e40a0d21
JM
24425 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24426 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24427 $(rtld-installed-name).
24428 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24429 (rtld_installed_name): Likewise.
24430 (library_path): Likewise.
24431 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24432 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24433 $(run-program-prefix) to tst-tables.sh.
24434 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24435 it to run tst-table-from and tst-table-to.
24436 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24437 Pass it to tst-table.sh.
24438 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24439 $(run-program-prefix) to tst-gettext.sh.
24440 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24441 tst-translit.sh.
24442 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24443 tst-gettext2.sh.
24444 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24445 to run tst-gettext.
24446 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24447 to run tst-gettext2.
24448 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24449 to run tst-translit.
24450 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24451 $(run-program-prefix) to tst-mtrace.sh.
24452 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24453 to run tst-mtrace.
24454 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24455 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24456 $(rtld-installed-name).
24457 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24458 (rtld_installed_name): Likewise.
24459 (run_program_prefix): New variable. Use it to run wordexp-test.
24460
728e272a
JM
24461 * Makeconfig (ARCH): Remove all definitions.
24462 (machine): Likewise.
24463 [ARCH]: Remove conditional code.
24464 [!objdir]: Give error.
24465 [!objdir] (objpfx): Remove.
24466 [!objdir] (common-objpfx): Likewise.
24467 [!objdir] (common-objdir): Likewise.
24468 * configure.in (config_makefile): Remove. Hardcode Makefile in
24469 AC_CONFIG_FILES call.
24470 * configure: Regenerated.
24471
d528cdcf
JM
24472 [BZ #13888]
24473 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24474 or TMPDIR.
24475 (testout): Likewise.
24476
135948bd
JM
24477 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24478 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24479 $(rtld-installed-name).
24480 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24481 (rtld_installed_name): Likwise.
24482 (runit): Remove function.
24483 (run_getconf): New variable, Use it for running getconf binary.
24484
38c78296
L
244852012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24486
24487 [BZ #14716]
24488 * string/test-memmem.c (check_result): New function.
24489 (do_one_test): Use it.
24490 (check1): New function.
24491 (test_main): Use it.
24492
d077f65f
MT
244932012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24494
24495 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24496
ced52c71
JM
244972012-10-18 Joseph Myers <joseph@codesourcery.com>
24498
24499 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24500 (_G_LSEEK64): Likewise.
24501 (_G_MMAP64): Likewise.
24502 (_G_FSTAT64): Likewise.
24503 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24504 (_G_LSEEK64): Likewise.
24505 (_G_MMAP64): Likewise.
24506 (_G_FSTAT64): Likewise.
24507 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24508 unconditional. Call __mmap64 directly.
24509 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24510 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24511 __lseek64 directly.
24512 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24513 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24514 __mmap64 directly.
24515 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24516 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24517 __lseek64 directly.
24518 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24519 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24520 __lseek64 directly.
24521 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24522 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24523 __lseek64 directly.
24524 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24525 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24526 __fxstat64 directly.
24527 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24528 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24529 unconditional.
24530 (freopen64) [!_G_OPEN64]: Remove conditional code.
24531 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24532 unconditional.
24533 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24534 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24535 unconditional.
24536 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24537 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24538 unconditional.
24539 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24540 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24541 unconditional.
24542 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24543 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24544 unconditional.
24545 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24546 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24547 unconditional.
24548 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24549 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24550 unconditional.
24551 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24552
b741de23
SP
245532012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24554
24555 [BZ #12140]
24556 * manual/memory.texi (Malloc Tunable Parameters): Add note
24557 about free list pointers overwriting some perturb bytes.
24558 Wording suggested by Roland McGrath.
24559
f9b9d9c9
JM
245602012-10-17 Joseph Myers <joseph@codesourcery.com>
24561
24562 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24563 (lgamma_test): Likewise.
24564 (tgamma_test): Likewise.
24565
172a631a
FW
245662012-10-16 Florian Weimer <fweimer@redhat.com>
24567
24568 [BZ #14700]
24569 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24570 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24571
e9f37252
MK
245722012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24573
24574 * NEWS: Mention BZ #14716.
24575 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24576 when removing AVAILABLE1_USES_J macro.
24577
d394eb74
L
245782012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24579
24580 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24581 (__bswap_64): __uint64_t for unsigned 64-bit int.
24582
ca38dc17
AS
245832012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24584
24585 * include/string.h (memmem): Declare libc hidden alias.
24586 * string/memmem.c (memmem): Define libc hidden alias.
24587 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24588 __read, __close instead of open, read, close.
24589
9a387d1f
L
245902012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24591
ac49ecaf
L
24592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24593 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24594 global and hidden.
24595 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24596 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24597 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24598 Likewise.
24599 (__rawmemchr_sse2): Likewise.
24600 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24601 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24602 (__strchr_sse2): Likewise.
24603 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24604 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24605 (__strcasecmp_sse2): Likewise.
24606 (__strncasecmp_sse2): Likewise.
24607 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24608 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24609 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24610 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24611 (__strrchr_sse2): Likewise.
24612 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24613 ifunc-impl-list.c.
24614 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24615 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24616 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24617 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24618 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24619 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24620 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24621 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24622 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24623 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24624 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24625 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24626 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24627 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24628 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24629 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24630 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24631 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24632 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24633 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24634 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24635 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24636 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24637 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24638 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24639 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24640 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24641 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24642 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24643 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24644
b090e8ea
L
24645 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24646 global and hidden.
24647 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24648 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24649 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24650 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24651 Likewise.
24652 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24653 Likewise.
24654 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24655 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24656 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24657 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24658 ifunc-impl-list.c.
24659 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24660 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24661 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24662 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24663 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24664 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24665 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24666 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24667 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24668 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24669 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24670 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24671 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24672 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24673 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24674 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24675 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24676 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24677 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24678 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24679 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24680 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24681 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24682 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24683 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24684 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24685 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24686 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24687 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24688 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24689 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24690 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24691 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24692 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24693 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24694 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24695 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24696 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24697 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24698 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24699 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24700
11dd4af6
L
24701 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24702 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24703 * include/ifunc-impl-list.h: New file.
24704 * misc/ifunc-impl-list.c: Likewise.
24705 * misc/Makefile (routines): Add ifunc-impl-list.
24706 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24707 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24708 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24709 TEST_NAME]: New variables.
11dd4af6
L
24710 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24711 are defined.
24712 (test_init): Call __libc_ifunc_impl_list to initialize
24713 func_list if TEST_IFUNC and TEST_NAME are defined.
24714
9a387d1f
L
24715 * string/Makefile (strop-tests): Add bcopy and bzero.
24716 * string/test-bcopy.c: New file.
24717 * string/test-bzero.c: Likewise.
24718 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24719 defined.
24720 * string/test-memset.c: Support bzero test if TEST_BZERO is
24721 defined.
24722 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24723 __libc_memmove.
24724 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24725 __libc_memset.
24726 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24727 of memset.
24728
472371b9
JM
247292012-10-10 Joseph Myers <joseph@codesourcery.com>
24730
1e4a9536
JM
24731 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24732 * configure: Regenerated.
24733
d173d12e
JM
24734 * Makeconfig (+link-static-before-libc): Don't include
24735 $(link-static-libc).
24736
472371b9
JM
24737 * libio/libio.h (_IO_pos_t): Remove.
24738
89a3ad0b
AO
247392012-10-10 Alexandre Oliva <aoliva@redhat.com>
24740
24741 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24742 McGrath.
24743
e7451425
AO
247442012-10-10 Alexandre Oliva <aoliva@redhat.com>
24745
24746 * crypt/crypt-entry.c: Include fips-private.h.
24747 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24748 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24749 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24750 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24751
4ba74a35
AO
247522012-10-10 Alexandre Oliva <aoliva@redhat.com>
24753
24754 * crypt/crypt-private.h: Include stdbool.h.
24755 (_ufc_setup_salt_r): Return bool.
24756 * crypt/crypt-entry.c: Include errno.h.
24757 (__crypt_r): Return NULL with EINVAL for bad salt.
24758 * crypt/crypt_util.c (bad_for_salt): New.
24759 (_ufc_setup_salt_r): Check that salt is long enough and within
24760 the specified alphabet.
24761 * crypt/badsalttest.c: New file.
24762 * crypt/Makefile (tests): Add it.
24763 ($(objpfx)badsalttest): New.
24764
f96f1242
MK
247652012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24766
24767 * NEWS: Add entry for BZ #14602.
24768
0e8e0c1c
JM
247692012-10-09 Joseph Myers <joseph@codesourcery.com>
24770
24771 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24772 type-generic.
24773 * math/libm-test.inc: Update comment listing what functions and
24774 macros are tested.
24775 (isgreater_test): New function.
24776 (isgreaterequal_test): Likewise.
24777 (isless_test): Likewise.
24778 (islessequal_test): Likewise.
24779 (islessgreater_test): Likewise.
24780 (isunordered_test): Likewise.
24781 (main): Call the new functions.
24782
273edc5e
RM
247832012-10-09 Roland McGrath <roland@hack.frob.com>
24784
b8493de0
RM
24785 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24786 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24787 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24788 * sysdeps/i386/configure: Regenerated.
24789 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24790 * sysdeps/mach/configure: Regenerated.
24791 * sysdeps/mach/hurd/configure: Regenerated.
24792 * sysdeps/powerpc/configure: Regenerated.
24793 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24794 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24795 * sysdeps/s390/s390-32/configure: Regenerated.
24796 * sysdeps/s390/s390-64/configure: Regenerated.
24797 * sysdeps/sh/configure: Regenerated.
24798 * sysdeps/sparc/configure: Regenerated.
24799 * sysdeps/unix/sysv/linux/configure: Regenerated.
24800 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24801 * sysdeps/x86_64/configure: Regenerated.
24802
273edc5e
RM
24803 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24804 defined. Don't check if MAP is NULL.
24805
c8450f70
JM
248062012-10-09 Joseph Myers <joseph@codesourcery.com>
24807
24808 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24809 (_G_stat64): Likewise.
24810 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24811 (_G_stat64): Likewise.
24812 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24813 instead of struct _G_stat64.
24814 * libio/fileops.c (mmap_remap_check): Likewise.
24815 (decide_maybe_mmap): Likewise.
24816 (_IO_new_file_seekoff): Likewise.
24817 (_IO_file_stat): Likewise.
24818 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24819 _G_off64_t.
24820 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24821 instead of struct _G_stat64.
24822 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24823
57e605ba
MK
248242012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24825
24826 [BZ #14602]
24827 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24828 Replace with ...
24829 (CHECK_EOL): New macro.
24830 (two_way_short_needle): Check beginning of haystack for EOL. Use
24831 CHECK_EOL.
24832 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24833 Replace with CHECK_EOL.
24834 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24835 Replace with CHECK_EOL.
24836
ef1bb361
JM
248372012-10-08 Joseph Myers <joseph@codesourcery.com>
24838
24839 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24840 type-generic.
24841 * math/libm-test.inc: Update comment listing what functions and
24842 macros are tested.
24843 (finite_test): New function.
24844 (isinf_test): Likewise.
24845 (isnan_test): Likewise.
24846 (fpclassify_test): Test subnormal input.
24847 (isfinite_test): Likewise.
24848 (isnormal_test): Likewise.
24849 (main): Call the new functions.
24850
55f11534
JN
248512012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24852
24853 [BZ #14660]
24854 * Makerules (%.dynsym): Force C locale when running
24855 $(OBJDUMP) --dynamic-syms.
24856
1ab29350
AS
248572012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24858
24859 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24860 <stdint.h>.
24861
f1ecb7ef
DM
248622012-10-06 David S. Miller <davem@davemloft.net>
24863
24864 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24865 upper 32-bits of the length value in %o2 since we use branch-on-register
24866 tests which consider the entire 64-bit register.
24867
5d41d91a
L
248682012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24869
24870 * string/test-strstr.c (check2): Add a test for page boundary.
24871
3baddb72
DM
248722012-10-05 David S. Miller <davem@davemloft.net>
24873
24874 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24875 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24876 file.
24877 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24878 sysdep_routines.
24879 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24880 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24881 and bzero when HWCAP_SPARC_CRYPTO is present.
24882
9cee5585
L
248832012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24884
d7e0dab9
L
24885 [BZ #14602]
24886 * string/test-strstr.c (check2): New function.
24887 (test_main): Call check2.
24888
03759f47
L
24889 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24890 and bug-strchr1.
24891 * string/bug-strcasestr1.c (do_test): Moved to ...
24892 * string/test-strcasestr.c (check1): Here. New function.
24893 (do_one_test): Break out result checking code into ...
24894 (check_result): This. New function.
24895 (do_one_test): Call check_result.
24896 (test_main): Call check1.
24897 * string/bug-strchr1.c (do_test): Moved to ...
24898 * string/test-strchr.c (check1): Here. New function.
24899 (do_one_test): Break out result checking code into ...
24900 (check_result): This. New function.
24901 (do_one_test): Call check_result.
24902 (test_main): Call check1.
24903 * string/bug-strstr1.c (main): Moved to ...
046f153e 24904 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24905 (do_one_test): Break out result checking code into ...
24906 (check_result): This. New function.
24907 (do_one_test): Call check_result.
24908 (test_main): Call check1.
24909 * string/bug-strcasestr1.c: Removed.
24910 * string/bug-strchr1.c: Likewise.
24911 * string/bug-strstr1.c: Likewise.
24912
53cea63e
L
24913 * elf/Makefile (dl-routines): Add hwcaps.
24914 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24915 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24916 (_dl_important_hwcaps): Moved to ...
24917 * elf/dl-hwcaps.c: Here. New file.
24918 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24919
9cee5585 24920 [BZ #14557]
bb859b06
L
24921 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24922 if IS_IN_rtld isn't defined.
24923
9cee5585
L
24924 * elf/dl-support.c (_dl_sysinfo_map): New.
24925 Include "get-dynamic-info.h" and "setup-vdso.h".
24926 (_dl_non_dynamic_init): Call setup_vdso.
24927 * elf/dynamic-link.h: Don't include <assert.h>.
24928 (elf_get_dynamic_info): Moved to ...
24929 * elf/get-dynamic-info.h: Here. New file.
24930 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24931 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24932 * elf/setup-vdso.h: Here. New file.
24933 * elf/rtld.c: Include "setup-vdso.h".
24934 (dl_main): Call setup_vdso.
24935
23c31b76
JM
249362012-10-05 Joseph Myers <joseph@codesourcery.com>
24937
28234b07
JM
24938 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24939 creal in comment listing functions tested. List finite, isinf,
24940 isnan, isless, islessequal, isgreater, isgreaterequal,
24941 islessgreater, isunordered, lgamma_r and pow10 as functions and
24942 macros not tested. Mention which functions not tested are aliases
24943 for other functions. Fix typo. Note that signs of NaNs are not
24944 tested.
24945
23c31b76
JM
24946 * scripts/config.guess: Update from config.git.
24947 * scripts/config.sub: Likewise.
24948
9043e228
RM
249492012-10-04 Roland McGrath <roland@hack.frob.com>
24950
24951 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24952 * misc/madvise.c (madvise): Renamed to __madvise.
24953 Make madvise a weak alias.
24954 * include/sys/mman.h: Declare __madvise.
24955 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24956 * sysdeps/unix/syscalls.list
24957 (madvise): Make __madvise the strong name, and madvise a weak alias.
24958 * sysdeps/unix/sysv/linux/syscalls.list
24959 (madvise, mmap): Remove redundant entries.
24960 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24961 * malloc/malloc.c (mtrim): Likewise.
24962 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24963
f57f8055
RM
249642012-10-03 Roland McGrath <roland@hack.frob.com>
24965
24966 * sysdeps/mach/hurd/dl-cache.c: File removed.
24967 * config.h.in (USE_LDCONFIG): New #undef.
24968 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24969 * configure: Regenerated.
24970 * elf/Makefile (dl-routines): Add dl-cache only under
24971 [$(use-ldconfig) = yes].
24972 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24973 cache on [USE_LDCONFIG].
24974 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24975 [USE_LDCONFIG].
24976 * elf/rtld.c (dl_main): Likewise.
24977
5bb0c10a
PT
249782012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24979
24980 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24981 _SC_LEVEL4_CACHE_LINESIZE.
24982
010188c6
RM
249832012-10-03 Roland McGrath <roland@hack.frob.com>
24984
24985 * sysdeps/unix/bsd/confstr.h: File removed.
24986
b6c5ec07
AO
249872012-10-02 Alexandre Oliva <aoliva@redhat.com>
24988
24989 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24990 sys/sdt-config.h.
24991
408223d4
RM
249922012-10-02 Roland McGrath <roland@hack.frob.com>
24993
24994 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24995 Make 'mapoff' field ElfW(Off) rather than off_t.
24996
bb9510dc
DL
249972012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24998
fc997c6e
DL
24999 * nscd/Makefile: Remove nscd-cflags and all its users.
25000 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25001 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25002
bb9510dc
DL
25003 [BZ #10631]
25004 * malloc.c (malloc_printerr): Clarify error message.
25005
05699367
L
250062012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25007
25008 [BZ #14648]
25009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25010 Set bit_FMA_Usable if FMA is supported.
25011 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25012 macro.
25013 (bit_FMA4_Usable): Updated.
25014 (index_FMA_Usable): New macro.
25015 (CPUID_FMA): Likewise
25016 (HAS_FMA): Defined with bit_FMA_Usable.
25017
51367701
RM
250182012-10-01 Roland McGrath <roland@hack.frob.com>
25019
25020 * bits/types.h (__swblk_t): Type removed.
25021 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25022 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25024 (__SWBLK_T_TYPE): Likewise.
25025 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25026 (__SWBLK_T_TYPE): Likewise.
25027 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25028 (__SWBLK_T_TYPE): Likewise.
25029 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25030 (__SWBLK_T_TYPE): Likewise.
25031
4d57bf63 250322012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25033 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25034
25035 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25036 (xdr_mapname): Use YPMAXMAP as maxsize.
25037 (xdr_peername): Use YPMAXPEER as maxsize.
25038 (xdr_keydat): Use YPAXRECORD as maxsize.
25039 (xdr_valdat): Use YPMAXRECORD as maxsize.
25040
93c65d43
RM
250412012-10-01 Roland McGrath <roland@hack.frob.com>
25042
497a03d6
RM
25043 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25044
93c65d43
RM
25045 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25046 * csu/init-first.c: ... here.
25047 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25048 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25049 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25050 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25051 * sysdeps/i386/init-first.c: File removed.
25052 * sysdeps/sh/init-first.c: File removed.
25053
bec749fd
JM
250542012-10-01 Joseph Myers <joseph@codesourcery.com>
25055
25056 [BZ #14645]
25057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25058 if x * y might underflow to zero and z is zero.
25059 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25060 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25061 * math/libm-test.inc (min_subnorm_value): New variable.
25062 (fma_test): Add more tests.
25063 (fma_test_towardzero): Likewise.
25064 (fma_test_downward): Likewise
25065 (fma_test_upward): Likewise.
25066 (initialize): Set min_subnorm_value.
25067
8ec5b013
JM
250682012-09-29 Joseph Myers <joseph@codesourcery.com>
25069
25070 [BZ #14638]
25071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25072 0 + 0.
25073 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25074 mode for addition resulting in exact zero.
25075 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25077 exact 0 + 0.
25078 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25080 * math/libm-test.inc (fma_test): Add more tests.
25081 (fma_test_towardzero): New function.
25082 (fma_test_downward): Likewise.
25083 (fma_test_upward): Likewise.
25084 (main): Call the new functions.
25085
b1fa802e
DM
250862012-09-28 David S. Miller <davem@davemloft.net>
25087
25088 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25089
d3b9fd9e
RM
250902012-09-28 Roland McGrath <roland@hack.frob.com>
25091
ea4d37b3
RM
25092 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25093 instead of SIGALRM.
25094
ac51c949
RM
25095 * sysdeps/gnu/_G_config.h: Moved to ...
25096 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25097 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25098 * sysdeps/generic/_G_config.h: ... here.
25099
28c195f7
RM
25100 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25101
848917f9
RM
25102 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25103
6bacf05b
RM
25104 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25105 Conditionalize target on [libnss_test1.so-version].
25106
91363dbb
RM
25107 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25108
cc87f7d8
RM
25109 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25110 (elfobjdir): Move out of conditionals.
25111
b1c608fe
RM
25112 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25113 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25114 (__nss_lookup_function): Conditionalize label remove_from_tree on
25115 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25116
1d9a6d96
DM
251172012-09-28 David S. Miller <davem@davemloft.net>
25118
25119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25120 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25121 file.
25122 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25123 sysdep_routines.
25124 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25126 when HWCAP_SPARC_CRYPTO is present.
25127
72581615
PT
251282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25129
25130 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25131
715a900c
JL
251322012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25133
25134 [BZ #6530]
25135 * stdio-common/vfprintf.c (process_string_arg): Revert
25136 2000-07-22 change.
25137
251382011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25139
25140 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25141 for testcase.
25142 * stdio-common/tst-sprintf.c: Include <locale.h>
25143 (main): Test sprintf's handling of incomplete multibyte
25144 characters.
25145
9bac1d86
L
251462012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25147
25148 * elf/dl-runtime.c (VERSYMIDX): Removed.
25149 * elf/dl-version.c (VERSYMIDX): Likewise.
25150 * elf/do-rel.h (VERSYMIDX): Likewise.
25151 (VALIDX): Likewise.
25152 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25153 * elf/rtld.c (VALIDX): Likewise.
25154 (ADDRIDX): Likewise.
9bac1d86
L
25155 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25156 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25157 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25158 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25159 (VALIDX): Likewise.
25160 (ADDRIDX): Likewise.
9bac1d86 25161
b31606c0
PT
251622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25163
25164 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25165
11541177
JL
251662012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25167
25168 [BZ #11438]
25169 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25170 to global scope.
25171 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25172 addresses are in the same scope as 192.0.2/24.
25173 * posix/gai.conf: Document new scope table defaults.
25174
adb26fae
SP
251752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25176
25177 [BZ #5298]
25178 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25179 for ftell. Compute offsets from write pointers instead.
25180 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25181
4573c6b0
SP
251822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25183
25184 [BZ #14543]
25185 * libio/Makefile (tests): New test case tst-fseek.
25186 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25187 combination works in wide mode.
25188 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25189 state when the external buffer state changes.
25190
aa9bbfe6
DM
251912012-09-27 David S. Miller <davem@davemloft.net>
25192
25193 [BZ #14376]
25194 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25195 pass reloc->r_addend in as the 'high' argument to
25196 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25197
784421e7
DM
25198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25199
c39bc8b8
PT
252002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25201
25202 * rt/tst-aio2.c: Include <pthread.h>.
25203 * rt/tst-aio3.c: Likewise.
25204
1ccc2399
SE
252052012-09-27 Steve Ellcey <sellcey@mips.com>
25206
25207 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25208
31ed4153
L
252092012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25210
25f5f885
L
25211 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25212 contents on [SHARED].
31ed4153 25213
b7bfe116
MP
252142012-09-26 Marek Polacek <polacek@redhat.com>
25215
25216 [BZ #14530]
25217 [BZ #13741]
25218 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25219 for C++ and GCC <4.3 as well as for non GCC compilers.
25220
43c4edba
MT
252212012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25222
25223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25224
6a1bf82f
RM
252252012-09-25 Roland McGrath <roland@hack.frob.com>
25226
25227 * Makefile.in (all, install): Declare with .PHONY.
25228 Reported by Michael Hope <michael.hope@linaro.org>.
25229
8ad11b9a
TMQMF
252302012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25231
25232 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25233 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25234 system header.
25235 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25236 Likewise.
25237 (sydep_routines): Add the new and the internal functions.
25238 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25239 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25241 (GLIBC_2.17): Add the new function.
25242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25243 (GLIBC_2.17): Likewise.
25244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25245 (GLIBC_2.17): Likewise.
25246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25247 (GLIBC_2.17): Likewise.
25248 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25249
7e2fca8d
AM
252502012-09-25 Alan Modra <amodra@gmail.com>
25251
25252 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25253 Add release barrier before setting once_control to say
25254 initialisation is done. Add hints on lwarx. Use macro in
25255 place of isync.
25256 (clear_once_control): Add release barrier.
25257
b87c4b24
JM
252582012-09-25 Joseph Myers <joseph@codesourcery.com>
25259
d032e0d2
JM
25260 [BZ #13629]
25261 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25262 specially.
25263 * math/s_clog10.c (__clog10): Likewise.
25264 * math/s_clog10f.c (__clog10f): Likewise.
25265 * math/s_clog10l.c (__clog10l): Likewise.
25266 * math/s_clogf.c (__clogf): Likewise.
25267 * math/s_clogl.c (__clogl): Likewise.
25268 * math/Makefile (libm-calls): Add x2y2m1.
25269 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25270 (__x2y2m1): Likewise.
25271 (__x2y2m1l): Likewise.
25272 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25273 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25274 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25275 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25276 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25277 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25278 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25279 * sysdeps/i386/fpu/libm-test-ulps: Update.
25280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25281
b87c4b24
JM
25282 [BZ #14621]
25283 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25284 int as type of variable DEPTH.
25285 (glob): Use size_t instead of int as type of variables NEWCOUNT
25286 and OLD_PATHC.
25287
6d3bf199
LD
252882012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25289
22bf5c17
LD
25290 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25291 Add s_sincosf-sse2.
25292 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25293 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25294 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25295 macros for using routine as __sincosf_ia32.
25296 Use macro for function declaration and weak_alias.
25297 * sysdeps/i386/fpu/libm-test-ulps: Update.
25298
25299 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25301
25302 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25303 subnormal argument.
25304 * math/s_cexpf.c (__cexpf): Likewise.
25305 * math/s_csinf.c (__csinf): Likewise.
25306 * math/s_csinhf.c (__csinhf): Likewise.
25307 * math/s_ctanf.c (__ctanf): Likewise.
25308 * math/s_ctanhf.c (__ctanhf): Likewise.
25309 * math/s_ccosh.c (__ccoshf): Likewise.
25310 * math/s_cexp.c (__cexpl): Likewise.
25311 * math/s_csin.c (__csin): Likewise.
25312 * math/s_csinh.c (__csinh): Likewise.
25313 * math/s_ctan.c (__ctan): Likewise.
25314 * math/s_ctanh.c (ctanh): Likewise.
25315 * math/s_ccoshl.c (__ccoshl): Likewise.
25316 * math/s_cexpl.c (__cexpl): Likewise.
25317 * math/s_csinl.c (__csinl): Likewise.
25318 * math/s_csinhl.c (__csinhl): Likewise.
25319 * math/s_ctanl.c (__ctanl): Likewise.
25320 * math/s_ctanhl.c (__ctanhl): Likewise.
25321
203e5603
JM
253222012-09-25 Joseph Myers <joseph@codesourcery.com>
25323
25324 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25325 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25326 (_IO_off_t): Define to __off_t, not _G_off_t.
25327 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25328 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25329 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25330 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25331 type of __dummy and __dummy2 fields.
25332 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25333 (_G_ssize_t): Likewise.
25334 (_G_off_t): Likewise.
25335 (_G_pid_t): Likewise.
25336 (_G_uid_t): Likewise.
25337 (_G_wchar_t): Likewise.
25338 (_G_wint_t): Likewise.
25339 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25340 (_G_ssize_t): Likewise.
25341 (_G_off_t): Likewise.
25342 (_G_pid_t): Likewise.
25343 (_G_uid_t): Likewise.
25344 (_G_wchar_t): Likewise.
25345 (_G_wint_t): Likewise.
25346 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25347 (_G_ssize_t): Likewise.
25348 (_G_off_t): Likewise.
25349 (_G_pid_t): Likewise.
25350 (_G_uid_t): Likewise.
25351 (_G_wchar_t): Likewise.
25352 (_G_wint_t): Likewise.
25353
9fab36eb
SP
253542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25355
25356 * malloc/arena.c: Include malloc-sysdep.h.
25357 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25358 is sufficient to shrink the heap or an unmap is needed.
25359 * sysdeps/generic/malloc-sysdep.h: New file. Define
25360 new function check_may_shrink_heap.
25361 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25362 new function check_may_shrink_heap.
25363
2b4f00d1
SP
253642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25365
25366 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25367 comments.
25368
9a9028b1
DL
253692012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25370
57c69bef
DL
25371 * catgets/test-gencat.sh: Add "set -e".
25372 * elf/tst-pathopt.sh: Likewise.
25373 * grp/tst_fgetgrent.sh: Likewise.
25374 * iconvdata/run-iconv-test.sh: Likewise.
25375 * intl/tst-gettext.sh: Likewise.
25376 * intl/tst-gettext2.sh: Likewise.
25377 * intl/tst-gettext4.sh: Likewise.
25378 * intl/tst-gettext6.sh: Likewise.
25379 * intl/tst-translit.sh: Likewise.
25380 * io/ftwtest-sh: Likewise.
25381 * libio/test-freopen.sh: Likewise.
25382 * malloc/tst-mtrace.sh: Likewise.
25383 * posix/globtest.sh: Likewise.
25384 * posix/tst-getconf.sh: Likewise.
25385 * posix/wordexp-tst.sh: Likewise.
25386 * stdio-common/tst-printf.sh: Likewise.
25387 * stdio-common/tst-unbputc.sh: Likewise.
25388 * stdlib/tst-fmtmsg.sh: Likewise.
25389 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25390 * catgets/Makefile: Do not specify -e option when running
25391 testsuite shell scripts.
25392 * elf/Makefile: Likewise.
25393 * grp/Makefile: Likewise.
25394 * iconvdata/Makefile: Likewise.
25395 * intl/Makefile: Likewise.
25396 * io/Makefile: Likewise.
25397 * libio/Makefile: Likewise.
25398 * malloc/Makefile: Likewise.
25399 * posix/Makefile: Likewise.
25400 * stdio-common/Makefile: Likewise.
25401 * stdlib/Makefile: Likewise.
25402 * sysdeps/x86_64/Makefile: Likewise.
25403
9a9028b1
DL
25404 * io/ftwtest-sh: Add copyright header.
25405 * posix/globtest.sh: Likewise.
25406 * posix/tst-getconf.sh: Likewise.
25407 * posix/wordexp-tst.sh: Likewise.
25408 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25409
ced6f16e
L
254102012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25411
94b32c39
L
25412 [BZ #13679]
25413 * Makeconfig (+link): Defined as $(+link-static) if
25414 $(build-shared) isn't yes.
25415 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25416 isn't yes.
25417 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25418
189e935b
L
25419 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25420
ced6f16e
L
25421 [BZ #14562]
25422 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25423 new chunk size with MALLOC_ALIGN_MASK.
25424
a9f8e53a
JM
254252012-09-24 Joseph Myers <joseph@codesourcery.com>
25426
25427 [BZ #5044]
25428 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25429 <rounding-mode.h>.
25430 (__printf_fphex): Determine rounding using get_rounding_mode and
25431 round_away.
25432 * stdio-common/tst-printf-round.c (struct hex_test): New
25433 structure.
25434 (hex_tests): New variable.
25435 (test_hex_in_one_mode): New function.
25436 (do_test): Also run tests for hex float output.
25437
43153109
JM
254382012-09-21 Joseph Myers <joseph@codesourcery.com>
25439
25440 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25441 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25442 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25443 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25444 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25445 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25446 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25447 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25448
8a26625d
JM
254492012-09-20 Joseph Myers <joseph@codesourcery.com>
25450
25451 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25452 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25453 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25454 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25455
f3fd569c
DL
254562012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25457
25458 [BZ #14579]
25459 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25460 mode only.
25461 * elf/tst-rtld-load-self.sh: New test.
25462 * elf/Makefile: Run it.
25463
63bbedd4
JM
254642012-09-18 Joseph Myers <joseph@codesourcery.com>
25465
25466 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25467 (tst-writev-ENV): Remove.
25468 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25469
626f8b6a
CM
254702012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25471
25472 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25473
b7aaa4d6
JM
254742012-09-17 Joseph Myers <joseph@codesourcery.com>
25475
25476 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25477 unconditional.
25478 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25479 Likewise.
25480 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25481 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25482 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25483 Likewise.
25484
65513990
L
254852012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25486
25487 [BZ #14587]
25488 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25489 * config.make.in (have-cpp-asm-debuginfo): Removed.
25490 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25491 * configure: Regenerated.
25492
784761be
JM
254932012-09-14 Joseph Myers <joseph@codesourcery.com>
25494
25495 [BZ #5044]
25496 * stdio-common/printf_fp.c: Include <stdbool.h> and
25497 <rounding-mode.h>.
25498 (___printf_fp): Determine rounding using get_rounding_mode and
25499 round_away.
25500 * stdio-common/tst-printf-round.c: New file.
25501 * stdio-common/Makefile (tests): Add tst-printf-round.
25502 (link-libm): New variable.
25503 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25504
9503345f
L
255052012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25506
25507 [BZ #14576]
25508 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25509 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25510 Likewise.
25511 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25512 Likewise.
25513
ad35fc00
JM
255142012-09-13 Joseph Myers <joseph@codesourcery.com>
25515
25516 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25517 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25518 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25519 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25520
6c9b0f68
JM
255212012-09-12 Joseph Myers <joseph@codesourcery.com>
25522
25523 [BZ #14518]
25524 * include/rounding-mode.h: New file.
25525 * sysdeps/generic/get-rounding-mode.h: Likewise.
25526 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25527 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25528 (MAX_VALUE): New macro.
25529 (MIN_VALUE): Likewise.
25530 (overflow_value): New function.
25531 (underflow_value): Likewise.
25532 (round_and_return): Use overflow_value and underflow_value to
25533 determine return values in overflow and underflow cases. Use
25534 round_away to determine rounding depending on rounding mode.
25535 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25536 determine return values in overflow and underflow cases.
25537 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25538 (struct test_results): New structure.
25539 (struct test): Use struct test_results to store expected results
25540 for all rounding modes.
25541 (TEST): Include expected results for all rounding modes.
25542 (test_in_one_mode): New function.
25543 (do_test): Use test_in_one_mode to compute and check results.
25544 Check results for all rounding modes.
25545 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25546 $(link-libm).
25547
19fcedd5
AM
255482012-12-09 Allan McRae <allan@archlinux.org>
25549
1e9d84cd 25550 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25551
8bbfd2f1
JM
255522012-09-11 Joseph Myers <joseph@codesourcery.com>
25553
25554 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25555 (_G_int32_t): Likewise.
25556 (_G_uint16_t): Likewise.
25557 (_G_uint32_t): Likewise.
25558 (_G_HAVE_BOOL): Likewise.
25559 (_G_HAVE_ATEXIT): Likewise.
25560 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25561 (_G_HAVE_IO_FILE_OPEN): Likewise.
25562 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25563 (_G_int32_t): Likewise.
25564 (_G_uint16_t): Likewise.
25565 (_G_uint32_t): Likewise.
25566 (_G_HAVE_BOOL): Likewise.
25567 (_G_HAVE_ATEXIT): Likewise.
25568 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25569 (_G_HAVE_IO_FILE_OPEN): Likewise.
25570 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25571 (_G_int32_t): Likewise.
25572 (_G_uint16_t): Likewise.
25573 (_G_uint32_t): Likewise.
25574 (_G_HAVE_BOOL): Likewise.
25575 (_G_HAVE_ATEXIT): Likewise.
25576 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25577 (_G_HAVE_IO_FILE_OPEN): Likewise.
25578
b1dc5912
L
255792012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25580
25581 * csu/libc-tls.c: Update copyright years.
25582
0e886ef9
JM
255832012-09-10 Joseph Myers <joseph@codesourcery.com>
25584
28361c5e
JM
25585 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25586 [!_G_USING_THUNKS]: Remove conditional code.
25587 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25588 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25589
0e886ef9
JM
25590 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25591 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25592 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25593 (_G_VTABLE_LABEL_PREFIX): Likewise.
25594 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25595 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25596 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25597 (_G_VTABLE_LABEL_PREFIX): Likewise.
25598 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25599 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25600 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25601 (_G_VTABLE_LABEL_PREFIX): Likewise.
25602 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25603
bcba7aa2
L
256042012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25605
25606 * libio/Makefile: Include ../Makeconfig before tests.
25607 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25608 only if $(build-shared) is yes.
25609
06585ee8
L
25610 * iconv/gconv_db.c: Update copyright years.
25611
80ccd52c
LD
256122012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25613
25614 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25615 unwind info if defined PIC. Fix special cases description.
25616 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25617
25618 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25619 DP_HI_MASK entry.
25620 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25621
691bc9c1
L
256222012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25623
3d9b46b3
L
25624 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25625
de2139a9
L
25626 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25627 is NULL.
25628
5ca78dd0
L
25629 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25630 (LDLIBS-tst-chk4): This.
25631 (LDFLAGS-tst-chk5): Renamed to ...
25632 (LDLIBS-tst-chk5): This.
25633 (LDFLAGS-tst-chk6): Renamed to ...
25634 (LDLIBS-tst-chk6): This.
25635 (LDFLAGS-tst-lfschk4): Renamed to ...
25636 (LDLIBS-tst-lfschk4): This.
25637 (LDFLAGS-tst-lfschk5): Renamed to ...
25638 (LDLIBS-tst-lfschk5): This.
25639 (LDFLAGS-tst-lfschk6): Renamed to ...
25640 (LDLIBS-tst-lfschk6): This.
25641
691bc9c1
L
25642 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25643 on $(common-objpfx)soversions.mk.
25644
65cafb1c
JM
256452012-09-07 Joseph Myers <joseph@codesourcery.com>
25646
25647 [BZ #10014]
25648 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25649 example host name.
25650
c78ab094
SP
256512012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25652
25653 * malloc/arena.c (arena_get_retry): New function that gets
25654 another arena for the caller to try its request on.
25655 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25656 current arena cannot fulfill the request.
25657 (__libc_memalign): Likewise.
25658 (__libc_memalign): Likewise.
25659 (__libc_pvalloc): Likewise.
25660 (__libc_calloc): Likewise.
25661
01f49f59
JT
256622012-09-05 John Tobey <john.tobey@gmail.com>
25663
25664 [BZ #13542]
25665 * manual/arith.texi (Operations on Complex): Fix description
25666 of carg branch cut.
25667
4c23fed5
JM
256682012-09-06 Joseph Myers <joseph@codesourcery.com>
25669
1d3c8572
JM
25670 [BZ #10014]
25671 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25672 host name.
25673
4c23fed5
JM
25674 [BZ #10038]
25675 * manual/memory.texi (Memory): Make order of menu items match
25676 order of sections.
25677
04570aaa
L
256782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25679
25680 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25681 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25682 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25683
b80af2f4
L
256842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25685
25686 * csu/libc-tls.c (static_dtv): Renamed to ...
25687 (_dl_static_dtv): This. Make it global.
25688 (_dl_initial_dtv): Removed.
25689 (__libc_setup_tls): Updated.
25690 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25691 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25692 DL_INITIAL_DTV.
25693
2abe9f15
PM
256942012-09-06 Petr Machata <pmachata@redhat.com>
25695
25696 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25697 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25698 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25699 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25700
0948c3af
L
257012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25702
25703 [BZ #14545]
25704 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25705 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25706 freeing dtv[-1].
25707
a5055ad1
L
257082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25709
25710 [BZ #14544]
25711 * Makeconfig (link-static-before-libc): Replace $(+prector)
25712 with $(+prectorT).
25713 (link-static-after-libc): Replace $(+postctor) with
25714 $(+postctorT).
25715 (link-bounded): Replace $(+prector)/$(+postctor) with
25716 $(+prectorT)/$(+postctorT).
25717 (+prectorT): New macro.
25718 (+postctorT): Likewise.
25719
ed8c2ecd
JM
257202012-09-06 Joseph Myers <joseph@codesourcery.com>
25721
25722 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25723 (round_str): Handle values above the maximum for IBM long double
25724 as inexact.
25725 * stdlib/tst-strtod-round.c (tests): Regenerated.
25726
14c996c8
AK
257272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25728
25729 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25730 assembler flag.
25731 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25732 zarch_nohighgprs around the zarch optimized routines.
25733 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25734 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25735 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25736 for zarch.
25737
430d6ce6
DM
257382012-09-05 David S. Miller <davem@davemloft.net>
25739
25740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25741
57f41c40
AS
25742 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25743 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25744 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25745 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25746 entries.
25747
24d4e01b
AO
257482012-09-05 Alexandre Oliva <aoliva@redhat.com>
25749
25750 * malloc/arena.c: Fold copyright years.
25751 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25752
61d58174
AO
257532012-09-05 Alexandre Oliva <aoliva@redhat.com>
25754
25755 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25756
20196a5e
AO
257572012-09-05 Alexandre Oliva <aoliva@redhat.com>
25758
25759 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25760
5c447383
AO
257612012-09-05 Alexandre Oliva <aoliva@redhat.com>
25762
25763 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25764 change internal state upon failure.
25765
fad64255
AO
257662012-09-05 Alexandre Oliva <aoliva@redhat.com>
25767
25768 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25769 * malloc/memusage.c (mmap): Likewise.
25770 (mmap64, mremap): Likewise. Adjust name in comment.
25771
1ffb8c90
SP
257722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25773
25774 * libio/fileops.c: Fix typos in comments.
25775 * libio/oldfileops.c: Likewise.
25776 * libio/wfileops.c: Likewise.
25777
6ef9cc37
SP
257782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25779
25780 [BZ #1349]
25781 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25782 (tst-malloc-usable-ENV): Set environment for test case.
25783 * malloc/hooks.c (malloc_check_get_size): New function to get
25784 requested size.
25785 * malloc/malloc.c (musable): Use malloc_check_get_size.
25786 * malloc/tst-malloc-usable.c: New test case.
25787
4d038ae3
AS
257882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25789
25790 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25791
c4e85184
AM
257922012-09-05 Allan McRae <allan@archlinux.org>
25793
b9dafc56 25794 [BZ #13966]
c4e85184
AM
25795 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25796 determine header location.
25797 * configure: Regenerated.
25798
e1343020
AS
257992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25800
25801 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25802 float format.
25803 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25804 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25805 format.
e1343020
AS
25806 (test): Regenerate.
25807
0a9f1987
DM
258082012-09-04 David S. Miller <davem@davemloft.net>
25809
25810 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25811 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25812 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25813
29237804
FW
258142012-09-04 Florian Weimer <fweimer@redhat.com>
25815
25816 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25817 failures.
25818
edb3cb88
FW
25819 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25820
60160d83
JM
258212012-09-04 Joseph Myers <joseph@codesourcery.com>
25822
25823 [BZ #9914]
25824 * libio/iogetdelim.c: Include <limits.h>.
25825 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25826 + len + 1 would overflow.
25827
bcd6c8dc
AJ
258282012-09-03 Andreas Jaeger <aj@suse.de>
25829
25830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25831 * sysdeps/i386/fpu/libm-test-ulps: Update.
25832
4ffffbd2
LD
258332012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25834
25835 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25836 Add s_sinf-sse2, s_conf-sse2.
25837
25838 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25839 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25840 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25841 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25842
25843 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25844 for using routine as __sinf_ia32.
25845 Use macro for function declaration and weak_alias.
25846 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25847 for using routine as __cosf_ia32.
25848 Use macro for function declaration and weak_alias.
25849
25850 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25851 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25852
25853 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25854 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25856
25857 * math/libm-test.inc (cos_test): Add more test cases.
25858 (sin_test): Likewise.
25859 (sincos_test): Likewise.
25860
511fa286
AK
258612012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25862
25863 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25864 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25865 hidden.
25866 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25867
5f30cfec
L
258682012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25869
25870 [BZ #14538]
25871 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25872 first element of the GOT.
25873 (elf_machine_load_address): Return the difference between
25874 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25875
0786794f
AM
258762012-09-01 Allan McRae <allan@archlinux.org>
25877
5f30cfec
L
25878 [BZ #13412]
25879 * configure.in (AWK): Require gawk version 3.0 or later.
25880 * configure: Regenerated.
0786794f 25881
26889eac
JM
258822012-09-01 Joseph Myers <joseph@codesourcery.com>
25883
25884 * sysdeps/unix/sysv/linux/kernel-features.h
25885 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25886 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25887 [__NR_clock_getres]: Make code unconditional.
25888 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25889 (clock_getcpuclockid): Remove code left unreachable by removal of
25890 conditionals.
25891 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25892 code unconditional.
25893 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25894 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25895 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25896 Make code unconditional.
25897 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25898 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25899 * sysdeps/unix/sysv/linux/clock_settime.c
25900 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25901 conditional code.
25902 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25903 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25904
d22e28b0
L
259052012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25906
25907 [BZ #14476]
25908 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25909 scripts/test-installation.pl.
25910
25911 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25912 and $ld_so_version if it is set.
25913
050af9c4
SP
259142012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25915
25916 [BZ #14516]
25917 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25918 failure if reading from procfs failed.
25919 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25920
ad845c0b
JM
259212012-08-27 Joseph Myers <joseph@codesourcery.com>
25922
25923 * sysdeps/unix/sysv/linux/kernel-features.h
25924 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25925 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25926 Remove conditional code.
25927 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25928 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25929 Remove conditional code.
25930 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25931 * sysdeps/unix/sysv/linux/i386/fxstat.c
25932 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25933 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25934 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25935 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25936 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25937 * sysdeps/unix/sysv/linux/i386/lxstat.c
25938 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25939 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25940 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25941 Remove conditional code.
25942 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25943 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25944 Remove conditional code.
25945 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25946 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25947 <kernel-features.h>.
25948 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25949 Remove.
25950 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25951 Remove conditional code.
25952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25953 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25954 Remove conditional.
25955
5dbf56af
MF
259562012-08-27 Mike Frysinger <vapier@gentoo.org>
25957
25958 [BZ #5400]
25959 * NEWS: Add fixed bug number.
25960
d6e70f43
JM
259612012-08-27 Joseph Myers <joseph@codesourcery.com>
25962
7efb4737
JM
25963 [BZ #14519]
25964 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25965 underflowing exponent in case of negative sign.
25966 * stdlib/tst-strtod-round-data: Add more tests.
25967 * stdlib/tst-strtod-round.c (tests): Regenerated.
25968
af92131a
JM
25969 [BZ #3479]
25970 * stdlib/strtod_l.c (NDIG): Remove.
25971 (HEXNDIG): Likewise.
25972 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25973 smallest representable value.
25974 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25975 lie within an exact representation of 1/2 ulp of the result.
25976 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25977 unconditionally.
25978 (TENS_P9_IDX): Define unconditionally.
25979 (TENS_P9_SIZE): Likewise.
25980 (TENS_P10_IDX): Likewise.
25981 (TENS_P10_SIZE): Likewise.
25982 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25983 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25984 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25985 entries for 10^2^13 and 10^2^14.
25986 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25987 (TENS_P13_IDX): Define.
25988 (TENS_P13_SIZE): Likewise.
25989 (TENS_P14_IDX): Likewise.
25990 (TENS_P14_SIZE): Likewise.
25991 (_fpioconst_pow10): Change array size to
25992 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25993 unconditional.
25994 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25995 1024]: Add entries for 10^2^13 and 10^2^14.
25996 [LAST_POW10 > _LAST_POW10]: Remove #error.
25997 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25998 (_fpioconst_pow10): Change array size to
25999 FPIOCONST_POW10_ARRAY_SIZE.
26000 * stdlib/gen-fpioconst.c: New file.
26001 * stdlib/gen-tst-strtod-round.c: Likewise.
26002 * stdlib/tst-strtod-round-data: Likewise.
26003 * stdlib/tst-strtod-round.c: Likewise.
26004 * stdlib/Makefile (tests): Add tst-strtod-round.
26005
d6e70f43
JM
26006 [BZ #14459]
26007 * stdlib/strtod_l.c: Include <stdint.h>.
26008 (NDEBUG): Do not define.
26009 (round_and_return): Change EXPONENT parameter to type intmax_t.
26010 Rearrange calculations to avoid internal overflow possibilities.
26011 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26012 Rearrange calculations to avoid internal overflow possibilities.
26013 Assert that number fits inside MPNSIZE limbs.
26014 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26015 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26016 calculations and add assertions to avoid internal overflow
26017 possibilities. Add casts to avoid signed/unsigned operations.
26018 * stdlib/tst-strtod-overflow.c: New file.
26019 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26020
1f529f7d
MP
260212012-08-25 Marek Polacek <polacek@redhat.com>
26022
26023 * time/time.h: Fix some typos in comments.
26024
59a629f1
RM
260252012-08-23 Roland McGrath <roland@hack.frob.com>
26026
26027 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26028 * posix/tst-rfc3484-2.c: Likewise.
26029 * posix/tst-rfc3484-3.c: Likewise.
26030
d3bafbc9
SM
260312012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26032
26033 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26034 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26035
4efcc022
JM
260362012-08-23 Joseph Myers <joseph@codesourcery.com>
26037
26038 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26039 #include of fxstatat64.c.
26040
3cc3ef96
RM
260412012-08-22 Roland McGrath <roland@hack.frob.com>
26042
f04e2132
RM
26043 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26044 * shadow/getspent_r.c: Likewise.
26045 * shadow/getspnam.c: Likewise.
26046 * shadow/getspnam_r.c: Likewise.
26047 * gshadow/getsgent.c: Likewise.
26048 * gshadow/getsgent_r.c: Likewise.
26049 * gshadow/getsgnam.c: Likewise.
26050 * gshadow/getsgnam_r.c: Likewise.
26051 * inet/getnetbyad.c: Likewise.
26052 * inet/getnetbyad_r.c: Likewise.
26053 * inet/getnetbynm.c: Likewise.
26054 * inet/getnetbynm_r.c: Likewise.
26055 * inet/getnetent.c: Likewise.
26056 * inet/getnetent_r.c: Likewise.
26057 * inet/getproto.c: Likewise.
26058 * inet/getproto_r.c: Likewise.
26059 * inet/getprtent.c: Likewise.
26060 * inet/getprtent_r.c: Likewise.
26061 * inet/getprtname.c: Likewise.
26062 * inet/getprtname_r.c: Likewise.
26063 * inet/getrpcbyname.c: Likewise.
26064 * inet/getrpcbyname_r.c: Likewise.
26065 * inet/getrpcbynumber.c: Likewise.
26066 * inet/getrpcbynumber_r.c: Likewise.
26067 * inet/getrpcent.c: Likewise.
26068 * inet/getrpcent_r.c: Likewise.
26069 * inet/getaliasent.c: Likewise.
26070 * inet/getaliasent_r.c: Likewise.
26071 * inet/getaliasname.c: Likewise.
26072 * inet/getaliasname_r.c: Likewise.
26073 * nscd/getgrgid_r.c: Likewise.
26074 * nscd/getgrnam_r.c: Likewise.
26075 * nscd/gethstbyad_r.c: Likewise.
26076 * nscd/gethstbynm3_r.c: Likewise.
26077 * nscd/getpwnam_r.c: Likewise.
26078 * nscd/getpwuid_r.c: Likewise.
26079 * nscd/getsrvbynm_r.c: Likewise.
26080 * nscd/getsrvbypt_r.c: Likewise.
26081 * nscd/gai.c: Likewise.
26082
c53d909c
RM
26083 * configure.in (build_nscd): New substituted variable, set
26084 by --disable-build-nscd and defaults to $use_nscd.
26085 * configure: Regenerated.
26086 * config.make.in (build-nscd): New substituted variable.
26087 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26088 Change conditional to require [$(build-nscd) = yes] as well.
26089 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26090
3cc3ef96
RM
26091 [BZ# 13696]
26092 * configure.in (use_nscd): New substituted variable, set by
26093 --disable-nscd. If enabled, define USE_NSCD.
26094 * configure: Regenerated.
26095 * config.h.in: Add USE_NSCD.
26096 * config.make.in (use-nscd): New substituted variable.
26097 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26098 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26099 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26100 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26101 (CFLAGS-getgrnam_r.c): Likewise.
26102 (CFLAGS-initgroups.c): Likewise.
26103 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26104 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26105 Variables removed.
26106 * inet/getnetgrent_r.c
26107 (nscd_setnetgrent): New function, broken out of ...
26108 (setnetgrent): ... here. Call it.
26109 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26110 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26111 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26112 * nscd/Makefile (routines, aux): Move definitions after include of
26113 Makeconfig. Conditionalize on [$(use-nscd) != no].
26114 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26115 Conditionalize on [USE_NSCD].
26116 (is_nscd, nscd_init_cb): Likewise.
26117 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26118 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26119 * nss/nss_db/db-init.c: Likewise.
26120 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26121 [USE_NSCD].
26122 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26123 (make_request): Use it.
26124 (cache_valid_p): New function.
26125 (__check_pf): Use it.
26126 * NEWS: Add item for --disable-nscd.
26127
07e51550
DL
261282012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26129
26130 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26131 to support sed >= 4.2.1-20-ga9bf076.
26132 * configure: Regenerated.
26133
35a5b08b
RM
261342012-08-22 Roland McGrath <roland@hack.frob.com>
26135
26136 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26137 Conditionalize whole body on [IREL].
26138
8479f23a
JL
261392012-08-22 Jeff Law <law@redhat.com>
26140
26141 [BZ #14505]
26142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26143 if the family is PF_UNSPEC.
26144
48da0b21
MF
261452012-08-22 Mike Frysinger <vapier@gentoo.org>
26146
26147 * Makerules (lib-version): Rename from V.
26148 (install-lib-nosubdir): Change V to lib-version.
26149
15d0da8c
WS
261502012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26151
26152 [BZ #14252]
26153 * powerpc32/power6/wcschr.c: New file.
26154 * powerpc32/power6/wcscpy.c: New file.
26155 * powerpc32/power6/wcsrchr.c: New file.
26156 * powerpc64/power6/wcschr.c: New file.
26157 * powerpc64/power6/wcscpy.c: New file.
26158 * powerpc64/power6/wcsrchr.c: New file.
26159
bcca0895
MK
261602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26161
26162 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26163 (two_way_short_needle): Use it.
5a4aaa33
RM
26164 * string/strstr.c (AVAILABLE1_USES_J): Define.
26165 * string/strcasestr.c: Likewise.
99677e57
MK
26166
26167 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26168 array references.
26169 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26170
400726de
MK
26171 [BZ #11607]
26172 * NEWS: Add an entry.
26173 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26174 define their defaults.
26175 (two_way_short_needle): Detect end-of-string on-the-fly.
26176 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26177 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26178 * string/bug-strcasestr1.c: New test.
26179 * string/Makefile: Run it.
26180
20a71f2c
MK
261812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26182
26183 [BZ #11607]
26184 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26185 the first character.
26186
21ad0558
RM
261872012-08-21 Roland McGrath <roland@hack.frob.com>
26188
26189 * csu/elf-init.c (__libc_csu_irel): Function removed.
26190 * csu/libc-start.c (apply_irel): New function.
26191 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26192
0e1d9911
JM
261932012-08-21 Joseph Myers <joseph@codesourcery.com>
26194
26195 * sysdeps/unix/sysv/linux/kernel-features.h
26196 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26197 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26198 <kernel-features.h>.
26199 [__NR_fadvise64_64]: Make code unconditional.
26200 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26201 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26202 !__NR_fadvise64_64)]: Likewise.
26203 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26204 !__NR_fadvise64_64))]: Likewise.
26205 [__NR_fadvise64]: Make code unconditional.
26206 [!__NR_fadvise64]: Remove conditional code.
26207 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26208 <kernel-features.h>.
26209 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26210 unconditional.
26211 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26212 conditional code.
26213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26214 not include <kernel-features.h>.
26215 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26216 unconditional.
26217 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26218 conditional code.
26219 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26220 include <kernel-features.h>.
26221 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26222 unconditional.
26223 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26224 conditional code.
26225
14a50c9d
WS
262262012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26227
26228 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26229 slight instruction rearrangements per scrollpipe analysis.
26230 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26231
c0f4faf0
RM
262322012-08-20 Roland McGrath <roland@hack.frob.com>
26233
696da859
RM
26234 * manual/syslog.texi (syslog; vsyslog, closelog):
26235 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26236 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26237
c0f4faf0
RM
26238 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26239 DSOCAPS to match condition on defining it.
26240
348363b2
JM
262412012-08-20 Joseph Myers <joseph@codesourcery.com>
26242
a35cbf28
JM
26243 * sysdeps/unix/sysv/linux/kernel-features.h
26244 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26246 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26247 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26249 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26250 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26252 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26253 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26254
445f7ecd
JM
26255 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26256 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26257
348363b2
JM
26258 * sysdeps/unix/sysv/linux/kernel-features.h
26259 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26260 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26261 unconditional.
26262 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26263 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26264 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26265 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26266 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26267 Make code unconditional.
26268 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26269 (__mmap64) [!__NR_mmap2]: Likewise.
26270 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26271 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26272 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26273 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26274 [__NR_mmap2]: Make code unconditional.
26275 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26276 (__mmap64) [!__NR_mmap2]: Likewise.
26277
bc5bc0e5
AK
262782012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26279
26280 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26281
88d506de
AJ
262822012-08-18 Andreas Jaeger <aj@suse.de>
26283
26284 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26285
493387d2
MF
262862012-08-18 Mike Frysinger <vapier@gentoo.org>
26287
26288 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26289 * include/unistd.h (__have_sock_cloexec): Likewise.
26290 (__have_pipe2): Likewise.
26291 (__have_dup3): Likewise.
26292
a277af22
MF
262932012-08-18 Mike Frysinger <vapier@gentoo.org>
26294
26295 [BZ #9685]
26296 * include/unistd.h (__have_pipe2): Change define into an extern int.
26297 (__have_dup3): Likewise.
26298 * socket/have_sock_cloexec.c: Include fcntl.h.
26299 (__have_pipe2): New variable.
26300 (__have_dup3): Likewise.
26301
fdab8fd3
MF
263022012-08-17 Mike Frysinger <vapier@gentoo.org>
26303
26304 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26305
31035e80
MP
263062012-08-17 Marek Polacek <polacek@redhat.com>
26307
26308 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26309 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26310
3bd9e993
RM
263112012-08-17 Roland McGrath <roland@hack.frob.com>
26312
c91c505f
RM
26313 * configure.in: Add AC_SUBST for sysheaders.
26314 * configure: Regenerated.
26315 * config.make.in (sysheaders): New substituted variable.
26316
7c6f9d53
RM
26317 * sysdeps/unix/mkfifo.c: Moved ...
26318 * sysdeps/posix/mkfifo.c: ... here.
26319 * sysdeps/unix/mkfifoat.c: Moved ...
26320 * sysdeps/posix/mkfifoat.c: ... here.
26321
26322 * sysdeps/unix/utime.c: Moved ...
26323 * sysdeps/posix/utime.c: ... here.
26324
26325 * sysdeps/unix/time.c: Moved ...
26326 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26327 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26328 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26329
26330 * sysdeps/unix/nice.c: Moved ...
26331 * sysdeps/posix/nice.c: ... here.
26332
26333 * sysdeps/unix/alarm.c: Moved ...
26334 * sysdeps/posix/alarm.c: ... here.
26335
3bd9e993
RM
26336 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26337
d1f09384
JL
263382012-08-17 Jeff Law <law@redhat.com>
26339
26340 * intl/Makefile (codeset_mo): New variable.
26341 ($(codeset_mo)): New target.
26342 (tst-codeset.out): Depend on that. Remove explicit rule.
26343 (tst-gettext3.out, tst-gettext5.out): Likewise.
26344 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26345 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26346 * intl/tst-codeset.sh: Remove.
26347 * intl/tst-gettext3.sh: Likewise.
26348 * intl/tst-gettext5.sh: Likewise.
26349
2ae1ae5c
RM
263502012-08-17 Roland McGrath <roland@hack.frob.com>
26351
c31fdb83
RM
26352 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26353 * sysdeps/unix/syscalls.list: ... here.
26354
a0844057
RM
26355 * sysdeps/posix/getaddrinfo.c
26356 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26357 (gaiconf_init, gaiconf_reload): Use them.
26358 [!_STATBUF_ST_NSEC]
26359 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26360 Define using time_t rather than struct timespec.
26361
750c1f2a
RM
26362 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26363 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26364 Macros removed.
26365 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26366 [!NO_THREADS].
26367 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26368 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26369 Likewise.
26370
2ae1ae5c
RM
26371 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26372 __libc_cleanup_push argument.
26373
e66a42f5
RM
26374 * bits/param.h: New file.
26375 * misc/sys/param.h: New file.
26376 * include/sys/param.h: New file.
26377 * misc/Makefile (headers): Add bits/param.h.
26378 * sysdeps/generic/sys/param.h: File removed.
26379 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26380 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26381 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26382 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26383
b7c08a66
RM
26384 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26385 last change.
26386
b2e1c562
RM
26387 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26388 [_IO_MTSAFE_IO].
26389 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26390 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26391 New macros.
26392
c75ccd4c
RM
26393 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26394 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26395 rather than -D_IO_MTSAFE_IO conditionally.
26396 * stdio-common/Makefile (CPPFLAGS): Likewise.
26397 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26398 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26399 Use $(libio-mtsafe).
26400 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26401 of -D_IO_MTSAFE_IO.
26402 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26403 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26404 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26405 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26406 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26407 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26408 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26409 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26410 (CFLAGS-fread_u_chk.c): Likewise.
26411 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26412 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26413 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26414 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26415 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26416 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26417 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26418 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26419 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26420
26421 * libio/Makefile: Test [$(libc-reentrant) = yes]
26422 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26423
26424 * Makeconfig
26425 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26426 * sysdeps/pthread/configure: File removed.
26427 * sysdeps/pthread/Makeconfig: New file.
26428 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26429 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26430
d9195db8
GB
264312012-08-16 Gary Benson <gbenson@redhat.com>
26432
26433 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26434 unmapping the first object in a namespace.
26435
86466cd9
RM
264362012-08-16 Roland McGrath <roland@hack.frob.com>
26437
26438 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26439 (__internal_setnetgrent): ... this. Add internal_function to
26440 definition. Add libc_hidden_def.
26441 (setnetgrent): Update caller.
26442 (internal_endnetgrent): Renamed to ...
26443 (__internal_endnetgrent): ... this. Add internal_function to
26444 definition. Add libc_hidden_def.
26445 (endnetgrent): Update caller.
26446 (internal_getnetgrent_r): Renamed to ...
26447 (__internal_getnetgrent_r): ... this. Add internal_function to
26448 definition. Add libc_hidden_def.
26449 (__getnetgrent_r): Update caller.
26450 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26451
c3c8283c
JM
264522012-08-16 Joseph Myers <joseph@codesourcery.com>
26453
26454 * stdlib/longlong.h: Update from GCC.
26455
db1ee0a8
RM
264562012-08-16 Roland McGrath <roland@hack.frob.com>
26457
26458 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26459 on _QL, which is set by umul_ppmm but never used.
26460 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26461 variables, which are set by GMP macros but never used.
26462 * stdio-common/_itowa.c (_itowa): Likewise.
26463 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26464 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26465
30f69637
CD
264662012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26467
26468 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26469 struct La_sh_regs is not constant.
26470 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26471 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26472 and struct La_sparc64_regs are not constant.
26473
93a78ac4
JM
264742012-08-16 Joseph Myers <joseph@codesourcery.com>
26475
26476 * sysdeps/unix/sysv/linux/kernel-features.h
26477 (__ASSUME_POSIX_TIMERS): Remove.
26478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26479 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26480 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26481 Make code unconditional.
26482 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26483 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26484 Make code unconditional.
26485 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26486 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26487 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26488 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26489 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26490 Make code unconditional.
26491 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26492 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26493 (__libc_missing_posix_timers): Remove.
26494
dd924cd7
RM
264952012-08-15 Roland McGrath <roland@hack.frob.com>
26496
4b4f2771
RM
26497 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26498 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26499
601c888b
RM
26500 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26501
176790a7
RM
26502 * elf/dl-sym.c: Include <stdlib.h>.
26503
329bc018
RM
26504 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26505 constants, which avoids warnings in 32-bit builds.
26506
e04e272d
RM
26507 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26508 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26509
952bf94a
RM
26510 * misc/lseek.c: File moved to ...
26511 * io/lseek.c: ... here.
26512
7c99b50a
RM
26513 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26514
dd924cd7
RM
26515 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26516 shifting LEN more than 31 bits at once.
26517
b3f479a8
LD
265182012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26519
26520 [BZ #14195]
8c4ae0d4
RM
26521 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26522 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26523 * string/test-strncasecmp.c (check1): Renamed to...
26524 (bz12205): ...this.
26525 (bz14195): Add new testcase for two empty input strings and N > 0.
26526 (test_main): Call new testcase, adapt for renamed function.
26527
9c55864e
AJ
265282012-08-15 Andreas Jaeger <aj@suse.de>
26529
26530 [BZ #14090]
26531 * crypt/md5test2.c: New test, based on test supplied by Serge
26532 Belyshev <belyshev@depni.sinp.msu.ru>.
26533 * crypt/Makefile (xtests): Add md5test-giant..
26534 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26535
02dcb6c5
PE
265362012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26537
26538 [BZ #14090]
26539 * crypt/md5.c (md5_process_block): Don't assume the buffer
26540 length is less than 2**32.
26541 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26542 length is less than 2**64.
26543
a3f95dcc
RM
265442012-08-15 Roland McGrath <roland@hack.frob.com>
26545
be75d758
RM
26546 * string/str-two-way.h: Include <sys/param.h>.
26547 (MAX): Macro removed.
26548
7312ca90
RM
26549 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26550 Move #define and #undef of memmove to just before and after
26551 including <string.h>.
26552
9a0a5486
RM
26553 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26554 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26555 and after including <string.h>. Move declarations of
26556 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26557 to before #include "string/memmove.c".
26558
67cc348d
RM
26559 * include/dirent.h: Declare __getdirentries.
26560
a3f95dcc
RM
26561 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26562 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26563
ca98e171
MF
265642012-08-14 Mike Frysinger <vapier@gentoo.org>
26565
26566 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26567 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26568 * sysdeps/i386/configure: Regenerated.
26569 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26570 STABS_CURRENT_FILE, and STABS_FUN.
26571 (END): Remove call to STABS_FUN_END.
26572 (STABS_CURRENT_FILE1): Delete.
26573 (STABS_CURRENT_FILE): Likewise.
26574 (STABS_FUN): Likewise.
26575 (STABS_FUN_END): Likewise.
26576 (STABS_FUN2): Likewise.
26577 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26578 * sysdeps/x86_64/configure: Regenerated.
26579
5908bf46
RM
265802012-08-14 Roland McGrath <roland@hack.frob.com>
26581
26582 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26583 * elf/dl-lookup.c: Likewise.
5908bf46 26584
f2c05b9e
JM
265852012-08-14 Joseph Myers <joseph@codesourcery.com>
26586
26587 * sysdeps/unix/sysv/linux/kernel-features.h
26588 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26589 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26590 unconditionally.
26591 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26592 unconditionally.
26593 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26594 condition on __ASSUME_CLONE_THREAD_FLAGS.
26595
e11f5155
AJ
265962012-08-14 Andreas Jaeger <aj@suse.de>
26597
26598 * sysdeps/i386/fpu/libm-test-ulps: Update.
26599
51a9ba86
MK
266002012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26601
2fdd4f78
AJ
26602 * include/atomic.h (atomic_exchange_and_add): Split into ...
26603 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26604 New atomic macros.
51a9ba86 26605
ba6cba9e
MT
266062012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26607
26608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26609
42443a47
JL
266102012-08-13 Jeff Law <law@redhat.com>
26611
26612 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26613 null byte in the output string.
26614
121dce05
JM
266152012-08-10 Joseph Myers <joseph@codesourcery.com>
26616
26617 * sysdeps/unix/sysv/linux/kernel-features.h
26618 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26619 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26620 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26621 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26622 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26623 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26624 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26625
bf51f568
JL
266262012-08-09 Jeff Law <law@redhat.com>
26627
26628 [BZ #13939]
26629 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26630 When avoid_arena is set, don't retry in the that arena. Pick the
26631 next one, whatever it might be.
26632 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26633 (arena_lock): Pass in new parameter to arena_get2.
26634 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26635 arena_get2.
26636 (__libc_malloc): Unify retrying after main arena failure with
26637 __libc_memalign version.
26638 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26639
f85fa270
L
266402012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26641
26642 [BZ #14166]
26643 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26644 to __redirect_strstr.
26645 (__strstr_sse42): Use typeof __redirect_strstr.
26646 (__strstr_ia32): Likewise.
26647 (__libc_strstr): New prototype.
26648 (strstr): Renamed to ...
26649 (__libc_strstr): This.
26650 (strstr): New strong alias of __libc_strstr.
26651 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26652 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26653 __redirect_time.
26654 Include <time.h>.
26655 (__libc_time): New prototype.
26656 (time_ifunc): Replace time with __libc_time.
26657 (time): New strong alias and hidden definition of __libc_time.
26658 (__GI_time): Remove strong alias.
26659 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26660 Include <stddef.h>.
26661 (memmove): Redefined to __redirect_memmove.
26662 (__memmove_sse2): Use typeof __redirect_memmove.
26663 (__memmove_ssse3): Likewise.
26664 (__memmove_ssse3_back): Likewise.
26665 (__libc_memmove): New prototype.
26666 (memmove): Renamed to ...
26667 (__libc_memmove): This.
26668 (memmove): New strong alias of __libc_memmove.
26669
33b4a91e
MS
266702012-08-08 Mark Salter <msalter@redhat.com>
26671
26672 * elf/elf.h
26673 (R_MN10300_TLS_GD): Define.
26674 (R_MN10300_TLS_LD): Likewise.
26675 (R_MN10300_TLS_LDO): Likewise.
26676 (R_MN10300_TLS_GOTIE): Likewise.
26677 (R_MN10300_TLS_IE): Likewise.
26678 (R_MN10300_TLS_LE): Likewise.
26679 (R_MN10300_TLS_DTPMOD): Likewise.
26680 (R_MN10300_TLS_DTPOFF): Likewise.
26681 (R_MN10300_TLS_TPOFF): Likewise.
26682 (R_MN10300_SYM_DIFF): Likewise.
26683 (R_MN10300_ALIGN): Likewise.
26684 (R_MN10300_NUM): Update.
26685
b36137f1
JM
266862012-08-08 Joseph Myers <joseph@codesourcery.com>
26687
26688 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26689 Remove.
26690
cdd915fd
RM
266912012-08-08 Roland McGrath <roland@hack.frob.com>
26692
a2433aac
RM
26693 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26694
cdd915fd
RM
26695 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26696 sysdeps/unix -> sysdeps/posix move.
26697 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26698
bf9b740a
AM
266992012-08-07 Allan McRae <allan@archlinux.org>
26700
26701 [BZ #14303]
26702 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26703 (SUNOS_CPP): Likewise.
26704 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26705 not found.
26706 (open_input): Call CPP using execvp.
26707
93df14ee
JM
267082012-08-07 Joseph Myers <joseph@codesourcery.com>
26709
26710 * sysdeps/unix/sysv/linux/kernel-features.h
26711 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26712 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26713 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26714 (__ASSUME_WAITID_SYSCALL): Likewise.
26715 * sysdeps/unix/sysv/linux/dl-execstack.c
26716 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26717 code unconditional.
26718 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26719 conditional code.
26720 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26721 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26722 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26723 code.
26724 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26725 unconditional.
26726 [__ASSUME_WAITID_SYSCALL]: Likewise.
26727 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26728
d34689de
RM
267292012-08-07 Roland McGrath <roland@hack.frob.com>
26730
a281decc
RM
26731 * sysdeps/unix/closedir.c: Renamed to ...
26732 * sysdeps/posix/closedir.c: ... here.
26733 * sysdeps/unix/dirfd.c: Renamed to ...
26734 * sysdeps/posix/dirfd.c: ... here.
26735 * sysdeps/unix/dirstream.h: Renamed to ...
26736 * sysdeps/posix/dirstream.h: ... here.
26737 * sysdeps/unix/fdopendir.c: Renamed to ...
26738 * sysdeps/posix/fdopendir.c: ... here.
26739 * sysdeps/unix/opendir.c: Renamed to ...
26740 * sysdeps/posix/opendir.c: ... here.
26741 * sysdeps/unix/readdir.c: Renamed to ...
26742 * sysdeps/posix/readdir.c: ... here.
26743 * sysdeps/unix/readdir_r.c: Renamed to ...
26744 * sysdeps/posix/readdir_r.c: ... here.
26745 * sysdeps/unix/rewinddir.c: Renamed to ...
26746 * sysdeps/posix/rewinddir.c: ... here.
26747 * sysdeps/unix/seekdir.c: Renamed to ...
26748 * sysdeps/posix/seekdir.c: ... here.
26749 * sysdeps/unix/telldir.c: Renamed to ...
26750 * sysdeps/posix/telldir.c: ... here.
26751 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26752 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26753 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26754 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26755
22895b47
RM
26756 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26757 * bits/fcntl.h: ... here.
26758
707a53b6
RM
26759 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26760 not 0.
26761 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26762 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26763 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26764 (struct flock): Move l_start, l_len to the beginning.
26765 Use __pid_t for l_pid.
26766 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26767 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26768 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26769 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26770 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26771 [__USE_LARGEFILE64] (struct flock64): New type.
26772 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26773
f0bd3e25
RM
26774 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26775 * bits/dirent.h: ... here.
26776
d34689de
RM
26777 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26778 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26779
6dad2c06
JM
267802012-08-07 Joseph Myers <joseph@codesourcery.com>
26781
26782 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26783 Change from 2.6.0 to 2.6.16.
26784 * sysdeps/unix/sysv/linux/configure: Regenerated.
26785 * sysdeps/unix/sysv/linux/kernel-features.h
26786 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26787 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26788 version.
26789 (__ASSUME_UTIMES): Likewise.
26790 (__ASSUME_CLONE_STOPPED): Remove.
26791 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26792 architectures, not kernel version.
26793 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26794 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26795 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26796 (__ASSUME_WAITID_SYSCALL): Likewise.
26797 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26798 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26799 * README: State 2.6.16 as minimum Linux kernel version. Do not
26800 refer to older versions.
26801
03af9520
RM
268022012-08-06 Roland McGrath <roland@hack.frob.com>
26803
8e49df1d
RM
26804 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26805 Define alphasort64 as an alias.
26806 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26807 Define versionsort64 as an alias.
26808 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26809 Define scandir64 as an alias.
26810 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26811 Define scandirat64 as an alias.
26812 * dirent/alphasort64.c (alphasort64):
26813 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26814 * dirent/versionsort64.c: Likewise.
26815 * dirent/scandir64.c: Likewise.
26816 * dirent/scandirat64.c: Likewise.
26817 * sysdeps/wordsize-64/alphasort.c: File removed.
26818 * sysdeps/wordsize-64/alphasort64.c: File removed.
26819 * sysdeps/wordsize-64/scandir.c: File removed.
26820 * sysdeps/wordsize-64/scandir64.c: File removed.
26821 * sysdeps/wordsize-64/scandirat.c: File removed.
26822 * sysdeps/wordsize-64/scandirat64.c: File removed.
26823 * sysdeps/wordsize-64/versionsort.c: File removed.
26824 * sysdeps/wordsize-64/versionsort64.c: File removed.
26825 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26826 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26827 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26828 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26829 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26830 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26831 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26832 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26833
26834 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26836 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26838 [defined __arch64__ || defined __sparcv9]
26839 (__INO_T_MATCHES_INO64_T): New macro.
26840 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26841 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26842 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26843 * sysdeps/unix/sysv/linux/bits/dirent.h
26844 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26845 (_DIRENT_MATCHES_DIRENT64): New macro.
26846
03af9520
RM
26847 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26848 Define lockf64 as an alias.
26849 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26850 Define fseeko64 as an alias.
26851 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26852 Define ftello64 as an alias.
26853 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26854 Define _IO_fgetpos64 and fgetpos64 as aliases.
26855 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26856 Define _IO_fsetpos64 and fsetpos64 as aliases.
26857 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26858 Conditionalize body on this.
26859 * libio/fseeko64.c: Likewise.
26860 * libio/ftello64.c: Likewise.
26861 * libio/iofgetpos64.c: Likewise.
26862 * libio/iofsetpos64.c: Likewise.
26863 * sysdeps/wordsize-64/lockf.c: File removed.
26864 * sysdeps/wordsize-64/lockf64.c: File removed.
26865 * sysdeps/wordsize-64/fseeko.c: File removed.
26866 * sysdeps/wordsize-64/fseeko64.c: File removed.
26867 * sysdeps/wordsize-64/ftello.c: File removed.
26868 * sysdeps/wordsize-64/ftello64.c: File removed.
26869 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26870 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26871 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26872 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26873 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26874 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26875 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26876 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26877 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26878 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26879 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26880 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26881 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26882 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26883
26884 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26885 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26886 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26888 [defined __arch64__ || defined __sparcv9]
26889 (__OFF_T_MATCHES_OFF64_T): New macro.
26890 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26891 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26893 (__OFF_T_MATCHES_OFF64_T): New macro.
26894
c5757acd
L
268952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26896
26897 * stdlib/secure-getenv.c (__secure_getenv): Replace
26898 GLIBC_2_16 with GLIBC_2_17.
26899
3a31811e
L
269002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26901
26902 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26903 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26904
faa2bccb
DM
269052012-08-03 David S. Miller <davem@davemloft.net>
26906
26907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26908
85fe1997
JM
269092012-08-03 Joseph Myers <joseph@codesourcery.com>
26910
26911 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26912 Remove.
26913 (__ASSUME_CORRECT_SI_PID): Likewise.
26914 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26915 (__ASSUME_TMPFS_NAME): Likewise.
26916 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26917 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26918 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26919 (HAVE_AUX_SECURE): Make definition unconditional.
26920 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26921 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26922
4f75b7a0
RM
269232012-08-03 Roland McGrath <roland@hack.frob.com>
26924
26925 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26926 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26927 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26928 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26929 __eloop_threshold instead of SYMLOOP_MAX.
26930
26931 * sysdeps/generic/eloop-threshold.h: New file.
26932 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26933 of MAXSYMLINKS.
26934 * elf/chroot_canon.c (chroot_canon): Likewise.
26935
7aab07e4
JM
269362012-08-03 Joseph Myers <joseph@codesourcery.com>
26937
26938 [BZ #13717]
26939 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26940 Change to 2.6.0 everywhere.
26941 * sysdeps/unix/sysv/linux/configure: Regenerated.
26942 * sysdeps/unix/sysv/linux/kernel-features.h
26943 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26944 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26945 kernel versions.
26946 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26947 (__ASSUME_FUTEX_REQUEUE): Remove.
26948 (__ASSUME_STATFS64): Define unconditionally.
26949 (__ASSUME_AT_SECURE): Likewise.
26950 (__ASSUME_CORRECT_SI_PID): Likewise.
26951 (__ASSUME_TGKILL): Define without depending on kernel version for
26952 i386.
26953 (__ASSUME_UTIMES): Likewise.
26954 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26955 kernel version.
26956 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26957 (__ASSUME_TMPFS_NAME): Likewise.
26958 * README: Update reference to Linux kernel versions.
26959
b67e9372
MP
269602012-08-02 Marek Polacek <polacek@redhat.com>
26961
1f529f7d 26962 [BZ# 14150]
b67e9372
MP
26963 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26964 libc_cv_asm_type_prefix with %.
26965 * configure: Regenerated.
d2441631
RM
26966 * include/libc-symbols.h: Remove comment about
26967 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26968 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26969 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26970 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26971 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26972 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26973 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26974 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26975 * elf/tst-unique2mod1.c: Likewise.
26976 * elf/tst-unique1mod2.c: Likewise.
26977 * elf/tst-unique1mod1.c: Likewise.
26978 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26979 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26980 Replace ASM_TYPE_DIRECTIVE with .type.
26981 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26982 * sysdeps/i386/sysdep.h: Likewise.
26983 * sysdeps/x86_64/sysdep.h: Likewise.
26984 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26986 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26987 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26988 * sysdeps/powerpc/powerpc32/sysdep.h:
26989 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26990 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26991 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26992 * sysdeps/i386/fpu/e_powf.S: Likewise.
26993 * sysdeps/i386/fpu/e_expl.S: Likewise.
26994 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26995 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26996 * sysdeps/i386/fpu/e_pow.S: Likewise.
26997 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26998 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26999 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27000 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27001 * sysdeps/i386/fpu/e_log2.S: Likewise.
27002 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27003 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27004 * sysdeps/i386/fpu/e_powl.S: Likewise.
27005 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27006 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27007 * sysdeps/i386/fpu/e_logl.S: Likewise.
27008 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27009 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27010 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27011 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27012 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27013 * sysdeps/i386/fpu/e_log.S: Likewise.
27014 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27015 * sysdeps/i386/fpu/e_logf.S: Likewise.
27016 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27017 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27018 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27019 * sysdeps/i386/fpu/e_log10.S: Likewise.
27020 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27021 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27022 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27023 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27024 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27025 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27026 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27027 * sysdeps/i386/i686/strtok.S: Likewise.
27028 * sysdeps/i386/i386-mcount.S: Likewise.
27029 * sysdeps/i386/strtok.S: Likewise.
27030 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27031 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27032 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27033 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27034 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27035 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27036 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27037 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27039 * sysdeps/x86_64/_mcount.S: Likewise.
27040 * sysdeps/x86_64/strtok.S: Likewise.
27041 * sysdeps/sh/_mcount.S: Likewise.
27042
2747bf9a
RM
270432012-08-01 Roland McGrath <roland@hack.frob.com>
27044
27045 * libio/iofopen.c: Include <fcntl.h>.
27046 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27047 (_IO_fopen64, fopen64): Define as aliases.
27048 * libio/iofopen64.c: Include <fcntl.h>.
27049 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27050 Conditionalize body on this.
27051 * sysdeps/wordsize-64/iofopen.c: File removed.
27052 * sysdeps/wordsize-64/iofopen64.c: File removed.
27053
3fb791b8
MP
270542012-08-01 Marek Polacek <polacek@redhat.com>
27055
27056 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27057 Use dlfcn directly instead of a variable.
27058 (binfmt-subdir): Do not define.
27059 (dlfcn): Likewise.
27060
a9f1039f
JM
270612012-08-01 Joseph Myers <joseph@codesourcery.com>
27062
23bddc06
JM
27063 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27064 Remove all definitions.
27065 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27066 <kernel-features.h>.
27067 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27068 (miss_F_GETOWN_EX): Remove all definitions.
27069 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27070 macro definition.
27071 [!__ASSUME_FCNTL64]: Remove conditional code.
27072 [__ASSUME_FCNTL64]: Make code unconditional.
27073 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27074 <kernel-features.h>.
27075 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27076 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27077 (lockf64) [__NR_fcntl64]: Make code unconditional.
27078 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27079
a9f1039f
JM
27080 * sysdeps/unix/sysv/linux/kernel-features.h
27081 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27082 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27083 Make code unconditional.
27084 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27085 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27087 [__NR_vfork]: Make code unconditional.
27088 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27089 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27091 [__NR_vfork]: Make code unconditional.
27092 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27093 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27094
09c0ee5f
RM
270952012-08-01 Roland McGrath <roland@hack.frob.com>
27096
48aec5b9
RM
27097 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27098 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27099
cd97c966
RM
27100 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27101 Define mkstemp64 as an alias.
3f55550c
RM
27102 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27103 Define mkstemps64 as an alias.
cd97c966
RM
27104 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27105 Define mkostemp64 as an alias.
b8625cfc
RM
27106 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27107 Define mkostemps64 as an alias.
cd97c966
RM
27108 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27109 Conditionalize body on this.
27110 * misc/mkostemp64.c: Likewise.
b8625cfc 27111 * misc/mkostemps64.c: Likewise.
3f55550c 27112 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27113 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27114 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27115 * sysdeps/wordsize-64/mkostemp.c: File removed.
27116 * sysdeps/wordsize-64/mkstemp.c: File removed.
27117 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27118 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27119 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27120 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27121
09c0ee5f
RM
27122 [BZ #14138]
27123 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27124 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27125 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27126 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27127
27128 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27129 compat_symbol macros from <shlib-compat.h> rather than the underlying
27130 default_symbol_version and symbol_version macros, so that DEFAULT
27131 lines in shlib-versions are respected.
27132 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27133
7e66ee51
FW
271342012-08-01 Florian Weimer <fweimer@redhat.com>
27135
27136 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27137 Declare with warn_unused_result.
27138 (setgid, setregid, setegid, setresgid): Likewise.
27139 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27140 Likewise.
27141 * WUR-REPORT: Remove set*id functions.
27142
d2a54255
PT
271432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27144
27145 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27146
7ecdb005
RM
271472012-07-31 Roland McGrath <roland@hack.frob.com>
27148
b4180a5e 27149 [BZ #10191]
789bd351
RM
27150 * include/sys/socket.h (__libc_accept, __libc_accept4):
27151 Add attribute_hidden.
27152 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27153
40ce302d
RM
27154 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27155 use of PTR_MANGLE.
27156 * inet/getnetgrent_r.c (setup): Likewise.
27157
7ecdb005
RM
27158 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27159
e2eabb2c
DM
271602012-07-31 David S. Miller <davem@davemloft.net>
27161
27162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27163
d0419dbf
JM
271642012-07-31 Joseph Myers <joseph@codesourcery.com>
27165
27166 [BZ #13629]
27167 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27168 value between 1.0 and 2.0 and smaller part has absolute value less
27169 than 1.0.
27170 * math/s_clog10.c (__clog10): Likewise.
27171 * math/s_clog10f.c (__clog10f): Likewise.
27172 * math/s_clog10l.c (__clog10l): Likewise.
27173 * math/s_clogf.c (__clogf): Likewise.
27174 * math/s_clogl.c (__clogl): Likewise.
27175 * math/libm-test.inc (clog_test): Add more tests.
27176 (clog10_test): Likewise.
27177 * sysdeps/i386/fpu/libm-test-ulps: Update.
27178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27179
2bc13872
FW
271802012-07-31 Florian Weimer <fweimer@redhat.com>
27181
27182 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27183 Exit with zero in case no suitable GID is found, and write a
27184 message to standard error.
27185
bea9b193
RM
271862012-07-30 Roland McGrath <roland@hack.frob.com>
27187
27188 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27189 rather than to 1.
27190 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27191 (MAXPATHLEN): Removed.
27192 (NOGROUP, NODEV): New macros.
27193 (setbit, clrbit, isset, isclr): New macros.
27194 (howmany, roundup, powerof2): New macros.
27195 (DEV_BSIZE): New macro.
27196
27197 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27198 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27199
27200 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27201 definition on [!__NO_LONG_DOUBLE_MATH].
27202
27203 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27204 PTR_MANGLE and PTR_DEMANGLE.
27205
27206 * socket/accept4.c (accept4): Rename to __libc_accept4.
27207 Define accept4 as a weak alias.
27208
27209 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27210 on [_DIRENT_HAVE_D_TYPE].
27211 * io/ftw.c (ftw_dir): Likewise.
27212
27213 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27214
27215 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27216
27217 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27218 Use the BSD numbers rather than the arbitrary ones we had.
27219 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27220 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27221 (SIGXCPU, SIGXFSZ): New macros.
27222 (_NSIG): Now 32.
27223
27224 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27225 initializer on [_LIBC_REENTRANT].
27226
27227 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27228 definitions inside [_POSIX_MAPPED_FILES].
27229
27230 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27231
27232 * dirent/opendir.c: Include <fcntl.h>.
27233
27234 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27235 (__libc_getspecific): Likewise.
27236 (__libc_key_create): Likewise.
27237
27238 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27239 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27240 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27241 (tmpfile64): Define as alias.
27242 * sysdeps/wordsize-64/tmpfile.c: File removed.
27243 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27244 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27245 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27246
27247 * stdio-common/vfscanf.c: Include <stdbool.h>.
27248 * nss/makedb.c: Likewise.
27249 * stdio-common/_i18n_number.h: Likewise.
27250 * argp/argp-help.c: Likewise.
27251 * posix/wordexp.c: Likewise.
27252 * sysdeps/posix/spawni.c: Likewise.
27253 * nss/nss_files/files-initgroups.c: Likewise.
27254 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27255 * nss/nss_files/files-initgroups.c: Likewise.
27256 * nss/nss_db/db-netgrp.c: Likewise.
27257 * nss/nss_db/db-initgroups.c: Likewise.
27258 * io/fchmodat.c: Include <sys/stat.h>.
27259
27260 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27261 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27262
27263 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27264 [HAVE_MMAP].
27265
27266 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27267 Add multiple inclusion protection.
27268
e5abc686
DM
272692012-07-27 David S. Miller <davem@davemloft.net>
27270
27271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27272
815e6fa3
GB
272732012-07-27 Gary Benson <gbenson@redhat.com>
27274
27275 [BZ #14298]
27276 * elf/rtld.c: Include <stap-probe.h>.
27277 (dl_main): Added static probes "init_start" and "init_complete".
27278 * elf/dl-load.c: Include <stap-probe.h>.
27279 (lose): Take new parameter "nsid".
27280 Added static probe "map_failed".
27281 (_dl_map_object_from_fd): Pass namespace id to lose.
27282 Added static probe "map_start".
27283 (open_verify): Pass namespace id to lose.
27284 * elf/dl-open.c: Include <stap-probe.h>.
27285 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27286 and "reloc_complete".
27287 * elf/dl-close.c: Include <stap-probe.h>.
27288 (_dl_close_worker): Added static probes "unmap_start" and
27289 "unmap_complete".
27290 * elf/rtld-debugger-interface.txt: New file documenting the above.
27291
9f98c16c
RM
272922012-07-26 Roland McGrath <roland@hack.frob.com>
27293
27294 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27295 rather than a string variable.
27296 * sunrpc/rpc_main.c (h_output): Likewise.
27297 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27298
f3c22df3
PT
272992012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27300
27301 * inet/check_native.c: New file.
27302
3129cfc6
JM
273032012-07-26 Joseph Myers <joseph@codesourcery.com>
27304
da865e95
JM
27305 [BZ #13629]
27306 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27307 if larger part has absolute value 1.0.
27308 * math/s_clog10.c (__clog10): Likewise.
27309 * math/s_clog10f.c (__clog10f): Likewise.
27310 * math/s_clog10l.c (__clog10l): Likewise.
27311 * math/s_clogf.c (__clogf): Likewise.
27312 * math/s_clogl.c (__clogl): Likewise.
27313 * math/libm-test.inc (clog_test): Add more tests.
27314 (clog10_test): Likewise.
27315 * sysdeps/i386/fpu/libm-test-ulps: Update.
27316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27317
3129cfc6
JM
27318 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27319 (pltexit): Likewise.
27320 (La_regs): Likewise.
27321 (La_retval): Likewise.
27322 (int_retval): Likewise.
27323 Update #error for removed macros to refer only to definitions in
27324 tst-audit.h.
27325 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27326 macro.
27327 (pltexit): Likewise.
27328 (La_regs): Likewise.
27329 (La_retval): Likewise.
27330 (int_retval): Likewise.
27331 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27332 macro.
27333 (pltexit): Likewise.
27334 (La_regs): Likewise.
27335 (La_retval): Likewise.
27336 (int_retval): Likewise.
27337 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27338 macro.
27339 (pltexit): Likewise.
27340 (La_regs): Likewise.
27341 (La_retval): Likewise.
27342 (int_retval): Likewise.
27343 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27344 macro.
27345 (pltexit): Likewise.
27346 (La_regs): Likewise.
27347 (La_retval): Likewise.
27348 (int_retval): Likewise.
27349 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27350 macro.
27351 (pltexit): Likewise.
27352 (La_regs): Likewise.
27353 (La_retval): Likewise.
27354 (int_retval): Likewise.
27355 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27356 macro.
27357 (pltexit): Likewise.
27358 (La_regs): Likewise.
27359 (La_retval): Likewise.
27360 (int_retval): Likewise.
27361 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27362 macro definitions in tst-audit.h.
27363 * sysdeps/i386/tst-audit.h: New file.
27364 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27365 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27366 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27367 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27368 * sysdeps/sh/tst-audit.h: Likewise.
27369 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27370 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27371 * sysdeps/x86_64/tst-audit.h: Likewise.
27372
bfc07087
AJ
273732012-07-26 Andreas Jaeger <aj@suse.de>
27374
b1b2aaf8
AJ
27375 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27376 ptrace.
27377
27378 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27379 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27380 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27381 PTRACE_O_MASK.
27382 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27383 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27384 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27385
bfc07087
AJ
27386 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27387 value.
27388
27389 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27390 _sigsys.
27391 (si_call_addr, si_syscall, si_arch): Define new macro.
27392 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27393 _sigsys.
27394 (si_call_addr, si_syscall, si_arch): Define new marcro.
27395 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27396 _sigsys.
27397 (si_call_addr, si_syscall, si_arch): Define new macro.
27398 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27399 _sigsys.
27400 (si_call_addr, si_syscall, si_arch): Define new macro.
27401
89b4b02f
JM
274022012-07-25 Joseph Myers <joseph@codesourcery.com>
27403
27404 [BZ #13717]
27405 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27406 Change to 2.4.21 where previously 2.4.1.
27407 * sysdeps/unix/sysv/linux/configure: Regenerated.
27408 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27409 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27410 Linux kernel version.
27411 (__ASSUME_STD_AUXV): Remove.
27412 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27413 kernel version.
27414 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27415 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27416 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27417 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27418 (__ASSUME_NETLINK_SUPPORT): Likewise.
27419 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27420 (__no_netlink_support): Remove conditional definition.
27421 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27422 Remove.
27423 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27424 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27425 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27426 (if_nameindex_ioctl): Remove.
27427 (if_nameindex_netlink): Do not handle __no_netlink_support.
27428 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27429 code.
27430 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27431 Remove conditional code.
27432 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27433 code.
27434 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27435 unconditional.
27436 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27437 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27438 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27439 Remove.
27440 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27441 [!__ASSUME_STD_AUXV]: Remove conditional code.
27442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27443 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27444 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27446 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27447 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27448 code.
27449 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27451 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27452 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27453 conditional code.
27454 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27456 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27457 code.
27458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27459 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27460 conditional code.
27461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27462 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27463 code unconditional.
27464 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27465 conditional code.
27466 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27467 unconditional.
27468 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27469 conditional code.
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27471 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27472 unconditional.
27473 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27474 conditional code.
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27476 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27477 code unconditional.
27478 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27479 conditional code.
27480 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27481 unconditional.
27482 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27483 conditional code.
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27485 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27486 code unconditional.
27487 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27488 conditional code.
27489 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27490 unconditional.
27491 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27492 conditional code.
27493
842a39cd
AS
274942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27495
27496 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27497 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27498 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27499 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27500 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27501 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27502 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27503 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27504 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27505 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27506 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27507 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27508 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27509 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27510 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27511 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27512 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27513 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27514 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27516 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27517 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27518 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27519
84b3fd84
FW
275202012-07-25 Florian Weimer <fweimer@redhat.com>
27521
27522 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27523 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27524 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27525 Introduce __libc_secure_getenv.
0c7936d5
FW
27526 * stdlib/Versions (2.17): Add secure_getenv
27527 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27528 * stdlib/secure-getenv.c: Rename __secure_getenv to
27529 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27530 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27531 * stdlib/tst-secure-getenv.c: New.
27532 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27533 * manual/startup.texi (Environment Access): Document
27534 secure_getenv.
84b3fd84
FW
27535 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27536 __libc_secure_getenv.
27537 * inet/ruserpass.c (ruserpass): Likewise.
27538 * malloc/mtrace.c (mtrace): Likewise.
27539 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27540 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27541 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27542 * sysdeps/posix/tempname.c: Likewise. Evaluate
27543 HAVE_SECURE_GETENV.
27544 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27545 __secure_getenv to __libc_secure_getenv.
84b3fd84 27546 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27548 Likewise.
27549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27550 Likewise.
27551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27553 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27558
56e49b71
JM
275592012-07-25 Joseph Myers <joseph@codesourcery.com>
27560
27561 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27562 (struct La_i86_retval): Likewise.
27563 (struct La_x86_64_regs): Likewise.
27564 (struct La_x86_64_retval): Likewise.
27565 (struct La_x32_regs): Likewise.
27566 (struct La_x32_retval): Likewise.
27567 (struct La_ppc32_regs): Likewise.
27568 (struct La_ppc32_retval): Likewise.
27569 (struct La_ppc64_regs): Likewise.
27570 (struct La_ppc64_retval): Likewise.
27571 (struct La_sh_regs): Likewise.
27572 (struct La_sh_retval): Likewise.
27573 (struct La_s390_32_regs): Likewise.
27574 (struct La_s390_32_retval): Likewise.
27575 (struct La_s390_64_regs): Likewise.
27576 (struct La_s390_64_retval): Likewise.
27577 (struct La_sparc32_regs): Likewise.
27578 (struct La_sparc32_retval): Likewise.
27579 (struct La_sparc64_regs): Likewise.
27580 (struct La_sparc64_retval): Likewise.
27581 (struct audit_ifaces): Remove architecture-specific pltenter and
27582 pltexit members.
27583 * sysdeps/i386/ldsodefs.h: New file.
27584 * sysdeps/powerpc/ldsodefs.h: Likewise.
27585 * sysdeps/s390/ldsodefs.h: Likewise.
27586 * sysdeps/sh/ldsodefs.h: Likewise.
27587 * sysdeps/sparc/ldsodefs.h: Likewise.
27588 * sysdeps/x86_64/ldsodefs.h: Likewise.
27589
354691b7
MP
275902012-07-25 Marek Polacek <polacek@redhat.com>
27591
27592 [BZ #6808]
27593 * math/libm-test.inc (yn_test): Add another test.
27594 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27595 to ERANGE when the result is +-Inf.
27596 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27597 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27598 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27599 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27600
bf9e2071
JM
276012012-07-24 Joseph Myers <joseph@codesourcery.com>
27602
27603 * conform/data/time.h-data (NULL): Use macro-constant. Require
27604 equal to 0.
27605 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27606 clock_t.
27607 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27608
57633811
TS
276092012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27610
27611 * configure.in <sysdeps resolving>: Correct printing
27612 Implies_before.
27613 * configure: Regenerate.
27614
c23c33b0
TS
276152012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27616
27617 * math/w_ilogb.c: Include <limits.h>.
27618 * math/w_ilogbl.c: Likewise.
27619
b5982523
JM
276202012-07-20 Joseph Myers <joseph@codesourcery.com>
27621
27622 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27623 va_copy. Document allowing for unavailable va_copy only as
27624 pre-C99 compatibility.
27625 * manual/string.texi (Copying and Concatenation): Use va_copy
27626 instead of __va_copy in concat example.
27627
ac4ea442
PT
276282012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27629
27630 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27631 (__sendto): Use create_address_port. Initialize APORT and deallocate
27632 it if not null.
27633
f98eafbd
PT
27634 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27635 with O_NOLINK passed to __file_name_lookup.
27636
898c7aab
PT
27637 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27638 with O_NOLINK passed to __file_name_lookup.
27639
0ced335a
PT
27640 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27641 negative N or less than NGIDS.
27642
b3404dbd
PT
27643 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27644 type to string_t. Set ERANGE as errno and return it if NAME is not big
27645 enough. Use memcpy instead of strncpy.
27646
0f48659e
JM
276472012-07-20 Joseph Myers <joseph@codesourcery.com>
27648
27649 * elf/Makefile (check-data): Remove.
27650 (localplt.data): New vpath directive.
27651 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27652 instead of $(check-data).
27653 * scripts/data/localplt-generic.data: Move to ...
27654 * sysdeps/generic/localplt.data: ... here.
27655 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27656 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27657 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27659 ... here.
27660 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27662 ... here.
27663 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27665 ... here.
27666 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27668 ... here.
27669 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27671 ... here.
27672 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27674 ... here.
27675
d37cbdaa
AZ
276762012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27677
27678 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27679 PPC32 and PPC64 files.
27680 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27681 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27682
46f85fc2
AK
276832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27684
27685 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27686 __makecontext_ret to ...
27687 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27688 ... here and call exit if uc_link is NULL. New file.
27689 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27690 __makecontext_ret.S.
27691 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27692 __makecontext_ret to ...
27693 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27694 ... here and call exit if uc_link is NULL. New file.
27695 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27696 __makecontext_ret.S.
27697
08f43f9b
AK
276982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27699
27700 * elf/elf.h (R_390_IRELATIVE): New definition.
27701 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27702 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27703 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27704 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27705 (elf_machine_lazy_rel): Likewise.
27706 * sysdeps/s390/dl-irel.h: New file.
27707 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27708 * sysdeps/s390/s390-64/memset.S: New asm code.
27709 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27710 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27711 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27712 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27713 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27714 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27715 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27716 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27717 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27718 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27719 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27720 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27721 * sysdeps/s390/s390-32/memset.S: New asm code.
27722 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27723
3b05db33
MP
277242012-07-17 Marek Polacek <polacek@redhat.com>
27725
27726 [BZ #14349]
27727 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27728 * sysdeps/s390/s390-64/configure.in: Likewise.
27729 * sysdeps/sparc/configure.in: Likewise.
27730 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27731 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27732 * sysdeps/i386/configure.in: Likewise.
27733 * sysdeps/x86_64/configure.in: Likewise.
27734 * sysdeps/sh/configure.in: Likewise.
27735 * sysdeps/s390/s390-32/configure: Regenerated.
27736 * sysdeps/s390/s390-64/configure: Likewise.
27737 * sysdeps/x86_64/configure: Likewise.
27738 * sysdeps/sh/configure: Likewise.
27739 * sysdeps/powerpc/powerpc64/configure: Likewise.
27740 * sysdeps/powerpc/powerpc32/configure: Likewise.
27741 * sysdeps/sparc/configure: Likwise.
27742 * sysdeps/i386/configure: Likewise.
27743
a66877c6
MP
27744 * elf/dl-open.c: Comment fixes.
27745
cfc82fd8
JM
277462012-07-17 Joseph Myers <joseph@codesourcery.com>
27747
bd29910a
JM
27748 * Makefile [CXX] (check-data): Remove.
27749 [CXX] (c++-types.data): New vpath directive.
27750 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27751 vpath. Do not allow for C++ type data being missing.
27752 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27753 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27754 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27755 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27756 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27757 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27758 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27760 ... here.
27761 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27763 ... here.
27764 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27766 ... here.
27767 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27769 ... here.
27770 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27772 ... here.
27773 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27775 ... here.
27776 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27778 ... here.
27779 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27781
cfc82fd8
JM
27782 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27783 definitions to architecture-specific files.
27784 (TLS_IE): Likewise.
27785 (TLS_LD): Likewise.
27786 (TLS_GD): Likewise.
27787 * sysdeps/i386/tls-macros.h: New file.
27788 * sysdeps/powerpc/tls-macros.h: Likewise.
27789 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27790 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27791 * sysdeps/sh/tls-macros.h: Likewise.
27792 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27793 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27794 * sysdeps/x86_64/tls-macros.h: Likewise.
27795
f7db3170
TS
277962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27797
07cbfc23
TS
27798 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27799 zero value for regular exit case.
27800
f7db3170
TS
27801 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27802 (__start_context): Preserve zero value for regular exit case.
27803
dc97c227
TS
278042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27805 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27806
27807 * manual/setjmp.texi (setcontext): Clarify normal process
27808 termination when uc_link is the null pointer.
27809 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27810 exit call.
27811
d0cd7d02
AS
278122012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27813
27814 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27815 preprocessor. Test for each exception mask separately.
27816
dd318934
AJ
278172012-07-16 Andreas Jaeger <aj@suse.de>
27818
27819 * po/ru.po: Update from translation team.
27820
8048311a
JM
278212012-07-15 Joseph Myers <joseph@codesourcery.com>
27822
27823 * conform/data/string.h-data (NULL): Use macro-constant. Require
27824 equal to 0.
27825 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27826 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27827 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27828 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27830
b637d46e
AJ
278312012-07-13 Andreas Jaeger <aj@suse.de>
27832
27833 * po/fr.po: Update from translation team.
27834
541428fe
MP
278352012-07-12 Marek Polacek <polacek@redhat.com>
27836
27837 [BZ #14173]
27838 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27839 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27840 loop condition.
27841
ec332e94
JM
278422012-07-12 Joseph Myers <joseph@codesourcery.com>
27843
27844 [BZ #13717]
27845 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27846 Change to 2.4.1 where previously 2.4.0.
27847 * sysdeps/unix/sysv/linux/configure: Regenerated.
27848 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27849 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27850 version.
27851 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27852 (__ASSUME_AT_CLKTCK): Remove.
27853 (__ASSUME_AT_PAGESIZE): Likewise.
27854 (__ASSUME_AT_XID): Likewise.
27855 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27856 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27857 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27858 unconditionally.
27859 (HAVE_AUX_PAGESIZE): Likewise.
27860 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27861 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27862 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27863
7b6e99be
JB
278642012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27865
27866 [BZ #14307]
27867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27868 the temporary buffer used to invoke __gethostbyname2_r,
27869 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27870 host_data / struct gaih_addrtuple.
27871 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27872 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27873 header file nss/nsswitch.h.
27874 * nss/nsswitch.h (global scope): Add definition of implementation
27875 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27876 resolv/nss_dns/dns-host.c).
27877
608404eb
AJ
278782012-07-11 Andreas Jaeger <aj@suse.de>
27879
27880 * po/fr.po: Update from translation team.
27881
71220aca
AJ
27882 * po/sv.po: Update from translation team
27883 * po/fr.po: Another update from translation team.
27884
28cfe843
AZ
278852012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27886
27887 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27888 for subnormals or multiply small sinh result by itself.
27889 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27891
6b90f981
DM
278922012-07-11 David S. Miller <davem@davemloft.net>
27893
27894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27895
c6825772
AS
278962012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27897
27898 [BZ #14347]
27899 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27900 (INTERNAL_MARK): Shift it here.
27901
7b8e0d49
MP
279022012-07-10 Marek Polacek <polacek@redhat.com>
27903
27904 [BZ #14151]
27905 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27906 libc_cv_asm_global_directive with .globl.
27907 * configure: Regenerated.
27908 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27909 with .globl.
27910 * sysdeps/i386/configure: Regenerated.
27911 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27912 with .globl.
27913 * sysdeps/x86_64/configure: Regenerated.
27914 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27915 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27916 * elf/tst-unique2mod2.c: Likewise.
27917 * elf/tst-unique2mod1.c: Likewise.
27918 * elf/tst-unique1mod2.c: Likewise.
27919 * elf/tst-unique1mod1.c: Likewise.
27920 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27921 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27922 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27923 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27924 * sysdeps/mach/sysdep.h: Likewise.
27925 * sysdeps/i386/sysdep.h: Likewise.
27926 * sysdeps/i386/i386-mcount.S: Likewise.
27927 * sysdeps/x86_64/_mcount.S: Likewise.
27928 * sysdeps/x86_64/sysdep.h: Likewise.
27929 * sysdeps/sh/_mcount.S: Likewise.
27930 * sysdeps/sh/sysdep.h: Likewise.
27931 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27932 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27933 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27934 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27935 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27936 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27937 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27938 * locale/localeinfo.h: Likewise.
27939 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27940 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27941
6c55cda3
RM
279422012-07-09 Roland McGrath <roland@hack.frob.com>
27943
27944 [BZ #14336]
27945 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27946 system".
27947 * manual/message.texi (The Uniforum approach): Likewise.
27948 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27949 (glibc iconv Implementation): Likewise.
27950
638a572e
JM
279512012-07-09 Joseph Myers <joseph@codesourcery.com>
27952
27953 [BZ #14337]
27954 * math/s_clog.c (__clog): Avoid scaling a value down where that
27955 could result in underflow.
27956 * math/s_clog10.c (__clog10): Likewise.
27957 * math/s_clog10f.c (__clog10f): Likewise.
27958 * math/s_clog10l.c (__clog10l): Likewise.
27959 * math/s_clogf.c (__clogf): Likewise.
27960 * math/s_clogl.c (__clogl): Likewise.
27961 * math/libm-test.inc (clog_test): Add more tests.
27962 (clog10_test): Likewise.
27963 * sysdeps/i386/fpu/libm-test-ulps: Update.
27964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27965
261f4859
AS
279662012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27967
0abaf3e4
AS
27968 [BZ #14283]
27969 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27970 by 7 not 8 to examine high bit of fractional part.
27971
261f4859
AS
27972 [BZ #14042]
27973 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27974 for call to __mcount_internal.
27975 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27976 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27977 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27978
f17ac40d
JM
279792012-07-06 Joseph Myers <joseph@codesourcery.com>
27980
9ad63c23
JM
27981 [BZ #14154]
27982 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27983 approximation for values within 0x1p-13f of an odd multiple of
27984 pi/4.
27985 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27986 exception. Add more tests.
27987 * sysdeps/i386/fpu/libm-test-ulps: Update.
27988
f17ac40d
JM
27989 [BZ #6778]
27990 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27991 inputs and return -1 for them. Do not check for +Inf in case not
27992 reachable for +Inf.
27993 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27994 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27995 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27996 and return -1 for them. Do not check for +Inf in case not
27997 reachable for +Inf.
27998 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27999 define.
28000 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28001 and return -1 for them. Do not check for +Inf in case not
28002 reachable for +Inf.
28003 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28004 spurious underflow.
28005 * sysdeps/i386/fpu/libm-test-ulps: Update.
28006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28007
fb21f89b
MF
280082012-07-06 Mike Frysinger <vapier@gentoo.org>
28009
28010 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28011
cdfe2c5e
JM
280122012-07-05 Joseph Myers <joseph@codesourcery.com>
28013
28014 [BZ #14157]
28015 [BZ #14331]
28016 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28017 could result in spurious underflow. Scale down values above
28018 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28019 * math/s_csqrtf.c (__csqrtf): Likewise.
28020 * math/s_csqrtl.c (__csqrtl): Likewise.
28021 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28022 spurious underflow.
28023 * sysdeps/i386/fpu/libm-test-ulps: Update.
28024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28025
70d35b67
AS
280262012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28027
704bc459
AS
28028 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28029 xopen-msg.sed.
28030 * catgets/xopen-msg.awk: New file.
28031 * catgets/xopen-msg.sed: Removed.
28032
70d35b67
AS
28033 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28034 po2text.sed.
28035 * intl/po2test.awk: New file.
28036 * intl/po2test.sed: Removed.
28037
ca61cf32
JM
280382012-07-04 Joseph Myers <joseph@codesourcery.com>
28039
28040 [BZ #14328]
28041 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28042 or multiply small sinh result by itself.
28043 * math/s_ctanf.c (__ctanf): Likewise.
28044 * math/s_ctanh.c (__ctanh): Likewise.
28045 * math/s_ctanhf.c (__ctanhf): Likewise.
28046 * math/s_ctanhl.c (__ctanhl): Likewise.
28047 * math/s_ctanl.c (__ctanl): Likewise.
28048 * math/libm-test.inc (ctan_test_tonearest): New function.
28049 (ctan_test_towardzero): Likewise.
28050 (ctan_test_downward): Likewise.
28051 (ctan_test_upward): Likewise.
28052 (ctanh_test_tonearest): Likewise.
28053 (ctanh_test_towardzero): Likewise.
28054 (ctanh_test_downward): Likewise.
28055 (ctanh_test_upward): Likewise.
28056 (main): Call these new functions.
28057 * sysdeps/i386/fpu/libm-test-ulps: Update.
28058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28059
ca48a46a
MF
280602012-07-03 Mike Frysinger <vapier@gentoo.org>
28061
28062 * .gitignore: Delete /ports entry.
28063
9d63d37d
AJ
280642012-07-03 Andreas Jaeger <aj@suse.de>
28065
28066 * po/bg.po: Update from translation team.
28067 * po/cs.po: Likewise.
28068 * po/de.po: Likewise.
28069 * po/hr.po: Likewise.
28070 * po/nl.pl: Likewise.
28071 * po/pl.po: Likewise.
28072 * po/vi.po: Likewise.
28073
370ca3d2
JM
280742012-07-03 Joseph Myers <joseph@codesourcery.com>
28075
95f5a9a8
JM
28076 * Makeconfig [!+link] (+link-before-libc): New variable.
28077 [!+link] (+link-after-libc): Likewise.
28078 [!+link] (+link-tests): Likewise.
28079 [!+link] (+link): Define in terms of $(+link-before-libc) and
28080 $(+link-after-libc).
28081 [!+link-static] (+link-static-before-libc): New variable.
28082 [!+link-static] (+link-static-after-libc): Likewise.
28083 [!+link-static] (+link-static-tests): Likewise.
28084 [!+link-static] (+link-static): Define in terms of
28085 $(+link-static-before-libc) and $(+link-static-after-libc).
28086 [build-shared] (link-libc-before-gnulib): New variable.
28087 [build-shared] (link-libc-tests): Likewise.
28088 [build-shared] (link-libc): Define in terms of
28089 $(link-libc-before-gnulib).
28090 [!build-shared] (link-libc-tests): New variable.
28091 (link-libc-static-tests): New variable.
28092 [!gnulib] (gnulib-arch): New variable.
28093 [!gnulib] (gnulib-tests): Likewise.
28094 [!gnulib] (static-gnulib-arch): Likewise.
28095 [!gnulib] (static-gnulib-tests): Likewise.
28096 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28097 Define with "=" instead of ":=".
28098 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28099 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28100 * Rules (binaries-all-notests): New variable.
28101 (binaries-all-tests): Likewise.
28102 (binaries-static-notests): Likewise.
28103 (binaries-static-tests): Likewise.
28104 (binaries-all): Define using $(binaries-all-notests) and
28105 $(binaries-all-tests).
28106 (binaries-static): Define using $(binaries-static-notests) and
28107 $(binaries-static-tests).
28108 (binaries-shared-tests): New variable.
28109 (binaries-shared-notests): Likewise.
28110 (binaries-shared): Remove variable.
28111 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28112 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28113 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28114 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28115 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28116 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28117 * elf/Makefile (sln-modules): New variable.
28118 (extra-objs): Add $(sln-modules:=.o).
28119 (ldconfig-modules): Add static-stubs.
28120 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28121 * elf/static-stubs.c: New file.
28122
7a845b2c
JM
28123 [BZ #14283]
28124 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28125 by 7 not 8 to examine high bit of fractional part. Use volatile
28126 variables when splitting into final array of floats if
28127 __FLT_EVAL_METHOD__ != 0.
28128 * math/libm-test.inc (cos_test): Add another test.
28129 (sin_test): Likewise.
28130 * sysdeps/i386/fpu/libm-test-ulps: Update.
28131
e2283f38
JM
28132 [BZ #14273]
28133 * math/libm-test.inc (cosh_test): Add more tests.
28134
370ca3d2
JM
28135 * version.h (RELEASE): Set to "development".
28136 (VERSION): Set to "2.16.90".
28137
ee9247c3
CD
281382012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28139
28140 * NEWS: Update copyright. Remove last-updated date.
28141 Mention math library bug fixes and timezone data changes.
28142 * README: Mention GNU/Hurd, x32, and HPPA support status.
28143
4648c381
TS
281442012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28145
28146 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28147
aac78a43
AJ
281482012-06-27 Andreas Jaeger <aj@suse.de>
28149
28150 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28151
ed3dbfad
AJ
281522012-06-25 Andreas Jaeger <aj@suse.de>
28153
28154 * sysdeps/s390/fpu/libm-test-ulps: Update.
28155
4d0ee855
AS
281562012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28157 Thomas Schwinge <thomas@codesourcery.com>
28158
28159 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28160 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28161 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28162 fanotify_mark.
28163
af1bce34
TS
281642012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28165
a9fa33ba
TS
28166 * sysdeps/mach/start.c: Remove file.
28167 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28168 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28169 * sysdeps/sh/init-first.c: Likewise.
28170
58f902b8
TS
28171 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28172 registers for frame unwinding purposes, add CFI directives.
28173 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28174 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28175 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28176 Likewise.
28177
1518f58b
TS
28178 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28179 __fortify_fail returning.
28180 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28181
db9b5059
TS
28182 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28183 sysdeps/sh/____longjmp_chk.S.
28184 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28185 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28186 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28187 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28188
967705fe
TS
28189 * sysdeps/sh/abort-instr.h: New file.
28190 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28191 process in case exit returns.
28192
a9def8c4
TS
28193 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28194 initialize the GOT register before use.
28195
2a649725
TS
28196 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28197 calculation of ARGC > 4.
28198
af1bce34
TS
28199 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28200 meaningful names to some local labels.
28201
d230f50a
KK
282022012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28203 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28204
28205 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28206 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28207 (__arch_compare_and_exchange_val_16_acq): Likewise.
28208 (__arch_compare_and_exchange_val_32_acq): Likewise.
28209 (atomic_exchange_and_add): Fix gUSA sequence.
28210 (atomic_add): Likewise.
28211 (atomic_add_negative): Likewise.
28212 (atomic_add_zero): Likewise.
28213 (atomic_bit_test_set): Likewise.
28214
0479b305
AS
282152012-06-22 Andreas Schwab <schwab@redhat.com>
28216
28217 [BZ #13579]
28218 * include/link.h (struct link_map): Add l_free_initfini.
28219 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28220 l_initfini.
28221 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28222 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28223 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28224 set.
28225
0e3933b9
CD
282262012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28227
28228 * configure.in: Use AC_LANG_SOURCE.
28229 * configure: Regenerate.
28230
4248b1b1
RM
282312012-06-22 Roland McGrath <roland@hack.frob.com>
28232
28233 * configure.in (libc_cv_localstatedir): New substituted variable.
28234 * configure: Regenerated.
28235 * config.make.in (localstatedir): New variable, substituted from
28236 libc_cv_localstatedir.
28237 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28238 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28239 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28240 * sysdeps/gnu/configure: Regenerated.
28241
006dd861
JL
282422012-06-21 Jeff Law <law@redhat.com>
28243
28244 [BZ #14277]
28245 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28246 free. Simplify list management for _LIBC case.
28247
79662d42
JM
282482012-06-21 Joseph Myers <joseph@codesourcery.com>
28249
b7abb4bf
JM
28250 [BZ #14273]
28251 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28252 Clear sign bit of 64-bit integer value before comparing against
28253 overflow value.
28254
79662d42
JM
28255 * sysdeps/mach/configure: Regenerated.
28256
1f150908
L
282572012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28258
28259 [BZ #14278]
28260 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28261
28363bbf
JL
282622012-06-21 Jeff Law <law@redhat.com>
28263
28264 [BZ #13882]
28265 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28266 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28267 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28268 * elf/dl-open.c (dl_open_worker): Likewise.
28269
09615db4
CD
282702012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28271
28272 * scripts/list-sources.sh: Scan PORTS for translations.
28273 * po/libc.pot: Regenerated.
28274
2174c6dd
AJ
282752012-06-21 Andreas Jaeger <aj@suse.de>
28276
28277 [BZ #12194]
28278 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28279 warning.
28280 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28281 * bits/byteswap-16.h (__bswap_16): Likewise.
28282 * bits/byteswap.h (__bswap_constant_16): Likewise.
28283
3ee947b1
L
282842012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28285
28286 [BZ #14117]
a2f34833
L
28287 * sysdeps/i386/fpu_control.h: Removed.
28288 * sysdeps/x86_64/fpu_control.h: Moved to ...
28289 * sysdeps/x86/fpu_control.h: Here.
28290
3ee947b1
L
28291 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28292 (_FPU_SETCW): Likewise.
28293
ed1825f8
L
282942012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28295
25f1282a
L
28296 [BZ #14117]
28297 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28298 * sysdeps/x86/fpu/bits/mathinline.h: This.
28299 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28300
ed1825f8
L
28301 [BZ #14050]
28302 [BZ #14117]
28303 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28304 functions if __x86_64__ is defined.
28305
36d54b74
CLT
283062012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28307
28308 * string/endian.h: Add !__ASSEMBLER__ condition for including
28309 conversion interfaces.
28310
10285c21
JM
283112012-06-15 Joseph Myers <joseph@codesourcery.com>
28312
28313 [BZ #14241]
28314 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28315 of ABS(x) in calculating zero to negative powers other than odd
28316 integers.
28317 * math/libm-test.inc (pow_test): Add more tests.
28318
06c5abbd
AJ
283192012-06-15 Andreas Jaeger <aj@suse.de>
28320
28321 * manual/contrib.texi (Contributors): Update entry of Liubov
28322 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28323 Machado Filho.
28324
a3aeac40
CH
283252012-06-15 Cyril Hrubis <metan@ucw.cz>
28326
28327 * string/string.h: Add __wur to GNU version of strerror_r.
28328
49bdf4c1
L
283292012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28330
28331 [BZ #14229]
28332 * string/Makefile (tests): Add tst-strtok_r.
28333 * string/tst-strtok_r.c: New file.
28334 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28335 RAX_LP/RDX_LP on SAVE_PTR.
28336
834f9b8d
RM
283372012-06-14 Roland McGrath <roland@hack.frob.com>
28338
28339 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28340
75fa1921
JM
283412012-06-14 Joseph Myers <joseph@codesourcery.com>
28342
28343 * libm_test.inc (csqrt_test): Allow more spurious underflow
28344 exceptions.
28345 (j0_test): Likewise.
28346 (j1_test): Likewise.
28347 (y0_test): Likewise.
28348 (y1_test): Likewise.
28349
771766df
CD
283502012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28351
28352 * po/Makefile (libc.pot): Use UTF-8 charset.
28353
ceb9e56b
PP
283542012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28355
28356 [BZ #14210]
28357 Suppress sign-conversion warning from FD_SET.
28358 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28359 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28360 not unsigned long int.
28361 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28362
ddb28975
L
283632012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28364
28365 [BZ #14050]
28366 [BZ #14117]
28367 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28368 __extern_always_inline instead of __extern_inline.
28369 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28370 (__signbit): Likewise.
28371 (__signbitl): Support C++ namespace.
28372 (lrintf): New inline function.
28373 (lrint): Likewise.
28374 (llrintf): Likewise.
28375 (llrint): Likewise.
28376 (fmaxf): Likewise.
28377 (fmax): Likewise.
28378 (fminf): Likewise.
28379 (fmin): Likewise.
28380 (rint): Likewise.
28381 (rintf): Likewise.
28382 (ceil): Likewise.
28383 (ceilf): Likewise.
28384 (floor): Likewise.
28385 (floorf): Likewise.
28386 (nearbyint): Likewise.
28387 (nearbyintf): Likewise.
28388
d7b4fb26
TS
283892012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28390
28391 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28392 non-default versions.
28393
eb55f5c2
RM
283942012-06-11 Roland McGrath <roland@hack.frob.com>
28395
28396 [BZ #14218]
28397 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28398
366af02c
TS
283992012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28400
99ff6e5c
TS
28401 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28402 (FE_UPWARD, FE_DOWNWARD): Don't define.
28403 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28404 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28405
366af02c
TS
28406 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28407 reading it.
28408 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28409 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28410
793ea851
KK
284112012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28412
28413 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28414 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28415 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28416 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28417
a728a38f
L
284182012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28419
28420 [BZ #14117]
c08010c7
L
28421 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28422 * sysdeps/i386/fpu/Implies: New file.
28423 * sysdeps/x86_64/fpu/Implies: Likewise.
28424 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28425 * sysdeps/x86/fpu/bits/fenv.h: This.
28426
a728a38f
L
28427 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28428 __SSE_MATH__.
28429
6e230d11
SP
284302012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28431
28432 [BZ #14134]
28433 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28434 character 0xffff that matches the last element of the
28435 conversion table.
28436
1b671feb
AZ
284372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28438
28439 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28440 fmodl commit.
28441
6043738b
AZ
284422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28443
28444 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28445 values higher than 25.6283.
28446
34ae0b32
AZ
284472012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28448
28449 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28450 subnormal exponent extraction and add some __builtin_expect.
28451 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28452 Fix for subnormal mantissa calculation.
28453
1214ec8f
MF
284542012-06-04 Mike Frysinger <vapier@gentoo.org>
28455
28456 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28457 cpu2 is -1 and errno is not ENOSYS.
28458
f3d1f93c
L
284592012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28460
28461 [BZ #14117]
0e4a3cd7
L
28462 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28463 * sysdeps/x86/bits/string.h: This.
28464 * sysdeps/x86_64/bits/string.h: Removed.
28465
6704c645
L
28466 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28467 if not compiling for x86-64, but compiling for >= i486.
28468
48495318
L
28469 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28470 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28471
14adcbfc
L
28472 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28473 New macro from Linux kernel 3.4.0.
28474 (FP_XSTATE_MAGIC2): Likewise.
28475 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28476 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28477 (struct _fpx_sw_bytes): New struct.
28478 (struct _xsave_hdr): Likewise.
28479 (struct _ymmh_state): Likewise.
28480 (struct _xstate): Likewise.
28481
68e408ab
L
28482 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28483 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28484 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28485 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28486 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28487 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28488
f3d1f93c
L
28489 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28490 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28491 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28492 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28493 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28494 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28495
d9dc34cd
TMQMF
284962012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28497
28498 [BZ #13743]
28499 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28500 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28501 (sysdep_headers): Include sys/platform/ppc.h.
28502 * sysdeps/powerpc/test-gettimebase.c: Test for
28503 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28504 * manual/Makefile (appendices): Include platform.texi.
28505 * manual/contrib.texi (Contributors): Update @node pointers.
28506 * manual/maint.texi (Maintenance): Likewise.
28507 (Platform): New node.
28508 * manual/platform.texi: New file. Document the new features.
28509
4af3879c
SP
285102012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28511 Jakub Jelinek <jakub@redhat.com>
28512
28513 [BZ #14188]
28514 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28515 where __builtin_expect is unavailable.
28516
2fd6ff13
DM
285172012-06-03 David S. Miller <davem@davemloft.net>
28518
28519 * stdlib/longlong.h: Updated from GCC.
28520
173f7220
AS
285212012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28522
28523 [BZ #14042]
28524 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28525 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28526 __mcount_internal.
28527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28528 (GLIBC_2.16): Likewise.
28529
f34a1c6f
L
285302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28531
28532 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28533
88a4576f
JM
285342012-06-01 Joseph Myers <joseph@codesourcery.com>
28535
ea32bcdd
JM
28536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28537 (default-abi): New variable.
28538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28539 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28540 variable.
28541 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28542 Likewise.
28543 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28544 Likewise.
28545 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28546 Likewise.
28547
88a4576f
JM
28548 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28549 definition. Document in comment.
28550
402fe938
DM
285512012-06-01 David S. Miller <davem@davemloft.net>
28552
28553 * stdlib/longlong.h: Updated from GCC.
28554
3553723f
L
285552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28556
28557 [BZ #14117]
3bd872c4
L
28558 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28559 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28560 sys/debugreg.h sys/io.h here.
28561 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28562 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28563 sys/io.h.
28564 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28565 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28566 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28567 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28568 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28569 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28570
3553723f
L
28571 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28572 Define only if __x86_64__ is defined.
28573
4842e4fe
JM
285742012-06-01 Joseph Myers <joseph@codesourcery.com>
28575
c5bfe3d5
JM
28576 [BZ #14048]
28577 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28578 Use int64_t for variable i.
28579 * math/libm-test.inc (fmod_test): Add more tests.
28580
4842e4fe
JM
28581 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28582 z computation is not scheduled after fetestexcept.
28583 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28584 Use math_force_eval instead of asm to ensure calculation scheduled
28585 before exception test.
28586 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28587 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28588
efb73488
AJ
285892012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28590
28591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28592 computation is not scheduled after fetestexcept.
28593
29bcce7c
L
285942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28595
28596 [BZ #14117]
28597 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28598 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28599
73a68f94
AZ
286002012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28601
28602 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28603 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28604
67b6df78
L
286052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28606
edf2933a 28607 [BZ #14117]
ebc64a18
L
28608 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28609 <bits/wordsize.h>.
28610 (__WCHAR_MIN): Support __WORDSIZE == 64.
28611 (__WCHAR_MAX): Likewise.
28612
edf2933a
L
28613 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28614 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28615
57c6cf40
L
28616 [BZ #14183]
28617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28618 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28619
67b6df78 28620 [BZ #14117]
8eb6281e
L
28621 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28622 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28623
aac639f4
L
28624 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28625 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28626
67b6df78
L
28627 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28628 Defined to 1 if __x86_64__ isn't defined.
28629 (_STAT_VER_LINUX_OLD): New.
28630 (st_atime): Remove duplicate.
28631 (st_mtime): Likewise.
28632 (st_ctime): Likewise.
28633
1c2cfe81
DM
286342012-05-31 David S. Miller <davem@davemloft.net>
28635
28636 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28637 entries.
28638
5be8418c
AS
286392012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28640
e7725326
AS
28641 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28642 gen-libm-test.pl.
28643
5be8418c
AS
28644 [BZ #14132]
28645 * elf/dl-reloc.c: Include <_itoa.h>.
28646 (_dl_reloc_bad_type): Remove use of INTUSE.
28647 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28648 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28649 * stdio-common/psiginfo.c (psiginfo): Likewise.
28650 * stdio-common/psignal.c (psignal): Likewise.
28651 * string/strsignal.c (strsignal): Likewise.
28652 * include/signal.h (_sys_siglist): Declare hidden proto.
28653 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28654 INTVARDEF with libc_hidden_data_def.
28655 * stdio-common/itoa-udigits.c: Likewise.
28656 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28657 (_itoa_lower_digits_internal): Remove declaration.
28658 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28659 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28660 (_sys_sigabbrev_internal): Remove aliases.
28661 (_sys_siglist): Define hidden alias.
28662
507352f1
MT
286632012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28664
28665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28666 bits/sysctl.h.
28667
42bbb1c3
L
286682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28669
28670 [BZ #14117]
6bd784b6
L
28671 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28672 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28673
8bca20f0
L
28674 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28675 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28676 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28677 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28678 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28679 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28680
f9e890a9
L
28681 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28682 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28683 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28684
471101a1
L
28685 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28686 with __addr.
28687 (insw): Likewise.
28688 (insl): Likewise.
28689 (outsb): Likewise.
28690 (outsw): Likewise.
28691 (outsl): Likewise.
28692
6451c862
L
28693 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28695 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28696
a254b8c9
L
28697 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28698 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28699 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28700 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28701 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28702 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28703
b8dfdd92
L
28704 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28705 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28706
578cd270
L
28707 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28708 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28709
de662f5f
L
28710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28712 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28713
25653439
L
28714 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28715 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28716 to ...
28717 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28718
6bad24a0
L
28719 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28720 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28721 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28722
42bbb1c3
L
28723 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28724 for x86-64.
28725 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28726
2d10d547
JM
287272012-05-31 Joseph Myers <joseph@codesourcery.com>
28728
28729 * math/math.h (M_El): Use two more decimal places.
28730 (M_LOG2El): Likewise.
28731 (M_LOG10El): Likewise.
28732 (M_LN2l): Likewise.
28733 (M_LN10l): Likewise.
28734 (M_PIl): Likewise.
28735 (M_PI_2l): Likewise.
28736 (M_PI_4l): Likewise.
28737 (M_1_PIl): Likewise.
28738 (M_2_PIl): Likewise.
28739 (M_2_SQRTPIl): Likewise.
28740 (M_SQRT2l): Likewise.
28741 (M_SQRT1_2l): Likewise.
28742
f230c29b
DM
287432012-05-31 David S. Miller <davem@davemloft.net>
28744
28745 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28746 values between float registers.
28747 * sysdeps/sparc/sparc64/memset.S: Likewise.
28748 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28749
fed806c3
MF
287502012-05-31 Mike Frysinger <vapier@gentoo.org>
28751
28752 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28753 -D_FORTIFY_SOURCE=1.
28754 (CPPFLAGS-tst-longjmp_chk.c): Define.
28755 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28756 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28757 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28758 CFLAGS-tst-wchar-h.c.
28759
30917259
MP
287602012-05-31 Marek Polacek <polacek@redhat.com>
28761
28762 [BZ #14132]
28763 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28764 __endmntent_internal): Remove declaration.
28765 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28766 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28767 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28768
1c58d5dc
DM
287692012-05-30 David S. Miller <davem@davemloft.net>
28770
28771 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28772 (___Q_simulate_exceptions): Use real FP ops rather than writing
28773 into the %fsr.
28774 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28775 Likewise.
28776
7dc00e0d
L
287772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28778
28779 [BZ #14117]
0bd53985
L
28780 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28781 * sysdeps/x86/bits/xtitypes.h: This.
28782
3a257e66
L
28783 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28784 * sysdeps/x86/bits/wordsize.h: This.
28785
62f62904
L
28786 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28787 * sysdeps/x86/bits/huge_vall.h: This.
28788
404fe9d9
L
28789 * sysdeps/i386/bits/select.h: Removed.
28790 * sysdeps/x86_64/bits/select.h: Renamed to ...
28791 * sysdeps/x86/bits/select.h: This.
28792
d48d0446
L
28793 * sysdeps/i386/bits/setjmp.h: Removed.
28794 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28795 * sysdeps/x86/bits/setjmp.h: This.
28796
7dc00e0d
L
28797 * sysdeps/i386/bits/mathdef.h: Removed.
28798 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28799 * sysdeps/x86/bits/mathdef.h: This.
28800
03277f8f
AS
288012012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28802
28803 [BZ #14132]
28804 * include/sys/socket.h (__connect_internal)
28805 (__libc_sa_len_internal): Remove declaration.
28806 (__connect, __libc_sa_len): Declare hidden_proto.
28807 (SA_LEN): Remove use of INTUSE.
28808 * socket/connect.c: Add libc_hidden_def.
28809 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28810 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28811 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28812 alias.
28813 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28814 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28815 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28816 of adding _internal alias.
28817
13764867
L
288182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28819
28820 [BZ #14117]
6bd97696
L
28821 * sysdeps/i386/bits/link.h: Removed.
28822 * sysdeps/i386/bits/linkmap.h: Likewise.
28823 * sysdeps/x86_64/bits/link.h: Renamed to ...
28824 * sysdeps/x86/bits/link.h: This.
28825 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28826 * sysdeps/x86/bits/linkmap.h: This.
28827
f726f0bb
L
28828 * sysdeps/i386/bits/endian.h: Removed.
28829 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28830 * sysdeps/x86/bits/endian.h: This.
28831
13764867
L
28832 * sysdeps/i386/bits/byteswap.h: Removed.
28833 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28834 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28835 * sysdeps/x86/bits/byteswap.h: This.
28836 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28837 * sysdeps/x86/bits/byteswap-16.h: This.
28838 * sysdeps/i386/Implies: Add x86.
28839 * sysdeps/x86_64/Implies: Likewise.
28840
ae251b0b
DM
288412012-05-30 David S. Miller <davem@davemloft.net>
28842
28843 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28844 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28845 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28846 (FP_TRAPPING_EXCEPTIONS): Define.
28847 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28848 (FP_TRAPPING_EXCEPTIONS): Define.
28849 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28850 subnormals only when inexact has been signalled or underflow
28851 exceptions are enabled.
28852 (_FP_PACK_CANONICAL): Likewise.
28853
d5c90867
L
288542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28855
28856 [BZ #14183]
28857 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28858 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28859
63f1549e
RH
288602012-05-30 Richard Henderson <rth@twiddle.net>
28861
8d8f2279
RH
28862 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28863 with #ifndef NOT_IN_libc.
28864
63f1549e
RH
28865 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28866 marked to avoid plt entry.
28867
0ab0291b
L
288682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28869
28870 [BZ #14112]
28871 * Makeconfig (default-abi): New macro.
28872 (abi-includes): Likewise.
28873 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28874 $(abi-$(default-abi)-lib-soname) for soname if defined.
28875 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28876 abi-variants.
28877 * Makefile (installed-stubs): Likewise.
28878 * include/stubs-biarch.h: Removed.
28879 * scripts/lib-names.awk: Only handle one library at a time.
28880 * scripts/soversions.awk: Remove WORDSIZE support.
28881 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28882 entries.
28883 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28884 Removed.
28885 (syscall-list-default-condition): Likewise.
28886 (syscall-list-default-condition): Likewise.
28887 (syscall-list-includes): Likewise.
28888 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28889 syscall-list-* with abi-*. Handle undefined abi-variants.
28890 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28891 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28892 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28893 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28894 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28895 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28896 Removed.
28897 (syscall-list-32-options): Likewise.
28898 (syscall-list-32-condition): Likewise.
28899 (syscall-list-64-options): Likewise.
28900 (syscall-list-64-condition): Likewise.
28901 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28902 macro.
28903 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28904 Renamed to ...
28905 (abi-*): This.
28906 (abi-64-ld-soname): New macro.
28907 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28908 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28909 Renamed to ...
28910 (abi-*): This.
28911 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28912 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28913
4da0431d
JM
289142012-05-30 Joseph Myers <joseph@codesourcery.com>
28915
3a85279c
JM
28916 * sysdeps/unix/sysv/linux/kernel-features.h
28917 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28918 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28919 include <kernel-features.h>.
28920 [!__NR_ftruncate64]: Remove conditional code.
28921 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28922 [__NR_ftruncate64]: Make code unconditional.
28923 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28924 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28925 include <kernel-features.h>.
28926 [!__NR_ftruncate64]: Remove conditional code.
28927 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28928 [__NR_ftruncate64]: Make code unconditional.
28929 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28931 include <kernel-features.h>.
28932 [!__NR_ftruncate64]: Remove conditional code.
28933 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28934 [__NR_ftruncate64]: Make code unconditional.
28935 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28937 include <kernel-features.h>.
28938 [!__NR_ftruncate64]: Remove conditional code.
28939 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28940 [__NR_ftruncate64]: Make code unconditional.
28941 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28942
4da0431d
JM
28943 * configure.in (libc_cv_fpie): Weaken to a compile test using
28944 LIBC_TRY_CC_OPTION.
28945 * configure: Regenerated.
28946
11ef492c
AK
289472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28948
28949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28953 Refreshed.
28954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28960 Refreshed.
28961
d66ef399
DM
289622012-05-27 David S. Miller <davem@davemloft.net>
28963
28964 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28965 (___Q_zero): New.
28966 (__Q_simulate_exceptions): Return void. Change to simulate
28967 exceptions by writing into the %fsr.
28968 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28969 (__Qp_handle_exceptions): Likewise.
28970 (numbers): Delete.
28971 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28972 __Qp_handle_exceptions.
28973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28974 __Qp_handle_exceptions.
28975 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28976 as unused and give dummy FP_RND_NEAREST initializer.
28977 (FP_INHIBIT_RESULTS): Define.
28978 (___Q_simulate_exceptions): Update declaration.
28979 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28980 formatting.
28981 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28982 as unused and give dummy FP_RND_NEAREST initializer.
28983 (__Qp_handle_exceptions): Update declaration.
28984 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28985 formatting.
28986
04fb54b5
TS
289872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28988
28989 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28990 the temporary FPU control word.
28991 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28992 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28993 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28994 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28995 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28996 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28997 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28998 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28999 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29000 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29001 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29002
3f99608f
KK
290032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29004
29005 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29006 fields.
29007
65a4de4e
CLT
290082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29009
29010 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29011 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29012 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29013 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29014 Likewise.
29015 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29016 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29017 Likewise.
29018
15749d40
UD
290192012-05-27 Ulrich Drepper <drepper@gmail.com>
29020
29021 * po/h.po: Update from translation team.
29022
25dbcb27
AS
290232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29024
3d3f8e55
AS
29025 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29026
25dbcb27
AS
29027 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29028 handling of denormals.
29029 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29030 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29031 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29032 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29033 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29036 Likewise.
29037
7ad47a80 290382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29039
29040 [BZ #14152]
29041 * math/libm-test.inc (fma_test): Don't always expect underflow
29042 exception.
29043
9c6ea9fa
SP
290442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29045
29046 [BZ #12416]
29047 * elf/tst-execstack.c: Include stackinfo.h.
29048 (do_test): Adjust test case to ensure that pthread_getattr_np
29049 behaviour remains the same after marking stack executable.
29050
a8239222
JM
290512012-05-25 Joseph Myers <joseph@codesourcery.com>
29052
29053 * sysdeps/unix/sysv/linux/kernel-features.h
29054 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29055 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29056 kernel-features.h.
29057 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29058 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29059 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29060 kernel-features.h.
29061 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29062 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29063
918b5606
L
290642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29065
29066 * configure.in: Define the default includes to being none.
29067 * configure: Regenerated.
29068
3a097cc7
RM
290692012-05-25 Roland McGrath <roland@hack.frob.com>
29070
8422c9a5
RM
29071 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29072 * sysdeps/x86_64/setjmp.S: Likewise.
29073 * sysdeps/i386/bsd-setjmp.S: Likewise.
29074 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29075 * sysdeps/i386/setjmp.S: Likewise.
29076 * sysdeps/i386/__longjmp.S: Likewise.
29077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29078 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29079
3a097cc7
RM
29080 * include/stap-probe.h: New file.
29081 * configure.in: Handle --enable-systemtap.
29082 * configure: Regenerated.
29083 * config.h.in (USE_STAP_PROBE): New #undef.
29084 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29085 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29086 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29087
21708942
JM
290882012-05-25 Joseph Myers <joseph@codesourcery.com>
29089
29090 [BZ #13717]
29091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29092 to 2.4.0 where earlier.
29093 * sysdeps/unix/sysv/linux/configure: Regenerated.
29094 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29095 <kernel-features.h>.
29096 [__ASSUME_32BITUIDS]: Make code unconditional.
29097 [!__ASSUME_32BITUIDS]: Remove conditional code.
29098 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29099 <kernel-features.h>.
29100 [__ASSUME_32BITUIDS]: Make code unconditional.
29101 [!__ASSUME_32BITUIDS]: Remove conditional code.
29102 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29103 [__ASSUME_32BITUIDS]: Make code unconditional.
29104 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29105 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29106 <kernel-features.h>.
29107 [__ASSUME_32BITUIDS]: Make code unconditional.
29108 [!__ASSUME_32BITUIDS]: Remove conditional code.
29109 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29110 <kernel-features.h>.
29111 [__ASSUME_32BITUIDS]: Make code unconditional.
29112 [!__ASSUME_32BITUIDS]: Remove conditional code.
29113 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29114 <kernel-features.h>.
29115 [__ASSUME_32BITUIDS]: Make code unconditional.
29116 [!__ASSUME_32BITUIDS]: Remove conditional code.
29117 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29118 <kernel-features.h>.
29119 [__ASSUME_32BITUIDS]: Make code unconditional.
29120 [!__ASSUME_32BITUIDS]: Remove conditional code.
29121 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29122 <kernel-features.h>.
29123 [__ASSUME_32BITUIDS]: Make code unconditional.
29124 [!__ASSUME_32BITUIDS]: Remove conditional code.
29125 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29126 <kernel-features.h>.
29127 [__ASSUME_32BITUIDS]: Make code unconditional.
29128 [!__ASSUME_32BITUIDS]: Remove conditional code.
29129 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29130 <kernel-features.h>.
29131 [__ASSUME_32BITUIDS]: Make code unconditional.
29132 [!__ASSUME_32BITUIDS]: Remove conditional code.
29133 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29134 <kernel-features.h>.
29135 [__ASSUME_32BITUIDS]: Make code unconditional.
29136 [!__ASSUME_32BITUIDS]: Remove conditional code.
29137 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29138 <kernel-features.h>.
29139 [__ASSUME_32BITUIDS]: Make code unconditional.
29140 [!__ASSUME_32BITUIDS]: Remove conditional code.
29141 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29142 <kernel-features.h>.
29143 [__ASSUME_32BITUIDS]: Make code unconditional.
29144 [!__ASSUME_32BITUIDS]: Remove conditional code.
29145 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29146 <kernel-features.h>.
29147 [__NR_setresgid] (__setresgid): Do not declare.
29148 [__ASSUME_32BITUIDS]: Make code unconditional.
29149 [!__ASSUME_32BITUIDS]: Remove conditional code.
29150 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29151 <kernel-features.h>.
29152 [__NR_setresuid] (__setresuid): Do not declare.
29153 [__ASSUME_32BITUIDS]: Make code unconditional.
29154 [!__ASSUME_32BITUIDS]: Remove conditional code.
29155 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29156 <kernel-features.h>.
29157 [__ASSUME_32BITUIDS]: Make code unconditional.
29158 [!__ASSUME_32BITUIDS]: Remove conditional code.
29159 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29160 <kernel-features.h>.
29161 [__ASSUME_32BITUIDS]: Make code unconditional.
29162 [!__ASSUME_32BITUIDS]: Remove conditional code.
29163 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29164 <kernel-features.h>.
29165 [__ASSUME_32BITUIDS]: Make code unconditional.
29166 [!__ASSUME_32BITUIDS]: Remove conditional code.
29167 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29168 <kernel-features.h>.
29169 [__ASSUME_32BITUIDS]: Make code unconditional.
29170 [!__ASSUME_32BITUIDS]: Remove conditional code.
29171 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29172 <kernel-features.h>.
29173 [__ASSUME_32BITUIDS]: Make code unconditional.
29174 [!__ASSUME_32BITUIDS]: Remove conditional code.
29175 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29176 <kernel-features.h>.
29177 [__ASSUME_32BITUIDS]: Make code unconditional.
29178 [!__ASSUME_32BITUIDS]: Remove conditional code.
29179 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29180 <kernel-features.h>.
29181 [__ASSUME_32BITUIDS]: Make code unconditional.
29182 [!__ASSUME_32BITUIDS]: Remove conditional code.
29183 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29184 <kernel-features.h>.
29185 [__ASSUME_32BITUIDS]: Make code unconditional.
29186 [!__ASSUME_32BITUIDS]: Remove conditional code.
29187 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29188 <kernel-features.h>.
29189 [__ASSUME_32BITUIDS]: Make code unconditional.
29190 [!__ASSUME_32BITUIDS]: Remove conditional code.
29191 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29192 <kernel-features.h>.
29193 [__ASSUME_32BITUIDS]: Make code unconditional.
29194 [!__ASSUME_32BITUIDS]: Remove conditional code.
29195 * sysdeps/unix/sysv/linux/kernel-features.h
29196 (__ASSUME_SETRESUID_SYSCALL): Remove.
29197 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29198 (__ASSUME_32BITUIDS): Likewise.
29199 (__ASSUME_LDT_WORKS): Likewise.
29200 (__ASSUME_O_DIRECTORY): Likewise.
29201 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29202 architecture but not kernel version.
29203 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29204 (__ASSUME_MMAP2_SYSCALL): Likewise.
29205 (__ASSUME_STAT64_SYSCALL): Likewise.
29206 (__ASSUME_IPC64): Likewise.
29207 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29208 <kernel-features.h>.
29209 [__ASSUME_32BITUIDS]: Make code unconditional.
29210 [!__ASSUME_32BITUIDS]: Remove conditional code.
29211 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29212 <kernel-features.h>.
29213 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29214 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29215 132096]: Remove conditional code.
29216 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29217 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29218 <kernel-features.h>.
29219 [__ASSUME_32BITUIDS]: Make code unconditional.
29220 [!__ASSUME_32BITUIDS]: Remove conditional code.
29221 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29222 <kernel-features.h>.
29223 [__ASSUME_32BITUIDS]: Make code unconditional.
29224 [!__ASSUME_32BITUIDS]: Remove conditional code.
29225 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29226 <kernel-features.h>.
29227 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29228 unconditional.
29229 (__setresgid): Do not declare.
29230 [__ASSUME_32BITUIDS]: Make code unconditional.
29231 [!__ASSUME_32BITUIDS]: Remove conditional code.
29232 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29233 <kernel-features.h>.
29234 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29235 unconditional.
29236 (__setresuid): Do not declare.
29237 [__ASSUME_32BITUIDS]: Make code unconditional.
29238 [!__ASSUME_32BITUIDS]: Remove conditional code.
29239 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29240 <kernel-features.h>.
29241 [__ASSUME_32BITUIDS]: Make code unconditional.
29242 [!__ASSUME_32BITUIDS]: Remove conditional code.
29243 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29244 <kernel-features.h>.
29245 [__ASSUME_32BITUIDS]: Make code unconditional.
29246 [!__ASSUME_32BITUIDS]: Remove conditional code.
29247
a386f1cc
RH
292482012-05-25 Richard Henderson <rth@twiddle.net>
29249
29250 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29251 dl_hwcap to ifunc resolver.
29252 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29253 elf_ifunc_invoke.
29254 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29255 dl_hwcap to ifunc resolver.
29256 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29257
b6550497
JM
292582012-05-24 Joseph Myers <joseph@codesourcery.com>
29259
29260 [BZ #14153]
29261 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29262 for |x| <= 2**-26, not 2**-57.
29263 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29264 exception.
29265
b0bc23a1
JL
292662012-05-24 Jeff Law <law@redhat.com>
29267
29268 * stdio-common/Makefile (tests): Add bug25.
29269 * stdio-common/bug25.c: New test.
29270
347c92e9
L
292712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29272
29273 [BZ #13576]
29274 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29275 multiple of MALLOC_ALIGNMENT in size.
29276 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29277
6bcc8b3f
JM
292782012-05-24 Joseph Myers <joseph@codesourcery.com>
29279
29280 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29281 Require >= 256.
29282 (FILENAME_MAX): Use macro-int-constant.
29283 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29284 (_IOFBF): Use macro-int-constant.
29285 (_IOLBF): Likewise.
29286 (_IONBF): Likewise.
29287 (SEEK_CUR): Likewise.
29288 (SEEK_END): Likewise.
29289 (SEEK_SET): Likewise.
29290 (TMP_MAX): Likewise.
29291 (EOF): Use macro-int-constant. Require < 0.
29292 (NULL): Use macro-constant. Require == 0.
29293 (stdin): Require type to be FILE *.
29294 (stdout): Likewise.
29295 (stderr): Likewise.
29296 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29297 macro-int-constant.
29298 (EXIT_SUCCESS): Likewise.
29299 (NULL): Use macro-constant. Require == 0.
29300 (RAND_MAX): Use macro-int-constant.
29301 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29302 [C99-based standards] (strtof): Require function.
29303 [C99-based standards] (strtold): Likewise.
29304 [C99-based standards] (strtoll): Likewise.
29305 [C99-based standards] (strtoull): Likewise.
29306 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29307 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29308 [ISO || ISO99 || ISO11] (math.h): Likewise.
29309 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29310 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29312
d18ea0c5
AS
293132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29314
29315 [BZ #14132]
56d25bb8
AS
29316 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29317 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29318 * intl/dgettext.c (DCGETTEXT): Likewise.
29319 * intl/gettext.c (DCGETTEXT): Likewise.
29320 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29321 * posix/regex_internal.h (gettext): Likewise.
29322 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29323 Remove declaration.
29324 * include/argz.h (__argz_count_internal)
29325 (__argz_stringify_internal): Remove declaration.
29326 (__argz_count, __argz_stringify): Declare hidden proto.
29327 * intl/dcgettext.c: Remove use of INTDEF.
29328 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29329 * string/argz-stringify.c: Likewise.
29330 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29331 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29332 Declare hidden proto.
d18ea0c5
AS
29333 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29334 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29335 Declare hidden proto.
29336 * include/stdio.h (__asprintf_internal): Don't declare.
29337 (__asprintf): Don't define as macro. Declare hidden proto.
29338 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29339 (__fsetlocking): Declare hidden proto.
29340 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29341 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29342 hidden proto.
29343 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29344 (_IO_setlinebuf): Remove use of INTUSE.
29345 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29346 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29347 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29348 Remove declaration.
29349 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29350 (_IO_do_flush): Remove use of INTUSE.
29351 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29352 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29353 (_IO_adjust_column, _IO_least_wmarker)
29354 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29355 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29356 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29357 (_IO_default_doallocate, _IO_wdefault_doallocate)
29358 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29359 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29360 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29361 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29362 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29363 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29364 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29365 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29366 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29367 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29368 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29369 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29370 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29371 proto.
29372 (_IO_flush_all_internal, _IO_adjust_column_internal)
29373 (_IO_default_uflow_internal, _IO_default_finish_internal)
29374 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29375 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29376 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29377 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29378 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29379 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29380 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29381 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29382 (_IO_file_close_internal, _IO_file_close_it_internal)
29383 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29384 (_IO_file_init_internal, _IO_file_attach_internal)
29385 (_IO_file_fopen_internal, _IO_file_read_internal)
29386 (_IO_file_sync_internal, _IO_file_seek_internal)
29387 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29388 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29389 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29390 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29391 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29392 (_IO_list_all_internal, _IO_link_in_internal)
29393 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29394 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29395 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29396 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29397 (_IO_do_write_internal, _IO_padn_internal)
29398 (_IO_getline_info_internal, _IO_getline_internal)
29399 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29400 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29401 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29402 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29403 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29404 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29405 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29406 with libc_hidden_ver, remove use of INTUSE.
29407 * libio/genops.c: Likewise.
29408 * libio/freopen.c: Likewise.
29409 * libio/freopen64.c: Likewise.
29410 * libio/iofclose.c: Likewise.
29411 * libio/iofdopen.c: Likewise.
29412 * libio/iofflush.c: Likewise.
29413 * libio/iofflush_u.c: Likewise.
29414 * libio/iofgets.c: Likewise.
29415 * libio/iofgets_u.c: Likewise.
29416 * libio/iofopen.c: Likewise.
29417 * libio/iofopncook.c: Likewise.
29418 * libio/iofread.c: Likewise.
29419 * libio/iofread_u.c: Likewise.
29420 * libio/ioftell.c: Likewise.
29421 * libio/iofwrite.c: Likewise.
29422 * libio/iogetline.c: Likewise.
29423 * libio/iogets.c: Likewise.
29424 * libio/iogetwline.c: Likewise.
29425 * libio/iopadn.c: Likewise.
29426 * libio/iopopen.c: Likewise.
29427 * libio/ioseekoff.c: Likewise.
29428 * libio/ioseekpos.c: Likewise.
29429 * libio/iosetbuffer.c: Likewise.
29430 * libio/iosetvbuf.c: Likewise.
29431 * libio/ioungetc.c: Likewise.
29432 * libio/ioungetwc.c: Likewise.
29433 * libio/iovdprintf.c: Likewise.
29434 * libio/iovsprintf.c: Likewise.
29435 * libio/iovsscanf.c: Likewise.
29436 * libio/memstream.c: Likewise.
29437 * libio/obprintf.c: Likewise.
29438 * libio/oldfileops.c: Likewise.
29439 * libio/oldiofclose.c: Likewise.
29440 * libio/oldiofdopen.c: Likewise.
29441 * libio/oldiofopen.c: Likewise.
29442 * libio/oldiopopen.c: Likewise.
29443 * libio/oldstdfiles.c: Likewise.
29444 * libio/putc.c: Likewise.
29445 * libio/setbuf.c: Likewise.
29446 * libio/setlinebuf.c: Likewise.
29447 * libio/stdfiles.c: Likewise.
29448 * libio/strops.c: Likewise.
29449 * libio/vasprintf.c: Likewise.
29450 * libio/vscanf.c: Likewise.
29451 * libio/vsnprintf.c: Likewise.
29452 * libio/vswprintf.c: Likewise.
29453 * libio/wfiledoalloc.c: Likewise.
29454 * libio/wfileops.c: Likewise.
29455 * libio/wgenops.c: Likewise.
29456 * libio/wmemstream.c: Likewise.
29457 * libio/wstrops.c: Likewise.
29458 * libio/__fpurge.c: Likewise.
29459 * libio/__fsetlocking.c: Likewise.
29460 * assert/assert.c: Likewise.
29461 * debug/fgets_chk.c: Likewise.
29462 * debug/fgets_u_chk.c: Likewise.
29463 * debug/fread_chk.c: Likewise.
29464 * debug/fread_u_chk.c: Likewise.
29465 * debug/gets_chk.c: Likewise.
29466 * debug/obprintf_chk.c: Likewise.
29467 * debug/vasprintf_chk.c: Likewise.
29468 * debug/vdprintf_chk.c: Likewise.
29469 * debug/vsnprintf_chk.c: Likewise.
29470 * debug/vsprintf_chk.c: Likewise.
29471 * malloc/mtrace.c: Likewise.
29472 * misc/error.c: Likewise.
29473 * misc/syslog.c: Likewise.
29474 * stdio-common/asprintf.c: Likewise.
29475 * stdio-common/fxprintf.c: Likewise.
29476 * stdio-common/getw.c: Likewise.
29477 * stdio-common/isoc99_fscanf.c: Likewise.
29478 * stdio-common/isoc99_scanf.c: Likewise.
29479 * stdio-common/isoc99_vfscanf.c: Likewise.
29480 * stdio-common/isoc99_vscanf.c: Likewise.
29481 * stdio-common/isoc99_vsscanf.c: Likewise.
29482 * stdio-common/printf-prs.c: Likewise.
29483 * stdio-common/printf_fp.c: Likewise.
29484 * stdio-common/printf_fphex.c: Likewise.
29485 * stdio-common/printf_size.c: Likewise.
29486 * stdio-common/putw.c: Likewise.
29487 * stdio-common/scanf.c: Likewise.
29488 * stdio-common/sprintf.c: Likewise.
29489 * stdio-common/tmpfile.c: Likewise.
29490 * stdio-common/vfprintf.c: Likewise.
29491 * stdio-common/vfscanf.c: Likewise.
29492 * stdlib/strfmon_l.c: Likewise.
29493 * sunrpc/openchild.c: Likewise.
29494 * sunrpc/xdr_stdio.c: Likewise.
29495 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29496 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29497
d6c33fda
RM
294982012-05-24 Roland McGrath <roland@hack.frob.com>
29499
c1487492
RM
29500 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29501
29502 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29503 in the third column, to generate for the shared library an IFUNC
29504 that uses _dl_vdso_vsym.
29505 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29506 * Makeconfig (object-suffixes-noshared): New variable.
29507
29508 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29509 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29510 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29511 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29512
d6c33fda
RM
29513 [BZ #14132]
29514 * include/sys/time.h (__gettimeofday): Remove macro.
29515 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29516 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29517 Remove INTDEF.
29518 (__gettimeofday): Add libc_hidden_def.
29519 (gettimeofday): Add libc_hidden_weak.
29520 * sysdeps/mach/gettimeofday.c: Likewise.
29521 * sysdeps/posix/gettimeofday.c: Likewise.
29522 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29523 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29524 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29525 (__gettimeofday_internal): Remove strong_alias.
29526 (__gettimeofday): Add libc_hidden_def.
29527 (gettimeofday): Add libc_hidden_weak.
29528 * sysdeps/unix/syscalls.list (gettimeofday):
29529 Remove __gettimeofday_internal alias.
29530
b5a2bbe6
L
295312012-05-24 Daniel Jacobowitz <drow@false.org>
29532 H.J. Lu <hongjiu.lu@intel.com>
29533
29534 [BZ #12495]
29535 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29536 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29537 (largebin_index_32_big): New.
29538 (largebin_index): Use it for 16-byte alignment.
29539 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29540 correction with front_misalign.
29541
cfba4fda
L
295422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29543
7f907421
L
29544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29546 Likewise.
29547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29548 Likewise.
29549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29550 Likewise.
29551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29552 Likewise.
29553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29554 Likewise.
29555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29556 Likewise.
29557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29558 Likewise.
29559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29560 Likewise.
29561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29562 Likewise.
29563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29564 Likewise.
29565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29566 Likewise.
29567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29568 Likewise.
29569
cfba4fda
L
29570 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29571 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29572
80bad0cc
JM
295732012-05-24 Joseph Myers <joseph@codesourcery.com>
29574
7a25eb06
JM
29575 [BZ #10846]
29576 [BZ #14036]
29577 * math/libm-test.inc (exp_test): Add test from bug 14036.
29578 (pow_test): Add test from bug 10846.
29579
795405f9
JM
29580 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29581 and other flags.
29582 (special_function): Do not include flags in test name.
29583 (parse_args): Likewise.
29584 * sysdeps/i386/fpu/libm-test-ulps: Update.
29585 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29586 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29587 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29589
80bad0cc
JM
29590 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29591 exceptions.
29592 * math/libm-test.inc ("Philosophy"): Update comment about
29593 exception testing.
29594 (UNDERFLOW_EXCEPTION): New macro.
29595 (UNDERFLOW_EXCEPTION_OK): Likewise.
29596 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29597 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29598 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29599 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29600 (INVALID_EXCEPTION_OK): Update value.
29601 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29602 (OVERFLOW_EXCEPTION_OK): Likewise.
29603 (IGNORE_ZERO_INF_SIGN): Likewise.
29604 (test_exceptions): Handle underflow exceptions.
29605 (acos_test): Update for underflow exception expectations.
29606 (cexp_test): Likewise.
29607 (clog_test): Likewise.
29608 (clog10_test): Likewise.
29609 (csqrt_test): Likewise.
29610 (ctan_test): Likewise.
29611 (ctanh_test): Likewise.
29612 (exp_test): Likewise.
29613 (exp10_test): Likewise.
29614 (exp2_test): Likewise.
29615 (expm1_test): Likewise.
29616 (fma_test): Likewise.
29617 (j0_test): Likewise.
29618 (jn_test): Likewise.
29619 (nexttoward_test): Likewise.
29620 (pow_test): Likewise.
29621 (scalbn_test): Likewise.
29622 (scalbln_test): Likewise.
29623 (tan_test): Likewise.
29624 (y1_test): Likewise.
29625 * sysdeps/i386/fpu/libm-test-ulps: Update.
29626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29627
9e0e3d0b
DM
296282012-05-23 David S. Miller <davem@davemloft.net>
29629
29630 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29631 (__libc_sigaction): Remove unused local variables.
29632
ccd0a08f
L
296332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29634
29635 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29636
62bdf9a6
PE
296372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29638
f8591f80
PE
29639 mktime: avoid signed integer overflow
29640 * time/mktime.c (__mktime_internal): Do not mishandle the case
29641 where diff == INT_MIN.
29642
94c7d826
PE
29643 mktime: simplify computation of average
29644 * time/mktime.c (ranged_convert): Use new time_t_avg function
29645 instead of rolling our own (probably-slower) code.
29646
ce73d683
PE
29647 mktime: do not assume signed right shift propagates sign bit
29648 * time/mktime.c (isdst_differ): New static function.
29649 (__mktime_internal): No need to normalize tm_isdst now.
29650 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29651 tm_isdst values.
29652
72a22e59
PE
29653 mktime: merge another wrapv change from gnulib
29654 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29655 from some compilers.
29656
68605433
PE
29657 mktime: remove incorrect attempt at unusual arithmetics
29658 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29659 The code didn't really work on such machines anyway.
29660 (TYPE_MINIMUM): Assume two's complement.
29661 (twos_complement_arithmetic): Verify that long_int and time_t
29662 are two's complement (or unsigned, in the latter case).
29663
03cf7fe3
PE
29664 mktime: check signed shifts on long_int and time_t, too
29665 * time/mktime.c (SHR): Check that shifts work as desired
29666 on the types long_int and time_t too, as SHR is used on
29667 such types.
29668
f04dfbc2
PE
29669 mktime: do not assume 'long' is wide enough
29670 * time/mktime.c (verify): Move decl up.
29671 (long_int): New type.
29672 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29673 to remove assumption in the code that 'long' is wide enough to
29674 store year values. This assumption is not true on x32 and on
29675 some non-glibc platforms.
29676
62bdf9a6
PE
29677 mktime: merge wrapv change from gnulib
29678 * time/mktime.c (WRAPV): New macro.
29679 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29680 (guess_time_tm, __mktime_internal): Do not assume that signed
29681 integer overflow wraps around; modern compilers generate code
29682 where this assumption is no longer valid.
29683
5e292e4f
L
296842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29685
29686 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29687 Replace "jmp L(pseudo_end)" with "ret".
29688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29689 Likewise.
29690
8caf8c87
AJ
296912012-05-23 Andreas Jaeger <aj@suse.de>
29692
29693 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29694 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29695
1a09dc56
AJ
296962012-05-23 Andreas Jaeger <aj@suse.de>
29697 Maximilian Attems <max@stro.at>
29698
29699 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29700 New macros.
29701
1c87aba0
L
297022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29703
29704 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29705 code so that pseudo_end is just ret and the stack pointer is
29706 correct also for static library in error case.
29707
40e45bd5
JM
297082012-05-23 Joseph Myers <joseph@codesourcery.com>
29709
c2670533
JM
29710 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29711 move to syscalls.list.
29712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29716
40e45bd5
JM
29717 * manual/install.texi (Running make install): Do not mention Linux
29718 kernel version for which pt_chown is not needed.
29719 (Linux): Do not mention problems with nscd with 2.0 kernels.
29720 * INSTALL: Regenerated.
29721
be08eda5
AJ
297222012-05-23 Andreas Jaeger <aj@suse.de>
29723
29724 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29725 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29726 macro.
29727 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29728 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29729 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29730 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29731 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29732 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29734 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29736 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29737 * sysdeps/unix/sysv/linux/bits/in.h
29738 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29739
a6a056bb
RM
297402012-05-22 Roland McGrath <roland@hack.frob.com>
29741
29742 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29743 (PREPARE_VERSION): Just use assert instead, it will be elided
29744 under [NDEBUG] anyway.
29745
c9009328
L
297462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29747
29748 * sysdeps/unix/sysv/linux/Makefile: Include
29749 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29750 (sysdep_routines): Remove sysctl.
c9009328
L
29751 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29752 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29753 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29754 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29755 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29756
73338355
AJ
297572012-05-22 Andreas Jaeger <aj@suse.de>
29758
29759 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29760 that pseudo_end is just ret and the stack pointer is correct also
29761 for static library in error case.
29762
d44638b0
PP
297632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29764
29765 [BZ #14122]
29766 * nss/nsswitch.c (defconfig_entries): New variable.
29767 (__nss_database_lookup): Don't leak defconfig entries.
29768 (nss_parse_service_list): Don't leak on error paths.
29769 (free_database_entries): New function.
29770 (free_defconfig): New function.
29771 (free_mem): Move common code to free_database_entries.
29772
31a39bd8
L
297732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29774
da0331a8
L
29775 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29776 Add arch_prctl.
29777 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29778
31a39bd8
L
29779 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29780 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29782 New macro.
29783 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29784 (INTERNAL_SYSCALL_TYPES): Likewise.
29785 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29786 (LOAD_REGS_TYPES_[1-6]): Likewise.
29787 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29788 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29789
45470df3
AZ
297902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29791
29792 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29793 copysignl for GLIBC_2_0.
29794 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29795 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29797 logbl for GLIBC_2_0.
29798 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29799 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29800
98a61bcb
L
298012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29802
a4f6e481
L
29803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29804 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29805
f63d5db6
L
29806 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29807 Use "neg %eax".
29808
98a61bcb
L
29809 * time/mktime.c: Update copyright years.
29810
95770f14
PE
298112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29812
6226efbd
PE
29813 mktime: merge comment-quoting-style change from gnulib
29814 * time/mktime.c: Quote 'like this' in comments.
29815 The GNU coding standards suggest that we no longer quote `like this',
29816 as "`" and "'" are typically rendered asymmetrically nowadays.
29817 The typical gnulib style is to quote 'like this' when quoting
29818 code, and "like this" when quoting English.
29819
b99e4f78
PE
29820 * time/mktime.c (compile-command): Add "-I.".
29821
643e01e6
PE
29822 mktime: merge mktime-internal.h change from gnulib
29823 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29824
2554247d
PE
29825 mktime: merge time_r change from gnulib
29826 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29827
826dd0ab
PE
29828 mktime: merge DEBUG change from gnulib
29829 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29830 case system <time.h> has a #define.
29831
bd83aabe
PE
29832 mktime: merge <sys/types.h> change from gnulib
29833 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29834 since <time.t> is now guaranteed to define time_t.
29835
95770f14
PE
29836 mktime: merge HAVE_CONFIG_H change from gnulib
29837 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29838
5e1a27a9
L
298392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29840
0e44a77e
L
29841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29842 Use "neg %eax".
29843
5e1a27a9
L
29844 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29845 __rlim_t cast.
29846 (struct rusage): Use anonymous union to pad each field to
29847 __syscall_slong_t.
29848
46259bec
DM
298492012-05-21 David S. Miller <davem@davemloft.net>
29850
29851 * Makefules (o-iterator): Remove .s cases.
29852 (compile-command.s): Delete.
29853 (COMPILE.s): Delete.
29854 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29855
59f0c22e
JM
298562012-05-21 Joseph Myers <joseph@codesourcery.com>
29857
29858 * configure.in (libc_cv_predef_stack_protector): Only consider
29859 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29860 * configure: Regenerated.
29861
20c07380
L
298622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29863
bbb3154b
L
29864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29865 New macro. Use R*LP on int and pointer.
29866 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29867 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29868 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29869 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29870
20c07380
L
29871 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29872 [__WORDSIZE_TIME64_COMPAT32] instead of
29873 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29874 (struct utmp): Likewise.
29875 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29876 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29877 Renamed to ...
29878 (__WORDSIZE_TIME64_COMPAT32): This.
29879 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29880 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29881 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29882 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29883 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29884 (__WORDSIZE_TIME64_COMPAT32): New macro.
29885
d8d1017e
AJ
298862012-05-21 Andreas Jaeger <aj@suse.de>
29887
29888 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29889 only if [SHARED]. Add prototype for __wcschr_ia32.
29890
6c7fb145
RM
298912012-05-21 Roland McGrath <roland@hack.frob.com>
29892
29893 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29894 of %rbp unmolested in the jmp_buf while mangling the low bits.
29895 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29896 unmolested high bits of %rbp while demangling the low bits.
29897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29898
66274218
AJ
298992012-05-21 Andreas Jaeger <aj@suse.de>
29900
07c58f8f
AJ
29901 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29902 * sunrpc/svc_simple.c: Use it for registerrpc.
29903 * sunrpc/xcrypt.c: Use it for passwd2des.
29904
66274218
AJ
29905 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29906
61f65140
L
299072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29908
29909 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29910 Don't define if [__SYSCALL_WORDSIZE != 32].
29911 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29912 New macro.
29913
5fefb436
AJ
299142012-05-21 Bruno Haible <bruno@clisp.org>
29915 Andreas Jaeger <aj@suse.de>
29916
29917 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29918 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29919 inptr and inend for must_buffer_ch.
29920 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29921 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29922 * stdio-common/Makefile (tests): Remove bug15.
29923 (bug15-ENV): Remove macro.
29924 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29925 anymore.
29926
d8e272ab
AJ
299272012-05-19 Andreas Jaeger <aj@suse.de>
29928 Roland McGrath <roland@hack.frob.com>
29929
29930 * manual/contrib.texi: Completely rewritten. It contains now an
29931 alphabetical list of contributors and their contributions.
29932
4a56a162
RH
299332012-05-21 Richard Henderson <rth@twiddle.net>
29934
29935 * misc/getauxval.c (__getauxval): Use unsigned long int.
29936 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29937 (getauxval): Use unsigned long int.
29938
d024d23c
L
299392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29940
29941 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29942
cbc00a03
RM
299432012-05-21 Roland McGrath <roland@hack.frob.com>
29944
29945 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29946 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29947 __alignof__ (long double).
29948
478143fa
AZ
299492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29950
29951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29952
c7683a6d
RH
299532012-05-20 Richard Henderson <rth@twiddle.net>
29954
29955 * misc/getauxval.c: New file.
29956 * misc/sys/auxv.h: New file.
29957 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29958 (routines): Add getauxval.
29959 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29960 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29961 * elf/dl-sysdep.c (_dl_auxv): Remove.
29962 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29963 * elf/dl-support.c (_dl_auxv): New variable.
29964 (_dl_aux_init): Initialize it.
29965 * manual/startup.texi (Auxiliary Vector): New node.
29966 * sysdeps/generic/bits/hwcap.h: New file.
29967 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29968 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29969 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29970 * sysdeps/sparc/sysdep.h: ... here. Include it.
29971 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29972 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29974 Update.
c7683a6d
RH
29975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29983
a6f1845d
AZ
299842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29985
29986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29987
cbcbe830
DM
299882012-05-19 David S. Miller <davem@davemloft.net>
29989
29990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29991
e0b16cc2
JM
299922012-05-19 Joseph Myers <joseph@codesourcery.com>
29993
29994 [BZ #14123]
29995 * math/s_ccosh.c: Include <float.h>
29996 (__ccosh): Avoid internal overflow calculating sinh and cosh
29997 values before multiplying by sin and cos values.
29998 * math/s_ccoshf.c: Likewise.
29999 * math/s_ccoshl.c: Likewise.
30000 * math/s_csin.c: Likewise.
30001 * math/s_csinf.c: Likewise.
30002 * math/s_csinl.c: Likewise.
30003 * math/s_csinh.c: Likewise.
30004 * math/s_csinhf.c: Likewise.
30005 * math/s_csinhl.c: Likewise.
30006 * math/libm-test.inc (ccos_test): Add more tests.
30007 (ccosh_test): Likewise.
30008 (csin_test): Likewise.
30009 (csinh_test): Likewise.
30010 * sysdeps/i386/fpu/libm-test-ulps: Update.
30011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30012
6ad13e08
L
300132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30014
f66f0ce8
L
30015 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30016 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30017
6ad13e08
L
30018 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30019
b1d072a7
JM
300202012-05-19 Joseph Myers <joseph@codesourcery.com>
30021
30022 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30023 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30024 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30025 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30026 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30027 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30028 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30029 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30030 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30031 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30032 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30033 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30034 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30035 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30036 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30037 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30038 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30039 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30040 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30041 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30042 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30043 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30044 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30045 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30046 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30047 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30048 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30049 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30050 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30051 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30052 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30053
9eae47cb
AJ
300542012-05-18 Andreas Jaeger <aj@suse.de>
30055
30056 * csu/.gitignore: Delete.
30057
bb07f69f
L
300582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30059
30060 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30061 (timex): Use __syscall_slong_t.
30062
e6bdb741
AJ
300632012-05-18 Andreas Jaeger <aj@suse.de>
30064 Carlos O'Donell <carlos_odonell@mentor.com>
30065
30066 * manual/install.texi (Configuring and compiling): Update
30067 description about files modified in the source directory.
d6c33fda 30068 * INSTALL: Regenerated.
e6bdb741 30069
1b74487e
L
300702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30071
30072 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30073 value. Use "or" to set return value to -1.
30074 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30075 negate return value.
30076
a88b64b9
TMQMF
300772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30078
57f41c40
AS
30079 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30080 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30081 failure if the compiler has Graphite support disabled.
30082 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30083 Likewise.
57f41c40
AS
30084 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30085 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30086 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30087 Likewise.
30088
3707636e
L
300892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30090
610b8622
L
30091 * sysdeps/x86_64/x32/_itoa.h: New file.
30092
7cd195df
L
30093 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30094 getdents system call only if kernel and user dirents have the
30095 same d_ino and d_off.
30096
94b07d20
L
30097 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30098 LLONG_MAX != LONG_MAX.
30099 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30100 (_fitoa_word): Likewise.
30101
18298070
L
30102 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30103 years.
30104 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30105 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30106 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30107
553c7ea4
L
30108 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30109 include <bits/wordsize.h>. Check __x86_64__ instead of
30110 __WORDSIZE.
30111 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30112 if __x86_64__ is defined. Use anonymous union on fpstate.
30113
3707636e
L
30114 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30115 anonymous union.
30116
b53ef01a
AS
301172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30118
37fb1dc0
AS
30119 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30120 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30121 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30122 Refer to _rtld_local_ro instead of _rtld_global_ro.
30123 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30124 Likewise.
30125 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30126 Likewise.
30127 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30128 Likewise.
30129 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30130 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30131 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30132
b53ef01a
AS
30133 * sysdeps/powerpc/powerpc32/dl-machine.c
30134 (__elf_machine_runtime_setup) [PROF]: Don't reference
30135 _dl_prof_resolve.
30136
7a185db2
AJ
301372012-05-18 Andreas Jaeger <aj@suse.de>
30138
30139 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30140 function only available for GCCs before 3.4 since GCC 3.4
30141 introduced a builtin.
30142 (lrint): Likewise.
30143 (llrintf): Likewise.
30144 (llrint): Likewise.
30145 (fmaxf): Likewise.
30146 (fmax): Likewise.
30147 (fminf): Likewise.
30148 (fmin): Likewise.
30149 (rint): Likewise.
30150 (rintf): Likewise.
30151 (nearbyint): Likewise.
30152 (nearbyintf): Likewise.
30153 (ceil): Likewise.
30154 (ceilf): Likewise.
30155 (floor): Likewise.
30156 (floorf): Likewise.
30157
3e5aef87
L
301582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30159
428bd707
L
30160 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30161 on both fields and cast pointer to __syscall_ulong_t.
30162
3e5aef87
L
30163 * bits/types.h (__fsword_t): New type.
30164 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30165 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30166 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30167 (__FSWORD_T_TYPE): Likewise.
30168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30169 (__FSWORD_T_TYPE): Likewise.
30170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30171 (__FSWORD_T_TYPE): Likewise.
30172 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30173 (__FSWORD_T_TYPE): Likewise.
30174 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30175 __SWORD_TYPE with __fsword_t.
30176 (statfs64): Likewise.
30177
1ba7c3dc
DM
301782012-05-17 David S. Miller <davem@davemloft.net>
30179
30180 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30181
59910343
AJ
301822012-05-17 Andreas Jaeger <aj@suse.de>
30183
30184 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30185 warning.
30186
2e4c1e9e
L
301872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30188
30189 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30190
de7f5ce7
AJ
301912012-05-17 Andreas Jaeger <aj@suse.de>
30192
30193 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30194 when it is used.
30195
286abc3d
CM
301962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30197
30198 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30199
477cc68e
L
302002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30201
30202 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30203 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30204
1a0994f5
CD
302052012-05-17 Andreas Jaeger <aj@suse.de>
30206 Carlos O'Donell <carlos_odonell@mentor.com>
30207
30208 [BZ #14059]
30209 * sysdeps/x86_64/multiarch/init-arch.h
30210 (bit_YMM_Usable): Rename to...
30211 (bit_AVX_Usable): ... this.
30212 (bit_FMA4_Usable): New macro.
30213 (bit_XMM_state): New macro.
30214 (bit_YMM_state): New macro.
30215 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30216 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30217 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30218 (CPUID_OSXSAVE): New macro.
30219 (CPUID_AVX): New macro.
30220 (CPUID_FMA4): New macro.
30221 (index_YMM_Usable): Rename to...
30222 (index_AVX_Usable): ... this.
30223 (HAS_AVX): Use HAS_ARCH_FEATURE.
30224 (HAS_FMA4): Likewise.
30225 (HAS_YMM_USABLE): Remove.
30226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30227 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30228 are present.
30229 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30230 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30231 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30232 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30233 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30234
0af797de
CM
302352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30236
30237 * math/libm-test.c: Support platforms without multiple rounding modes.
30238 * math/bug-nextafter.c: Support platforms without FP exceptions.
30239 * math/bug-nexttoward.c: Likewise.
30240 * math/test-fenv.c: Likewise.
30241 * math/test-misc.c: Likewise.
30242 * stdlib/bug-getcontext.c: Likewise.
30243
e39745ff
AJ
302442012-05-17 Andreas Jaeger <aj@suse.de>
30245
30246 * manual/examples/search.c (critter_cmp): Change signature to
30247 avoid warnings.
30248 * manual/string.texi (Collation Functions): Likewise.
30249
48970aba
L
302502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30251
30252 * bits/types.h: Fold copyright years.
30253 * bits/typesizes.h: Likewise.
30254 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30256 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30258 * time/time.h: Likewise.
30259
bedee953
PP
302602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30261
30262 [BZ #208]
30263 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30264 in instead of returning them. Return void.
30265 (__libc_mallinfo): Accumulate over all arenas.
30266 (__malloc_stats): Adjust for change in int_mallinfo interface.
30267
61653dfb
RM
302682012-05-16 Roland McGrath <roland@hack.frob.com>
30269
30b99d79
RM
30270 [BZ #10375]
30271 * configure.in (NM): Add AC_CHECK_TOOL for it.
30272 (libc_extra_cflags): New substituted variable.
30273 Check for -fstack-protector being used implicitly.
30274 * configure: Regenerated.
30275 * config.make.in (config-extra-cflags): New variable,
30276 gets @libc_extra_cflags@.
30277 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30278
61653dfb
RM
30279 [BZ #10375]
30280 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30281 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30282 * configure: Regenerated.
30283 * config.make.in (CPPUNDEFS): New substituted variable.
30284 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30285 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30286 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30287
661768bb
L
302882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30289
30290 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30291 (mq_attr): Use __syscall_slong_t.
30292
d4261567
L
302932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30294
30295 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30296 Check __x86_64__ instead of __WORDSIZE.
30297 (_STAT_VER_LINUX): Likewise.
30298 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30299 __syscall_ulong_t and __syscall_slong_t.
30300 (stat64): Likewise.
30301
cf3ff365
L
303022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30303
30304 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30305
76cf3e4d
L
303062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30307
30308 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30309
a637753a
L
303102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30311
30312 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30313 __syscall_ulong_t.
30314
d5e05119
L
30315 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30316 include <bits/wordsize.h>. Check __x86_64__ instead of
30317 __WORDSIZE.
30318 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30319 defined.
30320 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30321
f62ee380
L
30322 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30323 include <bits/wordsize.h>. Check __x86_64__ instead of
30324 __WORDSIZE.
30325 (user_regs_struct): Use "__extension__ unsigned long long"
30326 instead of "unsigned long" if __x86_64__ is defined.
30327 (user): Likewise. Pad after pointer field if __ILP32__ is
30328 defined.
30329
4e124ced
JM
303302012-05-16 Joseph Myers <joseph@codesourcery.com>
30331
6a3951a0
JM
30332 * configure.in (makeinfo): Require version 4.5 or later. Allow
30333 versions 5 to 9.
30334 * configure: Regenerated.
30335 * manual/install.texi (texinfo): Increase version requirement to
30336 4.5 or later.
30337 * INSTALL: Regenerated.
30338
4e124ced
JM
30339 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30340
953ca31a
L
303412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30342
30343 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30344
617aca05
L
30345 * sysdeps/x86_64/x32/ffs.c: New file.
30346
5762f7ae
L
30347 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30348 __syscall_ulong_t.
30349 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30350 defined. Use __syscall_ulong_t.
30351 (shminfo): Use __syscall_ulong_t.
30352 (shm_info): Likewise.
30353
a26b6856
L
30354 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30355 __syscall_ulong_t.
30356
cb2b9ef7
L
30357 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30358 <bits/wordsize.h>.
30359 (msgqnum_t): Use __syscall_ulong_t.
30360 (msglen_t): Likewise.
30361 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30362 __syscall_ulong_t.
30363
34683bb0
L
30364 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30365 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30366
84a68786
L
30367 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30368
48baa5f1
L
30369 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30370 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30371
180be88b
L
30372 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30373 __syscall_slong_t.
30374
5e90c8ad
L
30375 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30376 include <bits/wordsize.h>. Check __x86_64__ instead of
30377 __WORDSIZE.
30378
23dfb58b
L
30379 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30380 "unsigned long long int" if __x86_64__ is defined.
30381 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30382
ce5d54b0
L
30383 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30384 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30385 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30386
13dc9eac
L
30387 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30388 <stdint.h>.
30389 (GET_PC): Cast to uintptr_t first.
30390 (GET_FRAME): Likewise.
30391 (GET_STACK): Likewise.
30392
a7895d15
L
30393 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30394 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30395 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30396 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30397 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30398 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30399 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30400 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30401 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30402 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30403 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30404 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30405 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30406 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30407 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30408 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30409 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30410 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30411 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30412 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30413 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30414 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30415 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30416 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30417 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30418 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30419 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30420 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30421 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30422
656416c9
AS
304232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30424
5bd66283
AS
30425 * Makerules (+depfiles): Also collect depfiles from .oS in
30426 $(extra-objs).
30427 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30428 .oS, $(libnldbl-routines)).
30429
656416c9
AS
30430 * Makerules (native-compile-mkdep-flags): Define.
30431 * sunrpc/Makefile (extra-objs): Add $(addprefix
30432 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30433 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30434 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30435 calling $(make-target-directory).
30436
a46f2169
L
304372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30438
30439 * bits/types.h (__snseconds_t): Removed.
30440 * time/time.h (struct timespec): Replace __snseconds_t with
30441 __syscall_slong_t.
30442 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30443 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30444 Likewise.
30445 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30446 (__SNSECONDS_T_TYPE): Likewise.
30447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30448 (__SNSECONDS_T_TYPE): Likewise.
30449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30450 (__SNSECONDS_T_TYPE): Likewise.
30451
6af6528b
L
304522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30453
30454 * sysdeps/mach/hurd/bits/typesizes.h
30455 (__SYSCALL_SLONG_TYPE): New macro.
30456 (__SYSCALL_ULONG_TYPE): Likewise.
30457
de986b56
L
304582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30459
30460 * bits/types.h (__syscall_slong_t): New type.
30461 (__syscall_ulong_t): Likewise.
30462
30463 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30464 (__SYSCALL_ULONG_TYPE): Likewise.
30465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30466 (__SYSCALL_SLONG_TYPE): Likewise.
30467 (__SYSCALL_ULONG_TYPE): Likewise.
30468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30469 (__SYSCALL_SLONG_TYPE): Likewise.
30470 (__SYSCALL_ULONG_TYPE): Likewise.
30471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30472 (__SYSCALL_SLONG_TYPE): Likewise.
30473 (__SYSCALL_ULONG_TYPE): Likewise.
30474
85736dc7
L
304752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30476
30477 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30478 Add sigaltstack-offsets.sym.
30479 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30480 <sigaltstack-offsets.h>.
30481 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30482 longjmp_msg pointer.
30483 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30484 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30485 signal stack.
30486 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30487
cc03b296
JM
304882012-05-15 Joseph Myers <joseph@codesourcery.com>
30489
a9538892
JM
30490 * elf/stackguard-macros.h: Remove file.
30491 * sysdeps/generic/stackguard-macros.h: New file.
30492 * sysdeps/i386/stackguard-macros.h: Likewise.
30493 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30494 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30495 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30496 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30497 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30498 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30499 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30500 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30501 <elf/stackguard-macros.h>.
30502
cc03b296
JM
30503 [BZ #14109]
30504 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30505 __aligned__ in attribute.
30506 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30507 (gregset_t): Likewise.
30508
93171016
L
305092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30510
30511 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30512 * sysdeps/x86_64/64/Implies-after: Here. New file.
30513 * sysdeps/x86_64/x32/Implies-after: New file.
30514
d86813a0
L
305152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30516
30517 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30518 and access return value for _dl_profile_fixup. Use R10_LP to
30519 load frame size.
30520
2953ec75
L
305212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30522
30523 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30524
3b550e9e
L
305252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30526
30527 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30528 * sysdeps/x86_64/x32/sysdep.h: New file.
30529
eda41706
L
305302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30531
30532 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30533 * sysdeps/x86_64/setjmp.S: Likewise.
30534
9ea01d93
AZ
305352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30536
30537 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30538 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30539 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30540 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30541 remove unused global constant.
30542
02a91938
CM
305432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30544
30545 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30546 include of <not-cancel.h>.
30547
6540185f
RM
305482012-05-15 Roland McGrath <roland@hack.frob.com>
30549
30550 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30551
509072a0
AJ
305522012-05-15 Jeff Law <law@redhat.com>
30553 Andreas Jaeger <aj@suse.de>
30554
30555 [BZ #13594]
30556 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30557 out from...
30558 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30559 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30560 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30561 code changing __hst_map_handle.map.
30562
ba75122d
RM
305632012-05-15 Roland McGrath <roland@hack.frob.com>
30564
30565 * configure.in (sysnames): Look for Implies-before and Implies-after
30566 files.
30567 * configure: Regenerated.
30568
890d8bd8
L
305692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30570
30571 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30572 8-byte data alignment with LP_SIZE alignment.
30573
f6ee6623
L
305742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30575
30576 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30577 into R10_LP.
30578
ea2626f6
L
305792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30580
30581 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30582
085f715e
L
305832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30584
30585 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30586 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30587 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30588 Likewise.
30589 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30590
be8498fc
L
305912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30592
30593 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30594 (stackinfo_sub_sp): Likewise.
30595
70bc83b9
L
305962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30597
30598 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30599 RAX_LP.
30600
9bc0b730
L
306012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30602
30603 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30604 into R*_LP.
30605
6d2850e7
L
306062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30607
30608 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30609 sizes into R*_LP.
30610
3cb84561
L
306112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30612
30613 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30614
54e2ed81
L
306152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30616
30617 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30618 into R11_LP and load __x86_64_shared_cache_size_half into
30619 R8_LP.
30620
8a17f349
L
306212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30622
30623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30624 R8_LP.
30625
777b1eea
AZ
306262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30627
30628 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30629 logb for POWER7.
30630 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30631 logbf for POWER7.
30632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30633 logbl for POWER7.
30634 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30635 powerpc32/power7/fpu/s_logb.c via #include.
30636 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30637 powerpc32/power7/fpu/s_logbf.c via #include.
30638 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30639 powerpc32/power7/fpu/s_logbl.c via #include.
30640
d20d4ac2
JM
306412012-05-15 Joseph Myers <joseph@codesourcery.com>
30642
30643 * README.libm: Remove file.
30644
6cdef1ab
L
306452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30646
30647 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30648 count for x32. Use R*_LP and omit operand-size suffix.
30649
0b254d8f
L
306502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30651
30652 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30653 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30654 * sysdeps/x86_64/x32/shlib-versions: New file.
30655
ceb809dc
RM
306562012-05-14 Roland McGrath <roland@hack.frob.com>
30657
30658 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30659 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30660 Use _dl_fatal_printf instead.
30661
37f1abd4
JM
306622012-05-14 Joseph Myers <joseph@codesourcery.com>
30663
30664 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30665 set if not set by the user. Do not allow for being unset.
30666 * sysdeps/unix/sysv/linux/configure: Regenerated.
30667
11de3a33
L
306682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30669
30670 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30671 the `q' suffix from lea and replace .quad with ASM_ADDR.
30672
e02f153a
L
306732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30674
30675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30676 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30677 instead of $17.
30678 (PTR_DEMANGLE): Likewise.
30679
520ae0fd
L
306802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30681
30682 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30683 (LP_OP): Likewise.
30684 (ASM_ADDR): Likewise.
30685 (RAX_LP): Likewise.
30686 (RBP_LP): Likewise.
30687 (RBX_LP): Likewise.
30688 (RCX_LP): Likewise.
30689 (RDI_LP): Likewise.
30690 (RSI_LP): Likewise.
30691 (RSP_LP): Likewise.
30692 (R8_LP): Likewise.
30693 (R9_LP): Likewise.
30694 (R10_LP): Likewise.
30695 (R10_LP): Likewise.
30696 (R11_LP): Likewise.
30697 (R12_LP): Likewise.
30698 (R13_LP): Likewise.
30699 (R14_LP): Likewise.
30700 (R15_LP): Likewise.
30701
b985be81
L
307022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30703
30704 * sysdeps/x86_64/x32/dl-machine.h: New file.
30705
6a4888ff
AJ
307062012-05-14 Andreas Jaeger <aj@suse.de>
30707
30708 * manual/Makefile (subdir): Remove export of subdir.
30709 (all): Remove target.
30710 (.PHONY): Remove all from list.
30711 (mkinstalldirs): Remove.
30712 (.PHONY): Remove installdirs from list.
30713 ($(inst_infodir)/libc.info): Use make-target-directory.
30714 (installdirs): Remove.
30715 (subdir_%): Remove.
30716 (glibc-targets): Remove.
30717 (lib): Remove.
30718 (stubs): Remove.
30719 ($(objpfx)stubs ../po/manual.pot): Remove.
30720 ($(objpfx)stamp%): Remove.
30721 (make-target-directory): Remove.
30722 (subdir_install): Remove.
30723 (routines): Remove.
30724 (aux): Remove.
30725 (sources): Remove.
30726 (objects): Remove.
30727 (headers): Remove.
30728
30729 [BZ #13750]
30730 * manual/.gitignore: Remove, it's not needed anymore.
30731 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30732 all files in it.
30733 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30734 directory.
30735 (texis): Renamed to $(objpfx)texis.
30736 (texis-path): New, contains path to generated files.
30737 (chapters.%): Use texis-path for complete path, add extra argument
30738 libc-texinfo.sh.
30739 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30740 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30741 (summary,texi, stamp-summary): Use complete path of
30742 files. Generate files in build dir.
30743 (dir-add.texi): Build in build dir.
30744 (libm-err.texi,stamp-libm-err): Likewise.
30745 (version.texi, stamp-version): Likewise.
30746 (.%c.texi): Likewise.
30747 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30748 (mostlyclean): Remove target.
30749 (realclean): Remove target.
30750 (generated): Add new variable with contents from mostlyclean and
30751 realclean, remove entries duplicated in common-mostlyclean, add
30752 stamp-libm-err and stamp-version.
30753 (generated-dirs): Add libc directory.
30754 ($(inst_infodir)/libc.info): Install files from build dir.
30755
30756 * manual/install.texi (Configuring and compiling): Adjust since
30757 the info files are not part of the tar ball anymore.
30758
7ac77294
AJ
307592012-05-14 Andreas Jaeger <aj@suse.de>
30760
30761 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30762 variable.
30763
ffb7875d
JM
307642012-05-14 Joseph Myers <joseph@codesourcery.com>
30765
30766 [BZ #13717]
30767 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30768 to 2.2.0 where earlier.
30769 * sysdeps/unix/sysv/linux/configure: Regenerated.
30770 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30771 Remove conditional code.
30772 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30773 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30774 Remove conditional code.
30775 [!__NR_lchown]: Likewise.
30776 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30777 [__NR_lchown]: Likewise.
30778 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30779 comment referencing __ASSUME_LCHOWN_SYSCALL.
30780 * sysdeps/unix/sysv/linux/i386/sigaction.c
30781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30783 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30784 Remove conditional code.
30785 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30786 (__protocol_available): Remove #if 0 code.
30787 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30788 conditional code.
30789 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30790 * sysdeps/unix/sysv/linux/kernel-features.h
30791 (__ASSUME_GETCWD_SYSCALL): Don't define.
30792 (__ASSUME_REALTIME_SIGNALS): Likewise.
30793 (__ASSUME_PREAD_SYSCALL): Likewise.
30794 (__ASSUME_PWRITE_SYSCALL): Likewise.
30795 (__ASSUME_POLL_SYSCALL): Likewise.
30796 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30797 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30798 non-SPARC.
30799 (__ASSUME_SIOCGIFNAME): Don't define.
30800 (__ASSUME_MSG_NOSIGNAL): Likewise.
30801 (__ASSUME_SENDFILE): Define unconditionally.
30802 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30803 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30804 conditional code.
30805 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30806 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30807 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30808 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30809 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30810 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30811 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30813 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30816 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30819 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30822 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30823 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30825 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30826 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30828 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30829 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30831 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30832 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30834 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30835 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30836 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30837 Remove conditional code.
30838 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30839 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30840 Remove conditional code.
30841 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30842 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30843 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30844 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30845 Remove conditional code.
30846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30847 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30848 Remove conditional code.
30849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30850 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30851 Remove conditional code.
30852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30853 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30854 Remove conditional code.
30855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30856 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30857 Remove conditional code.
30858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30859 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30862 * sysdeps/unix/sysv/linux/sigaction.c
30863 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30864 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30865 * sysdeps/unix/sysv/linux/sigpending.c
30866 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30867 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30868 * sysdeps/unix/sysv/linux/sigprocmask.c
30869 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30870 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30871 * sysdeps/unix/sysv/linux/sigsuspend.c
30872 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30873 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30874 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30875 (__libc_missing_rt_sigs): Remove.
30876 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30877 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30878 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30879 Remove conditional code.
30880 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30881 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30882 return 1.
30883 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30884 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30885 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30886 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30887
1bfb7291
AJ
308882012-05-14 Andreas Jaeger <aj@suse.de>
30889
caae5a81
AJ
30890 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30891 it's not used in glibc.
30892 (__coshm1): Likewise.
30893 (__acosh1p): Likewise.
30894 (__sgn): Likewise.
30895
1bfb7291
AJ
30896 * manual/string.texi (Copying and Concatenation): Add missing
30897 variable in concat example.
30898 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30899
c044d724
L
309002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30901
144c5467 30902 [BZ #14103]
c044d724
L
30903 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30904 __builtin_clzl with __builtin_clzll.
30905
2523c62b
L
309062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30907
30908 [BZ #14104]
30909 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30910 libc_freeres_ptr.
30911
d7bb4c42
LD
309122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30913
30914 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30915 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30916 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30917 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30918
9dc4e1fb
MF
309192012-05-14 Mike Frysinger <vapier@gentoo.org>
30920
30921 * NEWS: Update ia64 info.
30922
c7df0112
AS
309232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30924
30925 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30926 used as bcopy.
30927
dc70356c
TS
309282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30929
30930 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30931 * sysdeps/unix/syscalls.list (dup3): Likewise.
30932 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30933 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30934
9fb1a21f
L
309352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30936
30937 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30938 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30939
4822a2a5
L
309402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30941
30942 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30943 thread pointer.
30944 (TLS_IE): Use mov/add instead of movq/addq to load thread
30945 pointer.
30946 (TLS_GD_PREFIX): New.
30947 (TLS_GD): Use it.
30948
842b81d6
DM
309492012-05-11 David S. Miller <davem@davemloft.net>
30950
30951 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30952 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30953 (_FPU_SETCW): Likewise.
30954
1cf463cd
L
309552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30956
30957 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30958 is 32-byte aligned.
30959
60cc4a18
AS
309602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30961
30962 [BZ #11837]
30963 * iconvdata/gb18030.c: Update tables.
30964 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30965 characters specially.
30966 (BODY for TO_LOOP): Add encoding of missing ranges.
30967
febb44a4
TS
309682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30969
30970 [BZ #13673]
30971 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30972 * sysdeps/mach/hurd/dup3.c: Likewise.
30973 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30974 * sysdeps/powerpc/memmove.c:: Likewise.
30975
0a10fb9e
L
309762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30977
30978 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30979 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30980
df8a552f
L
309812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30982
30983 * elf/elf.h (R_X86_64_RELATIVE64): New.
30984 (R_X86_64_NUM): Updated.
30985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30986 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30987 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30988 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30989 tst-quad1pie tst-quad2pie
30990 (modules-names): Add tst-quadmod1 tst-quadmod2.
30991 ($(objpfx)tst-quad1): New dependency.
30992 ($(objpfx)tst-quad2): Likewise.
30993 ($(objpfx)tst-quad1pie): Likewise.
30994 ($(objpfx)tst-quad2pie): Likewise.
30995 * sysdeps/x86_64/tst-quad1.c: New file.
30996 * sysdeps/x86_64/tst-quad1pie.c: New file.
30997 * sysdeps/x86_64/tst-quad2.c: Likewise.
30998 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30999 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31000 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31001 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31002 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31003
f34d6f84
ST
310042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31005
f42d41d1
ST
31006 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31007 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31008 * streams/stropts.h (t_scalar_t): Define type.
31009
3c3571fc
ST
31010 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31011 (_PATH_PRESERVE): Set to "/var/lib".
31012 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31013
61f06bd3
ST
31014 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31015 instead of int.
31016
918d4d71
ST
31017 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31018 if __dir_mkfile succeeded.
31019
f34d6f84
ST
31020 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31021 checking for _hurd_dtablesize. Unlock it right after having
31022 finished _hurd_dtable allocation.
31023
10589b4a
TS
310242012-05-10 Thomas Schwinge <thomas@schwinge.name>
31025
674cdbc7
TS
31026 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31027 * sysdeps/mach/hurd/configure: Regenerated.
31028 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31029 special-casing to...
31030 * sysdeps/gnu/configure.in: ... this new file.
31031 * sysdeps/unix/sysv/linux/configure: Regenerated.
31032 * sysdeps/gnu/configure: New generated file.
31033
8e41b99f
TS
31034 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31035 for Linux: use nsec instead of usec, as well as:
31036 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31037 members of type struct timespec.
31038 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31039 New macros.
31040 (struct stat64): Likewise.
31041 (_STATBUF_ST_NSEC): New macro.
31042 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31043
10589b4a
TS
31044 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31045 __strtoul_internal rather than strtoul.
31046
63643c85
PT
310472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31048
31049 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31050 and reject them.
31051
3faebe6a
ST
310522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31053
31054 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31055 which preserves existing values.
31056 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31057
c6474b07
PT
310582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31059
31060 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31061 TIMEOUT values. Return EINVAL for NFDS values either negative or
31062 greater than FD_SETSIZE.
31063
1043890b
ST
310642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31065
31066 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31067 allocated, call __vm_protect to finish enabling the existing space, and
31068 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31069 allocate the remainder.
31070
37ed8b9b
PT
310712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31072
31073 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31074 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31075
db653660
ST
310762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31077
37ed8b9b
PT
31078 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31079 sysdeps/mach/hurd/readlink.c.
b29d4053 31080
db653660
ST
31081 * posix/tst-sysconf.c (posix_options): Only use
31082 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31083 _POSIX_SYNCHRONIZED_IO when they are defined
31084 * sysdeps/mach/hurd/bits/posix_opt.h:
31085 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31086 (_XOPEN_REALTIME): Undefine macro.
31087 (_XOPEN_REALTIME_THREADS): Undefine macro.
31088 (_XOPEN_SHM): Undefine macro.
31089 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31090 macro to -1.
31091 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31092 macro to -1.
31093 (_POSIX_ASYNC_IO): Undefine macro.
31094 (_POSIX_PRIORITIZED_IO): Undefine macro.
31095 (_POSIX_SPIN_LOCKS): Define macro to -1.
31096
ee16e894
ST
31097 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31098 SA_NODEFER, SA_RESETHAND.
31099 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31100 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31101 F_DUPFD_CLOEXEC.
31102
6103ae3b
TS
311032012-05-10 Thomas Schwinge <thomas@schwinge.name>
31104
31105 * elf/Makefile (pldd-modules): Define unconditionally.
31106
80b4e5f3
TS
311072012-05-10 Thomas Schwinge <thomas@schwinge.name>
31108
31109 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31110
edadcbd6
ST
311112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31112
31113 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31114 Return ENOENT when name is empty.
31115 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31116
80694780
TS
311172012-05-10 Thomas Schwinge <thomas@schwinge.name>
31118
1792c087
TS
31119 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31120
80694780
TS
31121 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31122
6b645f0d
ST
311232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31124
80694780
TS
31125 Fix mlock in all cases except non-readable pages.
31126 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31127 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31128
6b645f0d
ST
31129 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31130 (__mkdir): When path is `/', just fail with EEXIST.
31131 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31132
e468f8a3
TS
311332012-05-10 Thomas Schwinge <thomas@schwinge.name>
31134
31135 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31136 <sys/uio.h> (for writev).
31137 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31138 and <sys/param.h> (for MIN).
31139
a4186cff
PT
311402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31141
31142 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31143 REQUESTED_TIME. Properly set the remaining time and return EINTR
31144 if interrupted.
31145
510bbf14
TS
311462012-05-10 Thomas Schwinge <thomas@schwinge.name>
31147
31148 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31149 Depend on against $(link-rpcuserlibs).
31150
5d5722e8
ST
311512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31152
a4186cff
PT
31153 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31154 (__libc_stack_end): Do not use attribute_relro.
31155 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31156 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31157 to libthread-provided value.
a4186cff
PT
31158 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31159 attribute_relro.
5d5722e8 31160
37233df9
TS
311612012-05-10 Thomas Schwinge <thomas@schwinge.name>
31162
be971a2b
TS
31163 [BZ #3748]
31164 * bits/libc-lock.h (__libc_once_get): New macro.
31165 * sysdeps/mach/bits/libc-lock.h: Likewise.
31166 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31167 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31168 instead of using implementation details.
31169
37233df9
TS
31170 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31171 * libio/freopen.c: Likewise.
31172 * libio/freopen64.c: Likewise.
31173 * misc/syslog.c: Likewise.
31174 * nscd/connections.c: Likewise.
31175 * nscd/netgroupcache.c: Likewise.
31176 * sysdeps/posix/getcwd.c: Likewise.
31177
38de94a5
RM
311782012-05-10 Roland McGrath <roland@hack.frob.com>
31179
31180 * math/w_ilogbf.c: Add #include <limits.h>.
31181
67530489
ST
311822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31183
a4186cff 31184 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31185 path instead of returning without unlocking.
31186
67530489
ST
31187 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31188 immediate-write ioctls.
31189 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31190
5aa3a74a
TS
311912012-05-10 Thomas Schwinge <thomas@schwinge.name>
31192
18bad2ae
TS
31193 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31194 __builtin_frame_address instead of making assumptions about the
31195 location of the return address relative to DATA. Force early load of
31196 the return address.
31197 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31198 __builtin_frame_address.
31199
5aa3a74a
TS
31200 dup3 for GNU Hurd.
31201 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31202 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31203 implement dup3 and do some further code clean-ups.
31204 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31205 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31206
ecd0de9a
ST
312072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31208
cd9fa985
ST
31209 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31210
a4186cff
PT
31211 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31212 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31213 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31214 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31215 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31216 d->port.lock.
802ca5a5 31217
a4186cff
PT
31218 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31219 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31220 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31221
bcf55240
TS
312222012-05-10 Thomas Schwinge <thomas@schwinge.name>
31223
6960eb42
TS
31224 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31225 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31226 definitions.
31227
eb43375f
TS
31228 accept4 for GNU Hurd.
31229 * include/sys/socket.h (__libc_accept4): New prototype.
31230 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31231 to implement __libc_accept4.
31232 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31233 __libc_accept4.
31234 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31235
bcf55240
TS
31236 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31237 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31238 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31239 signal-defines.sym.
31240
6178c55b
ST
312412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31242
a4186cff 31243 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31244
6f080c2f
TS
312452012-05-10 Thomas Schwinge <thomas@schwinge.name>
31246
31247 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31248 assertion on O_CLOEXEC flag.
31249 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31250 * hurd/intern-fd.c: Likewise.
31251 * hurd/port2fd.c: Likewise.
31252
bcfe3a54
ST
312532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31254
31255 [BZ #3906]
31256 * bits/in.h (IPV6_PKTINFO): Define new macro.
31257 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31258
89c9aa49
AZ
312592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31260
31261 [BZ #13954]
31262 [BZ #13955]
31263 [BZ #13956]
31264 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31265 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31266 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31267 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31268 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31269 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31270 * math/libm-test.inc (logb_test) : Additional logb tests.
31271
021db4be
AJ
312722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31273 Andreas Jaeger <aj@suse.de>
31274
31275 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31276 * configure: Regenerated.
31277 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31278 * config.make.in (link-obsolete-rpc): New substituted variable.
31279 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31280 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31281 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31282 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31283 so that libc.a contains the symbols.
31284 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31285 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31286 * sunrpc/auth_none.c: Likewise.
31287 * sunrpc/auth_unix.c: Likewise.
31288 * sunrpc/authdes_prot.c: Likewise.
31289 * sunrpc/authuxprot.c: Likewise.
31290 * sunrpc/clnt_gen.c: Likewise.
31291 * sunrpc/clnt_perr.c: Likewise.
31292 * sunrpc/clnt_raw.c: Likewise.
31293 * sunrpc/clnt_simp.c: Likewise.
31294 * sunrpc/clnt_tcp.c: Likewise.
31295 * sunrpc/clnt_udp.c: Likewise.
31296 * sunrpc/clnt_unix.c: Likewise.
31297 * sunrpc/des_crypt.c: Likewise.
31298 * sunrpc/des_soft.c: Likewise.
31299 * sunrpc/get_myaddr.c: Likewise.
31300 * sunrpc/key_call.c: Likewise.
31301 * sunrpc/key_prot.c: Likewise.
31302 * sunrpc/netname.c: Likewise.
31303 * sunrpc/pm_getmaps.c: Likewise.
31304 * sunrpc/pm_getport.c: Likewise.
31305 * sunrpc/pmap_clnt.c: Likewise.
31306 * sunrpc/pmap_prot.c: Likewise.
31307 * sunrpc/pmap_prot2.c: Likewise.
31308 * sunrpc/pmap_rmt.c: Likewise.
31309 * sunrpc/publickey.c: Likewise.
31310 * sunrpc/rpc_cmsg.c: Likewise.
31311 * sunrpc/rpc_common.c: Likewise.
31312 * sunrpc/rpc_dtable.c: Likewise.
31313 * sunrpc/rpc_prot.c: Likewise.
31314 * sunrpc/rpc_thread.c: Likewise.
31315 * sunrpc/rtime.c: Likewise.
31316 * sunrpc/svc.c: Likewise.
31317 * sunrpc/svc_auth.c: Likewise.
31318 * sunrpc/svc_raw.c: Likewise.
31319 * sunrpc/svc_run.c: Likewise.
31320 * sunrpc/svc_tcp.c: Likewise.
31321 * sunrpc/svc_udp.c: Likewise.
31322 * sunrpc/svc_unix.c: Likewise.
31323 * sunrpc/svcauth_des.c: Likewise.
31324 * sunrpc/xcrypt.c: Likewise.
31325 * sunrpc/xdr.c: Likewise.
31326 * sunrpc/xdr_array.c: Likewise.
31327 * sunrpc/xdr_float.c: Likewise.
31328 * sunrpc/xdr_intXX_t.c: Likewise.
31329 * sunrpc/xdr_mem.c: Likewise.
31330 * sunrpc/xdr_rec.c: Likewise.
31331 * sunrpc/xdr_ref.c: Likewise.
31332 * sunrpc/xdr_sizeof.c: Likewise.
31333 * sunrpc/xdr_stdio.c: Likewise.
31334
b5c086a2
RM
313352012-05-10 Roland McGrath <roland@hack.frob.com>
31336
31337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31338 change. Update copyright years.
31339
6d74dd09
JM
313402012-05-10 Joseph Myers <joseph@codesourcery.com>
31341
31342 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31343
28e72501
MK
313442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31345 Joseph Myers <joseph@codesourcery.com>
31346 Paul Pluzhnikov <ppluzhnikov@google.com>
31347
31348 [BZ #14012]
31349 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31350 requiring rpcgen.
31351 [cross-compiling] (extra-libs): Likewise.
31352 [cross-compiling] (extra-libs-others): Likewise.
31353 [cross-compiling] (librpcsvc-routines): Likewise.
31354 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31355 [cross-compiling] (omit-deps): Likewise.
31356 (sunrpc-CPPFLAGS): New variable.
31357 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31358 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31359 (cross-rpcgen-objs): New variable.
31360 (extra-objs): Append $(cross-rpcgen-objs).
31361 ($(cross-rpcgen-objs)): New rule.
31362 ($(objpfx)cross-rpcgen): Likewise.
31363 (rpcgen-cmd): Define to use $(built-program-file). Expand
31364 comment.
31365 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31366 ($(objpfx)x%.stmp): Likewise.
31367 * sunrpc/proto.h [IS_IN_build] (_): Define.
31368 [IS_IN_build] (_libc_intl_domainname): Likewise.
31369
c8c59454
L
313702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31371
31372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31373 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31374 and R_X86_64_TPOFF64.
31375
6f27cd16
JM
313762012-05-10 Joseph Myers <joseph@codesourcery.com>
31377
31378 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31379 sysdeps/unix/sysv/syscalls.list.
31380 (stime): Likewise.
31381 (utime): Likewise.
31382 * sysdeps/unix/sysv/syscalls.list: Remove file.
31383
02467e1c
PE
313842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31385
31386 [BZ #3440]
31387 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31388 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31389 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31390 (__LC_IDENTIFICATION): Make these macros useful in #if
31391 expressions, as required by C99.
31392
da392631
AS
313932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31394
31395 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31396 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31397 after this.
31398
8115f29b
L
313992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31400
31401 * stdlib/longlong.h: Updated from GCC.
31402
bdd74070
AJ
314032012-05-09 Andreas Jaeger <aj@suse.de>
31404
edfe0dbe
AJ
31405 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31406 default is first entry.
31407 (run_mode): Set type.
31408 (main): Remove informal message about syslog.
31409 (options): Fix typo.
31410
bcfe3a54
ST
31411 [BZ #14053]
31412 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31413 to asm.
bcfe3a54
ST
31414 (lrint): Likewise.
31415 (llrintf): Likewise.
31416 (llrint): Likewise.
31417 (rint): Likewise.
31418 (rintf): Likewise.
31419 (nearbyint): Likewise.
31420 (nearbyintf): Likewise.
bdd74070 31421
91d8d69e
AJ
314222012-05-09 Andreas Jaeger <aj@suse.de>
31423 Pedro Alves <palves@redhat.com>
31424
31425 * nscd/nscd.c (run_mode): Use enum.
31426 (main): Cleanup coding style issue.
31427
bb90b80b
AJ
314282012-05-09 Alexandre Oliva <aoliva@redhat.com>
31429 Andreas Jaeger <aj@suse.de>
31430
bcfe3a54
ST
31431 * nscd/nscd.c (go_background): Replaced with...
31432 (run_mode): ... this.
bb90b80b 31433 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31434 (options): Add -F --foreground.
31435 (main): Implement it.
31436 (parse_opt): Parse it.
bb90b80b 31437
1a4b75a1
AJ
314382012-05-09 Andreas Jaeger <aj@suse.de>
31439
31440 [BZ #14083]
31441 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31442 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31443 -Wconversion warning.
31444 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31445 Likewise.
31446
b1cc2472
JM
314472012-05-09 Joseph Myers <joseph@codesourcery.com>
31448
31449 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31450 == 0.
31451 (LC_ALL): Use macro-int-constant.
31452 (LC_COLLATE): Likewise.
31453 (LC_CTYPE): Likewise.
31454 (LC_MESSAGES): Likewise.
31455 (LC_MONETARY): Likewise.
31456 (LC_NUMERIC): Likewise.
31457 (LC_TIME): Likewise.
31458 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31459 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31461 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31462 Specify type.
31463 [C99-based standards] (float_t): Expect type.
31464 [C99-based standards] (double_t): Expect type.
31465 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31466 type.
31467 [C99-based standards] (HUGE_VALL): Likewise.
31468 [C99-based standards] (INFINITY): Likewise.
31469 [C99-based standards] (NAN): Likewise.
31470 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31471 [C99-based standards] (FP_NAN): Likewise.
31472 [C99-based standards] (FP_NORMAL): Likewise.
31473 [C99-based standards] (FP_SUBNORMAL): Likewise.
31474 [C99-based standards] (FP_ZERO): Likewise.
31475 [C99-based standards] (FP_FAST_FMA): Use
31476 optional-macro-int-constant. Specify type. Require == 1.
31477 [C99-based standards] (FP_FAST_FMAF): Likewise.
31478 [C99-based standards] (FP_FAST_FMAL): Likewise.
31479 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31480 [C99-based standards] (FP_ILOGBNAN): Likewise.
31481 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31482 Specify type.
31483 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31484 [C99-based standards] (math_errhandling): Specify type.
31485 [ISO99 || ISO11] (signgam): Do not allow.
31486 [non-C99-based standards] (copysignf): Do not allow.
31487 [non-C99-based standards] (exp2f): Likewise.
31488 [non-C99-based standards] (log2f): Likewise.
31489 [non-C99-based standards] (modff): Allow.
31490 [non-C99-based standards] (erff): Do not allow.
31491 [non-C99-based standards] (erfcf): Likewise.
31492 [non-C99-based standards] (gammaf): Likewise.
31493 [non-C99-based standards] (hypotf): Likewise.
31494 [non-C99-based standards] (j0f): Likewise.
31495 [non-C99-based standards] (j1f): Likewise.
31496 [non-C99-based standards] (jnf): Likewise.
31497 [non-C99-based standards] (lgammaf): Likewise.
31498 [non-C99-based standards] (tgammaf): Likewise.
31499 [non-C99-based standards] (y0f): Likewise.
31500 [non-C99-based standards] (y1f): Likewise.
31501 [non-C99-based standards] (ynf): Likewise.
31502 [non-C99-based standards] (isnanf): Likewise.
31503 [non-C99-based standards] (acoshf): Likewise.
31504 [non-C99-based standards] (asinhf): Likewise.
31505 [non-C99-based standards] (atanhf): Likewise.
31506 [non-C99-based standards] (cbrtf): Likewise.
31507 [non-C99-based standards] (expm1f): Likewise.
31508 [non-C99-based standards] (ilogbf): Likewise.
31509 [non-C99-based standards] (log1pf): Likewise.
31510 [non-C99-based standards] (logbf): Likewise.
31511 [non-C99-based standards] (nextafterf): Likewise.
31512 [non-C99-based standards] (remainderf): Likewise.
31513 [non-C99-based standards] (rintf): Likewise.
31514 [non-C99-based standards] (scalbf): Likewise.
31515 [non-C99-based standards] (copysignl): Likewise.
31516 [non-C99-based standards] (exp2l): Likewise.
31517 [non-C99-based standards] (log2l): Likewise.
31518 [non-C99-based standards] (modfl): Allow.
31519 [non-C99-based standards] (erfl): Do not allow.
31520 [non-C99-based standards] (erfcl): Likewise.
31521 [non-C99-based standards] (gammal): Likewise.
31522 [non-C99-based standards] (hypotl): Likewise.
31523 [non-C99-based standards] (j0l): Likewise.
31524 [non-C99-based standards] (j1l): Likewise.
31525 [non-C99-based standards] (jnl): Likewise.
31526 [non-C99-based standards] (lgammal): Likewise.
31527 [non-C99-based standards] (tgammal): Likewise.
31528 [non-C99-based standards] (y0l): Likewise.
31529 [non-C99-based standards] (y1l): Likewise.
31530 [non-C99-based standards] (ynl): Likewise.
31531 [non-C99-based standards] (isnanl): Likewise.
31532 [non-C99-based standards] (acoshl): Likewise.
31533 [non-C99-based standards] (asinhl): Likewise.
31534 [non-C99-based standards] (atanhl): Likewise.
31535 [non-C99-based standards] (cbrtl): Likewise.
31536 [non-C99-based standards] (expm1l): Likewise.
31537 [non-C99-based standards] (ilogbl): Likewise.
31538 [non-C99-based standards] (log1pl): Likewise.
31539 [non-C99-based standards] (logbl): Likewise.
31540 [non-C99-based standards] (nextafterl): Likewise.
31541 [non-C99-based standards] (remainderl): Likewise.
31542 [non-C99-based standards] (rintl): Likewise.
31543 [non-C99-based standards] (scalbl): Likewise.
31544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31545 [non-C99-based standards] (FP_*): Do not allow.
31546 [C99-based standards] (FP_*): Change to
31547 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31548 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31549 allow.
31550 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31551 (SIG_ERR): Likewise.
31552 [X/Open-based standards] (SIG_HOLD): Likewise.
31553 (SIG_IGN): Likewise.
31554 (SIGABRT): Use macro-int-constant. Specify type. Require
31555 positive value.
31556 (SIGFPE): Likewise.
31557 (SIGILL): Likewise.
31558 (SIGINT): Likewise.
31559 (SIGSEGV): Likewise.
31560 (SIGTER): Likewise.
31561 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31562 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31563 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31564 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31565 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31566 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31567 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31568 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31569 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31570 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31571 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31572 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31573 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31574 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31575 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31576 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31577 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31578 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31579 [X/Open-based standards] (SIGTRAP): Likewise.
31580 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31581 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31582 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31583 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31584 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31585 allow.
31586
b9f1922d
IW
315872012-05-08 Ian Wienand <ianw@vmware.com>
31588
31589 [BZ #14080]
31590 * time/tzset.c (__tzset_parse_tz): Update default rules for
31591 daylight time changes in the Energy Policy Act of 2005.
31592
1db86e88
AJ
315932012-05-09 Andreas Jaeger <aj@suse.de>
31594
31595 [BZ #13983]
31596 * elf/ldconfig.c (parse_conf): Change string to make clear that
31597 ldconfig only issued a warning if ld.so.conf does not exist.
31598
dee4a4e3
DM
315992012-05-08 David S. Miller <davem@davemloft.net>
31600
ee0db190
DM
31601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31602 movxtod instead of popping the value on the stack.
31603
dee4a4e3
DM
31604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31605
6a43ec98
CD
316062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31607
31608 * config.h.in: Add HAVE_ARM_PCS_VFP.
31609
05c2c961
RMG
316102012-05-08 Roland Mc Grath <roland@hack.frob.com>
31611
bcfe3a54
ST
31612 [BZ #13979]
31613 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31614 checking but the checks are disabled for any reason.
05c2c961 31615
4b30f61a
L
316162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31617
31618 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31619 and ELF64_R_TYPE with ELFW(R_TYPE).
31620
eee2bc67
JM
316212012-05-08 Joseph Myers <joseph@codesourcery.com>
31622
7ea5391a
JM
31623 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31624 (ulimit): Likewise.
31625
eee2bc67
JM
31626 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31627 (settimeofday): Likewise.
31628
abb66a67
MF
316292012-05-08 Mike Frysinger <vapier@gentoo.org>
31630
31631 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31632 a struct th_u2 inside the union, and move tu_block/tu_code into
31633 a new th_u3 union of tu_block/tu_code inside of that. Move
31634 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31635 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31636 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31637 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31638 (th_stuff): Change to th_u1.tu_stuff.
31639 (th_data): Define.
31640 (th_msg): Change to th_u1.th_u2.tu_data.
31641
7f18b530
DM
316422012-05-07 David S. Miller <davem@davemloft.net>
31643
05760585
DM
31644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31645
7f18b530
DM
31646 [BZ #14074]
31647 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31648 (SETUP_PIC_REG): Use it.
31649 (SETUP_PIC_REG_LEAF): Use it.
31650
495fd99f
JM
316512012-05-07 Joseph Myers <joseph@codesourcery.com>
31652
31653 [BZ #13885]
31654 [BZ #13923]
31655 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31656 USE_AS_EXPM1L.
31657 (EXPL_FINITE): Likewise.
31658 (FLDLOG): Likewise.
31659 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31660 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31661 e_expl.S.
31662 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31663 USE_AS_EXPM1L.
31664 (EXPL_FINITE): Likewise.
31665 (FLDLOG): Likewise.
31666 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31667 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31668 e_expl.S.
31669 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31670 test of -max_value argument for long double.
31671 * sysdeps/i386/fpu/libm-test-ulps: Update.
31672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31673
6693d694
DM
316742012-05-06 David S. Miller <davem@davemloft.net>
31675
31676 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31677 quad soft-float symbols whose references which are compiler
31678 generated.
31679 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31680
6c23e11c
JM
316812012-05-06 Joseph Myers <joseph@codesourcery.com>
31682
d8b82cad
JM
31683 [BZ #13884]
31684 [BZ #13914]
31685 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31686 USE_AS_EXP10L.
31687 (EXPL_FINITE): Likewise.
31688 (FLDLOG): Likewise.
31689 (c0): Likewise.
31690 (c1): Likewise.
31691 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31692 Adjust comments for base varying.
31693 (__expl_finite): Change alias to EXPL_FINITE.
31694 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31695 e_expl.S.
31696 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31697 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31698 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31699 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31700 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31701 USE_AS_EXP10L.
31702 (EXPL_FINITE): Likewise.
31703 (FLDLOG): Likewise.
31704 (c0): Likewise.
31705 (c1): Likewise.
31706 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31707 Adjust comments for base varying.
31708 (__expl_finite): Change alias to EXPL_FINITE.
31709 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31710 tests for bugs.
31711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31712
6c23e11c
JM
31713 [BZ #14064]
31714 * math/libm-test.inc (check_float_internal): Correct ulp
31715 calculation for subnormal expected results.
31716
29ba805c
AJ
317172012-05-06 Andreas Jaeger <aj@suse.de>
31718
31719 * Makeconfig (+math-flags): New, set to -frounding-math.
31720 (+cflags): Add +math-flags so that all of glibc gets compiled with
31721 it.
31722
31723 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31724
7b17aeda
JM
317252012-05-05 Joseph Myers <joseph@codesourcery.com>
31726
5779f134
JM
31727 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31728 Disable one test.
31729
41498f4d
JM
31730 [BZ #13787]
31731 [BZ #13922]
31732 [BZ #14036]
31733 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31734 (__ieee754_expl): Allow for and saturate large arguments.
31735 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31736 (u_threshold): Likewise.
31737 (__exp): Call __ieee754_exp before checking for overflow and
31738 underflow.
31739 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31740 (u_threshold): Likewise.
31741 (__expf): Call __ieee754_expf before checking for overflow and
31742 underflow.
31743 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31744 (u_threshold): Likewise.
31745 (__expl): Call __ieee754_expl before checking for overflow and
31746 underflow.
31747 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31748 (__ieee754_expl): Allow for and saturate large arguments.
31749 * math/libm-test.inc (exp_test): Add another test. Do not allow
31750 missing overflow exception on overflow.
31751 (expm1_test): Do not allow missing overflow exception on overflow.
31752
6698b8bf
JM
31753 * sysdeps/i386/fpu/e_expl.c: Move to ...
31754 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31755 rather than using inline asm.
31756 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31757 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31758 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31759
7b17aeda
JM
31760 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31761 (nice): Likewise.
31762 (poll): Likewise.
31763 (signal): Likewise.
31764 (time): Likewise.
31765 (times): Likewise.
31766
f7c85819
JM
317672012-05-04 Joseph Myers <joseph@codesourcery.com>
31768
31769 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31770 sysdeps/unix/common/syscalls.list.
31771 (fchmod): Likewise.
31772 (fchown): Likewise.
31773 (ftruncate): Likewise.
31774 (getrusage): Likewise.
31775 (gettimeofday): Likewise.
31776 (setpgid): Likewise.
31777 (setregid): Likewise.
31778 (setreuid): Likewise.
31779 (sigaction): Likewise.
31780 (truncate): Likewise.
31781 (vhangup): Likewise.
31782 * sysdeps/unix/common/syscalls.list: Remove file.
31783 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31784 * sysdeps/unix/sysv/linux/Implies: Likewise.
31785
336270d0
L
317862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31787
31788 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31790 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31791 Moved to ...
31792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31793 Here.
31794 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31795 to ...
31796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31797 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31798 to ...
31799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31800 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31801 to ...
31802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31803 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31804 to ...
31805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31806 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31807 to ...
31808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31809 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31810 to ...
31811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31812 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31813 to ...
31814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31815 Here.
31816 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31817 to ...
31818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31819 Here.
31820 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31821 to ...
31822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31823 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31824 Moved to ...
31825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31826 Here.
31827 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31828 to ...
31829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31830
d128e450
JM
318312012-05-04 Joseph Myers <joseph@codesourcery.com>
31832
fa8ee516
JM
31833 * sysdeps/unix/common/bits/dirent.h: Remove file.
31834 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31835
d128e450
JM
31836 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31837 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31838 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31839 * sysdeps/unix/bsd/isatty.c: Likewise.
31840 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31841 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31842 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31843
ff8faaf0 318442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31845
62881be4 31846 [BZ #13563]
31dc8730
AZ
31847 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31848 long double comparison inaccuracies.
31849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31851
6fef930c
AS
318522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31853
31854 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31855 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31856
8f203e6c
JM
318572012-05-04 Joseph Myers <joseph@codesourcery.com>
31858
31859 [BZ #14049]
31860 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31861 nonzero digits before rounding a hex value.
31862 * stdlib/tst-strtod.c (tests): Add another test.
31863
5197d9c2
AK
318642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31865
31866 * sysdeps/s390/fpu/libm-test-ulps: Update.
31867
f0c1dedf
AJ
318682012-05-03 Andreas Jaeger <aj@suse.de>
31869
31870 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31871 does not get optimized out.
31872 (malloc_opt_barrier): New.
31873
a65ef2ae 318742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31875 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31876
2b942cb7 31877 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31878 intermediate file deletion.
2b942cb7 31879 (generated): Add .symlist files.
a65ef2ae 31880
54b71e02
JM
318812012-05-03 Joseph Myers <joseph@codesourcery.com>
31882
31883 [BZ #13775]
31884 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31885 Redirect under this condition.
31886 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31887 [__USE_GNU] (__dprintf_chk): Not under this condition.
31888 [__USE_GNU] (__vdprintf_chk): Likewise.
31889 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31890 under this condition.
31891 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31892 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31893 [__USE_XOPEN2K8] (vdprintf): Likewise.
31894 [__USE_GNU] (__dprintf_chk): Not under this condition.
31895 [__USE_GNU] (__vdprintf_chk): Likewise.
31896 [__USE_GNU] (dprintf): Likewise.
31897 [__USE_GNU] (vdprintf): Likewise.
31898
d3dfcc41
RM
318992012-05-03 Roland McGrath <roland@hack.frob.com>
31900
31901 * elf/Makefile (common-generated): Set this instead of generated for
31902 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31903 $(all-built-dso)-derived lists.
31904
7ac30cc5
AJ
319052012-05-03 Andreas Jaeger <aj@suse.de>
31906
0c51e550
AJ
31907 * sysdeps/i386/fpu/libm-test-ulps: Update.
31908
7ac30cc5
AJ
31909 * FAQ: Removed.
31910 * FAQ.in: Likewise.
31911 * scripts/gen-FAQ.pl: Likewise.
31912 * manual/install.texi (Installation): Point to online location of
31913 FAQ.
31914 * Makefile (files-for-dist): Remove FAQ.
31915 (FAQ): Remove.
31916
d4c2917f
AM
319172012-05-02 Allan McRae <allan@archlinux.org>
31918
31919 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31920 (LDFLAGS-reldepmod5.so): Likewise.
31921 (LDFLAGS-reldep6mod1.so): Likewise.
31922 (LDFLAGS-reldep6mod4.so): Likewise.
31923 (LDFLAGS-reldep8mod3.so): Likewise.
31924 (LDFLAGS-unload4mod1.so): Likewise.
31925 (LDFLAGS-unload4mod2.so): Likewise.
31926 (LDFLAGS-tst-initorder): Likewise.
31927 (LDFLAGS-tst-initordera2.so): Likewise.
31928 (LDFLAGS-tst-initordera3.so): Likewise.
31929 (LDFLAGS-tst-initordera4.so): Likewise.
31930 (LDFLAGS-tst-initorderb2.so): Likewise.
31931 (LDFLAGS-noload): Likewise.
31932 (LDFLAGS-next): Likewise.
31933 (LDFLAGS-order2mod1.so): Likewise.
31934 (LDFLAGS-order2mod2.so): Likewise.
31935 (LDFLAGS-tst-initorder2): Likewise.
31936 (LDFLAGS-tst-initorder2a.so): Likewise.
31937 (LDFLAGS-tst-initorder2b.so): Likewise.
31938 (LDFLAGS-tst-initorder2c.so): Likewise.
31939 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31940
d77f993f
DM
319412012-05-02 David S. Miller <davem@davemloft.net>
31942
31943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31944
171a70b4
PP
319452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31946
31947 [BZ #14055]
31948 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31949
0be196ad
AJ
319502012-05-02 Andreas Jaeger <aj@suse.de>
31951
31952 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31953 since we manipulate rounding mode.
31954 (CPPFLAGS-test-idouble.c): Likewise.
31955 (CPPFLAGS-test-ifloat.c): Likewise.
31956 (CFLAGS-test-ldouble.c): Likewise.
31957 (CFLAGS-test-double.c): Likewise.
31958 (CFLAGS-test-float.c): Likewise.
31959 (CFLAGS-test-misc.c): Likewise.
31960 (CFLAGS-test-test-fenv.c): Likewise.
31961
4f9d04aa
AZ
319622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31963
2b942cb7
RM
31964 [BZ #2550]
31965 [BZ #2570]
31966 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31967 comparisons to determine direction to adjust input.
4f9d04aa 31968
82a79e7d
RM
319692012-05-01 Roland McGrath <roland@hack.frob.com>
31970
f5a01ca9
RM
31971 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31972 output to the target.
31973
90fe4186
RM
31974 * scripts/localplt.awk: New file.
31975 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31976 (check-localplt-CFLAGS): Variable removed.
31977 ($(all-built-dso:=.jmprel)): New static pattern rule.
31978 (generated): Add those targets.
31979 (localplt-built-dso): New variable.
31980 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31981
31982 * elf/check-localplt.c: File removed.
31983
82397ed6
RM
31984 * scripts/check-execstack.awk: New file.
31985 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31986 (check-execstack-CFLAGS): Variable removed.
31987 ($(objpfx)check-execstack.h): Target removed.
31988 ($(objpfx)execstack-default): New target.
31989 (generated): Add that instead of check-execstack.h.
31990 ($(all-built-dso:=.phdr)): New static pattern rule.
31991 (generated): Add those targets.
31992 * elf/check-execstack.c: File removed.
31993
82a79e7d
RM
31994 * scripts/check-textrel.awk: New file.
31995 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31996 (check-textrel-CFLAGS): Variable removed.
31997 (all-built-dso): Use := to define.o
31998 ($(all-built-dso:=.dyn)): New static pattern rule.
31999 (generated): Add those targets.
32000 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32001 * config.make.in (READELF): New substituted variable.
32002 * elf/check-textrel.c: File removed.
32003
62fde54f 320042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32005
615605c9
JM
32006 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32007 allow.
32008 * conform/data/ctype.h-data [C99-based standards] (isblank):
32009 Expect function.
32010 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32011 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32013 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32014 Specify type. Require positive value.
32015 (EILSEQ): Likewise.
32016 (ERANGE): Likewise.
32017 [ISO || POSIX] (EILSEQ): Do not expect.
32018 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32019 Specify type. Require positive value.
32020 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32021 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32022 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32023 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32024 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32025 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32026 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32027 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32028 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32029 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32030 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32031 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32032 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32033 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32034 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32035 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32036 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32037 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32038 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32039 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32040 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32041 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32042 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32043 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32044 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32045 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32046 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32047 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32048 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32049 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32050 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32051 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32052 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32053 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32054 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32055 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32056 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32057 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32058 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32059 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32060 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32061 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32062 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32063 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32064 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32065 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32066 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32067 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32068 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32069 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32070 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32071 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32072 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32073 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32074 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32075 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32076 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32077 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32078 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32079 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32080 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32081 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32082 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32083 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32084 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32085 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32086 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32087 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32088 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32089 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32090 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32091 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32092 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32093 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32094 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32095 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32096 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32097 Require >= 2.
32098 (FLT_ROUNDS): Expect as macro, not constant.
32099 (FLT_MANT_DIG): Use macro-int-constant.
32100 (DBL_MANT_DIG): Likewise.
32101 (LDBL_MANT_DIG): Likewise.
32102 (FLT_DIG): Likewise.
32103 (DBL_DIG): Likewise.
32104 (LDBL_DIG): Likewise.
32105 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32106 (DBL_MIN_EXP): Likewise.
32107 (LDBL_MIN_EXP): Likewise.
32108 (FLT_MAX_EXP): Use macro-int-constant.
32109 (DBL_MAX_EXP): Likewise.
32110 (LDBL_MAX_EXP): Likewise.
32111 (FLT_MAX_10_EXP): Likewise.
32112 (DBL_MAX_10_EXP): Likewise.
32113 (LDBL_MAX_10_EXP): Likewise.
32114 (FLT_MAX): Use macro-constant.
32115 (DBL_MAX): Likewise.
32116 (LDBL_MAX): Likewise.
32117 (FLT_EPSILON): Use macro-constant. Give upper bound.
32118 (DBL_EPSILON): Likewise.
32119 (LDBL_EPSILON): Likewise.
32120 (FLT_MIN): Likewise.
32121 (DBL_MIN): Likewise.
32122 (LDBL_MIN): Likewise.
32123 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32124 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32125 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32126 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32127 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32128 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32129 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32130 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32131 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32132 [ISO11] (FLT_TRUE_MIN): Likewise.
32133 [ISO11] (LDBL_TRUE_MIN): Likewise.
32134 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32135 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32136 (SCHAR_MIN): Use macro-int-constant. Specify type.
32137 (SCHAR_MAX): Likewise.
32138 (UCHAR_MAX): Likewise.
32139 (CHAR_MIN): Likewise.
32140 (CHAR_MAX): Likewise.
32141 (MB_LEN_MAX): Use macro-int-constant.
32142 (SHRT_MIN): Use macro-int-constant. Specify type.
32143 (SHRT_MAX): Likewise.
32144 (USHRT_MAX): Likewise.
32145 (INT_MAX): Likewise.
32146 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32147 bound negative.
32148 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32149 bound with "U".
32150 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32151 bound with "L".
32152 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32153 bound negative. Suffix upper bound with "L".
32154 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32155 bound with "UL".
32156 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32157 Specify type.
32158 [C99-based standards] (LLONG_MAX): Likewise.
32159 [C99-based standards] (ULLONG_MAX): Likewise.
32160 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32161 == 0.
32162 [ISO11] (max_align_t): Require type.
32163 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32164
c9140a62
JM
32165 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32166 from $CFLAGS, without defining away __attribute__ calls.
32167 (checknamespace): Use $CFLAGS_namespace.
32168
9af0bf29
JM
32169 * conform/conformtest.pl (@keywords): Only include C99 keywords
32170 for standards based on C99 or C11.
32171
343222a2
JM
32172 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32173 Disable tests.
32174 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32175 UNIX98]: Likewise.
32176
661f8cf0
JM
32177 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32178 usability of symbols in #if.
32179
ee74b9cb
JM
32180 * conform/conformtest.pl: If macro or constant types start
32181 "promoted:", expect the symbol to be of the following type
32182 promoted by the integer promotions.
62fde54f 32183
aafc49b3
JM
32184 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32185 in one place. Also handle "macro-constant".
32186
fefdf574
JM
32187 * conform/conformtest.pl: Only accept expected macro values with
32188 "==". Parse all "macro" lines in one place.
32189 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32190
f2d922fe
JM
32191 * conform/conformtest.pl: Handle braced types on "constant" lines
32192 instead of handling "typed-constant".
32193 * conform/data/signal.h-data: Use "constant" instead of
32194 "typed-constant".
32195
d22956c9
JM
32196 * conform/conformtest.pl: Handle "optional-" at start of lines in
32197 one place rather than duplicating several cases. Handle each
32198 format of "macro" line with initial "optional-".
32199
028e2e38
JM
32200 * conform/conformtest.pl: Only accept expected constant or
32201 optional-constant values with "==". Parse all "constant" lines in
32202 one place. Parse all "optional-constant" lines in one place.
32203 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32204 * conform/data/fmtmsg.h-data: Likewise.
32205 * conform/data/netinet/in.h-data: Likewise.
32206 * conform/data/tar.h-data: Likewise.
32207 * conform/data/limits.h-data: Use "==" form on "constant" and
32208 "optional-constant" lines.
32209
1b8f2850
JM
32210 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32211 Use -std=c99 for XOPEN2K.
32212 (@knownproblems): Remove.
32213 (newtoken): Don't check %isknown.
32214
a05a144b
JM
32215 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32216 Do not expect macro.
32217 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32218 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32219 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32220 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32221 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32222 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32223 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32224 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32225 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32226 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32227 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32228 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32229 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32230 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32231 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32232 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32233 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32234 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32235 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32236 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32237 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32238 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32239 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32240 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32241 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32242 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32243 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32244 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32245 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32246 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32247 [XPG3] (acosh): Likewise.
32248 [XPG3] (asinh): Likewise.
32249 [XPG3] (atanh): Likewise.
32250 [XPG3] (cbrt): Likewise.
32251 [XPG3] (expm1): Likewise.
32252 [XPG3] (ilogb): Likewise.
32253 [XPG3] (log1p): Likewise.
32254 [XPG3] (logb): Likewise.
32255 [XPG3] (nextafter): Likewise.
32256 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32257 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32258 [XPG3] (remainder): Likewise.
32259 [XPG3] (rint): Likewise.
32260 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32261 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32262 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32263 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32264 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32265 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32266 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32267 [UNIX98 || XOPEN2K] (scalb): Expect.
32268 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32269 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32270 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32271 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32272 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32273 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32274 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32275 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32276 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32277 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32278 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32279 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32280 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32281 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32282 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32283 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32284 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32285 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32286 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32287 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32288 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32289 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32290 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32291 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32292 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32293 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32294 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32295 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32296 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32297 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32298 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32299 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32300 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32301 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32302 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32303 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32304 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32305 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32306 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32307 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32308 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32309 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32310 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32311 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32312 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32313 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32314 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32315 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32316 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32317 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32318 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32319 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32320 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32321 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32322 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32323 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32324 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32325 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32326 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32327 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32328 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32329 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32330 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32331 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32332 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32333 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32334 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32335 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32336 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32337 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32338 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32339 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32340 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32341 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32342 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32343 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32344 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32345 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32346 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32347 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32348 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32349 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32350 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32351 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32352 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32353 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32354 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32355 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32356 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32357 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32358 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32359 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32360 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32361 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32362 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32363 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32364 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32365 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32366 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32367 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32368 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32369 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32370 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32371 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32372 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32373 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32374 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32375 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32376 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32377 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32378 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32379 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32380 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32381 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32382 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32383 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32384 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32385 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32386 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32387 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32388 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32389 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32390 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32391 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32392 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32393 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32394 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32395 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32396 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32397 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32398 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32399 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32400 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32401 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32402 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32403 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32404 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32405
73c5ebe3
JM
32406 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32407 _XOPEN_SOURCE_EXTENDED for XPG4.
32408
39c33b6c
JM
32409 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32410
62fde54f
JM
32411 * Makeconfig (localtime): Remove variable.
32412 (inst_localtime-file): Likewise.
32413
0741d64c
AS
324142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32415
32416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32417 Update.
32418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32419 Update.
32420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32421 Update.
32422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32423 Update.
32424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32425 Update.
32426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32427 Update.
32428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32429 Update.
32430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32431 Update.
32432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32433 Update.
32434
7cb029ee
JM
324352012-05-01 Joseph Myers <joseph@codesourcery.com>
32436
32437 [BZ #2550]
32438 [BZ #2570]
32439 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32440 comparisons to determine direction to adjust input.
32441 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32442 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32443 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32444 Likewise.
32445 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32446 Likewise.
32447 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32448 Likewise.
32449 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32450 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32451 Likewise.
32452 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32453 Likewise.
32454 * math/libm-test.inc (nexttoward_test): Add more tests.
32455
412bd966
AS
324562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32457
32458 [BZ #14040]
32459 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32460 in version GLIBC_2.1, not GLIBC_2.0.
32461 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32462 Likewise.
32463
9568c0c2
JM
324642012-04-30 Joseph Myers <joseph@codesourcery.com>
32465
adfbc8ac
JM
32466 [BZ #13942]
32467 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32468 (1 - x) * (1 + x).
32469 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32470 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32471 * math/libm-test.inc (acos_test): Add more tests.
32472 (asin_test): Likewise.
32473 * sysdeps/i386/fpu/libm-test-ulps: Update.
32474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32475
5ba3cc69
JM
32476 [BZ #14034]
32477 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32478 of square root.
32479 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32480 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32481 * math/libm-test.inc (acos_test_tonearest): New function.
32482 (acos_test_towardzero): Likewise.
32483 (acos_test_downward): Likewise.
32484 (acos_test_upward): Likewise.
32485 (asin_test_tonearest): Likewise.
32486 (asin_test_towardzero): Likewise.
32487 (asin_test_downward): Likewise.
32488 (asin_test_upward): Likewise.
32489 (main): Call the new functions.
32490 * sysdeps/i386/fpu/libm-test-ulps: Update.
32491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32492
9568c0c2
JM
32493 [BZ #13884]
32494 [BZ #13924]
32495 * math/e_exp10.c: Include <float.h>.
32496 (__ieee754_exp10): Handle underflow here rather than multiplying
32497 large negative argument by M_LN10.
32498 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32499 of __ieee754_expf.
32500 * math/e_exp10l.c: Include <float.h>.
32501 (__ieee754_exp10l): Handle underflow here rather than multiplying
32502 large negative argument by M_LN10l.
32503 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32504 spurious overflow exception on underflow.
32505
5ac3ea17
MP
325062012-04-29 Marek Polacek <polacek@redhat.com>
32507
32508 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32509 (__fortify_function): New macro.
32510 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32511 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32512 __extern_always_inline.
32513 * libio/bits/stdio2.h: Likewise.
32514 * libio/bits/stdio.h: Likewise.
32515 * string/string.h: Likewise.
32516 * string/bits/string3.h: Likewise.
32517 * include/stdio.h: Likewise.
32518 * stdlib/bits/stdlib.h: Likewise.
32519 * stdlib/stdlib.h: Likewise.
32520 * rt/bits/mqueue2.h: Likewise.
32521 * rt/mqueue.h: Likewise.
32522 * posix/bits/unistd.h: Likewise.
32523 * posix/unistd.h: Likewise.
32524 * io/bits/poll2.h: Likewise.
32525 * io/bits/fcntl2.h: Likewise.
32526 * io/fcntl.h: Likewise.
32527 * io/sys/poll.h: Likewise.
32528 * misc/bits/syslog.h: Likewise.
32529 * misc/bits/syslog-ldbl.h: Likewise.
32530 * misc/sys/syslog.h: Likewise.
32531 * socket/bits/socket2.h: Likewise.
32532 * socket/sys/socket.h: Likewise.
32533 * debug/tst-chk1.c: Likewise.
32534 * wcsmbs/bits/wchar2.h: Likewise.
32535 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32536 * wcsmbs/wchar.h: Likewise.
32537
ecf0ebfb
AJ
325382012-04-29 Andreas Jaeger <aj@suse.de>
32539
32540 * Makerules (tests): Remove enable-check-abi protection.
32541 (check-abi-warn): Remove.
32542 (check-abi-%): Remove check-abi-warn usage.
32543
32544 * configure.in: Remove check-abi configure option.
32545 * configure: Regenerated.
32546 * config.make.in (enable-check-abi): Remove.
32547
6d5c57fa
AS
325482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32549
24c5d07e 32550 [BZ #14033]
ded5180a
AS
32551 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32552 double functions to double *_finite functions.
32553
7e0d315d
AS
32554 [BZ #13941]
32555 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32556 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32557 LDBL_MIN_EXP.
32558 * stdio-common/Makefile (tests): Add tst-sprintf3.
32559 * stdio-common/tst-sprintf3.c: New file.
32560
6d5c57fa
AS
32561 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32562 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32563
0749ff8b
JM
325642012-04-28 Joseph Myers <joseph@codesourcery.com>
32565
32566 * conform/conformtest.pl: Remove duplicate typed-constant
32567 handling.
32568
8dbd5d7b
DM
325692012-04-28 David S. Miller <davem@davemloft.net>
32570
32571 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32572 (check-abi-%): Remove AWK script prerequisite and explicit
32573 abilist directory.
32574 (check-abi): Rewrite to just diff the symlist with the abilist.
32575 (config-tls, config-abi-config): Delete, no longer used.
32576 (update-abi-%): Remove AWK script and explicit abilist directory.
32577 (update-abi): Rewrite to simply compare and conditionally copy the
32578 symlist and the sysdep abilist file. Remove update-abi-config
32579 checks.
32580 * abilist/ld.abilist: Remove.
32581 * abilist/libBrokenLocale.abilist: Remove.
32582 * abilist/libanl.abilist: Remove.
32583 * abilist/libcrypt.abilist: Remove.
32584 * abilist/libdl.abilist: Remove.
32585 * abilist/librt.abilist: Remove.
32586 * abilist/libthread_db.abilist: Remove.
32587 * abilist/libutil.abilist: Remove.
32588 * scripts/extract-abilist.awk: Remove.
32589 * scripts/merge-abilist.awk: Remove.
32590 * sysdeps/generic/libcidn.abilist: New file.
32591 * sysdeps/generic/libnss_compat.abilist: New file.
32592 * sysdeps/generic/libnss_db.abilist: New file.
32593 * sysdeps/generic/libnss_dns.abilist: New file.
32594 * sysdeps/generic/libnss_files.abilist: New file.
32595 * sysdeps/generic/libnss_hesiod.abilist: New file.
32596 * sysdeps/generic/libnss_nis.abilist: New file.
32597 * sysdeps/generic/libnss_nisplus.abilist: New file.
32598 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32599 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32600 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32601 file.
32602 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32603 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32604 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32605 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32606 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32607 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32608 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32609 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32610 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32611 file.
32612 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32613 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32614 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32615 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32616 file.
32617 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32618 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32619 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32620 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32621 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32622 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32623 file.
32624 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32625 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32626 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32627 file.
32628 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32630 New file.
32631 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32632 New file.
32633 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32634 New file.
32635 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32636 New file.
32637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32638 New file.
32639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32640 New file.
32641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32642 New file.
32643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32644 New file.
32645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32646 New file.
32647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32648 New file.
32649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32650 New file.
32651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32652 New file.
32653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32654 New file.
32655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32656 file.
32657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32658 New file.
32659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32660 New file.
32661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32662 file.
32663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32664 New file.
32665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32666 New file.
32667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32668 file.
32669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32670 New file.
32671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32672 New file.
32673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32674 New file.
32675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32676 New file.
32677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32678 New file.
32679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32680 New file.
32681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32683 file.
32684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32685 New file.
32686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32687 file.
32688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32689 file.
32690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32691 file.
32692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32693 file.
32694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32695 file.
32696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32697 New file.
32698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32699 file.
32700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32701 file.
32702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32703 New file.
32704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32705 file.
32706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32708 file.
32709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32710 New file.
32711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32712 file.
32713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32714 file.
32715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32716 file.
32717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32718 file.
32719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32720 file.
32721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32722 New file.
32723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32724 file.
32725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32726 file.
32727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32728 New file.
32729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32730 file.
32731 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32732 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32733 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32734 file.
32735 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32736 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32737 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32738 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32739 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32740 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32741 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32742 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32743 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32744 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32747 file.
32748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32749 New file.
32750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32751 file.
32752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32753 file.
32754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32755 file.
32756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32757 file.
32758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32759 file.
32760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32761 New file.
32762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32763 New file.
32764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32765 file.
32766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32767 New file.
32768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32769 file.
32770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32772 file.
32773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32774 New file.
32775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32776 file.
32777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32778 file.
32779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32780 file.
32781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32782 file.
32783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32784 file.
32785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32786 New file.
32787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32788 New file.
32789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32790 file.
32791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32792 New file.
32793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32794 file.
32795
41d73a1b
JM
327962012-04-28 Joseph Myers <joseph@codesourcery.com>
32797
32798 * conform/conformtest.pl: Fix typo in handling typed-constant from
32799 allow-header.
32800
28aeeda4
JM
328012012-04-27 Joseph Myers <joseph@codesourcery.com>
32802
adae8f5e
JM
32803 * README: Cut down references to pre-2.6 Linux kernels and
32804 Linuxthreads. Update lists of configurations in libc and ports
32805 and sort alphabetically. Say "or newer" with Linux kernel version
32806 requirements.
32807
28aeeda4
JM
32808 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32809
a462cb63
RA
328102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32811
32812 [BZ #887]
32813 * math/libm-test.inc (logb_test_downward): New test to expose
32814 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32815 rounding mode.
32816
6ad3493e
JM
328172012-04-27 Joseph Myers <joseph@codesourcery.com>
32818
32819 [BZ #14027]
32820 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32821 to be done.
32822 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32823 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32824
2ce4f015
JM
328252012-04-26 Joseph Myers <joseph@codesourcery.com>
32826
5aeb141a
JM
32827 * sysdeps/unix/i386/brk.S: Remove file.
32828 * sysdeps/unix/i386/dl-brk.S: Likewise.
32829 * sysdeps/unix/i386/pipe.S: Likewise.
32830 * sysdeps/unix/i386/sigreturn.S: Likewise.
32831 * sysdeps/unix/i386/syscall.S: Likewise.
32832 * sysdeps/unix/i386/vfork.S: Likewise.
32833 * sysdeps/unix/i386/wait.S: Likewise.
32834
7143acae
JM
32835 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32836 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32837
2ce4f015
JM
32838 * configure.in (arm*-none*): Do not allow without
32839 --enable-hacker-mode.
32840 (netbsd*): Remove case setting base_os.
32841 (386bsd*): Likewise.
32842 (freebsd*): Likewise.
32843 (bsdi*): Likewise.
32844 (osf*): Likewise.
32845 (sunos*): Likewise.
32846 (ultrix*): Likewise.
32847 (newsos*): Likewise.
32848 (dynix*): Likewise.
32849 (*bsd*): Likewise.
32850 (sysv*): Likewise.
32851 (isc*): Likewise.
32852 (esix*): Likewise.
32853 (sco*): Likewise.
32854 (minix*): Likewise.
32855 (irix4*): Likewise.
32856 (irix6*): Likewise.
32857 (solaris[2-9]*): Likewise.
32858 (none): Likewise.
32859 * configure: Regenerated.
32860
0ac229c8
AZ
328612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32862
32863 [BZ #11521]
32864 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32865 overflow or cancellation in calculating denominator.
32866 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32867 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32868 down expression to avoid unexpected rounding in newer GCCs.
32869 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32870
33f244f4
DM
328712012-04-26 David S. Miller <davem@davemloft.net>
32872
32873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32874 long-double compat symbols.
32875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32888
cfa1f3e8
DM
328892012-04-25 David S. Miller <davem@davemloft.net>
32890
32891 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32892 HWCAP_* values only after the memory barriers have been defined.
32893 (atomic_full_barrier): Define.
32894 (atomic_read_barrier): Define.
32895 (atomic_write_barrier): Define.
32896
6e236b92
SP
328972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32898
32899 * shlib-versions: Add libgcc_s version information.
32900 * sysdeps/generic/libgcc_s.h: Remove.
32901 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32902 libgcc_s.h.
32903 * sysdeps/gnu/unwind-resume.c: Likewise.
32904 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32905
aab39a09
DM
329062012-04-25 David S. Miller <davem@davemloft.net>
32907
32908 * sysdeps/unix/sparc/brk.S: Delete.
32909 * sysdeps/unix/sparc/dl-brk.S: Delete.
32910 * sysdeps/unix/sparc/pipe.S: Delete.
32911 * sysdeps/unix/sparc/sysdep.S: Delete.
32912 * sysdeps/unix/sparc/sysdep.h: Delete.
32913 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32914 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32915 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32916 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32917 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32918 (JUMPTARGET): Remove.
32919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32920 sysdeps/unix/sparc/sysdep.h
32921 (ENTRY, END): Remove.
32922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32923
a3cc4f48
JM
329242012-04-25 Joseph Myers <joseph@codesourcery.com>
32925
2ed8cda2
JM
32926 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32927 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32928 -DIS_IN_build.
32929
35d76d59
JM
32930 * timezone/README: Update upstream location and email address for
32931 tzcode and tzdata.
32932 * timezone/zdump.c: Update from tzcode 2012b.
32933 * timezone/zic.c: Likewise.
32934
a3cc4f48
JM
32935 * configure.in (libc_cv_as_needed): Remove test.
32936 * configure: Regenerated.
32937 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32938 conditional definition.
32939 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32940 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32941 * config.make.in (have-as-needed): Remove variable.
32942
ceab42c3
SP
329432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32944 Paul Pluzhnikov <ppluzhnikov@google.com>
32945
32946 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32947 strings correctly.
32948
3ce2865f
CLT
329492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32950
32951 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32952 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32953 * sysdeps/sh/strlen.S: Likewise.
32954
f37e0d68
JM
329552012-04-24 Joseph Myers <joseph@codesourcery.com>
32956
ae186e9a
JM
32957 * sysdeps/unix/fork.S: Remove file.
32958 * sysdeps/unix/i386/fork.S: Likewise.
32959 * sysdeps/unix/sparc/fork.S: Likewise.
32960
b96914af
JM
32961 * sysdeps/unix/system.c: Remove file.
32962 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32963
f37e0d68
JM
32964 * sysdeps/unix/getegid.S: Remove file.
32965 * sysdeps/unix/geteuid.S: Likewise.
32966
87ef29ca
RM
329672012-04-24 Roland McGrath <roland@hack.frob.com>
32968
83bcd236
RM
32969 * scripts/check-localplt.awk: New file.
32970 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32971 of diff.
32972 * scripts/data/localplt-generic.data: Add a comment.
32973
87ef29ca
RM
32974 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32975 NODE when __dir_mkfile failed.
32976 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32977 Reported by Ludovic Courtès <ludo@gnu.org>.
32978
e5a6e567
AJ
329792012-04-24 Andreas Jaeger <aj@suse.de>
32980
32981 * Makerules (common-clean): Also remove gen-as-const-headers
32982 files.
32983
c1820385
JM
329842012-04-24 Joseph Myers <joseph@codesourcery.com>
32985
32986 * Makerules (native-compile): Do not change working directory for
32987 build. Use $(OUTPUT_OPTION) in command.
32988 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32989
94e02fc4
AZ
329902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32991
32992 [BZ #13886]
32993 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32994 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32995 * math/libm-test.inc (floor_test): Add more tests.
32996 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32997
3a533ca3
JM
329982012-04-24 Joseph Myers <joseph@codesourcery.com>
32999
940ab4b3
JM
33000 * sysdeps/unix/getdents.c: Remove file.
33001 * sysdeps/unix/sysv/getdents.c: Likewise.
33002 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33003
90e037bd
JM
33004 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33005 sysdeps/unix/mman/syscalls.list.
33006 (mmap): Likewise.
33007 (mprotect): Likewise.
33008 (msync): Likewise.
33009 (munmap): Likewise.
33010 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33011 * sysdeps/unix/mman/syscalls.list: Remove.
33012 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33013
3a533ca3
JM
33014 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33015 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33016 * configure: Regenerated.
33017 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33018 $(libgcc_s_suffix).
33019 * config.make.in (libgcc_s_suffix): Remove variable.
33020
1ad743de
JM
330212012-04-23 Joseph Myers <joseph@codesourcery.com>
33022
4ad451e2
JM
33023 * sysdeps/unix/sysv/gethostname.c: Move to ...
33024 * sysdeps/posix/gethostname.c: ... here.
33025
5e37ce39
JM
33026 * sysdeps/unix/execve.S: Remove file.
33027
1ad743de
JM
33028 * sysdeps/unix/_exit.S: Remove file.
33029
4e681b5b
AJ
330302012-04-23 Andreas Jaeger <aj@suse.de>
33031
33032 [BZ #13739]
33033 * manual/Makefile: Remove make dist support, there's no
33034 need for a stand-alone documentation tar ball.
33035 (TEXI2DVI): Define always, it's not in Makeconfig.
33036 (dist): Removed.
33037 (tar-it): Removed.
33038 (edition): Removed.
33039 (glibc-doc-$(edition).tar): Removed
33040 (%.Z): Removed.
33041 (%.gz): Removed.
33042 (%.uu): Removed.
33043 (ETAGS): Remove, it's in Makeconfig.
33044 (move-if-change): Remove, it's in Makeconfig.
33045
38686a03 330462012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33047
33048 [BZ #13970]
33049 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33050 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33051 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33052 (strtod_l, strtof_l, strtold_l): Remove __wur.
33053 It is not necessarily an error to ignore strtol's return value.
33054 One can reliably look at the stored endptr to decide whether
33055 the number had valid syntax.
33056
7c0616fa
AJ
330572012-04-21 Andreas Jaeger <aj@suse.de>
33058
803cb6b7 33059 [BZ #13739]
7c0616fa
AJ
33060 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33061
b0fe253f
JM
330622012-04-21 Joseph Myers <joseph@codesourcery.com>
33063
33064 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33065 * sysdeps/unix/sysv/Versions: Remove file.
33066
8280f22d
MT
330672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33068
33069 [BZ #13927]
33070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33071
75ce411f 330722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33073
33074 [BZ #7064]
33075 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33076 version from __vm86.
33077
097d59fa
JM
330782012-04-20 Joseph Myers <joseph@codesourcery.com>
33079
a90f3bcb
JM
33080 * sysdeps/unix/common/lxstat.c: Remove file.
33081 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33082
edc7ea78
JM
33083 * sysdeps/unix/sysv/Makefile: Remove file.
33084
cb78c221
JM
33085 * sysdeps/unix/sysv/direct.h: Remove file.
33086
efa6a45f
JM
33087 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33088 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33089 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33090 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33091 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33092 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33093 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33094
9c9f2d0c
JM
33095 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33096
4541c83b
JM
33097 * sysdeps/unix/xmknod.c: Remove file.
33098 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33099
f5d153a0
JM
33100 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33101
aa746595
JM
33102 * sysdeps/unix/sysv/i386/time.S: Remove file.
33103
cce5905e
JM
33104 * sysdeps/unix/fxstat.c: Remove file.
33105 * sysdeps/unix/xstat.c: Likewise.
33106 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33107
37fa3841
JM
33108 * sysdeps/unix/sysv/sigaction.c: Remove file.
33109
ff1962a3
JM
33110 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33111 (sysdep_headers): Remove variable.
33112 [termio.h not in sysdep_headers] (generated): Likewise.
33113 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33114 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33115 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33116 * sysdeps/unix/sysv/tcflow.c: Likewise.
33117 * sysdeps/unix/sysv/tcflush.c: Likewise.
33118 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33119 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33120 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33121 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33122 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33123
e7740d31
JM
33124 * sysdeps/unix/siglist.c: Remove file.
33125
ee06f18b
JM
33126 * sysdeps/unix/getppid.S: Remove file.
33127
097d59fa
JM
33128 * sysdeps/unix/mkdir.c: Remove file.
33129 * sysdeps/unix/rmdir.c: Likewise.
33130
ff3d51ec
AS
331312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33132
33133 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33134 ERR_MAX value.
33135 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33136 errlist-compat value.
33137
50f81fd7
DM
331382012-04-18 David S. Miller <davem@davemloft.net>
33139
33140 * sysdeps/generic/memcopy.h (reg_char): Delete.
33141 * debug/strcat_chk.c: Use char, not reg_char.
33142 * debug/strcpy_chk.c: Likewise.
33143 * debug/strncat_chk.c: Likewise.
33144 * debug/strncpy_chk.c: Likewise.
33145 * string/memchr.c: Likewise.
33146 * string/memrchr.c: Likewise.
33147 * string/rawmemchr.c: Likewise.
33148 * string/strcat.c: Likewise.
33149 * string/strchr.c: Likewise.
33150 * string/strchrnul.c: Likewise.
33151 * string/strcmp.c: Likewise.
33152 * string/strcpy.c: Likewise.
33153 * string/strncat.c: Likewise.
33154 * string/strncmp.c: Likewise.
33155 * string/strncpy.c: Likewise.
33156
8ff41c46
WS
331572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33158
33159 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33160 __builtin_memcopy is called when src and dest ranges are known to not
33161 overlap.
33162
6b652f46
WS
331632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33164
33165 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33166 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33167 fwd_align_merge macro call.
33168 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33169 bwd_align_merge macro call.
33170 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33171
b282631e
WS
331722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33173
33174 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33175 bwd_align_merge macros.
33176 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33177 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33178 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33179
95aa737c
DM
331802012-04-18 David S. Miller <davem@davemloft.net>
33181
33182 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33183
7a99a614
AJ
331842012-04-18 Andreas Jaeger <aj@suse.de>
33185
33186 [BZ# 6794]
33187 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33188 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33189 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33190
33191 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33192 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33193 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33194
33195 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33196 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33197 Adjust for changed ldbl-128 files.
33198
33199 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33200 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33201 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33202
e5270c23
DM
332032012-04-17 David S. Miller <davem@davemloft.net>
33204
33205 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33206
fb5e92c9
AS
332072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33208
33209 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33210 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33211 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33212 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33213 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33214 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33215
76da7265
AZ
332162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33217
33218 [BZ #6794]
33219 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33220 * math/libm-test.inc: Add ilogb errno and exception tests.
33221 * math/w_ilogb.c: New file: ilogb wrapper.
33222 * math/w_ilogbf.c: New file: ilogbf wrapper.
33223 * math/w_ilogbl.c: New file: ilogbl wrapper.
33224 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33225 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33226 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33227 exception being thrown with 0.0 as argument.
33228 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33229 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33230 exception being thrown with 0.0 as argument.
33231 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33232 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33233 exception being thrown with 0.0 as argument.
33234 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33235 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33236 exception being thrown with 0.0 as argument.
33237 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33238 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33239 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33240 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33241 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33242 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33243 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33244 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33245 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33246
0396e69d
PB
332472012-04-17 Petr Baudis <pasky@ucw.cz>
33248
33249 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33250 with altivec.
33251
750b5926
MP
332522012-04-16 Marek Polacek <polacek@redhat.com>
33253
33254 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33255
751728a1
MP
332562012-04-16 Marek Polacek <polacek@redhat.com>
33257
33258 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33259 operands of fdivp instruction.
33260
34a27407
L
332612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33262
33263 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33264 * elf/tst-auditmod3b.c: Likewise.
33265 * elf/tst-auditmod4b.c: Likewise.
33266 * elf/tst-auditmod5b.c: Likewise.
33267 * elf/tst-auditmod6b.c: Likewise.
33268 * elf/tst-auditmod6c.c: Likewise.
33269 * elf/tst-auditmod7b.c: Likewise.
33270 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33271 * sysdeps/x86_64/preconfigure.in: Likewise.
33272 * sysdeps/x86_64/preconfigure: Regenerated.
33273
7e73e17d
L
332742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33275
33276 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33277 __ILP32__.
33278
c7a6ab72
AB
332792012-04-13 Antoine Balestrat <merkil33@gmail.com>
33280
33281 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33282 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33283
a9e8e0e0
CL
332842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33285
33286 [BZ #13973]
33287 * locale/iso-639.def: Fix gl language name. Spotted by
33288 Yaron Shahrabani.
33289
ec98af7d
RM
332902012-04-12 Roland McGrath <roland@hack.frob.com>
33291
33292 [BZ #2074]
33293 * libio/libio.h (__io_write_fn): Update comment.
33294
247c3ede
PB
332952012-04-12 Petr Baudis <pasky@ucw.cz>
33296
33297 [BZ #2074]
33298 * stdio.texi (Hook Functions): The user provided writer function
33299 is not allowed to return -1.
33300
55939d6d
DM
333012012-04-11 David S. Miller <davem@davemloft.net>
33302
33303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33304
90020f5a
MF
333052012-04-11 Mike Frysinger <vapier@gentoo.org>
33306
33307 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33308 Add a leading slash to rtkaio.
33309
288f9098
JM
333102012-04-11 Jim Meyering <meyering@redhat.com>
33311
90020f5a
MF
33312 [BZ #11959]
33313 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33314 It is not necessarily an error to ignore fwrite's return
33315 value. One can reliably use ferror to test for errors after
33316 the fact.
288f9098 33317
4be2b570
L
333182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33319
33320 * bits/types.h (__snseconds_t): New type.
33321 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33322
33323 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33324 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33325 (__SNSECONDS_T_TYPE): Likewise.
33326 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33327 (__SNSECONDS_T_TYPE): Likewise.
33328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33329 (__SNSECONDS_T_TYPE): Likewise.
33330
288f9098 333312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33332
33333 [BZ #2636]
33334 * manual/time.texi (Processor Time): Return type of times is
33335 elapsed real time since an arbitrary point in the past.
33336 (CPU Time): Move CLK_TCK from here...
33337 (Processor Time): ...to here. Correct description.
33338 * manual/conf.texi (Constants for Sysconf): Correct description of
33339 _SC_CLK_TCK.
33340
d7dd4413
DM
333412012-04-10 David S. Miller <davem@davemloft.net>
33342
33343 [BZ #13967]
33344 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33345 where the is a gap between DT_REL(A) and DT_JMPREL.
33346
b46068fc
L
333472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33348
33349 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33350 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33351 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33352
73d65cc3
SP
333532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33354
33355 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33356 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33357 (dl_main): Handle --inhibit-cache.
33358 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33359 _dl_inhibit_cache.
33360 * elf/dl-load.c (_dl_map_object): Use it.
33361 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33362
bcc8d661
JM
333632012-04-09 Joseph Myers <joseph@codesourcery.com>
33364
8f9a2fae
JM
33365 [BZ #13872]
33366 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33367 (__ieee754_powl): Saturate large exponents rather than testing for
33368 overflow of y*log2(x).
33369 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33370 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33371 exceptions.
33372
bcc8d661
JM
33373 [BZ #11521]
33374 * math/s_ctan.c: Include <float.h>.
33375 (__ctan): Avoid internal overflow or cancellation in calculating
33376 denominator.
33377 * math/s_ctanf.c: Likewise.
33378 * math/s_ctanl.c: Likewise.
33379 * math/s_ctanh.c: Likewise.
33380 * math/s_ctanhf.c: Likewise.
33381 * math/s_ctanhl.c: Likewise.
33382 * math/libm-test.inc (ctan_test): Add more tests.
33383 (ctanh_test): Likewise.
33384 * sysdeps/i386/fpu/libm-test-ulps: Update.
33385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33386
823fbbb4
AJ
333872012-04-09 Andreas Jaeger <aj@suse.de>
33388
03879793
AJ
33389 [BZ #6894]
33390 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33391 is an optional BSD extension.
33392
823fbbb4
AJ
33393 [BZ #10254]
33394 * manual/stdio.texi (Opening Streams): Document additional fopen
33395 parameters.
33396
8de131cb
RM
333972012-04-09 Roland McGrath <roland@hack.frob.com>
33398
33399 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33400 %eax without telling the compiler.
33401
c0ed9d7d
CD
334022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33403
33404 [BZ # 13963]
33405 * manual/install.texi: Use sourceware.org.
33406
c483f6b4
JM
334072012-04-09 Joseph Myers <joseph@codesourcery.com>
33408
d7dd9453
JM
33409 [BZ #13873]
33410 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33411 (__ieee754_pow): Generate overflow and underflow using huge*huge
33412 and tiny*tiny rather than just returning constant infinity or zero
33413 for large exponents.
33414 * math/libm-test.inc (pow_test): Require overflow exceptions for
33415 applicable cases of large exponents.
33416
c483f6b4
JM
33417 [BZ #706]
33418 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33419 (__ieee754_pow): Use iterative multiplication algorithm only for
33420 integer exponents with absolute value below 1024. Check for odd
33421 integer exponents when using algorithm for real exponents.
33422 * math/libm-test.inc (pow_test): Add more tests.
33423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33424
d2de7579
JM
334252012-04-08 Joseph Myers <joseph@codesourcery.com>
33426
33427 [BZ #13705]
33428 * math/libm-test.inc (exp_test): Do not allow overflow exception
33429 on underflow test.
33430
f77f1232
AJ
334312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33432
33433 [BZ #13705]
33434 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33435 instead of __kernel_standard_f.
33436
3884932b
MF
334372012-04-08 Mike Frysinger <vapier@gentoo.org>
33438
33439 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33440 * sysdeps/x86_64/memset_chk.S: Likewise.
33441
54472e9c
AJ
334422012-04-08 Andreas Jaeger <aj@suse.de>
33443
6ab0fbfc
AJ
33444 [BZ #10153]
33445 * manual/startup.texi (Environment Access): Describe return value
33446 for putenv and setenv.
33447
61efba8c
AJ
33448 [BZ #6895]
33449 * manual/filesys.texi (Directory Entries): Add description for
33450 DT_LNK.
33451
95c3f29a
AJ
33452 [BZ #6890]
33453 * manual/filesys.texi (Directory Entries): Clarify that it's file
33454 system not operating system in the description of DT_UNKNOWN.
33455
54472e9c
AJ
33456 [BZ #6578]
33457 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33458
624254b1
SC
334592012-04-08 Stephen Compall <s11@member.fsf.org>
33460
33461 [BZ #6649]
33462 * manual/llio.texi (Opening and Closing Files): Add cross
33463 reference to explain mode argument.
33464
1e4920e0
MF
334652012-04-07 Mike Frysinger <vapier@gentoo.org>
33466
33467 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33468 * sysdeps/x86_64/memset_chk.S: Likewise.
33469
5ed848f3
DM
334702012-04-07 David S. Miller <davem@davemloft.net>
33471
33472 * elf/elf.h (R_SPARC_WDISP10): Define.
33473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33474 R_SPARC_SIZE32.
33475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33476 R_SPARC_SIZE64 and R_SPARC_H34.
33477
96154cd8
CD
334782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33479
33480 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33481 conditions and remove no longer applicable assertion.
33482
9904dc47
L
334832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33484
33485 * bits/byteswap.h: Include <features.h>.
33486 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33487 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33488
f8887d0a
L
334892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33490
33491 * bits/byteswap.h (__bswap_16): Removed.
33492 Include <bits/byteswap-16.h> to get __bswap_16.
33493 * sysdeps/i386/bits/byteswap.h: Likewise.
33494 * sysdeps/s390/bits/byteswap.h: Likewise.
33495 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33496 * bits/byteswap-16.h: New file.
33497 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33498 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33499 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33500 * string/Makefile (headers): Add bits/byteswap-16.h.
33501
62470f60
PP
335022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33503
33504 [BZ #13895]
33505 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33506 extra indirection.
33507 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33508 * nss/tst-nss-static.c: New.
33509
4dad7bab
RM
335102012-04-06 Robert Millan <rmh@gnu.org>
33511
33512 [BZ #6486]
33513 * manual/llio.texi (File Position Primitive): lseek
33514 refers to WHENCE when it really means OFFSET.
33515
e9142a17
AJ
335162012-04-06 Andreas Jaeger <aj@suse.de>
33517
2c040eff
AJ
33518 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33519 strncmp declarations.
33520
e9142a17
AJ
33521 * abilist/libc.abilist: Add __poll and __ppoll.
33522
ff9f1c5f
DM
335232012-04-05 David S. Miller <davem@davemloft.net>
33524
dcd2ae90
DM
33525 * scripts/check-local-headers.sh: Accept a host triplet in the
33526 path matched by the exclude regexp.
33527
993eb054
DM
33528 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33529 definition.
33530 * sysdeps/powerpc/powerpc32/dl-machine.h
33531 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33532 * sysdeps/s390/s390-32/dl-machine.h
33533 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33534 * sysdeps/sparc/sparc32/dl-machine.h
33535 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33536 * sysdeps/sparc/sparc64/dl-machine.h
33537 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33538
ff9f1c5f
DM
33539 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33540 lazy binding.
48e2e132 33541 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33542 undefined symbol errors.
33543
48e2e132 33544 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33545 DT_NEEDED entries.
33546
e80d6f94
MM
335472012-04-05 Michael Matz <matz@suse.de>
33548
33549 [BZ #13592]
33550 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33551
349fa79f
AJ
335522012-04-05 Andreas Jaeger <aj@suse.de>
33553
33554 [BZ #13908]
33555 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33556 comment.
33557
f402708f
KK
335582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33559
33560 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33561 which ROUND is no valid rounding mode.
33562
2ecccfc9
KK
335632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33564
33565 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33566 read again.
33567 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33568
8a53f50f
KK
335692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33570
33571 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33572 an exception using FPU order intentionally.
33573
335742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33575
33576 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33577 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33578 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33579 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33580
d653abb7
SJ
335812012-04-05 Simon Josefsson <simon@josefsson.org>
33582
33583 [BZ #12340]
33584 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33585 EINVAL when BUFLEN is too smal.
33586
c3b1bf7d
TS
335872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33588
33589 [BZ #13553]
33590 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33591 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33592
b1aa60f3
AJ
335932012-04-03 Andreas Jaeger <aj@suse.de>
33594
c3b1bf7d 33595 [BZ #13938]
67f60a26
AJ
33596 * manual/setjmp.texi (System V contexts): Fix sentence.
33597
b1aa60f3
AJ
33598 [BZ #13926]
33599 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33600 New macro for this case.
33601 [!__GNUC__] (__bswap_64): New inline function for this case.
33602 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33603 * bits/byteswap.h: Likewise.
33604 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33605 ull, guard with __GLIBC_HAVE_LONG_LONG.
33606
33607 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33608 __GLIBC_HAVE_LONG_LONG.
33609
33610 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33611 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33612
39c59c35
TMQMF
336132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33614
33615 [BZ #13691]
33616 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33617 inptr and inend, rather than using last_ch.
33618
135ffda8
DM
336192012-04-02 David S. Miller <davem@davemloft.net>
33620
33621 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33622 * stdio-common/printf-parse.h (read_int): Change return type to
33623 'int', return -1 on INT_MAX overflow.
33624 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33625 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33626 overflows INT_MAX. Check for overflow of in-format-string precision
33627 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33628 SIZE_MAX not INT_MAX for integer overflow test.
33629 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33630 skip the construct in the format string but do not record anything.
33631 * stdio-common/bug22.c: Adjust to test both width/prevision
33632 INT_MAX overflow as well as total length INT_MAX overflow. Check
33633 explicitly for proper errno values.
33634
228c019e
TS
336352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33636
302cadd3
TS
33637 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33638 CHAR_MAX.
33639 * string/test-strcmp.c [! WIDE]: Likewise.
33640 * time/tst-mktime2.c: Likewise for INT_MAX.
33641 * string/test-string.h: #include <sys/param.h> for MIN.
33642
228c019e
TS
33643 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33644 * sysdeps/i386/init-first.c (init): Likewise.
33645 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33646 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33647 * sysdeps/sh/init-first.c (init): Likewise.
33648
cfa633f5
UD
336492012-04-01 Ulrich Drepper <drepper@gmail.com>
33650
33651 * po/ru.po: Update from translation team.
d1635ef8 33652 * po/vi.po: Likewise.
cfa633f5 33653
6cd0a5ea
SP
336542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33655
33656 * resolv/nss_dns/dns-host.c: Merge copyright years.
33657
4b43400f
LD
336582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33659
33660 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33661 Optimize memcpy with prefetch if
33662 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33663 src, dst pointers have unequal 16 byte alignments.
33664
48c41d04
SP
336652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33666
33667 [BZ #13928]
33668 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33669 from a CNAME entry and return the minimum ttl for the query.
33670 (gaih_getanswer_slice): Likewise.
33671
b8dc394d
JL
336722012-03-30 Jeff Law <law@redhat.com>
33673
33674 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33675 due to long keys.
33676 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33677 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33678
2f5a5ed0
JL
33679 * resolv/nss_dns/dns-host.c: Update copyright year.
33680
1d39e359
UD
336812012-03-30 Ulrich Drepper <drepper@gmail.com>
33682
c030f70c 33683 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33684 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33685
1d39e359
UD
33686 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33687 comments for sendmmsg.
33688
336892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33690
33691 [BZ #13691]
33692 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33693 with only 1 character between 0x0041 and 0x01b0.
33694 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33695 * wcsmbs/tst-mbsnrtowcs.c: New file.
33696
20fde227
DM
336972012-03-29 David S. Miller <davem@davemloft.net>
33698
33699 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33700 small copies by hand.
33701
984a4237
JL
337022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33703
33704 [BZ #13761]
57f41c40
AS
33705 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33706 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33707 group memberships.
984a4237 33708
18c9d62b
DM
337092012-03-28 David S. Miller <davem@davemloft.net>
33710
88d85d4f
DM
33711 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33712 that branches into memcpy.
33713 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33715 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33716 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33718 bits.
33719 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33720 implementation too.
33721 * sysdeps/sparc/mempcpy.S: New file.
33722
e5aa83e1
DM
33723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33724 the IFUNC routine in the libc case.
33725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33726
88570753
DM
33727 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33728 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33729 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33730 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33731 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33732 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33733 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33734 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33735
249d7567
DM
33736 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33737 loop to 256 bytes instead of 64 bytes and fix test signedness.
33738
18c9d62b
DM
33739 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33740 * sysdeps/sparc/sparc32/Makefile: rather than here...
33741 * sysdeps/sparc/sparc64/Makefile: and here.
33742
05f3d1f6
UD
337432012-03-28 Ulrich Drepper <drepper@gmail.com>
33744
33745 * malloc/mallocbug.c: Avoid warnings about unused variables.
33746
86ae07a8
JL
337472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33748
33749 [BZ #13760]
33750 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33751 in the right place. Discard and retry query if response is
33752 larger than input buffer size.
33753
41bf21a1
JM
337542012-03-28 Joseph Myers <joseph@codesourcery.com>
33755
d6270972
JM
33756 [BZ #369]
33757 [BZ #2678]
33758 [BZ #3866]
33759 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33760 x for large integer exponent.
33761 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33762 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33763 sign of result as needed afterwards.
33764 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33765 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33766 result for underflowing pow the same as for overflow.
33767 (__kernel_standard_l): Handle powl overflow and underflow here
33768 rather than calling __kernel_standard.
33769 * math/libm-test.inc (pow_test): Add more tests.
33770
414fca03 33771 [BZ #3868]
41bf21a1
JM
33772 [BZ #13879]
33773 [BZ #13910]
33774 [BZ #13911]
33775 [BZ #13912]
33776 [BZ #13913]
33777 [BZ #13915]
33778 [BZ #13916]
33779 [BZ #13917]
33780 [BZ #13918]
33781 [BZ #13919]
33782 [BZ #13920]
33783 [BZ #13921]
33784 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33785 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33786 (__kernel_standard_l): New function.
33787 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33788 __kernel_standard.
33789 * math/w_acosl.c (__acosl): Likewise.
33790 * math/w_asinl.c (__asinl): Likewise.
33791 * math/w_atan2l.c (__atan2l): Likewise.
33792 * math/w_atanhl.c (__atanhl): Likewise.
33793 * math/w_coshl.c (__coshl): Likewise.
33794 * math/w_exp10l.c (__exp10l): Likewise.
33795 * math/w_exp2l.c (__exp2l): Likewise.
33796 * math/w_fmodl.c (__fmodl): Likewise.
33797 * math/w_hypotl.c (__hypotl): Likewise.
33798 * math/w_j0l.c (__j0l, __y0l): Likewise.
33799 * math/w_j1l.c (__j1l, __y1l): Likewise.
33800 * math/w_jnl.c (__jnl, __ynl): Likewise.
33801 * math/w_lgammal.c (__lgammal): Likewise.
33802 * math/w_log10l.c (__log10l): Likewise.
33803 * math/w_log2l.c (__log2l): Likewise.
33804 * math/w_logl.c (__logl): Likewise.
33805 * math/w_powl.c (__powl): Likewise.
33806 * math/w_remainderl.c (__remainderl): Likewise.
33807 * math/w_scalbl.c (sysv_scalbl): Likewise.
33808 * math/w_sinhl.c (__sinhl): Likewise.
33809 * math/w_sqrtl.c (__sqrtl): Likewise.
33810 * math/w_tgammal.c (__tgammal): Likewise.
33811 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33812 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33813 * math/libm-test.inc (acos_test): Add more tests.
33814 (acosh_test): Likewise.
33815 (asin_test): Likewise.
33816 (atanh_test): Likewise.
33817 (exp_test): Likewise.
33818 (exp10_test): Likewise.
33819 (exp2_test): Likewise.
33820 (expm1_test): Likewise.
33821 (lgamma_test): Likewise.
33822 (log_test): Likewise.
33823 (log10_test): Likewise.
33824 (log1p_test): Likewise.
33825 (log2_test): Likewise.
33826 (pow_test): Do not allow some spurious overflow exceptions.
33827 (sqrt_test): Add more tests.
33828 (tgamma_test): Likewise.
33829 (y0_test): Likewise.
33830 (y1_test): Likewise.
33831 (yn_test): Likewise.
33832
dd62fda6
AB
338332012-03-27 Anton Blanchard <anton@samba.org>
33834
33835 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33836 MAP_HUGETLB.
33837 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33838 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33839 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33840
1e3cdfda
AJ
338412012-03-27 David S. Miller <davem@davemloft.net>
33842
b855ab85
DM
33843 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33844
1e3cdfda
AJ
33845 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33846 have-as-vis3 check.
33847
338482012-03-27 Andreas Jaeger <aj@suse.de>
33849
33850 * sysdeps/x86_64/elf/configure.in: Moved to ...
33851 * sysdeps/x86_64/configure.in: ... here.
33852 * sysdeps/x86_64/elf/start.S: Moved to ...
33853 * sysdeps/x86_64/start.S: ... here.
33854 * sysdeps/x86_64/elf/configure: Delete.
33855
33856 * sysdeps/x86_64/configure.in: Merge contents from
33857 sysdeps/i386/configure.in (without i686 check).
33858
33859 * sysdeps/i386/elf/Versions: Merge into ...
33860 * sysdeps/i386/Versions: ... this.
33861 * sysdeps/i386/elf/Versions: Delete file.
33862 * sysdeps/i386/elf/start.S: Moved to ...
33863 * sysdeps/i386/start.S: ...here.
33864 * sysdeps/i386/elf/configure.in: Merge into...
33865 * sysdeps/i386/configure.in: ...here.
33866 * sysdeps/i386/elf/configure.in: Delete file.
33867 * sysdeps/i386/elf/configure: Delete file.
33868
33869 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33870 * debug/backtracesyms.c: ... here.
33871 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33872 * debug/backtracesymsfd.c: ... here.
33873 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33874 * sysdeps/generic/ifunc-sel.h: ... here.
33875
33876 * sysdeps/unix/i386/start.c: Delete file.
33877 * sysdeps/unix/sparc/start.c: Delete file.
33878 * sysdeps/unix/start.c: Delete file.
33879
33880 * sysdeps/sh/elf/configure.in: Moved to ...
33881 * sysdeps/sh/configure.in: ... here.
33882 * sysdeps/sh/elf/start.S: Moved to ...
33883 * sysdeps/sh/start.S: ... here.
33884 * sysdeps/sh/elf/configure: Delete file.
33885
33886 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33887 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33888 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33889 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33890 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33891 * sysdeps/powerpc/powerpc64/start.S: here.
33892 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33893 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33894 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33895 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33896 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33897
33898 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33899 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33900 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33901 * sysdeps/powerpc/powerpc32/start.S: ... here.
33902 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33903 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33904 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33905
33906 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33907 * sysdeps/powerpc/ifunc-sel.h: ... here.
33908 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33909 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33910
33911 * sysdeps/sparc/elf/configure.in: Moved to ...
33912 * sysdeps/sparc/configure.in: ... here.
33913 * sysdeps/sparc/elf/configure: Delete file.
33914 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33915 * sysdeps/sparc/sparc32/start.S: ... here.
33916 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33917 * sysdeps/sparc/sparc64/start.S: ... here.
33918 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33919 * sysdeps/sparc/sparc32/Makefile: ... this.
33920 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33921 * sysdeps/sparc/sparc64/Makefile: ... this.
33922
33923 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33924 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33925 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33926 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33927 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33928 * sysdeps/s390/s390-32/setjmp.S: ... here.
33929 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33930 * sysdeps/s390/s390-32/configure.in: ... here.
33931 * sysdeps/s390/s390-32/elf/configure: Delete file.
33932 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33933 * sysdeps/s390/s390-32/start.S: ... here.
33934
33935 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33936 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33937 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33938 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33939 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33940 * sysdeps/s390/s390-64/setjmp.S: ... here.
33941 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33942 * sysdeps/s390/s390-64/configure.in: ... here
33943 * sysdeps/s390/s390-64/elf/configure: Delete file.
33944 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33945 * sysdeps/s390/s390-64/start.S: ... here.
33946 * sysdeps/s390/s390-64/elf/configure: Delete.
33947
33948 * configure.in: Remove support for elf directories in sysdeps.
33949
33950 * configure: Regenerated.
33951 * sysdeps/i386/configure: Regenerated.
33952 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33953 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33954 * sysdeps/s390/s390-32/configure: Regenerated.
33955 * sysdeps/s390/s390-64/configure: Regenerated.
33956 * sysdeps/sh/configure: Regenerated.
33957 * sysdeps/sparc/configure: Regenerated.
33958 * sysdeps/x86_64/configure: Regenerated.
33959
a3f61311
AS
339602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33961
c876e002
AS
33962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33963
a3f61311
AS
33964 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33965 denormal result into account.
33966
ac4c54f0
RM
339672012-03-25 Roland McGrath <roland@hack.frob.com>
33968
33969 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33970 Reported by Allan McRae <allan@archlinux.org>.
33971
6a9b9c02
JL
339722012-03-23 Jeff Law <law@redhat.com>
33973
33974 * nss/getnssent.c (__nss_getent): Fix typo.
33975
4c42a0c1
DM
339762012-03-23 David S. Miller <davem@davemloft.net>
33977
33978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33979
1532c7ac
L
339802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33981
33982 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33983 to pad to uint64_t for each field.
33984 (dl_tls_index): Replace unsigned long with uint64_t.
33985
3ff42526
PP
339862012-03-23 Daniel Jacobowitz <dmj@google.com>
33987 Paul Pluzhnikov <ppluzhnikov@google.com>
33988
33989 [BZ #6528]
33990 * grp/Makefile (otherlibs): Don't set it.
33991 * inet/Makefile (otherlibs): Likewise.
33992 * login/Makefile (otherlibs): Likewise.
33993 * nscd/Makefile (otherlibs): Likewise.
33994 * posix/Makefile (otherlibs): Likewise.
33995 * pwd/Makefile (otherlibs): Likewise.
33996 * rt/Makefile (otherlibs): Likewise.
33997 * sunrpc/Makefile (otherlibs): Likewise.
33998 * nss/Makefile (otherlibs): Likewise.
33999 Add libnss_files to routines and static-only-routines.
34000 ($(objpfx)getent): Remove rule.
34001 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34002 static-only-routines.
34003
7c69cd14
JM
340042012-03-22 Joseph Myers <joseph@codesourcery.com>
34005
34006 [BZ #13892]
34007 * math/s_cexp.c: Include <float.h>.
34008 (__cexp): Handle exp result overflowing not necessarily
34009 overflowing both real and imaginary parts of result.
34010 * math/s_cexpf.c: Likewise.
34011 * math/s_cexpl.c: Likewise.
34012 * math/libm-test.inc (cexp_test): Add more tests.
34013 * sysdeps/i386/fpu/libm-test-ulps: Update.
34014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34015
81b035fe
L
340162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34017
34018 * include/link.h (ELFW): New macro.
34019 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34020 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34021
1da7940c
L
340222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34023
34024 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34025 with uint64_t.
34026
b749dbb9
L
340272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34028
34029 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34030 declaration.
34031 (struct La_x32_retval): Likewise.
34032
2ff87f3f
L
340332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34034
34035 * sysdeps/x86_64/preconfigure.in: New file.
34036 * sysdeps/x86_64/preconfigure: New generated file.
34037
c0df8e69
JM
340382012-03-22 Joseph Myers <joseph@codesourcery.com>
34039
48e44791
JM
34040 [BZ #13824]
34041 * math/e_exp2l.c: Include <float.h>.
34042 (__ieee754_exp2l): Handle overflow and underflow cases
34043 separately. Only pass fractional part of argument to
34044 __ieee754_expl.
34045 * math/libm-test.inc (exp2_test): Add more tests.
34046
c0df8e69
JM
34047 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34048 negating x to take absolute value.
34049 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34050 Likewise.
34051 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34052 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34053 Likewise.
34054 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34055 computing low part if x was negated.
34056 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34057
c8e43ba7
L
340582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34059
34060 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34061 la_x32_gnu_pltexit.
34062 (pltexit): Cast int_retval to ptrdiff_t.
34063 * elf/tst-auditmod3b.c: Likewise.
34064 * elf/tst-auditmod4b.c: Likewise.
34065 * elf/tst-auditmod5b.c: Likewise.
34066 * elf/tst-auditmod6b.c: Likewise.
34067 * elf/tst-auditmod6c.c: Likewise.
34068 * elf/tst-auditmod7b.c: Likewise.
34069
34070 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34071 and x32_gnu_pltexit.
34072
34073 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34074 __ELF_NATIVE_CLASS.
34075 (La_x32_regs): New macro.
34076 (La_x32_retval): Likewise.
34077 (la_x32_gnu_pltenter): New function prototype.
34078 (la_x32_gnu_pltexit): Likewise.
34079
7998fa78
AS
340802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34081
dcb33988
AS
34082 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34083 exponent.
34084
233fc563
AS
34085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34086
7998fa78
AS
34087 * configure.in (libc_cv_cc_nofma): Check for option to disable
34088 generation of FMA instructions.
34089 * configure: Regenerate.
34090 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34091 * sysdeps/ieee754/dbl-64/Makefile: New file.
34092 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34093 Remove brandred-fma4.
34094 (CFLAGS-brandred-fma4.c): Remove.
34095 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34096 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34097 define.
34098 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34099 define.
34100
8e95c99a
L
341012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34102
34103 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34104 LLONG_MAX != LONG_MAX.
34105 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34106 (_fitoa_word): Likewise.
34107 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34108 LLONG_MAX != LONG_MAX.
34109 * stdio-common/_itowa.h: Include <_itoa.h>.
34110 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34111 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34112 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34113 only if not defined.
34114 (_ITOA_WORD_TYPE): Likewise.
34115 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34116 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34117
6f4db457
DM
341182012-03-21 David S. Miller <davem@davemloft.net>
34119
34120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34121
7785fe5a
L
341222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34123
34124 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34125 of x86_64 when setting libc_cv_slibdir, libdir and
34126 libc_cv_localedir.
34127 * sysdeps/unix/sysv/linux/configure: Regenerated.
34128
4535cd55
JM
341292012-03-21 Joseph Myers <joseph@codesourcery.com>
34130
34131 * manual/lang.texi (Old Varargs): Remove section.
34132 (How Variadic): Update menu.
34133 (va_start): Do not mention varargs.h.
34134
17228132
TS
341352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34136 Joseph Myers <joseph@codesourcery.com>
34137
34138 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34139 link test.
34140 * configure: Regenerated.
34141
8149f976
TS
341422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34143
05f3d1f6
UD
34144 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34145 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34146 conformtest.pl
8149f976 34147
1a4ac776
JM
341482012-03-21 Joseph Myers <joseph@codesourcery.com>
34149
be22ce65
JM
34150 * NOTES: Remove.
34151 * Makefile (files-for-dist): Remove NOTES.
34152 (NOTES): Remove rule.
34153 * README: Don't refer to NOTES.
34154 * manual/creature.texi: Don't include macros.texi.
34155 * manual/intro.texi (creature.texi): Remove comment referring to
34156 NOTES.
34157
40b601fb
JM
34158 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34159 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34160 * configure: Regenerated.
34161 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34162 LIBC_TRY_CC_OPTION.
34163 (libc_cv_as_i686): Likewise.
34164 (libc_cv_cc_avx): Likewise.
34165 (libc_cv_cc_sse2avx): Likewise.
34166 (libc_cv_cc_fma4): Likewise.
34167 (libc_cv_cc_novzeroupper): Likewise.
34168 * sysdeps/i386/configure: Regenerated.
34169
1a4ac776
JM
34170 [BZ #13883]
34171 * sysdeps/i386/fpu/s_cexp.S: Remove.
34172 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34173 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34174 * math/libm-test.inc (cexp_test): Add more tests.
34175 * sysdeps/i386/fpu/libm-test-ulps: Update.
34176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34177
a458e7fe
AM
341782012-03-21 Allan McRae <allan@archlinux.org>
34179
34180 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34181
0cb7efc5
JM
341822012-03-21 Joseph Myers <joseph@codesourcery.com>
34183
34184 [BZ #13871]
34185 * math/w_exp2.c: Do not include <float.h>.
34186 (o_threshold, u_threshold): Remove.
34187 (__exp2): Calculate result before checking finiteness and calling
34188 __kernel_standard.
34189 * math/w_exp2f.c: Likewise.
34190 * math/w_exp2l.c: Likewise.
34191 * math/libm-test.inc (exp2_test): Require overflow exception for
34192 1e6 input.
2460d3aa
JM
34193
34194 [BZ #3866]
34195 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34196 range of signed 64-bit integers before using fistpll. Remove
34197 checks for whether integers fit in mantissa bits.
34198 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34199 the range of signed 32-bit integers before using fistpl. Remove
34200 checks for whether integers fit in mantissa bits.
34201 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34202 (__ieee754_powl): Test for y outside the range of signed 64-bit
34203 integers before using fistpll. Reduce 64-bit values to 63-bit
34204 ones as needed.
34205 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34206 divide-by-zero is raised for zero to large negative powers.
34207 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34208 (__ieee754_powl): Test for y outside the range of signed 64-bit
34209 integers before using fistpll. Reduce 64-bit values to 63-bit
34210 ones as needed.
34211 * math/libm-test.inc (pow_test): Add more tests.
34212
eb96ffb0
L
342132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34214
34215 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34216 <stdio-common/_itoa.h>.
34217 * debug/segfault.c: Likewise.
34218 * elf/dl-cache.c: Likewise.
34219 * elf/dl-minimal.c: Likewise.
34220 * elf/dl-misc.c: Likewise.
34221 * elf/dl-sysdep.c: Likewise.
34222 * elf/dl-version.c: Likewise.
34223 * elf/rtld.c: Likewise.
34224 * hurd/hurdsock.c: Likewise.
34225 * hurd/lookup-retry.c: Likewise.
34226 * malloc/malloc.c: Likewise.
34227 * malloc/mtrace.c: Likewise.
34228 * nscd/nscd_getgr_r.c: Likewise.
34229 * nscd/nscd_getpw_r.c: Likewise.
34230 * nscd/nscd_getserv_r.c: Likewise.
34231 * posix/getopt_init.c: Likewise.
34232 * posix/wordexp.c: Likewise.
34233 * stdio-common/_itoa.c: Likewise.
34234 * stdio-common/printf_fphex.c: Likewise.
34235 * stdio-common/vfprintf.c: Likewise.
34236 * string/_strerror.c: Likewise.
34237 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34238 * sysdeps/i386/i686/hp-timing.h: Likewise.
34239 * sysdeps/mach/_strerror.c: Likewise.
34240 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34241 * sysdeps/mach/hurd/sethostid.c: Likewise.
34242 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34243 * sysdeps/mach/xpg-strerror.c: Likewise.
34244 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34245 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34246 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34247 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34248 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34249 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34250 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34251 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34252 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34253 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34254 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34255 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34256 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34257 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34258 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34259 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34260 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34261 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34262 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34263 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34264 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34265
34266 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34267
34268 * stdio-common/_itoa.h: Moved to ...
34269 * sysdeps/generic/_itoa.h: Here.
34270
34271 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34272
34273 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34274 instead of "_itoa.h" and "_itowa.h".
34275 * stdio-common/vfprintf.: Likewise.
34276
d1af992d
L
342772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34278
34279 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34280 <bits/wordsize.h>.
34281 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34282 (__signbit): Likwise.
34283 (llrintf): Likwise.
34284 (llrint): Likwise.
34285
114883e0
L
342862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34287
34288 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34289 __WORDSIZE != 64.
34290
c135cc1b
JM
342912012-03-20 Joseph Myers <joseph@codesourcery.com>
34292
34293 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34294 OVERFLOW_EXCEPTION_OK.
34295 * math/libm-test.inc ("Philosophy"): Update comment about
34296 exception testing.
34297 (OVERFLOW_EXCEPTION): Define.
34298 (OVERFLOW_EXCEPTION_OK): Likewise.
34299 (INVALID_EXCEPTION_OK): Renumber.
34300 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34301 (IGNORE_ZERO_INF_SIGN): Likewise.
34302 (test_exceptions): Handle FE_OVERFLOW.
34303 (exp10_test): Expect overflow exceptions.
34304 (exp2_test): Likewise.
34305 (expm1_test): Likewise.
34306 (nextafter_test): Likewise.
34307 (pow_test): Likewise.
34308 (scalbn_test): Likewise.
34309 (scalbln_test): Likewise.
34310
95443d88
L
343112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34312
34313 * sysdeps/x86_64/bits/atomic.h
34314 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34315 64bit integer.
34316 (atomic_exchange_acq): Likewise.
34317 (__arch_exchange_and_add_body): Likewise.
34318 (__arch_add_body): Likewise.
34319 (atomic_add_negative): Likewise.
34320 (atomic_add_zero): Likewise.
34321
490df6c4
L
343222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34323
c2722551 34324 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34325 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34326
5e52b189
L
343272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34328
34329 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34330 Check __x86_64__ instead of __WORDSIZE.
34331
a9879d4c
L
343322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34333
34334 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34335
5df98260
DM
343362012-03-19 David S. Miller <davem@davemloft.net>
34337
e1497744
DM
34338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34339
5df98260
DM
34340 * sysdeps/sparc/fpu/fenv_private.h: New file.
34341 * sysdeps/sparc/fpu/math_private.h: Use it.
34342 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34343 Remove.
57f41c40 34344 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34345 (libc_feholdexcept_setroundl): Remove.
34346 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34347 Remove.
34348 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34349 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34350
b4c35121
L
343512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34352
34353 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34354 int64_t instead of long int.
34355 (INSERT_WORDS64): Likwise.
34356
56965fd7
L
343572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34358
34359 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34360 _Unwind_GetCFA return to _Unwind_Ptr first.
34361
83d1aec8
JM
343622012-03-19 Joseph Myers <joseph@codesourcery.com>
34363
1897ad44
JM
34364 [BZ #13629]
34365 * math/s_clog.c: Include <float.h>.
34366 (__clog): Scale large or subnormal inputs.
34367 * math/s_clogf.c: Likewise.
34368 * math/s_clogl.c: Likewise.
34369 * math/s_clog10.c: Include <float.h>.
34370 (M_LOG10_2): Define.
34371 (__clog10): Scale large or subnormal inputs.
34372 * math/s_clog10f.c: Likewise.
34373 * math/s_clog10l.c: Likewise.
34374 * math/libm-test.inc (clog_test): Add more tests.
34375 (clog10_test): Likewise.
34376 * sysdeps/i386/fpu/libm-test-ulps: Update.
34377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34378
7726d6a9
JM
34379 [BZ #11451]
34380 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34381 x and y.
34382 * math/libm-test.inc (atan2_test): Add another test.
34383
83d1aec8
JM
34384 * Makerules (common-objdir-compile): Remove.
34385 * sysdeps/unix/Makefile (config-generated): Do not add
34386 $(unix-generated) to variable.
34387 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34388 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34389 Remove rule.
34390 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34391 Likewise.
34392 [generic bits/local_lim.h] (before-compile): Do not append to
34393 variable.
34394 [generic bits/local_lim.h] (common-generated): Likewise.
34395 [generic sys/param.h] (before-compile): Do not append to variable.
34396 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34397 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34398 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34399 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34400 include.
34401 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34402 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34403 [generic sys/param.h] ($(addprefix
34404 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34405 [generic sys/param.h] (common-generated): Do not append to
34406 variable.
34407 [generic sys/param.h] (sysdep_headers): Likewise.
34408 [generic bits/errno.h] (before-compile): Do not append to
34409 variable.
34410 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34411 rule.
34412 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34413 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34414 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34415 [generic bits/errno.h] (common-generated): Do not append to
34416 variable.
34417 [generic bits/ioctls.h] (before-compile): Do not append to
34418 variable.
34419 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34420 rule.
34421 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34422 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34423 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34424 rule.
34425 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34426 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34427 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34428 [generic bits/ioctls.h] (common-generated): Do not append to
34429 variable.
34430 [generic sys/syscall.h] (syscall.h): Remove variable.
34431 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34432 rule.
34433 [generic sys/syscall.h] (before-compile): Do not append to
34434 variable.
34435 [generic sys/syscall.h] (common-generated): Likewise.
34436 * sysdeps/unix/errnos-tmpl.c: Remove file.
34437 * sysdeps/unix/errnos.awk: Likewise.
34438 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34439 * sysdeps/unix/ioctls.awk: Likewise.
34440 * sysdeps/unix/mk-local_lim.c: Likewise.
34441 * sysdeps/unix/snarf-ioctls: Likewise.
34442
4851a949
RH
344432012-03-19 Richard Henderson <rth@twiddle.net>
34444
bd37f2ee
RH
34445 * sysdeps/i386/fpu/fenv_private.h: New file.
34446 * sysdeps/i386/fpu/math_private.h: Use it.
34447 (math_opt_barrier, math_force_eval): Remove.
34448 (libc_feholdexcept_setround_53bit): Remove.
34449 (libc_feupdateenv_53bit): Remove.
34450 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34451 (math_opt_barrier, math_force_eval): Remove.
34452 (libc_feholdexcept): Remove.
34453 (libc_feholdexcept_setround): Remove.
34454 (libc_fetestexcept, libc_fesetenv): Remove.
34455 (libc_feupdateenv_test): Remove.
34456 (libc_feupdateenv, libc_feholdsetround): Remove.
34457 (libc_feresetround): Remove.
34458
d0adc922
RH
34459 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34460 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34461
0fe0f1f8
RH
34462 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34463 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34464 (libc_feupdateenv_testl): New.
34465 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34466 (libc_feupdateenv_testf): New.
34467 (libc_feupdateenv): Use libc_feupdateenv_test.
34468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34470
eb92c487
RH
34471 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34472 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34473 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34474 (libc_feresetround_noex): New.
34475 (libc_feresetround_noexf): New.
34476 (libc_feresetround_noexl): New.
34477 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34478 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34479 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34480 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34481 SET_RESTORE_ROUND.
34482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34483 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34484 (__cos): Likewise.
34485 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34486 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34487 SET_RESTORE_ROUND_NOEX.
34488 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34489 SET_RESTORE_ROUND_NOEXF.
34490 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34491 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34492 (libc_feholdsetroundf): New.
34493 (libc_feresetround, libc_feresetroundf): New.
34494
7d2e8012
RH
34495 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34496 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34497 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34498
b4dabbb4
RH
34499 * sysdeps/generic/math_private.h: Include <fenv.h>.
34500 (default_libc_feholdexcept): New.
34501 (default_libc_feholdexcept_setround): New.
34502 (default_libc_fesetenv, default_libc_feupdateenv): New.
34503 (libc_feholdexcept): Only define if undefined.
34504 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34505 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34506 (libc_feholdexcept_setroundl): Likewise.
34507 (libc_feholdexcept_setround_53bit): Likewise.
34508 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34509 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34510 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34511 (libc_feupdateenv_53bit): Likewise.
34512 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34513 (libc_feholdexcept): Convert from macro to inline function.
34514 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34515 (libc_fesetenv, libc_feupdateenv): Likewise.
34516
4851a949
RH
34517 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34518 not previously defined.
34519 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34520 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34521 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34522 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34523 * sysdeps/ieee754/flt-32/math_private.h: New file.
34524 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34525 math_private.h below SET_FLOAT_WORD.
34526 (__isnan, __isinf_ns, __finite): Remove.
34527 (__isnanf, __isinf_nsf, __finitef): Remove.
34528
e79d442e
AS
345292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34530
34531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34532
90b80344
DM
345332012-03-17 David S. Miller <davem@davemloft.net>
34534
34535 [BZ #6471]
34536 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34537 for 2.16.
34538
edc21804
DM
345392012-03-16 David S. Miller <davem@davemloft.net>
34540
77e927af
DM
34541 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34542 warnings.
34543
374976dd
DM
34544 [BZ #6471]
34545 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34546 properly.
34547 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34548 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34549 sysdep_routines when subdir is sysvipc.
34550 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34551 __getshmlba helper.
34552
edc21804
DM
34553 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34554
473c3ef3
L
345552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34556
34557 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34558 [__LP64__].
34559
eb0f39b6
L
345602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34561
34562 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34563 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34564 (__lround): Renamed to ...
34565 (__llround): This. Replace long int with long long int.
34566 Define lround functions as aliases of llround functions.
34567 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34568
6b6cd74b
L
345692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34570
34571 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34572 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34573 adresses to uintptr_t. Replace "long int" and "unsigned long
34574 int" with "greg_t" on va_arg.
34575
f1a77b01
L
345762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34577
34578 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34579 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34580
34581 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34582 Move e_machine check before EI_CLASS check. Handle x32
34583 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34584 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34585 SKIP_EM_IA_64 and include
34586 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34587
34588 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34589 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34590 (add_system_dir): New macro.
34591
34592 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34593 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34594
11b90b9f
JM
345952012-03-16 Joseph Myers <joseph@codesourcery.com>
34596
c36e1d23
JM
34597 [BZ #2551]
34598 [BZ #2552]
34599 [BZ #2553]
34600 [BZ #2554]
34601 [BZ #2562]
34602 [BZ #2563]
34603 [BZ #2565]
34604 [BZ #2566]
34605 [BZ #2576]
34606 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34607 (y0): Likewise.
34608 * math/w_j0f.c (j0f): Likewise.
34609 (y0f): Likewise.
34610 * math/w_j0l.c (__j0l): Likewise.
34611 (__y0l): Likewise.
34612 * math/w_j1.c (j1): Likewise.
34613 (y1): Likewise.
34614 * math/w_j1f.c (j1f): Likewise.
34615 (y1f): Likewise.
34616 * math/w_j1l.c (__j1l): Likewise.
34617 (__y1l): Likewise.
34618 * math/w_jn.c (jn): Likewise.
34619 (yn): Likewise.
34620 * math/w_jnf.c (jnf): Likewise.
34621 (ynf): Likewise.
34622 * math/w_jnl.c (__jnl): Likewise.
34623 (__ynl): Likewise.
34624 * math/libm-test.inc (j0_test): Add more tests.
34625 (j1_test): Likewise.
34626 (jn_test): Likewise. Add trailing semicolon to existing test.
34627 (y0_test): Likewise.
34628 (y1_test): Likewise.
34629 * sysdeps/i386/fpu/libm-test-ulps: Update.
34630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34631
11b90b9f
JM
34632 [BZ #13851]
34633 [BZ #13854]
34634 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34635 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34636 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34637 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34638 (__tanl): Set errno for infinite argument.
34639 * sysdeps/i386/fpu/mptan.c: Remove.
34640 * sysdeps/i386/fpu/s_tan.S: Likewise.
34641 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34642 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34643 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34644 * math/libm-test.inc (tan_test): Add more tests and enable more
34645 tests for double and long double.
34646 * sysdeps/i386/fpu/libm-test-ulps: Update.
34647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34648
6a1bd2a1
JK
346492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34650
34651 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34652 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34653
10a803e0
RM
346542012-03-16 Roland McGrath <roland@hack.frob.com>
34655
34656 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34657 * configure.in: Use it for both main tree and add-ons.
34658 * configure: Regenerated.
34659
f196c7f7
L
346602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34661
34662 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34663
8848d99d
JM
346642012-03-16 Joseph Myers <joseph@codesourcery.com>
34665
96cbe7f4
JM
34666 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34667 in comment.
34668
8848d99d
JM
34669 [BZ #13851]
34670 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34671 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34672 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34673 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34674 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34675 infinite argument.
34676 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34677 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34678 != 0 for prec == 2.
34679 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34680 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34681 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34682 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34683 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34684 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34685 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34686 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34687 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34688 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34689 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34690 * math/libm-test.inc (cos_test): Add more tests and enable more
34691 tests for long double.
34692 (sin_test): Likewise.
34693 (sincos_test): Likewise.
34694 * sysdeps/i386/fpu/libm-test-ulps: Update.
34695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34696
dd7f4703
DM
346972012-03-16 David S. Miller <davem@davemloft.net>
34698
34699 * sysdeps/sparc/fpu/math_private.h: New file.
34700
006f1daa
DM
347012012-03-15 David S. Miller <davem@davemloft.net>
34702
c0c83bc8
DM
34703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34704 file.
e6a62e18 34705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34707 file.
e6a62e18
DM
34708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34714 sysdep routines.
34715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34716
88cb87d9
DM
34717 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34718 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34719
006f1daa 34720 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34722 sparc-ifunc.h
006f1daa 34723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34725 Likewise.
34726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34727 Likewise.
006f1daa
DM
34728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34732 Likewise.
006f1daa
DM
34733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34738 Likewise.
34739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34740 Likewise.
006f1daa
DM
34741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34763 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34764 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34765
11e0098e
AS
347662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34767
34768 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34769 scaling.
34770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34771
e85b09d0
AJ
347722012-03-15 Andreas Jaeger <aj@suse.de>
34773
34774 [BZ #13852]
34775 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34776 ieee754/flt-32 implementation for sin, cos and sincos.
34777 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34778 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34779 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34780 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34781 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34782 ieee754/flt-32 implementation for tan.
34783
34784 * math/libm-test.inc (cos_test): Enable some large input tests for
34785 float as well
34786 (sin_test): Likewise.
34787 (sincos_test): Likewise.
34788 (tan_test): Add tests for large input.
34789
34790 * sysdeps/i386/fpu/libm-test-ulps: Update.
34791
81c64153
AJ
347922012-03-15 Andreas Jaeger <aj@suse.de>
34793
34794 [BZ #13658]
34795 * math/libm-test.inc (cos_test): Add more test cases.
34796 (sin_test): Likewise.
34797 (sincos_test): Likewise.
34798
7bbfa5c6
AJ
347992012-03-15 Andreas Jaeger <aj@suse.de>
34800
34801 [BZ #13837]
34802 * math/libm-test.inc (cos_test): Add a test case for large input
34803 value.
34804 (sin_test): Likewise.
34805 (sincos_test): Likewise.
34806
57f41c40
AS
348072012-03-15 Andreas Jaeger <aj@suse.de>
34808 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34809
34810 [BZ #13658]
0671f479 34811 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34812 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34813 * sysdeps/i386/fpu/branred.c: Likewise.
34814 * sysdeps/i386/fpu/dosincos.c: Likewise.
34815 * sysdeps/i386/fpu/mpa.c: Likewise.
34816 * sysdeps/i386/fpu/s_cos.S: Likewise.
34817 * sysdeps/i386/fpu/s_sin.S: Likewise.
34818 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34819 * sysdeps/i386/fpu/sincos32.c: Likewise.
34820
34821 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34822 Define.
34823 (libc_feupdateenv_53bit): Define.
34824 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34825 Define.
34826 (libc_feupdateenv_53bit): Define.
34827
34828 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34829 53 bit (without extend i386 double precision).
34830
34831 * math/libm-test.inc (sincos_test): Add tests for large input.
34832 (sin): Likewise.
34833 (cos): Likewise.
34834
34835 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34836
9cad04ea
AS
348372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34838
34839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34840
f7062b9a
DM
348412012-03-15 David S. Miller <davem@davemloft.net>
34842
34843 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34844 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34845 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34846 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34859 file.
f7062b9a 34860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34862 file.
f7062b9a 34863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34865 file.
f7062b9a 34866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34868 file.
f7062b9a
DM
34869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34871 fmin/fmax sysdep routines.
34872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34873
7bd951ff
DM
348742012-03-14 David S. Miller <davem@davemloft.net>
34875
559398ab
DM
34876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34881 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34882 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34883 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34885 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34897 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34898 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34899 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34901 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34904 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34905 routines.
34906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34907 file.
559398ab 34908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34910 file.
559398ab 34911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34913 file.
559398ab 34914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34916 file.
559398ab 34917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34919 file.
559398ab 34920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34922 file.
34923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34924 file.
34925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34926 file.
34927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34928 file.
34929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34930 New file.
34931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34932 file.
34933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34934 file.
559398ab 34935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34937 file.
559398ab 34938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34940 file.
559398ab 34941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34943 file.
559398ab 34944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34946 VIS3 routines.
559398ab
DM
34947
34948 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34949 New file.
34950
5a1c1e32
DM
34951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34952
eae47a36
DM
34953 * sysdeps/sparc/configure.in: New file.
34954 * sysdeps/sparc/configure: Generate.
34955 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34956 * configure: Regenerate.
34957 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34958 * config.make.in (have-as-vis3): New.
34959 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34960 available use -Av9d instead of -Av9a.
34961 * sysdeps/sparc/sparc64/Makefile: Likewise.
34962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34964 New file.
34965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34966 file.
34967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34968 New file.
34969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34970 file.
eae47a36
DM
34971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34972 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34973 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34974 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34975 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34976
c0c83bc8
DM
34977 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34978 fzeros/fnegs to load 0x80000000 into a float register instead of
34979 using the stack.
7bd951ff
DM
34980 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34981
bd951ccb
JM
349822012-03-14 Joseph Myers <joseph@codesourcery.com>
34983
34984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34985 bits/syscall.h.
34986 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34987 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34988 ($(inst_includedir)/bits/syscall.h): Remove rule.
34989 ($(objpfx)bits/syscall.d): Include instead of
34990 $(objpfx)syscall-list.d.
34991 (generated): Change syscall-list.h and syscall-list.d to
34992 bits/syscall.h and bits/syscall.d.
34993
bb4e6db2
RM
349942012-03-14 Roland McGrath <roland@hack.frob.com>
34995
34996 [BZ #13846]
34997 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34998
aa4a2ae1
JM
349992012-03-14 Joseph Myers <joseph@codesourcery.com>
35000
e456826d
JM
35001 [BZ #13841]
35002 * math/s_csqrt.c: Include <float.h>.
35003 (__csqrt): Scale large or subnormal inputs.
35004 * math/s_csqrtf.c: Likewise.
35005 * math/s_csqrtl.c: Likewise.
35006 * math/libm-test.inc (csqrt_test): Add more tests.
35007 * sysdeps/i386/fpu/libm-test-ulps: Update.
35008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35009
aa4a2ae1
JM
35010 [BZ #13840]
35011 * math/libm-test.inc (hypot_test): Add more tests.
35012
7c10fd35
DM
350132012-03-13 David S. Miller <davem@davemloft.net>
35014
35015 [BZ #13840]
35016 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35017 double-precision for the calculation instead of scaling.
35018
f453b98b
JM
350192012-03-13 Joseph Myers <joseph@codesourcery.com>
35020
35021 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35022 manipulate bits before adding and subtracting TWO52[sx].
35023 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35024 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35025 Likewise.
35026 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35027
09a3453f
DM
350282012-03-13 David S. Miller <davem@davemloft.net>
35029
8e59da90
DM
35030 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35031 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35032 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35033 rtld-global-offsets.h
35034 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35035
2a8ab7f2
DM
35036 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35037 large parameters.
35038
10f62770
DM
35039 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35040
5f0bdb18
DM
35041 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35042 'err' in the ifdef scope in which it is actually used.
35043
09a3453f
DM
35044 * nss/nss_db/db-init.c: Include string.h
35045
b4b2eb5e
DM
350462012-03-12 David S. Miller <davem@davemloft.net>
35047
98bb2f1c
DM
35048 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35049 masking out of the most significant byte of random value used.
35050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35051 Fix coding style in previous change.
35052
b4b2eb5e
DM
35053 * sysdeps/unix/sysv/linux/kernel-features.h
35054 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35055 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35056 expression.
35057 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35058 later.
35059
6e226b09
DM
350602012-03-11 David S. Miller <davem@davemloft.net>
35061
a1bcbd40
DM
35062 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35063 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35064 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35065 for 'resultvar' otherwise things get truncated on 64-bit.
35066
cb9d6174
DM
35067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35068 Fix masking out of the most significant byte of random value used.
35069
6e226b09
DM
35070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35071
058c132d
AS
350722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35073
35074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35075
2d2cd515
DM
350762012-03-09 David S. Miller <davem@davemloft.net>
35077
35078 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35079 variables with appropriate CPP guards.
57f41c40
AS
35080 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35081 from the frame pointer, not the stack pointer. Correct layout
35082 comments. Fix test on resulting framesize and the management of
35083 the outregs buffer for pltexit. Preserve floating point return
35084 values across _dl_call_pltexit call.
2d2cd515
DM
35085 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35086 framesize and the management of the outregs buffer for pltexit.
35087 Preserve floating point return values across _dl_call_pltexit
35088 call.
57f41c40
AS
35089 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35090 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35091 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35092 (print_exit): Fix format string for return register value.
35093
9a07f9d0
JM
350942012-03-10 Joseph Myers <joseph@codesourcery.com>
35095
35096 * sunrpc/Makefile (others): Add rpcgen.
35097 ($(objpfx)rpcgen): Remove special build rule and dependency on
35098 libc.
35099 * sunrpc/rpcgen.c: New file.
35100
547b5e30
PE
351012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35102
c524201a
PE
35103 [BZ #13673]
35104 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35105 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35106 * sysdeps/i386/crti.S: Likewise.
35107 * sysdeps/i386/crtn.S: Likewise.
35108 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35109 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35110 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35111 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35112 * sysdeps/sh/crti.S: Likewise.
35113 * sysdeps/sh/crtn.S: Likewise.
35114 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35115
7b6235f2
PE
35116 [BZ #13673]
35117 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35118 with URL.
35119 * locale/programs/locfile-kw.gperf: Likewise.
35120 * locale/programs/charmap-kw.h: Regenerated.
35121 * locale/programs/locfile-kw.h: Likewise.
35122
547b5e30
PE
35123 [BZ #13673]
35124 * intl/plural.y: Replace FSF snail mail address with URL.
35125 * intl/plural.c: Regenerated.
35126
5f0a5dae
RH
351272012-03-09 Richard Henderson <rth@twiddle.net>
35128
35129 * include/math_private.h: Remove file.
35130 * math/math_private.h: Move file ...
35131 * sysdeps/generic/math_private.h: ... here.
35132
b8c03620
RH
35133 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35134 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35135 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35136
4e234f5d 35137 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35138 and <math_private.h>.
35139 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35140 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35141 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35142 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35143 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35144 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35145 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35147 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35148 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35150 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35151 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35152 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35153 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35154 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35155 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35156 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35157 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35158 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35160 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35161 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35163 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35164 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35165 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35166 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35168 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35169 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35170 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35171 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35172 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35173 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35174 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35175 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35176 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35177 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35178 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35179 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35180 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35181 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35182 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35183 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35184 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35185 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35186 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35187 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35188 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35189 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35190 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35191 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35192 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35193 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35194 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35195 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35196 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35197 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35198 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35199 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35200 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35202 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35203 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35204 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35205 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35206 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35207 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35208 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35209 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35210 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35211 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35212 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35213 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35216 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35217 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35218 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35219 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35220 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35221 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35222 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35223 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35226 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35227 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35228 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35229 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35230 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35231 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35232 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35233 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35234 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35235 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35236 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35237 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35238 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35239 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35240 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35241 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35242 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35243 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35244 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35245 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35246 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35247 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35248 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35249 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35250 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35251 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35252 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35253 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35254 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35255 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35256 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35257 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35258 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35259 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35260 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35261 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35262 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35263 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35264 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35265 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35266 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35267 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35268 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35269 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35270 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35271 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35272 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35273 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35274 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35275 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35276 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35277 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35278 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35279 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35280 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35281 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35282 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35283 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35284 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35285 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35286 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35287 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35288 * sysdeps/ieee754/k_standard.c: Likewise.
35289 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35290 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35291 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35292 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35293 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35294 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35295 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35296 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35297 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35298 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35299 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35300 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35301 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35302 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35303 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35304 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35305 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35306 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35307 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35308 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35309 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35310 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35311 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35312 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35313 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35314 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35315 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35316 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35317 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35319 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35320 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35321 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35322 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35323 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35324 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35325 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35326 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35327 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35328 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35329 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35330 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35331 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35332 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35333 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35334 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35335 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35337 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35338 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35339 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35340 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35341 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35342 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35345 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35346 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35347 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35348 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35349 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35350 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35351 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35352 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35355 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35356 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35359 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35360 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35361 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35362 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35363 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35364 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35370 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35371 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35372 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35373 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35374 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35375 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35376 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35377 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35378 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35379 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35380 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35381 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35382 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35383 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35384 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35385 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35386 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35387 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35388 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35389 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35390 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35391 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35392 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35393 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35394 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35395 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35396 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35397 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35398 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35399 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35400 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35401 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35402 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35403 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35404 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35405 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35406 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35407 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35408 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35409 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35410 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35411 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35412 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35413 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35414 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35415 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35416 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35417 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35418 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35419 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35420 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35421 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35422 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35423 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35424 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35425 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35426 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35427 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35428 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35429 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35430 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35431 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35432 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35433 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35434 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35435 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35438 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35439 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35442 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35443 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35445 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35446 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35448 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35449 * sysdeps/ieee754/s_lib_version.c: Likewise.
35450 * sysdeps/ieee754/s_matherr.c: Likewise.
35451 * sysdeps/ieee754/s_signgam.c: Likewise.
35452 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35453 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35454 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35455 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35456 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35457 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35458 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35459 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35460 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35461 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35462 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35463 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35464 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35465 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35466 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35467 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35468 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35469 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35470 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35471 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35472 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35473
1991fa03
JM
354742012-03-09 Joseph Myers <joseph@codesourcery.com>
35475
35476 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35477 * sunrpc/rpc_main.c: Likewise.
35478 * sunrpc/rpc_svcout.c: Likewise.
35479
60d6f5a6
DM
354802012-03-09 David S. Miller <davem@davemloft.net>
35481
35482 * include/math_private.h: New file.
35483
4962050e
JM
354842012-03-09 Joseph Myers <joseph@codesourcery.com>
35485
02a6f887
JM
35486 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35487 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35488 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35489 from <bits/socket_type.h>.
35490 (enum __socket_type): Don't define here.
35491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35493 bits/socket_type.h.
35494
c6e013c1
JM
35495 [BZ #13566]
35496 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35497 checking __USE_GNU.
35498
4962050e
JM
35499 * Makerules ($(inst_includedir)/%.h): New rule.
35500 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35501 (install-others): Remove variable setting.
35502 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35503
38842f45
RH
355042012-03-08 Richard Henderson <rth@twiddle.net>
35505
67bb6da6
RH
35506 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35507 from macro to inline function; merge with the
35508 !__LIBC_INTERNAL_MATH_INLINES version.
35509 (__ieee754_sqrtf): Likewise.
35510
15194b4b
RH
35511 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35512 to inline function.
35513 (__rintf, __floor, __floorf): Likewise.
35514
64e21ede
RH
35515 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35516 macro to inline function.
35517 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35518
38842f45
RH
35519 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35520 not <math/math_private.h>.
35521
c64bf5fe
DM
355222012-03-08 David S. Miller <davem@davemloft.net>
35523
35524 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35525 copyright year.
35526 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35527
82d86f28
TS
355282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35529
35530 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35531 normalization.
35532 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35533 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35534
aea5d727
UD
355352012-03-08 Ulrich Drepper <drepper@gmail.com>
35536
35537 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35538 be defined individually, they must be defined as a block. Define
35539 S for printing a string instead of hidint the different by using a
35540 macro for adding the 'l'.
35541 * stdio-common/tst-fphex-wide.c: Adjust.
35542
70bca0a3
MP
355432012-03-07 Marek Polacek <polacek@redhat.com>
35544
35545 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35546
65b81130
MP
355472012-03-08 Marek Polacek <polacek@redhat.com>
35548
35549 [BZ #13806]
35550 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35551 * stdio-common/tst-fphex.c: Define a few macros to make the
35552 test reusable. Use them.
35553 * stdio-common/tst-fphex-wide.c: New file.
35554
07037eeb
JM
355552012-03-08 Joseph Myers <joseph@codesourcery.com>
35556
a7a93d50
JM
35557 [BZ #6911]
35558 * manual/macros.texi (gnusystems): New macro.
35559 (nongnusystems): Likewise.
35560 (gnulinuxhurdsystems): Likewise.
35561 (gnuhurdsystems): Likewise..
35562 (gnulinuxsystems): Likewise.
35563 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35564 variants of the GNU system, not "GNU system".
35565 * manual/conf.texi: Likewise.
35566 * manual/errno.texi: Likewise. Update example of errno macro
35567 expansion.
35568 * manual/filesys.texi: Likewise.
35569 (getumask): Document as specific to GNU/Hurd.
35570 * manual/install.texi: Likewise. Reword some references to
35571 GNU/Linux.
35572 * manual/intro.texi: Likewise.
35573 * manual/io.texi: Likewise.
35574 (File Name Portability): Detail which constraints are inapplicable
35575 to all GNU systems and which are only inapplicable to GNU/Hurd.
35576 * manual/job.texi: Likewise.
35577 * manual/llio.texi: Likewise.
35578 (O_NOCTTY): Document as present on GNU/Linux.
35579 * manual/maint.texi: Likewise.
35580 * manual/memory.texi: Likewise.
35581 * manual/pattern.texi: Likewise.
35582 * manual/pipe.texi: Likewise.
35583 * manual/process.texi: Likewise.
35584 * manual/resource.texi: Likewise.
35585 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35586 child on GNU/Hurd.
35587 * manual/setjmp.texi: Likewise.
35588 * manual/signal.texi: Likewise.
35589 * manual/startup.texi: Likewise.
35590 * manual/stdio.texi: Likewise.
35591 * manual/terminal.texi: Likewise.
35592 (ONLCR): Document as POSIX.
35593 (OXTABS): Document availability on GNU/Linux as XTABS.
35594 (ONOEOT): Document availability separately from other bits.
35595 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35596 * manual/time.texi: Likewise.
35597 * manual/users.texi: Likewise.
35598 * INSTALL: Regenerated.
35599 * sysdeps/gnu/errlist.c: Regenerated.
35600
07037eeb
JM
35601 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35602 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35603 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35604 puts.
35605 * configure: Regenerated.
35606
d1d3431a
JM
356072012-03-07 Joseph Myers <joseph@codesourcery.com>
35608
af6a1e37
JM
35609 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35610 default includes instead of AC_HEADER_CHECK.
35611 * sysdeps/i386/configure: Regenerated.
35612
d1d3431a
JM
35613 [BZ #10716]
35614 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35615 * math/s_cacoshf.c (__cacoshf): Likewise.
35616 * math/s_cacoshl.c (__cacoshl): Likewise.
35617 * math/s_casinh.c (__casinh): Set signs of result from argument.
35618 * math/s_casinhf.c (__casinhf): Likewise.
35619 * math/s_casinhl.c (__casinhl): Likewise.
35620 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35621 (casinh_test): Add more tests.
35622 * sysdeps/i386/fpu/libm-test-ulps: Update.
35623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35624
482ff4da
UD
356252012-03-07 Ulrich Drepper <drepper@gmail.com>
35626
872fda05
UD
35627 * po/zh_TW.po: Update from translation team.
35628
a4300c7a
UD
35629 * login/Makefile (distribute): Remove variable.
35630 * catgets/Makefile: Likewise.
35631 * mach/Makefile: Likewise.
35632 * malloc/Makefile: Likewise.
35633 * misc/Makefile: Likewise.
35634 * iconv/Makefile: Likewise.
35635 * nscd/Makefile: Likewise.
35636 * hurd/Makefile: Likewise.
35637 * manual/Makefile: Likewise.
35638 * locale/Makefile: Likewise.
35639 * intl/Makefile: Likewise.
35640 * conform/Makefile: Likewise.
35641 * nss/Makefile: Likewise.
35642 * time/Makefile: Likewise.
35643 * soft-fp/Makefile: Likewise.
35644 * dirent/Makefile: Likewise.
35645 * gmon/Makefile: Likewise.
35646 * po/Makefile: Likewise.
35647 * rt/Makefile: Likewise.
35648 * socket/Makefile: Likewise.
35649 * math/Makefile: Likewise.
35650 * signal/Makefile: Likewise.
35651 * debug/Makefile: Likewise.
35652 * elf/Makefile: Likewise.
35653 * timezone/Makefile: Likewise.
35654 * stdlib/Makefile: Likewise.
35655 * iconvdata/Makefile: Likewise.
35656 * sunrpc/Makefile: Likewise.
35657 * io/Makefile: Likewise.
35658 * argp/Makefile: Likewise.
35659 * inet/Makefile: Likewise.
35660 * hesiod/Makefile: Likewise.
35661 * grp/Makefile: Likewise.
35662 * csu/Makefile: Likewise.
35663 * wctype/Makefile: Likewise.
35664 * crypt/Makefile: Likewise.
35665 * libio/Makefile: Likewise.
35666 * string/Makefile: Likewise.
35667 * nis/Makefile: Likewise.
35668 * resolv/Makefile: Likewise.
35669 * stdio-common/Makefile: Likewise.
35670 * wcsmbs/Makefile: Likewise.
35671 * dlfcn/Makefile: Likewise.
35672 * posix/Makefile: Likewise.
35673
3b7c4e74 35674 [BZ #6959]
482ff4da
UD
35675 * timezone/Makefile: Don't install timezone files, just the programs
35676 and scripts.
35677
f72ed77d
UD
356782012-03-06 Ulrich Drepper <drepper@gmail.com>
35679
a000466f
UD
35680 * nss/databases.def: Add missing gshadow entry.
35681
f72ed77d
UD
35682 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35683
a53b7a4e
MP
356842012-03-06 Marek Polacek <polacek@redhat.com>
35685
35686 [BZ #13726]
35687 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35688 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35689 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35690 * stdio-common/tst-long-dbl-fphex.c: New file.
35691
e9258400
DM
356922012-03-06 David S. Miller <davem@davemloft.net>
35693
35694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35695 (set_obp_int): New function.
35696 (get_obp_int): New function.
35697 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35698 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35699 Avoid unused variable warnings on 'val' and use builtin_expect.
35700 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35701 __builtin_expect.
e9258400
DM
35702 (INLINE_CLONE_SYSCALL): Likewise.
35703
3bd2c723
DM
357042012-03-05 David S. Miller <davem@davemloft.net>
35705
35706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35707
bbb78d03
AS
357082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35709
884c5db4
AS
35710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35711
bbb78d03
AS
35712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35713 only for |x| >= 40.
35714 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35715
1c9f702a 357162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35717
35718 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35719 Replace gettimeofday with __vdso_gettimeofday.
35720
7be16f82
RM
35721 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35722 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35723 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35724
35725 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35726 time with __vdso_time.
35727
ed58a00f
JM
357282012-03-05 Joseph Myers <joseph@codesourcery.com>
35729
35730 * manual/lang.texi (size_t): Note types to which size_t may be
35731 equivalent with the GNU C Library, but do not describe when
35732 differences between them are significant.
35733
30ee4ced
AJ
357342012-03-05 Andreas Jaeger <aj@suse.de>
35735
35736 * sysdeps/i386/fpu/libm-test-ulps: Update.
35737
b7cd39e8
JM
357382012-03-05 Joseph Myers <joseph@codesourcery.com>
35739
35740 [BZ #3976]
35741 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35742 (__ieee754_pow): Save and restore rounding mode and use
35743 round-to-nearest for main computations.
35744 * math/libm-test.inc (pow_test_tonearest): New function.
35745 (pow_test_towardzero): Likewise.
35746 (pow_test_downward): Likewise.
35747 (pow_test_upward): Likewise.
35748 (main): Call the new functions.
35749 * sysdeps/i386/fpu/libm-test-ulps: Update.
35750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35751
35752 [BZ #3976]
35753 * math/libm-test.inc (cosh_test_tonearest): New function.
35754 (cosh_test_towardzero): Likewise.
35755 (cosh_test_downward): Likewise.
35756 (cosh_test_upward): Likewise.
35757 (sinh_test_tonearest): Likewise.
35758 (sinh_test_towardzero): Likewise.
35759 (sinh_test_downward): Likewise.
35760 (sinh_test_upward): Likewise.
35761 (main): Call the new functions.
35762 * sysdeps/i386/fpu/libm-test-ulps: Update.
35763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35764
6c6a98c9
TV
357652012-03-05 Tom de Vries <tom@codesourcery.com>
35766
35767 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35768 default stack guard is set in last bytes.
35769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35770
21bb2d2e 357712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35772
21bb2d2e 35773 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35774
21bb2d2e
AJ
35775 [BZ #13656]
35776 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35777 possibly allocate from heap instead of stack.
35778 * stdio-common/bug-vfprintf-nargs.c: New file.
35779 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35780
c6922934
AS
357812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35782
35783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35784
bc957d53
MP
357852012-03-03 Marek Polacek <polacek@redhat.com>
35786
35787 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35788 * math/math_private.h: Likewise.
35789 * stdlib/tst-strtod.c: Likewise.
35790 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35791 * sysdeps/x86_64/bits/atomic.h: Likewise.
35792
6358490d
DM
357932012-03-02 David S. Miller <davem@davemloft.net>
35794
35795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35799 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35800 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35801 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35802 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35803
01ae168d
RM
358042012-03-02 Roland McGrath <roland@hack.frob.com>
35805
d9a17c07
RM
35806 [BZ #13792]
35807 * manual/examples/README: New file, says the example source files
35808 can be used under GPL>=2.
35809 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35810 line containing just "*/".
35811 * manual/examples/add.c: Add copyright header (GPL>=2).
35812 * manual/examples/argp-ex1.c: Likewise.
35813 * manual/examples/argp-ex2.c: Likewise.
35814 * manual/examples/argp-ex3.c: Likewise.
35815 * manual/examples/argp-ex4.c: Likewise.
35816 * manual/examples/atexit.c: Likewise.
35817 * manual/examples/db.c: Likewise.
35818 * manual/examples/dir.c: Likewise.
35819 * manual/examples/dir2.c: Likewise.
35820 * manual/examples/execinfo.c: Likewise.
35821 * manual/examples/filecli.c: Likewise.
35822 * manual/examples/filesrv.c: Likewise.
35823 * manual/examples/fmtmsgexpl.c: Likewise.
35824 * manual/examples/genpass.c: Likewise.
35825 * manual/examples/inetcli.c: Likewise.
35826 * manual/examples/inetsrv.c: Likewise.
35827 * manual/examples/isockad.c: Likewise.
35828 * manual/examples/longopt.c: Likewise.
35829 * manual/examples/memopen.c: Likewise.
35830 * manual/examples/memstrm.c: Likewise.
35831 * manual/examples/mkfsock.c: Likewise.
35832 * manual/examples/mkisock.c: Likewise.
35833 * manual/examples/mygetpass.c: Likewise.
35834 * manual/examples/pipe.c: Likewise.
35835 * manual/examples/popen.c: Likewise.
35836 * manual/examples/rprintf.c: Likewise.
35837 * manual/examples/search.c: Likewise.
35838 * manual/examples/select.c: Likewise.
35839 * manual/examples/setjmp.c: Likewise.
35840 * manual/examples/sigh1.c: Likewise.
35841 * manual/examples/sigusr.c: Likewise.
35842 * manual/examples/stpcpy.c: Likewise.
35843 * manual/examples/strdupa.c: Likewise.
35844 * manual/examples/strftim.c: Likewise.
35845 * manual/examples/strncat.c: Likewise.
35846 * manual/examples/subopt.c: Likewise.
35847 * manual/examples/swapcontext.c: Likewise.
35848 * manual/examples/termios.c: Likewise.
35849 * manual/examples/testopt.c: Likewise.
35850 * manual/examples/testpass.c: Likewise.
35851 * manual/examples/timeval_subtract.c: Likewise.
35852
01ae168d
RM
35853 [BZ #13792]
35854 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35855 function to ...
35856 * manual/timeval_subtract.c.texi: ... here, new file.
35857
49efa33d
DM
358582012-03-02 David S. Miller <davem@davemloft.net>
35859
35860 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35861
28afd92d
JM
358622012-03-02 Joseph Myers <joseph@codesourcery.com>
35863
804360ed
JM
35864 [BZ #3976]
35865 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35866 (__sin): Save and restore rounding mode and use round-to-nearest
35867 for all computations.
35868 (__cos): Save and restore rounding mode and use round-to-nearest
35869 for all computations.
35870 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35871 <fenv.h>.
35872 (tan): Save and restore rounding mode and use round-to-nearest for
35873 all computations.
35874 * math/libm-test.inc (cos_test_tonearest): New function.
35875 (cos_test_towardzero): Likewise.
35876 (cos_test_downward): Likewise.
35877 (cos_test_upward): Likewise.
35878 (sin_test_tonearest): Likewise.
35879 (sin_test_towardzero): Likewise.
35880 (sin_test_downward): Likewise.
35881 (sin_test_upward): Likewise.
35882 (tan_test_tonearest): Likewise.
35883 (tan_test_towardzero): Likewise.
35884 (tan_test_downward): Likewise.
35885 (tan_test_upward): Likewise.
35886 (main): Call the new functions.
35887 * sysdeps/i386/fpu/libm-test-ulps: Update.
35888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35889
a6d06d7b
JM
35890 [BZ #10135]
35891 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35892 small n, then large n, before computing and testing k+n.
35893 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35895 Likewise.
35896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35897 Likewise.
35898 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35899 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35900 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35901 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35903 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35904 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35905 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35906 * math/libm-test.inc (scalbn_test): Add more tests.
35907 (scalbln_test): Likewise.
35908
07e12bb3
JM
35909 * manual/filesys.texi (mode_t): Describe constraints on size and
35910 signedness, not exact equivalence to a particular type.
35911 (ino_t): Likewise.
35912 (ino64_t): Likewise.
35913 (dev_t): Likewise.
35914 (nlink_t): Likewise.
35915 (blkcnt_t): Likewise.
35916 (blkcnt64_t): Likewise.
35917 * manual/llio.texi (off_t): Likewise.
35918
28afd92d
JM
35919 [BZ #3976]
35920 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35921 (__ieee754_exp): Save and restore rounding mode and use
35922 round-to-nearest for all computations.
35923 * math/libm-test.inc (exp_test_tonearest): New function.
35924 (exp_test_towardzero): Likewise.
35925 (exp_test_downward): Likewise.
35926 (exp_test_upward): Likewise.
35927 (main): Call the new functions.
35928 * sysdeps/i386/fpu/libm-test-ulps: Update.
35929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35930
b1eeb65d
CD
359312012-03-01 Chris Demetriou <cgd@google.com>
35932
35933 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35934 have predictable order.
35935
53362a4b
DM
359362012-03-01 David S. Miller <davem@davemloft.net>
35937
3c969083
DM
35938 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35939
759707de
DM
35940 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35941 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35942 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35943 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35944
dfdb8ff2
DM
35945 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35946 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35947 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35949 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35950 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35951 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35952 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35953 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35954
ead89f96
DM
35955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35956
7f66bd07
DM
35957 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35958 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35959 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35960
53362a4b
DM
35961 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35962 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35963 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35964 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35965 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35966 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35967 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35968 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35969 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35970 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35971 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35972 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35974 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35975 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35977 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35978 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35979 * sysdeps/sparc/elf/configure: Regenerated.
35980
7b1902cb
JM
359812012-03-01 Joseph Myers <joseph@codesourcery.com>
35982
bec039bc
JM
35983 * configure.in (AS, LD): Require binutils 2.20 or later.
35984 * configure: Regenerated.
35985 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35986 as required minimum version.
35987 * INSTALL: Regenerated.
35988
7b1902cb
JM
35989 [BZ #2541]
35990 [BZ #4108]
35991 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35992 before squaring exponent.
35993 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35994 bottom long double and 27 bits of top long double before squaring
35995 exponent.
35996 * math/libm-test.inc (erfc_test): Add more tests.
35997 * sysdeps/i386/fpu/libm-test-ulps: Update.
35998 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36000
f775c276
KT
360012012-03-01 Kai Tietz <ktietz@redhat.com>
36002
36003 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36004 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36005 containing bit-fields.
36006 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36007 * soft-fp/single.h (_FP_UNION_S): Likewise.
36008 * soft-fp/double.h (_FP_UNION_D): Likewise.
36009
5b8a4d4a
JM
360102012-02-29 Joseph Myers <joseph@codesourcery.com>
36011
0bab47b6
JM
36012 [BZ #13786]
36013 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36014 not include ../strcmp.S.
36015 [USE_AS_STRNCASECMP_L]: Likewise.
36016 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36017 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36018 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36019 (__strncasecmp_l_ia32): Define as alias to
36020 __strncasecmp_l_nonascii.
36021
0fcad3e2
JM
36022 [BZ #5794]
36023 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36024 * sysdeps/i386/fpu/libm-test-ulps: Update.
36025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36026
5b8a4d4a
JM
36027 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36029
8fdceb2e
JL
360302012-02-29 Jeff Law <law@redhat.com>
36031
36032 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36033 out of bounds read.
36034
1f393a11
MP
360352012-02-29 Marek Polacek <polacek@redhat.com>
36036
36037 [BZ #13706]
36038 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36039 * elf/Makefile: Add rules to run tst-unused-dep.out.
36040
8847f037
DM
360412012-02-28 David S. Miller <davem@davemloft.net>
36042
36043 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36044 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36045 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36046 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36047 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36048 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36049
169d7f11
JM
360502012-02-29 Joseph Myers <joseph@codesourcery.com>
36051
36052 * math/libm-test.inc (llround_test): Move one test from
36053 lround_test. Use TEST_f_L in moved test.
36054 (lround_test): Move misplaced test to llround_test. Add testcase
36055 from bug 2561.
36056
39adf059
UD
360572012-02-28 Ulrich Drepper <drepper@gmail.com>
36058
36059 * sysdeps/x86_64/fpu/e_expf.S: New file.
36060 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36061
71b5d1c5
SB
360622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36063
36064 [BZ #13637]
36065 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36066 of remain_len that may cause incomplete multi-byte character and
36067 false match.
36068 * posix/bug-regex33.c: New file.
36069 * posix/Makefile (tests): Add bug-regex33.
36070
1f77f049
JM
360712012-02-28 Joseph Myers <joseph@codesourcery.com>
36072
36073 * manual/macros.texi: New file.
36074 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36075 * manual/libc.texinfo: Include macros.texi.
36076 * manual/creatute.texi: Likewise.
36077 * manual/install.texi: Likewise.
36078 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36079 @glibcadj{} in references to the GNU C Library.
36080 * manual/charset.texi: Likewise.
36081 * manual/conf.texi: Likewise.
36082 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36083 when not using those macros.
36084 * manual/creature.texi: Likewise.
36085 * manual/crypt.texi: Likewise.
36086 * manual/errno.texi: Likewise.
36087 * manual/filesys.texi: Likewise.
36088 * manual/header.texi: Likewise.
36089 * manual/install.texi: Likewise.
36090 * manual/intro.texi: Likewise.
36091 * manual/io.texi: Likewise.
36092 * manual/job.texi: Likewise.
36093 * manual/lang.texi: Likewise.
36094 * manual/libc.texiinfo: Likewise.
36095 * manual/llio.texi: Likewise.
36096 * manual/locale.texi: Likewise.
36097 * manual/maint.texi: Likewise.
36098 * manual/math.texi: Likewise.
36099 * manual/memory.texi: Likewise.
36100 * manual/message.texi: Likewise.
36101 * manual/nss.texi: Likewise.
36102 * manual/pattern.texi: Likewise.
36103 * manual/process.texi: Likewise.
36104 * manual/resource.texi: Likewise.
36105 * manual/search.texi: Likewise.
36106 * manual/setjmp.texi: Likewise.
36107 * manual/signal.texi: Likewise.
36108 * manual/socket.texi: Likewise.
36109 * manual/startup.texi: Likewise.
36110 * manual/stdio.texi: Likewise.
36111 * manual/string.texi: Likewise.
36112 * manual/sysinfo.texi: Likewise.
36113 * manual/syslog.texi: Likewise.
36114 * manual/terminal.texi: Likewise.
36115 * manual/time.texi: Likewise.
36116 * manual/users.texi: Likewise.
36117 * INSTALL: Regenerated.
36118 * NOTES: Regenerated.
d40c5d54 36119 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36120
450bf206
AS
361212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36122
36123 * include/dirent.h: Include <dirstream.h> before
36124 <dirent/dirent.h>.
36125
741a235b
DM
361262012-02-28 David S. Miller <davem@davemloft.net>
36127
36128 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36129 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36130 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36131 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36132
d6b5aa58
DM
361332012-02-27 David S. Miller <davem@davemloft.net>
36134
1aff59a3
DM
36135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36137 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36138 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36139
d6b5aa58
DM
36140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36141 frame pointer instead of stack pointer relative arg slot.
36142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36143 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36144 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36145
433f48bf
CD
361462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36147
36148 [BZ #3992]
36149 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36150
d674b76d
DM
361512012-02-27 David S. Miller <davem@davemloft.net>
36152
36153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36157 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36158 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36159 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36160 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36161
0e7727f7
JM
361622012-02-27 Joseph Myers <joseph@codesourcery.com>
36163
36164 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36165 later. Allow versions 5-9.
43be4ca2 36166 * configure: Regenerated.
0e7727f7
JM
36167 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36168 required minimum version and 4.6 as recommended version. Do not
36169 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36170 * INSTALL: Regenerated.
0e7727f7 36171
a78bc654
DM
361722012-02-27 David S. Miller <davem@davemloft.net>
36173
428d5830
DM
36174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36178 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36179 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36180 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36181 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36182
a78bc654
DM
36183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36184 manipulate bits before adding and subtracting TWO112[sx].
36185 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36186
4579f81c
RM
361872012-02-27 Roland McGrath <roland@hack.frob.com>
36188
36c8acb4
RM
36189 [BZ #13775]
36190 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36191 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36192 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36193 being in POSIX, because they are in 1003.1-2008.
36194
84ad622b
RM
36195 * rt/tst-aio.c: Include <fcntl.h>.
36196 * rt/tst-aio7.c: Likewise.
36197 * rt/tst-aio64.c: Likewise.
36198
4579f81c
RM
36199 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36200
abd923db
JM
362012012-02-27 Joseph Myers <joseph@codesourcery.com>
36202
36203 * manual/install.texi (--with-headers): Describe headers as
36204 interface headers, not private headers.
36205 (Specific advice for GNU/Linux systems): Describe use of headers
36206 from "make headers_install", not private headers from older
36207 kernels.
43be4ca2 36208 * INSTALL: Regenerated.
abd923db
JM
36209 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36210 Change to 2.6.19.
36211 * sysdeps/unix/sysv/linux/configure: Regenerated.
36212
6664049b
JM
36213 * manual/llio.texi (fclean): Remove documentation.
36214
bb8b6697
JM
36215 * manual/Makefile (libc-texi-generated): New variable. Include
36216 version.texi.
36217 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36218 $(libc-texi-generated), not duplicated list of files.
36219 (version.texi, stamp-version): New rules.
36220 (realclean): Remove $(libc-texi-generated), not individual files
36221 from that list. Do not remove dir-add.texinfo.
36222 * manual/libc.texinfo: Comment out uses of edition numbers and
36223 references to printed manual. Remove last-updated dates.
36224 (EDITION): Comment out.
36225 (ISBN): Likewise.
36226 (VERSION, UPDATED): Remove.
36227 (version.texi): Include.
36228
12e5c3b9
AS
362292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36230
36231 * sysdeps/posix/spawni.c: Include <signal.h>.
36232 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36233 * sysdeps/pthread/aio_fsync.c: Likewise.
36234
4efeffc1 362352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36236
ba63ba08
UD
36237 * conform/Makefile (tests): Run only when not cross-compiling and
36238 when fast-check is not defined.
36239
d94a4670
UD
36240 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36241 * conform/data/limits.h-data: Fixes for POSIX2008.
36242 * conform/run-conformtest.sh: Run all tests.
36243 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36244 headers.
36245 * include/bits/dlfcn.h: Likewise.
36246 * include/langinfo.h: Likewise.
36247 * include/monetary.h: Likewise.
36248 * include/sys/poll.h: Likewise.
36249
36250 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36251 for __USE_GNU.
36252 * posix/spawn.h: Define __need_sigset_t.
36253 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36254 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36255 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36256 to get sigevent_t only.
36257 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36258 only for __USE_GNU.
36259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36260 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36261 process_vm_writev only for __USE_GNU.
36262 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36263
36264 * conform/Makefile: For now ignore errors from run-conformtest.
36265 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36266 POSIX to avoid namespace pollution. Don't prepend headers.
36267 * conform/data/aio.h-data: Fixes for POSIX testing.
36268 * conform/data/fcntl.h-data: Likewise.
36269 * conform/data/glob.h-data: Likewise.
36270 * conform/data/grp.h-data: Likewise.
36271 * conform/data/pthread.h-data: Likewise.
36272 * conform/data/pwd.h-data: Likewise.
36273 * conform/data/signal.h-data: Likewise.
36274 * conform/data/spawn.h-data: Likewise.
36275 * conform/data/stdio.h-data: Likewise.
36276 * conform/data/stdlib.h-data: Likewise.
36277 * conform/data/stropts.h-data: Likewise.
36278 * conform/data/sys/mman.h-data: Likewise.
36279 * conform/data/sys/stat.h-data: Likewise.
36280 * conform/data/sys/types.h-data: Likewise.
36281 * conform/data/sys/wait.h-data: Likewise.
36282 * conform/data/time.h-data: Likewise.
36283 * conform/data/unistd.h-data: Likewise.
36284 * conform/data/utime.h-data: Likewise.
36285
36286 * io/sys/stat.h: fchmod was always in POSIX.
36287 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36288 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36289 * rt/aio.h: Define __need_timespec before including <time.h>.
36290 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36291 struct. Add forward declaration of pthread_attr_t and use it in
36292 sigevent.
36293 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36294 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36295 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36296 always remove CLK_TCK definition.
36297
c20105c3
AS
362982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36299
36300 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36301
7a270350
UD
363022012-02-25 Ulrich Drepper <drepper@gmail.com>
36303
31341567
UD
36304 * conform/run-conformtest.sh: New file.
36305 * conform/Makefile: Run run-conformtest for tests.
36306 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36307 support.
36308
36309 * conform/data/uchar.h-data: New file.
36310 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36311 * conform/data/arpa/inet.h-data: Likewise.
36312 * conform/data/assert.h-data: Likewise.
36313 * conform/data/complex.h-data: Likewise.
36314 * conform/data/cpio.h-data: Likewise.
36315 * conform/data/ctype.h-data: Likewise.
36316 * conform/data/dirent.h-data: Likewise.
36317 * conform/data/dlfcn.h-data: Likewise.
36318 * conform/data/errno.h-data: Likewise.
36319 * conform/data/fcntl.h-data: Likewise.
36320 * conform/data/float.h-data: Likewise.
36321 * conform/data/fmtmsg.h-data: Likewise.
36322 * conform/data/fnmatch.h-data: Likewise.
36323 * conform/data/ftw.h-data: Likewise.
36324 * conform/data/glob.h-data: Likewise.
36325 * conform/data/grp.h-data: Likewise.
36326 * conform/data/iconv.h-data: Likewise.
36327 * conform/data/inttypes.h-data: Likewise.
36328 * conform/data/langinfo.h-data: Likewise.
36329 * conform/data/libgen.h-data: Likewise.
36330 * conform/data/limits.h-data: Likewise.
36331 * conform/data/locale.h-data: Likewise.
36332 * conform/data/math.h-data: Likewise.
36333 * conform/data/monetary.h-data: Likewise.
36334 * conform/data/mqueue.h-data: Likewise.
36335 * conform/data/ndbm.h-data: Likewise.
36336 * conform/data/net/if.h-data: Likewise.
36337 * conform/data/netdb.h-data: Likewise.
36338 * conform/data/netinet/in.h-data: Likewise.
36339 * conform/data/nl_types.h-data: Likewise.
36340 * conform/data/poll.h-data: Likewise.
36341 * conform/data/pthread.h-data: Likewise.
36342 * conform/data/pwd.h-data: Likewise.
36343 * conform/data/regex.h-data: Likewise.
36344 * conform/data/sched.h-data: Likewise.
36345 * conform/data/search.h-data: Likewise.
36346 * conform/data/semaphore.h-data: Likewise.
36347 * conform/data/setjmp.h-data: Likewise.
36348 * conform/data/signal.h-data: Likewise.
36349 * conform/data/spawn.h-data: Likewise.
36350 * conform/data/stdarg.h-data: Likewise.
36351 * conform/data/stdio.h-data: Likewise.
36352 * conform/data/stdlib.h-data: Likewise.
36353 * conform/data/string.h-data: Likewise.
36354 * conform/data/strings.h-data: Likewise.
36355 * conform/data/stropts.h-data: Likewise.
36356 * conform/data/sys/ipc.h-data: Likewise.
36357 * conform/data/sys/mman.h-data: Likewise.
36358 * conform/data/sys/msg.h-data: Likewise.
36359 * conform/data/sys/resource.h-data: Likewise.
36360 * conform/data/sys/select.h-data: Likewise.
36361 * conform/data/sys/sem.h-data: Likewise.
36362 * conform/data/sys/shm.h-data: Likewise.
36363 * conform/data/sys/socket.h-data: Likewise.
36364 * conform/data/sys/stat.h-data: Likewise.
36365 * conform/data/sys/statvfs.h-data: Likewise.
36366 * conform/data/sys/time.h-data: Likewise.
36367 * conform/data/sys/timeb.h-data: Likewise.
36368 * conform/data/sys/times.h-data: Likewise.
36369 * conform/data/sys/types.h-data: Likewise.
36370 * conform/data/sys/uio.h-data: Likewise.
36371 * conform/data/sys/un.h-data: Likewise.
36372 * conform/data/sys/utsname.h-data: Likewise.
36373 * conform/data/sys/wait.h-data: Likewise.
36374 * conform/data/syslog.h-data: Likewise.
36375 * conform/data/tar.h-data: Likewise.
36376 * conform/data/termios.h-data: Likewise.
36377 * conform/data/utime.h-data: Likewise.
36378 * conform/data/utmpx.h-data: Likewise.
36379 * conform/data/varargs.h-data: Likewise.
36380 * conform/data/wchar.h-data: Likewise.
36381 * conform/data/wctype.h-data: Likewise.
36382 * conform/data/wordexp.h-data: Likewise.
36383
36384 * include/stropts.h: New file.
36385 * include/uchar.h: New file.
36386 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36387 * include/assert.h: Likewise.
36388 * include/ctype.h: Likewise.
36389 * include/dirent.h: Likewise.
36390 * include/dlfcn.h: Likewise.
36391 * include/fcntl.h: Likewise.
36392 * include/fnmatch.h: Likewise.
36393 * include/glob.h: Likewise.
36394 * include/grp.h: Likewise.
36395 * include/libio.h: Likewise.
36396 * include/locale.h: Likewise.
36397 * include/math.h: Likewise.
36398 * include/net/if.h: Likewise.
36399 * include/netdb.h: Likewise.
36400 * include/netinet/in.h: Likewise.
36401 * include/pthread.h: Likewise.
36402 * include/pwd.h: Likewise.
36403 * include/regex.h: Likewise.
36404 * include/sched.h: Likewise.
36405 * include/search.h: Likewise.
36406 * include/setjmp.h: Likewise.
36407 * include/signal.h: Likewise.
36408 * include/stdio.h: Likewise.
36409 * include/stdlib.h: Likewise.
36410 * include/string.h: Likewise.
36411 * include/sys/cdefs.h: Likewise.
36412 * include/sys/mman.h: Likewise.
36413 * include/sys/msg.h: Likewise.
36414 * include/sys/resource.h: Likewise.
36415 * include/sys/select.h: Likewise.
36416 * include/sys/socket.h: Likewise.
36417 * include/sys/stat.h: Likewise.
36418 * include/sys/statvfs.h: Likewise.
36419 * include/sys/time.h: Likewise.
36420 * include/sys/times.h: Likewise.
36421 * include/sys/uio.h: Likewise.
36422 * include/sys/utsname.h: Likewise.
36423 * include/sys/wait.h: Likewise.
36424 * include/termios.h: Likewise.
36425 * include/time.h: Likewise.
36426 * include/ulimit.h: Likewise.
36427 * include/unistd.h: Likewise.
36428 * include/utime.h: Likewise.
36429 * include/wchar.h: Likewise.
36430 * include/wctype.h: Likewise.
36431 * include/wordexp.h: Likewise.
36432
36433 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36434
7a270350
UD
36435 * time/time.h: TIME_UTC must be a macro.
36436 Make timespec_get available for ISO C11 only as well.
36437
7724defc
UD
364382012-02-24 Ulrich Drepper <drepper@gmail.com>
36439
36440 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36441 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36442
6b1d1d46
JM
364432012-02-24 Joseph Myers <joseph@codesourcery.com>
36444
36445 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36446
0f8bbd69
JM
364472012-02-24 Joseph Myers <joseph@codesourcery.com>
36448
36449 * manual/texinfo.tex: Update to version 2012-01-19.16.
36450
66ab80bc
JM
364512012-02-24 Joseph Myers <joseph@codesourcery.com>
36452
36453 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36454
74981cc5
RM
364552012-02-24 Roland McGrath <roland@hack.frob.com>
36456
ee968201
RM
36457 [BZ #13738]
36458 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36459 * manual/fdl-1.3.texi: New file.
36460 * manual/fdl-1.1.texi: File removed.
36461
74981cc5
RM
36462 [BZ #13738]
36463 * manual/libc.texinfo (FDL_VERSION): New @set.
36464 Use it for mention of FDL in cover text.
36465 (Documentation License): Use it in @include file name.
36466
7bb764bc
JM
364672012-02-22 Joseph Myers <joseph@codesourcery.com>
36468 Roland McGrath <roland@hack.frob.com>
36469
36470 [BZ #5461]
57f41c40
AS
36471 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36472 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36473 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36474 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36475 name.
36476 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36477
6cbeae47
JM
364782012-02-22 Joseph Myers <joseph@codesourcery.com>
36479
36480 [BZ #2547]
36481 [BZ #11365]
36482 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36483 manipulate bits before adding and subtracting TWO23[sx].
36484 * math/libm-test.inc (nearbyint_test): Add more tests.
36485
fe45ce09
JM
364862012-02-22 Joseph Myers <joseph@codesourcery.com>
36487
36488 [BZ #2548]
36489 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36490 bits before adding and subtracting TWO23[sx].
36491 * math/libm-test.inc (rint_test): Add more tests.
36492 (rint_test_tonearest): Likewise.
36493 (rint_test_towardzero): Likewise.
36494 (rint_test_downward): Likewise.
36495 (rint_test_upward: Likewise.
36496
ff3b3d82
JM
364972012-02-22 Joseph Myers <joseph@codesourcery.com>
36498
36499 [BZ #10110]
36500 * include/stdc-predef.h: New file. Extracted from features.h.
36501 * include/features.h: Include stdc-predef.h.
36502 * Makefile (headers): Add stdc-predef.h.
36503 * CONFORMANCE (Compiler limitations): Update.
36504
ef0aab35
JM
365052012-02-22 Joseph Myers <joseph@codesourcery.com>
36506
36507 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36508
58639409
DM
365092012-02-21 David S. Miller <davem@davemloft.net>
36510
36511 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36512 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36513
c0e70b25
DM
365142012-02-20 David S. Miller <davem@davemloft.net>
36515
36516 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36517 using a normal save/restore sequence, rather than allocating a
36518 dummy stack frame just to store a frame pointer and restore.
36519 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36520
fb06851d
JM
365212012-02-21 Joseph Myers <joseph@codesourcery.com>
36522
36523 * manual/install.texi: Fix stray word in line-wrapped comment.
36524
7a8b71c3
DM
365252012-02-20 David S. Miller <davem@davemloft.net>
36526
d510c123
DM
36527 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36528 both binutils and gcc support GOTDATA.
36529
0722d7c2
DM
36530 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36531 "rd %pc" in the PIC register setup sequences.
36532
3d2b3019
DM
36533 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36534 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36535 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36536 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36537 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36539 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36540 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36541 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36542 (SYSCALL_ERROR_HANDLER): Likewise.
36543 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36544 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36546 (SYSCALL_ERROR_HANDLER): Likewise.
36547
c80098a9
DM
36548 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36549 (HAVE_GCC_GOTDATA): New.
36550 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36551 relocation support in both binutils and gcc.
36552 * sysdeps/sparc/elf/configure: Regenerate.
36553
3a2545a0
DM
36554 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36555 * sysdeps/sparc/sparc32/elf/configure: Delete.
36556 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36557 * sysdeps/sparc/sparc64/elf/configure: Delete.
36558 * sysdeps/sparc/elf/configure.in: New file.
36559 * sysdeps/sparc/elf/configure: Generate.
36560
7a8b71c3
DM
36561 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36562 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36563 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36564 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36565 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36566
f1e86fca
JM
365672012-02-21 Joseph Myers <joseph@codesourcery.com>
36568
36569 * manual/install.texi: Do not mention specific glibc version
36570 numbers.
36571 * manual/libc.texinfo (VERSION, UPDATED): Update.
36572 (@copying): Use @copyright{} and range of years.
36573
0e7dfaef
JM
365742012-02-21 Joseph Myers <joseph@codesourcery.com>
36575
36576 [BZ #13695]
36577 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36578 [crti.S not in sysdirs] (generated): Do not append.
36579 [crti.S not in sysdirs] (omit-deps): Likewise.
36580 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36581 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36582 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36583 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36584 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36585 Likewise.
36586 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36587 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36588 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36589 * csu/defs.awk: Remove file.
36590 * sysdeps/generic/initfini.c: Likewise.
36591 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36592 variable.
36593 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36594 Likewise.
36595
599af3ca
JM
365962012-02-20 Joseph Myers <joseph@codesourcery.com>
36597
36598 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36599 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36600 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36601 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36602 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36603 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36604 <bits/epoll.h>.
36605 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36606 (__EPOLL_PACKED): Define to empty if not defined by
36607 <bits/epoll.h>.
36608 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36610 bits/epoll.h.
36611
0e499750
JM
366122012-02-20 Joseph Myers <joseph@codesourcery.com>
36613
36614 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36615 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36616 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36617 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36618 <bits/timerfd.h>.
36619 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36621 bits/timerfd.h.
36622
5ad91f6e
JM
366232012-02-20 Joseph Myers <joseph@codesourcery.com>
36624
36625 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36626 in C locale.
36627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36628 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36629 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36631
06b99b02
AJ
366322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36633
36634 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36635 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36636
7638c0fd
AS
366372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36638
36639 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36640 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36641 defined.
36642 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36643 Likewise.
36644 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36645 entry for 2.16.
36646
92221550
AJ
366472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36648
36649 * math/w_acos.c: Use non-signaling floating-point comparisons.
36650 * math/w_acosf.c: Likewise.
36651 * math/w_acosh.c: Likewise.
36652 * math/w_acoshf.c: Likewise.
36653 * math/w_acoshl.c: Likewise.
36654 * math/w_acosl.c: Likewise.
36655 * math/w_asin.c: Likewise.
36656 * math/w_asinf.c: Likewise.
36657 * math/w_asinl.c: Likewise.
36658 * math/w_atanh.c: Likewise.
36659 * math/w_atanhf.c: Likewise.
36660 * math/w_atanhl.c: Likewise.
36661 * math/w_exp2.c: Likewise.
36662 * math/w_exp2f.c: Likewise.
36663 * math/w_exp2l.c: Likewise.
36664 * math/w_j0.c: Likewise.
36665 * math/w_j0f.c: Likewise.
36666 * math/w_j0l.c: Likewise.
36667 * math/w_j1.c: Likewise.
36668 * math/w_j1f.c: Likewise.
36669 * math/w_j1l.c: Likewise.
36670 * math/w_jn.c: Likewise.
36671 * math/w_jnf.c: Likewise.
36672 * math/w_log.c: Likewise.
36673 * math/w_log10.c: Likewise.
36674 * math/w_log10f.c: Likewise.
36675 * math/w_log10l.c: Likewise.
36676 * math/w_log2.c: Likewise.
36677 * math/w_log2f.c: Likewise.
36678 * math/w_log2l.c: Likewise.
36679 * math/w_logf.c: Likewise.
36680 * math/w_logl.c: Likewise.
36681 * math/w_sqrt.c: Likewise.
36682 * math/w_sqrtf.c: Likewise.
36683 * math/w_sqrtl.c: Likewise.
36684 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36685 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36686 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36687 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36688 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36689
ebaf36eb
JM
366902012-02-19 Joseph Myers <joseph@codesourcery.com>
36691
36692 [BZ #9739]
36693 * manual/string.texi (strnlen): Use correct parameter name in
36694 equivalent expression.
36695
71c254a6
JM
366962012-02-19 Joseph Myers <joseph@codesourcery.com>
36697
36698 [BZ #11174]
36699 * manual/users.texi (seteuid): Consistently use neweuid for
36700 argument name.
36701
16d2c631
JM
367022012-02-19 Joseph Myers <joseph@codesourcery.com>
36703
36704 [BZ #13704]
36705 * manual/nss.texi (Services in the NSS configuration): Correct
36706 list of services in example configuration file.
36707
cd837b09
NB
367082012-02-19 Nick Bowler <nbowler@draconx.ca>
36709
36710 [BZ #11322]
36711 * manual/arith.texi: Remove statements about negative zero
36712 behaving identically to zero.
36713
02c4bbad
JM
367142012-02-18 Joseph Myers <joseph@codesourcery.com>
36715
36716 [BZ #5993]
36717 * manual/install.texi: Do not document upgrading from libc5.
36718
366842e7
JM
367192012-02-18 Joseph Myers <joseph@codesourcery.com>
36720
36721 [BZ #4596]
36722 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36723
dd54084d
DM
367242012-02-18 David S. Miller <davem@davemloft.net>
36725
36726 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36727 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36728 %o7 across the call.
36729 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36730 instead.
36731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36732 SETUP_PIC_REG_LEAF.
36733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36734 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36735 * sysdeps/sparc/crtn.S: Likewise.
36736
2bcc53a3
UD
367372012-02-17 Ulrich Drepper <drepper@gmail.com>
36738
36739 * aout/Makefile: Remove.
36740
09c093b5
RK
367412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36742
36743 [BZ #13058]
36744 * manual/examples/argp-ex1.c (main): Format definition in GNU
36745 style.
36746 * manual/examples/argp-ex2.c (main): Likewise.
36747 * manual/examples/argp-ex3.c (main): Likewise.
36748 * manual/examples/argp-ex4.c (main): Likewise.
36749 * manual/examples/longopt.c (main): Use new-style prototype
36750 definition.
36751 * manual/examples/strncat.c (main): Specify return type and use
36752 (void) for arguments.
36753 * manual/examples/subopt.c (main): Use char **argv argument.
36754
2ee633a2
JM
367552012-02-17 Joseph Myers <joseph@codesourcery.com>
36756
36757 [BZ #5077]
36758 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36759 rounding modes.
36760
0520adde
FB
367612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36762
36763 [BZ #6907]
36764 * manual/string.texi (strchr): Change when strchrnul is
36765 recommended.
36766
3f4081cd
DGM
367672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36768
36769 [BZ #174]
36770 * manual/locale.texi (setlocale): Document LOCPATH.
36771
d1b10e78
JM
367722012-02-17 Joseph Myers <joseph@codesourcery.com>
36773
36774 [BZ #10210]
36775 * manual/process.texi (execle): Move @dots{} before last argument.
36776
79c6869c
PB
367772012-02-17 Paul Bolle <pebolle@tiscali.nl>
36778
36779 [BZ #12047]
36780 * manual/charset.texi (Generic Charset Conversion): Fix typo
36781 (LC_TYPE -> LC_CTYPE).
36782
cc6e48bc
NB
367832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36784
36785 [BZ #5805]
36786 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36787 (scalbnf): Likewise.
36788 (scalbnl): Likewise.
36789 (scalbln): Likewise.
36790 (scalblnf): Likewise.
36791 (scalblnl): Likewise.
36792 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36793 (vwarnx): Likewise.
36794 (verr): Likewise.
36795 (verrx): Likewise.
36796 * manual/filesys.texi (telldir): Use braces around return type.
36797 * manual/llio.texi (mmap): Add space after comma.
36798 (mmap64): Likewise.
36799 * manual/math.texi (jn): Use @var{} on parameter names.
36800 (jnf): Likewise.
36801 (jnl): Likewise.
36802 (yn): Likewise.
36803 (ynf): Likewise.
36804 (ynl): Likewise.
36805 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36806 line.
36807 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36808 "...".
36809 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36810 (sched_get_priority_max): Likewise.
36811 * manual/signal.texi (sigvec): Add space after comma.
36812 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36813 names.
36814 (if_indextoname): Likewise.
36815 (if_freenameindex): Likewise.
36816 (sendto): Use ',' instead of '.' in prototype.
36817 * manual/startup.texi (syscall): Use @dots{} instead of literal
36818 "...".
36819 * manual/stdio.texi (__fpending): Separate initial words of
36820 paragraph from @deftypefun line.
36821 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36822 "...".
36823 (vsyslog): Use @var{} on parameter names.
36824 * manual/terminal.texi (stty): Use @var{} on parameter names.
36825 * manual/users.texi (getutmp): Use @var{} on parameter names.
36826 (getutmpx): Likewise.
36827
5b23062f
JM
368282012-02-17 Joseph Myers <joseph@codesourcery.com>
36829
36830 [BZ #6884]
36831 * manual/stdio.texi (fopen): Fix typos in description of
36832 ",ccs=STRING".
36833
8dee4833
AJ
368342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36835
36836 [BZ #4026]
36837 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36838 get clock_id definition.
36839
9078ce93
TS
368402012-02-17 Thomas Schwinge <thomas@schwinge.name>
36841
36842 [BZ #4822]
36843 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36844 (madvise): Cast every argument to void on its own.
36845
3835c55f
JM
368462012-02-17 Joseph Myers <joseph@codesourcery.com>
36847
36848 [BZ #9902]
36849 * manual/startup.texi (Exit Status): Fix typo.
36850
35c47e37
JM
368512012-02-17 Joseph Myers <joseph@codesourcery.com>
36852
36853 [BZ #10140]
36854 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36855 * manual/examples/argp-ex2.c: Likewise.
36856 * manual/examples/argp-ex3.c: Likewise.
36857
e3b69ca7
RH
368582012-02-16 Richard Henderson <rth@redhat.com>
36859
36860 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36861 * sysdeps/s390/s390-32/initfini.c: Remove.
36862 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36863 * sysdeps/s390/s390-64/initfini.c: Remove.
36864
df83af67
KK
368652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36866
36867 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36868 compiler output for sysdeps/generic/initfini.c.
36869 * sysdeps/sh/elf/initfini.c: Remove file.
36870
f63f3380
DM
368712012-02-16 David S. Miller <davem@davemloft.net>
36872
fb59b3a4
DM
36873 [BZ #11494]
36874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36875
f63f3380
DM
36876 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36877 * sysdeps/sparc/crti.S: New file.
36878 * sysdeps/sparc/crtn.S: New file.
36879 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36880 * sysdeps/sparc/sparc64/Makefile: Likewise.
36881
df6a4a4a
MF
368822012-02-15 Mike Frysinger <vapier@gentoo.org>
36883
6dd8f3dc 36884 [BZ #3335]
df6a4a4a
MF
36885 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36886
1cac7236
RM
368872012-02-15 Roland McGrath <roland@hack.frob.com>
36888
d2c736f8
RM
36889 [BZ #4822]
36890 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36891
1cac7236
RM
36892 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36893 (write, read, close): Likewise.
36894 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36895
8e475601
JM
368962012-02-15 Joseph Myers <joseph@codesourcery.com>
36897
36898 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36899 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36900 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36901 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36902 <bits/signalfd.h>.
36903 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36905 bits/signalfd.h.
36906
ed656b40
MP
369072012-02-14 Marek Polacek <polacek@redhat.com>
36908
36909 * sysdeps/x86_64/crti.S: New file.
36910 * sysdeps/x86_64/crtn.S: New file.
36911 * sysdeps/x86_64/elf/initfini.c: Remove file.
36912
2a979d3a
JM
369132012-02-13 Joseph Myers <joseph@codesourcery.com>
36914
36915 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36916 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36917 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36918 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36919 <bits/inotify.h>.
36920 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36922 bits/inotify.h.
36923
2a418ac3
JM
369242012-02-13 Joseph Myers <joseph@codesourcery.com>
36925
36926 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36927 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36928 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36929 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36930 <bits/eventfd.h>.
36931 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36933 bits/eventfd.h.
36934
fb779be7
TS
369352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36936
e19e83c5
RM
36937 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36938 __feraiseexcept instead of feraiseexcept.
7c35ffed 36939
fb779be7
TS
36940 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36941 nanosleep invocations.
36942 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36943 strings, and add error checking for a nanosleep invocations.
36944
59ba27a6
PE
369452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36946
36947 Replace FSF snail mail address with URLs, as per GNU coding standards.
36948 Most of the snail mail addresses were wrong anyway, and omitting
36949 them makes the source code easier to maintain. Almost all of the
36950 changes are to license notices and to locale LC_IDENTIFICATION
36951 addresses, except for this one:
36952 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36953 not its snail mail address.
36954
57b957eb
RH
369552012-02-09 Richard Henderson <rth@twiddle.net>
36956
af850b1c
RH
36957 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36958 of kernel-features.h.
36959
57b957eb
RH
36960 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36961
6b73181a
MP
369622012-02-08 Marek Polacek <polacek@redhat.com>
36963
36964 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36965 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36966 * sysdeps/gnu/_G_config.h: Likewise.
36967 * sysdeps/generic/_G_config.h: Likewise.
36968
26ecc33a
AS
369692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36970
6c6dbc63
AS
36971 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36972 tests.
36973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36974
e216c012
AS
36975 * sysdeps/powerpc/powerpc32/crti.S: New file.
36976 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36977 * sysdeps/powerpc/powerpc64/crti.S: New file.
36978 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36979
26ecc33a
AS
36980 * Makeconfig (have-initfini): Don't set.
36981 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36982 * configure.in (nopic_initfini): Don't substitute.
36983 * config.h.in (HAVE_INITFINI): Don't #undef.
36984 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36985 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36986
3add8e13
JM
369872012-02-08 Joseph Myers <joseph@codesourcery.com>
36988
36989 Support crti.S and crtn.S provided directly by architectures.
36990 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36991 [crti.S in sysdirs] (omit-deps): Likewise.
36992 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36993 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36994 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36995 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36996 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36997 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36998 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36999 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37000 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37001 compiler output for sysdeps/generic/initfini.c.
37002 * sysdeps/i386/elf/Makefile: Remove file.
37003 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37004
a22f12b4
MP
370052012-02-07 Marek Polacek <polacek@redhat.com>
37006
37007 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37008 * sysdeps/gnu/_G_config.h: Likewise.
37009 * sysdeps/mach/hurd/_G_config.h: Likewise.
37010
148cf100
MP
370112012-02-07 Marek Polacek <polacek@redhat.com>
37012
37013 * math/Makefile (tests): Add tst-CMPLX2.
37014 * math/tst-CMPLX2.c: New file.
37015
cfdc0dd7
AS
370162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37017
84ba42c4
AS
37018 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37019
cfdc0dd7
AS
37020 * math/libm-test.inc (jn_test): Add missing L suffix.
37021
622c86f4
MP
370222012-02-06 Marek Polacek <polacek@redhat.com>
37023
37024 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37025 * sysdeps/i386/fpu/e_powf.S: Likewise.
37026 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37027 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37028 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37029 * sysdeps/i386/fpu/e_pow.S: Likewise.
37030 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37031 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37032 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37033 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37034 * sysdeps/i386/fpu/e_log2.S: Likewise.
37035 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37036 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37037 * sysdeps/i386/fpu/e_powl.S: Likewise.
37038 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37039 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37040 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37041 * sysdeps/i386/fpu/e_logl.S: Likewise.
37042 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37043 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37044 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37045 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37046 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37047 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37048 * sysdeps/i386/fpu/e_log.S: Likewise.
37049 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37050 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37051 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37052 * sysdeps/i386/fpu/e_logf.S: Likewise.
37053 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37054 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37055 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37056 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37057 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37058 * sysdeps/i386/fpu/e_log10.S: Likewise.
37059 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37060 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37061 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37062 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37063 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37064 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37065 * sysdeps/i386/asm-syntax.h: Likewise.
37066 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37068 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37069 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37070 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37071 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37072 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37073 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37074 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37075 * sysdeps/powerpc/sysdep.h: Likewise.
37076 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37077 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37078
d4a54ac6
JM
370792012-02-06 Joseph Myers <joseph@codesourcery.com>
37080
37081 [BZ #411]
37082 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37083
314054ea
JM
370842012-02-06 Joseph Myers <joseph@codesourcery.com>
37085
37086 * sysdeps/i386/sysdep.h: Include <features.h>.
37087 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37088 version.
37089
d8e0ca50
JM
370902012-02-05 Joseph Myers <joseph@codesourcery.com>
37091
37092 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37093 Define.
37094 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37095 LOAD_PIC_REG_STR.
37096
b1da7dd9
JM
370972012-02-03 Joseph Myers <joseph@codesourcery.com>
37098
37099 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37100 (SETUP_PIC_REG): Use GET_PC_THUNK.
37101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37102 macro.
37103
9a1d9254
JM
371042012-02-03 Joseph Myers <joseph@codesourcery.com>
37105
37106 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37107 for non-PIC compilation.
37108 (SETUP_PIC_REG): Add .p2align directive.
37109 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37110 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37111 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37112 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37113 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37114 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37115 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37117 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37118 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37119 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37120 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37121 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37122 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37123 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37124 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37125 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37126 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37127 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37128 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37129 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37130 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37131 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37132 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37133 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37135 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37136 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37137 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37138 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37139 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37141 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37142 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37143 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37144 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37145 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37146 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37147 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37148 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37149 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37150
65dc3b75
JM
371512012-02-03 Joseph Myers <joseph@codesourcery.com>
37152
37153 * math/tst-CMPLX.c: Include <stdio.h>.
37154
d55bf177
JM
371552012-01-31 Joseph Myers <joseph@codesourcery.com>
37156
37157 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37158 float.
37159 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37160 * sysdeps/sparc/bits/mathdef.h: Likewise.
37161
69db4f8f
MP
371622012-01-31 Marek Polacek <polacek@redhat.com>
37163
37164 * libio/libio.h: Don't define _PARAMS.
37165 * locale/programs/config.h: Don't define PARAMS.
37166 * stdlib/strtol_l.c: Likewise.
37167 (__strtol_l): Remove PARAMS from the prototype.
37168
41b81892
UD
371692012-01-31 Ulrich Drepper <drepper@gmail.com>
37170
3b49edc0
UD
37171 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37172 names. Just use the correct names. Remove unnecessary wrapper
37173 functions.
37174 * malloc/arena.c: Likewise.
37175 * malloc/hooks.c: Likewise.
37176
41b81892
UD
37177 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37178 ARENA_TEST says not to. Simplify test for creation of a new arena.
37179 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37180
27a25b6e
UD
371812012-01-30 Ulrich Drepper <drepper@gmail.com>
37182
37183 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37184 into tail calls.
37185 (update_get_addr): New function.
37186 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37187 GET_ADDR_MODULE parameter.
37188
c8a89e7d
JM
371892012-01-30 Joseph Myers <joseph@codesourcery.com>
37190
37191 * crypt/cert.c: Remove __STDC__ conditionals.
37192 * crypt/crypt-entry.c: Likewise.
37193 * crypt/crypt_util.c: Likewise.
37194 * libio/filedoalloc.c: Likewise.
37195 * libio/fileops.c: Likewise.
37196 * libio/genops.c: Likewise.
37197 * libio/iofclose.c: Likewise.
37198 * libio/iofdopen.c: Likewise.
37199 * libio/iofopen.c: Likewise.
37200 * libio/iofopen64.c: Likewise.
37201 * libio/iogetdelim.c: Likewise.
37202 * libio/iopopen.c: Likewise.
37203 * libio/obprintf.c: Likewise.
37204 * libio/oldfileops.c: Likewise.
37205 * libio/oldiofclose.c: Likewise.
37206 * libio/oldiofdopen.c: Likewise.
37207 * libio/oldiofopen.c: Likewise.
37208 * libio/oldiopopen.c: Likewise.
37209 * libio/wfiledoalloc.c: Likewise.
37210 * libio/wgenops.c: Likewise.
37211 * locale/programs/xmalloc.c: Likewise.
37212 * misc/syslog.c: Likewise.
37213 * stdio-common/xbug.c: Likewise.
37214 * string/memchr.c: Likewise.
37215 * string/memcmp.c: Likewise.
37216 * string/memrchr.c: Likewise.
37217 * string/rawmemchr.c: Likewise.
37218 * sysdeps/posix/getcwd.c: Likewise.
37219 * time/strftime_l.c: Likewise.
37220
3b100462
JM
372212012-01-30 Joseph Myers <joseph@codesourcery.com>
37222
37223 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37224 * config.make.in (config-cflags-sse2avx): Define.
37225 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37226 Fix typo.
37227
607998af
CM
372282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37229
37230 * scripts/config.guess: Update from upstream config git repository.
37231 * scripts/config.sub: Likewise.
37232
3601428f
CM
372332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37234
3ac8b282
CM
37235 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37236 (EM_NUM): Update.
37237 (R_TILEPRO_*, R_TILEGX_*): New macros.
37238
e034841e
CM
37239 * scripts/firstversions.awk: Fix bug in version range handling.
37240
540d7568
CM
37241 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37242
3601428f
CM
37243 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37244
463de862
CM
37245 * include/sys/epoll.h: New file.
37246 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37247 libc_hidden_def.
37248
73139a76
UD
372492012-01-28 Ulrich Drepper <drepper@gmail.com>
37250
96bc5b45
UD
37251 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37252 Avoid unnecessary __WORDSIZE == 64 test.
37253 (fmaxf): Use VEX format if possible.
37254 (fmax): Likewise.
37255 (fminf): Likewise.
37256 (fmin): Likewise.
37257
56f6f6a2
UD
37258 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37259 * math/math_private.h: Remove libc_fegetround* and
37260 libc_fesetround*.
37261 * sysdeps/i386/configure.in: Check for -msse2avx.
37262 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37263 also if SSE2AVX is defined.
37264 Remove libc_fegetround* and libc_fesetround*.
37265 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37266 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37267 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37268 of HAS_YMM_USABLE.
37269 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37270 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37272 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37273 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37274
73139a76
UD
37275 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37276
d73f93a4
AZ
372772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37278
37279 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37280 size is not set.
37281 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37282
6ee65ed6
UD
372832012-01-27 Ulrich Drepper <drepper@gmail.com>
37284
37285 [BZ #13618]
37286 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37287 relocation.
37288 * Makeconfig (libm): Define.
37289 * elf/Makefile: Add rules to build and run tst-relsort1.
37290 * elf/tst-relsort1.c: New file.
37291 * elf/tst-relsort1mod1.c: New file.
37292 * elf/tst-relsort1mod2.c: New file.
37293
8db21882
JM
372942012-01-27 Joseph Myers <joseph@codesourcery.com>
37295
37296 * math/s_ldexp.c: Remove __STDC__ conditionals.
37297 * math/s_ldexpf.c: Likewise.
37298 * math/s_ldexpl.c: Likewise.
37299 * math/s_nextafter.c: Likewise.
37300 * math/s_nexttowardf.c: Likewise.
37301 * math/s_significand.c: Likewise.
37302 * math/s_significandf.c: Likewise.
37303 * math/s_significandl.c: Likewise.
37304 * math/w_jnl.c: Likewise.
37305 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37306 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37307 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37308 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37309 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37311 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37312 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37314 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37315 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37316 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37317 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37318 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37319 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37320 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37321 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37322 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37324 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37325 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37326 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37327 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37328 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37329 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37330 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37331 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37332 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37333 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37334 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37335 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37336 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37337 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37338 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37339 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37340 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37341 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37342 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37343 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37344 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37345 * sysdeps/ieee754/k_standard.c: Likewise.
37346 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37347 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37348 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37349 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37350 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37352 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37353 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37354 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37355 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37358 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37359 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37363 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37364 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37365 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37368 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37371 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37376 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37378 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37394 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37395 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37397 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37398 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37399 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37404 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37406 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37407 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37408 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37409 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37410 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37411 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37412 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37413 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37414 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37415 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37416 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37417 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37418 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37419 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37420 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37421 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37422 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37423 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37425 * sysdeps/ieee754/s_matherr.c: Likewise.
37426 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37430
965a54a4
JM
374312012-01-26 Joseph Myers <joseph@codesourcery.com>
37432
37433 * crypt/md5.h: Remove __STDC__ conditionals.
37434 * libio/libioP.h: Likewise.
37435 * locale/programs/config.h: Likewise.
37436 * sysdeps/generic/sysdep.h: Likewise.
37437 * sysdeps/i386/asm-syntax.h: Likewise.
37438 * sysdeps/s390/asm-syntax.h: Likewise.
37439 * sysdeps/unix/sysdep.h: Likewise.
37440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37442
7071ad79
JM
374432012-01-26 Joseph Myers <joseph@codesourcery.com>
37444
37445 * libio/libio.h: Remove __STDC__ conditionals.
37446 * malloc/obstack.h: Likewise.
37447 * math/complex.h: Likewise.
37448 * math/math.h: Likewise.
37449 * sysdeps/generic/_G_config.h: Likewise.
37450 * sysdeps/gnu/_G_config.h: Likewise.
37451 * sysdeps/mach/hurd/_G_config.h: Likewise.
37452 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37453 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37454 * sysdeps/sparc/bits/mathdef.h: Likewise.
37455
afc5ed09
UD
374562012-01-26 Ulrich Drepper <drepper@gmail.com>
37457
37458 [BZ #13583]
37459 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37460 Clean up HAS_* macros.
afc5ed09 37461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37462 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37463 possible.
37464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37465 HAS_AVX.
37466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37471
bdb6de1d
JM
374722012-01-25 Joseph Myers <joseph@codesourcery.com>
37473
37474 * elf/tst-unique3.cc (gets): Remove declaration.
37475 * elf/tst-unique3lib.cc (gets): Likewise.
37476 * elf/tst-unique3lib2.cc (gets): Likewise.
37477 * elf/tst-unique4.cc (gets): Likewise.
37478
b15549e6
UD
374792012-01-24 Ulrich Drepper <drepper@gmail.com>
37480
37481 * include/stdio.h: Add C++ protection. Add gets declarations and
37482 definitions.
37483 * debug/tst-chk1.c: Don't declare gets here.
37484 * stdio-common/tst-gets.c: Likewise.
37485
a037381f
JM
374862012-01-24 Joseph Myers <joseph@codesourcery.com>
37487
37488 * posix/glob: Remove directory.
37489
f1d4aa75
JM
374902012-01-24 Joseph Myers <joseph@codesourcery.com>
37491
37492 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37493
81c0c964
PT
374942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37495
37496 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37497 of the non-standard EPFNOSUPPORT.
37498
0ea698ae
ST
374992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37500
37501 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37502 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37503 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37504
d220b117
UD
375052012-01-21 Ulrich Drepper <drepper@gmail.com>
37506
37507 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37508
3e1aa84e
UD
375092012-01-20 Ulrich Drepper <drepper@gmail.com>
37510
37511 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37512 transient errors.
37513 * nscd/grpcache.c (cache_addgr): Likewise.
37514 * nscd/hstcache.c (cache_addhst): Likewise.
37515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37516 * nscd/pwdcache.c (cache_addpw): Likewise.
37517 * nscd/servicescache.c (cache_addserv): Likewise.
37518
400aa020
UD
375192012-01-16 Ulrich Drepper <drepper@gmail.com>
37520
d77e7869
UD
37521 * malloc/malloc.c: Various cleanups.
37522 * malloc/hooks.c: Likewise.
37523
400aa020
UD
37524 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37525 * stdlib/bug-fmtmsg1.c: New file.
37526
37527 * stdlib/fmtmsg.c (init): Add missing unlock.
37528 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37529
e0a309cf
MP
375302012-01-12 Marek Polacek <polacek@redhat.com>
37531
37532 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37533 and _GNU_SOURCE.
37534
929d11c7
WS
375352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37536
37537 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37538 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37539 macro to ensure uniqueness of label name.
37540 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37541 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37542
41d0e869
UD
375432012-01-11 Ulrich Drepper <drepper@gmail.com>
37544
0cc5ed3b
UD
37545 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37546
41d0e869
UD
37547 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37548 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37551
a47a831a
UD
375522012-01-10 Ulrich Drepper <drepper@gmail.com>
37553
daa891c0
UD
37554 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37555
37556 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37557 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37558 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37559
e58ef0f2
UD
37560 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37561
a47a831a 37562 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37563 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37564 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37565 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37566
37567 * math/bits/math-finite.h: Add ldexp support.
37568
a0bfc9c7
MP
375692012-01-10 Marek Polacek <polacek@redhat.com>
37570
37571 * locale/programs/localedef.h (show_archive_content): Add noreturn
37572 attribute.
37573
d6e97a1d
UD
375742012-01-09 Ulrich Drepper <drepper@gmail.com>
37575
37576 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37577
d5835c26
UD
375782012-01-08 Ulrich Drepper <drepper@gmail.com>
37579
e5f484c6
UD
37580 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37581
d5835c26
UD
37582 * io/Makefile (headers): Add bits/poll2.h.
37583
d1f741e9
WS
375842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37585
37586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37587 typo #include statement.
37588
ec09c1c4
UD
375892012-01-08 Ulrich Drepper <drepper@gmail.com>
37590
37591 * include/sys/cdefs.h: Define __attribute_alloc_size.
37592 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37593 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37594 * elf/pldd.c: Likewise.
37595 * iconv/iconv_charmap.c: Likewise.
37596 * iconv/iconvconfig.c: Likewise.
37597 * iconv/strtab.c: Likewise.
37598 * locale/programs/locale.c: Likewise.
37599 * locale/programs/localedef.h: Likewise.
37600 * locale/programs/simple-hash.c: Likewise.
37601 * nscd/nscd.h: Likewise.
37602 * nss/makedb.c: Likewise.
37603 * sysdeps/generic/ldconfig.h: Likewise.
37604 * locale/programs/localedef.c: Remove xmalloc prototype.
37605 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37606
20b38e03
PP
376072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37608
37609 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37610 appropriate.
37611
a0da5fe1
UD
376122012-01-08 Ulrich Drepper <drepper@gmail.com>
37613
1d5a644a 37614 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37615 * math/tst-CMPLX.c: New file.
1d5a644a 37616
8784a6db
UD
37617 * math/complex.h (CMPLXL): Fix typo.
37618
d9a216c0
UD
37619 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37620 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37621 GLIBC_2.16.
37622 * debug/tst-chk1.c: Add poll and ppoll tests.
37623 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37624 * include/sys/poll.h: Add hidden proto for ppoll.
37625 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37626 * sysdeps/mach/hurd/ppoll.c: Likewise.
37627 * io/ppoll.c: Likewise.
37628 * debug/poll_chk.c: New file.
37629 * debug/ppoll_chk.c: New file.
37630 * include/bits/poll2.h: New file.
37631 * io/bits/poll2.h: New file.
37632
ac097f5c
UD
37633 [BZ #1350]
37634 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37635
2119dcfa
UD
37636 * configure.in: static is always set to yes. Remove.
37637 * config.make.in: Don't set build-static.
37638 * Makeconfig: Remove use of build-static.
37639 * dlfcn/Makefile: Likewise.
37640 * elf/Makefile: Likewise.
37641 * math/Makefile: Likewise.
37642 * misc/Makefile: Likewise.
37643 * nptl/Makefile: Likewise.
37644 * sysdeps/mach/hurd/Makefile: Likewise.
37645
121766a9
UD
37646 * configure.in: PWD_P is not used anymore.
37647 * config.make.in: Remove PWD_P entry.
37648
51a1d39c 37649 * configure.in: Remove last remnants of RANLIB.
8720d066 37650 No need to check for signed size_t anymore.
215f4bdc
UD
37651 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37652 and IA-64.
3857022a 37653 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37654 * aclocal.m4: Likewise.
37655
d3ed7225
UD
37656 * wcsmbs/mbrtoc16.c: Implement using towc function.
37657 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37658 * wcsmbs/wcsmbsload.c: Likewise.
37659 * iconv/gconv_simple.c: Likewise.
37660 * iconv/gconv_int.h: Likewise.
37661 * iconv/gconv_builtin.h: Likewise.
37662 * iconv/iconv_prog.c: Remove CHAR16 handling.
37663
37664 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37665
37666 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37667
a0da5fe1
UD
37668 * configure.in: Remove --with-elf and --enable-bounded options.
37669 Dont set base_machine for ia64. More non-ELF conditions removed.
37670 Remove testing and setting of leading underscore information.
37671 * config.make.in (build-bounded): Set to no.
37672 * config.h.in: Remove NO_UNDERSCORES entry.
37673 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37674 them.
37675 * csu/start.c: Remove !NO_UNDERSCORE code.
37676 * locale/localeinfo.h: Likewise.
37677 * sysdeps/generic/machine-gmon.h: Likewise.
37678 * sysdeps/generic/sysdep.h: Likewise.
37679 * sysdeps/i386/sysdep.h: Likewise.
37680 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37681 * sysdeps/mach/sysdep.h: Likewise.
37682 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37683 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37684 * sysdeps/sh/sysdep.h: Likewise.
37685 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37686 * sysdeps/unix/i386/sysdep.S: Likewise.
37687 * sysdeps/unix/sparc/start.c: Likewise.
37688 * sysdeps/unix/sparc/sysdep.S: Likewise.
37689 * sysdeps/unix/sparc/sysdep.h: Likewise.
37690 * sysdeps/unix/start.c: Likewise.
37691 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37692 * sysdeps/x86_64/sysdep.h: Likewise.
37693
df78418a
UD
376942012-01-07 Ulrich Drepper <drepper@gmail.com>
37695
a784e502
UD
37696 [BZ #13553]
37697 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37698 for non-gcc.
37699 * argp/argp-fmtstream.h: Use const instead __const.
37700 * argp/argp.h: Likewise.
37701 * assert/assert.h: Likewise.
37702 * bits/fenv.h: Likewise.
37703 * bits/sched.h: Likewise.
37704 * bits/sigset.h: Likewise.
37705 * bits/sigthread.h: Likewise.
37706 * catgets/nl_types.h: Likewise.
37707 * conform/data/pthread.h-data: Likewise.
37708 * crypt/crypt-private.h: Likewise.
37709 * crypt/crypt.h: Likewise.
37710 * crypt/crypt_util.c: Likewise.
37711 * ctype/ctype.h: Likewise.
37712 * debug/execinfo.h: Likewise.
37713 * debug/mbsnrtowcs_chk.c: Likewise.
37714 * debug/mbsrtowcs_chk.c: Likewise.
37715 * debug/wcsnrtombs_chk.c: Likewise.
37716 * debug/wcsrtombs_chk.c: Likewise.
37717 * debug/wcstombs_chk.c: Likewise.
37718 * dirent/dirent.h: Likewise.
37719 * dlfcn/dlfcn.h: Likewise.
37720 * elf/neededtest4.c: Likewise.
37721 * grp/grp.h: Likewise.
37722 * gshadow/gshadow.h: Likewise.
37723 * iconv/gconv.h: Likewise.
37724 * iconv/gconv_int.h: Likewise.
37725 * iconv/gconv_simple.c: Likewise.
37726 * iconv/iconv.h: Likewise.
37727 * iconv/loop.c: Likewise.
37728 * iconv/skeleton.c: Likewise.
37729 * include/aio.h: Likewise.
37730 * include/aliases.h: Likewise.
37731 * include/argz.h: Likewise.
37732 * include/arpa/inet.h: Likewise.
37733 * include/assert.h: Likewise.
37734 * include/dirent.h: Likewise.
37735 * include/dlfcn.h: Likewise.
37736 * include/execinfo.h: Likewise.
37737 * include/fcntl.h: Likewise.
37738 * include/fenv.h: Likewise.
37739 * include/glob.h: Likewise.
37740 * include/grp.h: Likewise.
37741 * include/libintl.h: Likewise.
37742 * include/mntent.h: Likewise.
37743 * include/netdb.h: Likewise.
37744 * include/pwd.h: Likewise.
37745 * include/rpc/netdb.h: Likewise.
37746 * include/sched.h: Likewise.
37747 * include/search.h: Likewise.
37748 * include/shadow.h: Likewise.
37749 * include/signal.h: Likewise.
37750 * include/stdio.h: Likewise.
37751 * include/stdlib.h: Likewise.
37752 * include/string.h: Likewise.
37753 * include/sys/socket.h: Likewise.
37754 * include/sys/stat.h: Likewise.
37755 * include/sys/statfs.h: Likewise.
37756 * include/sys/statvfs.h: Likewise.
37757 * include/sys/syslog.h: Likewise.
37758 * include/sys/time.h: Likewise.
37759 * include/sys/uio.h: Likewise.
37760 * include/time.h: Likewise.
37761 * include/unistd.h: Likewise.
37762 * include/utmp.h: Likewise.
37763 * include/wchar.h: Likewise.
37764 * include/wctype.h: Likewise.
37765 * inet/aliases.h: Likewise.
37766 * inet/arpa/inet.h: Likewise.
37767 * inet/netinet/ether.h: Likewise.
37768 * inet/netinet/in.h: Likewise.
37769 * intl/libintl.h: Likewise.
37770 * io/bits/fcntl2.h: Likewise.
37771 * io/fcntl.h: Likewise.
37772 * io/ftw.h: Likewise.
37773 * io/sys/poll.h: Likewise.
37774 * io/sys/stat.h: Likewise.
37775 * io/sys/statfs.h: Likewise.
37776 * io/sys/statvfs.h: Likewise.
37777 * io/utime.h: Likewise.
37778 * libio/bits/stdio.h: Likewise.
37779 * libio/bits/stdio2.h: Likewise.
37780 * libio/libio.h: Likewise.
37781 * libio/libioP.h: Likewise.
37782 * libio/stdio.h: Likewise.
37783 * locale/lc-ctype.c: Likewise.
37784 * locale/locale.h: Likewise.
37785 * login/utmp.h: Likewise.
37786 * malloc/arena.c: Likewise.
37787 * malloc/malloc.c: Likewise.
37788 * malloc/malloc.h: Likewise.
37789 * malloc/mcheck.c: Likewise.
37790 * malloc/mtrace.c: Likewise.
37791 * math/bits/mathcalls.h: Likewise.
37792 * math/fenv.h: Likewise.
37793 * math/math_private.h: Likewise.
37794 * misc/bits/error.h: Likewise.
37795 * misc/bits/syslog.h: Likewise.
37796 * misc/err.h: Likewise.
37797 * misc/error.h: Likewise.
37798 * misc/fstab.h: Likewise.
37799 * misc/mntent.h: Likewise.
37800 * misc/regexp.h: Likewise.
37801 * misc/search.h: Likewise.
37802 * misc/sgtty.h: Likewise.
37803 * misc/sys/mman.h: Likewise.
37804 * misc/sys/syslog.h: Likewise.
37805 * misc/sys/uio.h: Likewise.
37806 * misc/sys/xattr.h: Likewise.
37807 * misc/ttyent.h: Likewise.
37808 * nis/rpcsvc/ypclnt.h: Likewise.
37809 * nss/nss.h: Likewise.
37810 * posix/bits/unistd.h: Likewise.
37811 * posix/fnmatch.h: Likewise.
37812 * posix/glob.h: Likewise.
37813 * posix/sched.h: Likewise.
37814 * posix/spawn.h: Likewise.
37815 * posix/sys/wait.h: Likewise.
37816 * posix/unistd.h: Likewise.
37817 * posix/wordexp.h: Likewise.
37818 * pwd/pwd.h: Likewise.
37819 * resolv/netdb.h: Likewise.
37820 * resource/sys/resource.h: Likewise.
37821 * rt/aio.h: Likewise.
37822 * rt/bits/mqueue2.h: Likewise.
37823 * rt/mqueue.h: Likewise.
37824 * shadow/shadow.h: Likewise.
37825 * signal/signal.h: Likewise.
37826 * socket/send.c: Likewise.
37827 * socket/sendto.c: Likewise.
37828 * socket/sys/socket.h: Likewise.
37829 * stdio-common/printf.h: Likewise.
37830 * stdlib/bits/stdlib.h: Likewise.
37831 * stdlib/fmtmsg.h: Likewise.
37832 * stdlib/monetary.h: Likewise.
37833 * stdlib/stdlib.h: Likewise.
37834 * stdlib/ucontext.h: Likewise.
37835 * streams/stropts.h: Likewise.
37836 * string/argz.h: Likewise.
37837 * string/bits/string2.h: Likewise.
37838 * string/string.h: Likewise.
37839 * string/strings.h: Likewise.
37840 * sunrpc/rpc/auth.h: Likewise.
37841 * sunrpc/rpc/auth_des.h: Likewise.
37842 * sunrpc/rpc/clnt.h: Likewise.
37843 * sunrpc/rpc/netdb.h: Likewise.
37844 * sunrpc/rpc/pmap_clnt.h: Likewise.
37845 * sunrpc/rpc/xdr.h: Likewise.
37846 * sysdeps/generic/inttypes.h: Likewise.
37847 * sysdeps/generic/net/if.h: Likewise.
37848 * sysdeps/generic/sys/swap.h: Likewise.
37849 * sysdeps/gnu/net/if.h: Likewise.
37850 * sysdeps/gnu/utmpx.h: Likewise.
37851 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37852 * sysdeps/i386/i486/bits/string.h: Likewise.
37853 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37854 * sysdeps/s390/bits/string.h: Likewise.
37855 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37856 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37857 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37858 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37859 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37860 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37861 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37862 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37863 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37864 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37865 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37866 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37867 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37868 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37869 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37870 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37871 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37873 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37875 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37876 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37877 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37878 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37879 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37880 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37881 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37882 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37883 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37884 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37885 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37886 * sysvipc/sys/ipc.h: Likewise.
37887 * sysvipc/sys/msg.h: Likewise.
37888 * sysvipc/sys/sem.h: Likewise.
37889 * sysvipc/sys/shm.h: Likewise.
37890 * termios/termios.h: Likewise.
37891 * time/sys/time.h: Likewise.
37892 * time/time.h: Likewise.
37893 * wcsmbs/bits/wchar2.h: Likewise.
37894 * wcsmbs/uchar.h: Likewise.
37895 * wcsmbs/wchar.h: Likewise.
37896 * wctype/wctype.h: Likewise.
37897
0269750c
UD
37898 [BZ #13551]
37899 * Makeconfig: Remove all but ELF support including AIX support.
37900 * Makerules: Likewise.
37901 * config.h.in: Likewise.
37902 * config.make.in: Likewise.
37903 * configure: Likewise.
37904 * configure.in: Likewise.
37905 * csu/Makefile: Likewise.
37906 * csu/version.c: Likewise.
37907 * debug/Makefile: Likewise.
37908 * dlfcn/Makefile: Likewise.
37909 * elf/Makefile: Likewise.
37910 * extra-lib.mk: Likewise.
37911 * iconv/Makefile: Likewise.
37912 * include/libc-symbols.h: Likewise.
37913 * include/shlib-compat.h: Likewise.
37914 * resolv/Makefile: Likewise.
37915 * resolv/res_libc.c: Likewise.
37916 * rt/Makefile: Likewise.
37917 * sysdeps/i386/asm-syntax.h: Likewise.
37918 * sysdeps/i386/sysdep.h: Likewise.
37919 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37920 * sysdeps/mach/sysdep.h: Likewise.
37921 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37922 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37923 * sysdeps/s390/asm-syntax.h: Likewise.
37924 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37925 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37926 * sysdeps/sh/sysdep.h: Likewise.
37927 * sysdeps/unix/sparc/sysdep.h: Likewise.
37928 * sysdeps/wordsize-32/divdi3.c: Likewise.
37929 * sysdeps/x86_64/sysdep.h: Likewise.
37930
00bbd29b
UD
37931 * argp/Versions: Remove _argp_unlock_xxx.
37932
37933 [BZ #13559]
37934 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37935 * abilist/libBrokenLocale.abilist: Likewise.
37936 * abilist/libanl.abilist: Likewise.
37937 * abilist/libc.abilist: Likewise.
37938 * abilist/libcrypt.abilist: Likewise.
37939 * abilist/libdl.abilist: Likewise.
37940 * abilist/libm.abilist: Likewise.
37941 * abilist/libnsl.abilist: Likewise.
37942 * abilist/libpthread.abilist: Likewise.
37943 * abilist/libresolv.abilist: Likewise.
37944 * abilist/librt.abilist: Likewise.
37945 * abilist/libthread_db.abilist: Likewise.
37946 * abilist/libutil.abilist: Likewise.
37947 * abilist/libnss_db.abilist: New file.
37948
37949 * scripts/abilist.awk: Add support for indirect functions.
37950
a2693a0e
UD
37951 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37952
3f05895f
UD
37953 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37954
ecb6fb48
UD
37955 * shlib-versions: Remove entries for ports architectures.
37956
664f8cb9
UD
37957 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37958 files in ports.
37959 * elf/stackguard-macros.h: Remove support for IA-64.
37960 * elf/tst-auditmod1.c: Likewise.
37961 * sysdeps/generic/ldsodefs.h: Likewise.
37962
7ae81d88
UD
37963 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37964 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37965 configure files.
37966
bdeba135
UD
37967 [BZ #13552]
37968 * configure.in: Remove --enable-omitfp support.
37969 * FAQ.in: Adjust.
37970 * config.make.in: Likewise.
37971 * Makeconfig: Likewise.
37972 * manual/install.texi: Likewise.
37973
d75a0a62
UD
37974 In case anyone cares, the IA-64 architecture could move to ports.
37975 * sysdeps/ia64/*: Removed.
37976 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37977 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37978
dcc9756b
UD
37979 [BZ #13555]
37980 * configure.in: Remove entries for unsupported architectures.
37981
d3761ebc 37982 [BZ #13533]
9954432e
UD
37983 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37984 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37985 routines.
37986 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37987 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37988 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37989 fall back to using wcrtomb.
37990 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37991 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37992 renaming.
37993 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37994 * wcsmbs/tst-c16c32-1.c: New file.
37995
37996 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37997 local variable.
37998
c3a87236
UD
37999 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38000
28926a1b
UD
38001 * elf/tst-unique3.cc: Add explicit declaration of gets.
38002 * elf/tst-unique3lib.cc: Likewise.
38003 * elf/tst-unique3lib2.cc: Likewise.
38004 * elf/tst-unique4.cc: Likewise.
38005
df78418a
UD
38006 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38007
8ecd6b2a
JM
380082012-01-06 Joseph Myers <joseph@codesourcery.com>
38009
38010 [BZ #13566]
38011 * assert/assert.h (static_assert): Don't define for C++.
38012 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38013 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38014
9f115170
UD
380152012-01-03 Ulrich Drepper <drepper@gmail.com>
38016
5e0d0300
UD
38017 * iconv/loop.c (single loop): Fix assertion in storing of
38018 remaining bytes.
38019
9f115170
UD
38020 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38021
81fb02b0
UD
380222012-01-01 Ulrich Drepper <drepper@gmail.com>
38023
38024 * posix/getconf.c: Update copyright year.
38025 * nss/getent.c: Likewise.
a316c1f6 38026 * nss/makedb.c: Likewise.
81fb02b0
UD
38027 * iconv/iconvconfig.c: Likewise.
38028 * iconv/iconv_prog.c: Likewise.
38029 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38030 * elf/pldd.c: Likewise.
38031 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38032 * catgets/gencat.c: Likewise.
38033 * csu/version.c: Likewise.
38034 * elf/ldd.bash.in: Likewise.
38035 * elf/sprof.c (print_version): Likewise.
38036 * locale/programs/locale.c: Likewise.
38037 * locale/programs/localedef.c: Likewise.
a316c1f6 38038 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38039 * nscd/nscd.c (print_version): Likewise.
38040 * debug/xtrace.sh: Likewise.
38041 * malloc/memusage.sh: Likewise.
38042 * malloc/mtrace.pl: Likewise.
38043 * debug/catchsegv.sh: Likewise.
38044
2ba92745
JJ
380452011-12-30 Jakub Jelinek <jakub@redhat.com>
38046
38047 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38048 pure attribute.
38049
dadebdae
UD
380502011-12-24 Ulrich Drepper <drepper@gmail.com>
38051
d3761ebc 38052 [BZ #13533]
db6af3eb
UD
38053 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38054 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38055 transformations.
38056 * iconv/gconv_int.h: Likewise.
38057 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38058 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38059 from libc for GLIBC_2.16.
38060 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38061 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38062 * wcsmbs/uchar.h: Really define mbstate_t.
38063 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38064 * wcsmbs/c16rtomb.c: New file.
38065 * wcsmbs/mbrtoc16.c: New file.
38066 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38067 for C/POSIX locale.
38068 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38069 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38070
dadebdae
UD
38071 * wcsmbs/wchar.h: Add missing __restrict.
38072
67371b56
UD
380732011-12-23 Ulrich Drepper <drepper@gmail.com>
38074
74033a25
UD
38075 [BZ #13532]
38076 * time/Makefile (routines): Add timespec_get.
38077 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38078 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38079 timespec for ISO C11.
38080 * time/timespec_get.c: New file.
38081 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38082 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38083
380d7e87
UD
38084 [BZ #13531]
38085 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38086 * stdlib/stdlib.h: Declare aligned_alloc.
38087 * Versions.def: Add GLIBC_2.16 for libc.
38088 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38089
4e9e7a35
UD
38090 [BZ 13527]
38091 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38092 ISO C11.
38093
380d7e87 38094 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38095 code.
38096
03a71829
UD
38097 [BZ #13528]
38098 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38099
839e283e
UD
38100 [BZ #13529]
38101 * assert/assert.h (static_assert): Define.
38102
ce5294e2 38103 * version.h: Update for 2.16 development version.
90fa7312 38104
8d44e150 38105 [BZ #13526]
d7809905
UD
38106 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38107 _ISOC11_SOURCE.
38108
c0da14cd
UD
38109 * version.h (RELEASE): Bump for 2.15 release.
38110 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38111
530a3249
MP
38112 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38113 Patch by Marek Polacek <mpolacek@redhat.com>.
38114
67371b56
UD
38115 * bits/byteswap.h: Protect long long constants with __extension__.
38116 * sysdeps/i386/bits/byteswap.h: Likewise.
38117 * sysdeps/ia64/bits/byteswap.h: Likewise.
38118 * sysdeps/s390/bits/byteswap.h: Likewise.
38119 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38120
15db4de1
LD
381212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38122
38123 [BZ #13540]
bbe315ea
LD
38124 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38125 destination buffer.
15db4de1
LD
38126 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38127
2b2596b1
MP
381282011-12-23 Marek Polacek <polacek@redhat.com>
38129
38130 * elf/dl-addr.c (determine_info): Add inline keyword.
38131 * elf/tst-auditmod4b.c (check_avx): Likewise.
38132 * elf/tst-auditmod6b.c (check_avx): Likewise.
38133 * elf/tst-auditmod6c.c (check_avx): Likewise.
38134 * elf/tst-auditmod7b.c (check_avx): Likewise.
38135
70c6c246
UD
381362011-12-23 Ulrich Drepper <drepper@gmail.com>
38137
38138 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38139 !__SSE_MATH__.
38140
c044cf14
LD
381412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38142
15db4de1 38143 [BZ #13540]
c044cf14
LD
38144 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38145 processing for last bytes.
38146
6b13d9d9
BH
381472011-08-06 Bruno Haible <bruno@clisp.org>
38148
d455f537
BH
38149 [BZ #13061]
38150 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38151 U+0385, not to U+1FEE.
38152
6b13d9d9
BH
38153 [BZ #13062]
38154 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38155 entry for U+00A5 U+0301.
38156
db910efd
UD
381572011-12-22 Ulrich Drepper <drepper@gmail.com>
38158
27deeafc
UD
38159 [BZ #13166]
38160 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38161 buffer for the output is too small.
38162
aed9d171
UD
38163 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38164 optimization.
38165
db910efd
UD
38166 [BZ #13185]
38167 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38168 SSE flags if possible.
38169
2bd779ae
LD
381702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38171
e7f9dac3 38172 [BZ #13540]
2bd779ae
LD
38173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38174 processing for last bytes.
38175
154bfc16
JM
381762011-12-22 Joseph Myers <joseph@codesourcery.com>
38177
38178 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38179 (syscall-list-default-options, syscall-list-default-condition)
38180 (syscall-list-includes): Define.
38181 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38182 list of ABIs and options and #if conditions for each ABI. Do not
38183 handle common syscalls between ABIs specially.
38184 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38185 Remove.
38186 (syscall-list-variants, syscall-list-32bit-options)
38187 (syscall-list-32bit-condition, syscall-list-64bit-options)
38188 (syscall-list-64bit-condition): Define.
38189 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38190 (syscall-list-variants, syscall-list-32bit-options)
38191 (syscall-list-32bit-condition, syscall-list-64bit-options)
38192 (syscall-list-64bit-condition): Define.
38193 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38194 Remove.
38195 (syscall-list-variants, syscall-list-32bit-options)
38196 (syscall-list-32bit-condition, syscall-list-64bit-options)
38197 (syscall-list-64bit-condition): Define.
38198 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38199 Remove.
38200 (syscall-list-variants, syscall-list-32bit-options)
38201 (syscall-list-32bit-condition, syscall-list-64bit-options)
38202 (syscall-list-64bit-condition): Define.
38203
21eaf3a5
UD
382042011-12-22 Ulrich Drepper <drepper@gmail.com>
38205
16c6f992
UD
38206 * locale/iso-639.def: Add brx entry.
38207
41043168
UD
38208 [BZ #13328]
38209 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38210 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38211
21eaf3a5
UD
38212 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38213 __feraiseexcept_renamed.
38214
e3a851a2
UD
382152011-12-21 Ulrich Drepper <drepper@gmail.com>
38216
4920765e
UD
38217 [BZ #13538]
38218 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38219 EPOLLET with unsigned values.
38220 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38221 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38222
e3a851a2
UD
38223 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38224 to large cancellation.
38225 * math/s_cacoshf.c: Likewise.
38226 * math/s_cacoshl.c: Likewise.
38227
b27e24b8
RK
382282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38229
38230 [BZ #13305]
aebefeee 38231 [BZ #12786]
b27e24b8
RK
38232 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38233 * math/s_cacoshf.c: Likewise.
38234 * math/s_cacoshl.c: Likewise.
38235
ee190f67
UD
382362011-12-21 Ulrich Drepper <drepper@gmail.com>
38237
38238 [BZ #13439]
38239 * iconv/gconv.h: Define __GCONV_SWAP.
38240 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38241 * iconvdata/utf-16.c: Likewise.
38242 * iconvdata/utf-32.c: Likewise.
38243
707f25df
AS
382442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38245
38246 [BZ #13524]
38247 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38248 numerator after shifting it by one limb.
38249
d2daaa1e
RÁE
382502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38251
38252 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38253 under [__USE_EXTERN_INLINES].
38254
a4647e72
UD
382552011-12-17 Ulrich Drepper <drepper@gmail.com>
38256
38257 [BZ #13446]
38258 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38259
f0b264f1
AZ
382602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38261
38262 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38263 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38264 optimized code.
38265 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38266 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38267 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38268 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38269 for strncasecmp/strncasecmp_l compilation.
38270 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38271 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38272
8ef4f244
MP
382732011-12-08 Marek Polacek <mpolacek@redhat.com>
38274
38275 [BZ #13484]
38276 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38277 of __asm__.
38278
97ac2654
UD
382792011-12-17 Ulrich Drepper <drepper@gmail.com>
38280
38281 [BZ #13506]
38282 * time/tzfile.c (__tzfile_read): Check values from file header.
38283
91d2a845
WS
382842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38285
38286 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38287 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38288 * powerpc/powerpc32/dl-start.S: Likewise.
38289 * powerpc/powerpc32/elf/start.S: Likewise.
38290 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38291 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38292 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38293 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38294 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38295 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38296 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38297 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38298 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38299 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38300 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38301 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38302 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38303 * powerpc/powerpc32/memset.S: Likewise.
38304 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38305 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38306 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38307 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38308 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38309 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38310 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38311 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38312 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38313 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38314 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38315 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38316 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38317
a1267ba1
AZ
383182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38319
38320 * math/libm-test.inc: Added more nearbyint tests.
38321 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38322 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38323 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38324 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38325
ad8ac1bd
RL
383262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38327
38328 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38329 FD_CLOEXEC.
38330
1d3e4b61
UD
383312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38332
38333 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38334 Add wcscpy-ssse3 wcscpy-c.
38335 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38336 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38337 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38338 * sysdeps/x86_64/wcschr.S: New file.
38339 * sysdeps/x86_64/wcsrchr.S: New file.
38340 * string/test-strcmp.c: Remove checking of wcscmp function for
38341 wrong alignments.
38342 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38343 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38344 wcsrchr-sse2 wcsrchr-c.
38345 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38346 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38347 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38348 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38349 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38350 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38351 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38352 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38353 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38354 * wcsmbc/wcschr.c (WCSCHR): New macro.
38355
5b330a2d
UD
383562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38357
38358 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38359 * wcsmbs/test-wcsrchr.c: New file.
38360 * string/test-strrchr.c: Add wcsrchr support.
38361 (WIDE): New macro.
38362 * wcsmbs/test-wcscpy.c: New file.
38363 * string/test-strcpy.c: Add wcscpy support.
38364 (WIDE): New macro.
26428b7c 38365
f039c043
UD
383662011-12-10 Ulrich Drepper <drepper@gmail.com>
38367
38368 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38369 the inner loop.
38370
850fb039
AS
383712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38372
38373 [BZ #13472]
38374 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38375
4efbd5cb
UD
383762011-12-04 Ulrich Drepper <drepper@gmail.com>
38377
52ff5dd0 38378 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38379 Minor optimizations.
52ff5dd0 38380
4efbd5cb
UD
38381 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38382 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38383 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38384
8a426e12
UD
383852011-12-03 Ulrich Drepper <drepper@gmail.com>
38386
aff2453d
UD
38387 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38388 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38389 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38390 for gcc to avoid warnings.
38391 * inet/Makefile (tests): Add tst-checks.
38392 * inet/tst-checks.c: New file.
38393
38394 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38395 warning.
38396
38397 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38398 __wmemcmp_sse2.
38399
38400 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38401 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38402
8a426e12
UD
38403 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38404
9bea3473
UD
384052011-12-02 Ulrich Drepper <drepper@gmail.com>
38406
3a965496
UD
38407 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38408 problem.
38409
9bea3473
UD
38410 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38411
f101631b
UD
384122011-11-29 Joseph Myers <joseph@codesourcery.com>
38413
38414 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38415 conditional on GCC version.
38416 (__arch_compare_and_exchange_val_8_acq)
38417 (__arch_compare_and_exchange_val_16_acq)
38418 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38419 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38420 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38421
a98275aa
UD
384222011-12-02 Joseph Myers <joseph@codesourcery.com>
38423
38424 * sysdeps/sh/backtrace.c: New file.
38425
d4cc29a2
AS
384262011-12-02 Andreas Schwab <schwab@redhat.com>
38427
38428 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38429 parenthesis.
38430
6257af2d
AS
384312011-12-01 Andreas Schwab <schwab@redhat.com>
38432
38433 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38434 falling back to utime.
38435
b5f44c1a
AS
384362011-11-30 Andreas Schwab <schwab@redhat.com>
38437
38438 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38439 expectations for float.
38440
f3a6cc0a
AS
384412011-11-29 Andreas Schwab <schwab@redhat.com>
38442
38443 * locale/weight.h (findidx): Add parameter len.
38444 * locale/weightwc.h (findidx): Likewise.
38445 * posix/fnmatch_loop.c (FCT): Adjust caller.
38446 * posix/regcomp.c (build_equiv_class): Likewise.
38447 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38448 * posix/regexec.c (check_node_accept_bytes): Likewise.
38449 * string/strcoll_l.c (STRCOLL): Likewise.
38450 * string/strxfrm_l.c (STRXFRM): Likewise.
38451
9d65ea3a
UD
384522011-11-17 Ulrich Drepper <drepper@gmail.com>
38453
38454 * Makefile.in: Remove CVSOPT handling.
38455 * configure.in: Remove use of AC_REVISION.
38456 * iconvdata/Makefile (distribute): No need to filter out CVS.
38457 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38458 handling.
38459
5583a086
AS
384602011-11-16 Andreas Schwab <schwab@redhat.com>
38461
38462 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38463 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38464 [USE_AS_STRNCASECMP_L]: Likewise.
38465 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38466 NO_TLS_DIRECT_SEG_REFS.
38467 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38468 Fix argument offsets for non-PIC.
38469 [USE_AS_STRNCASECMP_L]: Likewise.
38470 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38471 NO_TLS_DIRECT_SEG_REFS.
38472
d62a8200
UD
384732011-11-15 Ulrich Drepper <drepper@gmail.com>
38474
9d65ea3a 38475 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38476 O_CLOEXEC.
38477 * locale/loadlocale.c (_nl_load_locale): Likewise.
38478
09f93bd3
AS
384792011-11-15 Andreas Schwab <schwab@redhat.com>
38480
446514f9
AS
38481 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38482 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38483 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38484 (SYSCALL_GETTIME): Set errno on error.
38485
09f93bd3
AS
38486 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38487 count references to noai6ai_cached.
38488
312be3f9
UD
384892011-11-15 Ulrich Drepper <drepper@gmail.com>
38490
38491 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38492
38493 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38494 FD_CLOEXEC for /proc/self/maps.
38495
38496 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38497 FD_CLOEXEC for /proc/meminfo.
38498
38499 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38500 gai.conf.
38501
38502 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38503 FD_CLOEXEC for given file.
38504
38505 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38506
38507 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38508 FD_CLOEXEC for /etc/hosts.
38509 (_gethtent): Likewise.
38510
38511 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38512
38513 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38514 cancellation and set FD_CLOEXEC for /etc/netgroup.
38515
38516 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38517 reading /etc/publickey.
38518
38519 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38520 allow cancellation when reading /etc/group.
38521
38522 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38523 cancellation.
38524 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38525
38526 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38527 when using data file.
38528
38529 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38530
38531 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38532 (write_nis_obj): Use "c" and "e" in fopen.
38533
38534 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38535
38536 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38537
38538 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38539
38540 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38541
38542 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38543 locale.alias.
38544
38545 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38546
38547 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38548
38549 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38550
38551 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38552 file parsing and set FD_CLOEXEC.
38553
82af0fa8
UD
385542011-11-14 Ulrich Drepper <drepper@gmail.com>
38555
38556 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38557
a5fb313c
AS
385582011-11-14 Andreas Schwab <schwab@redhat.com>
38559
38560 * malloc/arena.c (arena_get2): Don't call reused_arena when
38561 _int_new_arena failed.
38562
6abf3465
UD
385632011-11-14 Ulrich Drepper <drepper@gmail.com>
38564
38565 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38566 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38567 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38569 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38571 to compile strcasecmp and strncasecmp.
38572 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38573 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38574
38575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38576
76e3966e
UD
385772011-11-13 Ulrich Drepper <drepper@gmail.com>
38578
38579 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38580 locale-defines.sym to gen-as-const-headers.
38581 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38582 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38584 to compile strcasecmp and strncasecmp.
38585 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38586 strcasecmp_l and strncasecmp_l.
38587 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38588 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38589 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38590 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38591 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38592 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38593 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38594 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38595 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38596 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38597 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38598
ab26144e
UD
385992011-11-12 Ulrich Drepper <drepper@gmail.com>
38600
7edb22ef
UD
38601 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38602 result of SYSDEP_GETTIME_CPU to retval.
38603 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38604 parameter list to macro. Remove trailing semicolon. Adjust users.
38605
9694fc44
UD
38606 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38607 variable.
38608
8ad89ef8
UD
38609 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38610 mantissa words.
38611 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38612
0c822ef9
UD
38613 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38614 from unused variable.
38615
874e0564
UD
38616 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38617 DWARF definitions.
38618 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38619 for assembling.
38620
3a2edc79
UD
38621 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38622 over namespaces.
38623
f3c2577f
UD
38624 * sunrpc/rpc_prot.c (rejected): Fix case value.
38625
294ce126
UD
38626 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38627 unsigned long long int to avoid warnings in shift.
38628
5e2b63c6
UD
38629 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38630 of use of trans.
38631 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38632 variable tmp.
38633
e7f4b08e
UD
38634 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38635 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38636 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38637
ab26144e
UD
38638 * nis/nis_table.c (nis_list): Use variable of correct type for
38639 result of __follow_path call.
38640
8a6d5255
AZ
386412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38642
38643 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38644 of math functions ceil, trunc, floor, round, and sqrt, when
38645 avaliable on the platform.
38646 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38647 name clash.
38648 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38649 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38650 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38651
aaddc98c
MP
386522011-10-30 Marek Polacek <mpolacek@redhat.com>
38653
38654 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38655 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38656
95b7042b
RM
386572011-11-11 Roland McGrath <roland@hack.frob.com>
38658
38659 * include/unistd.h: Fix __readlink return type.
38660 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38661
57769839
UD
386622011-11-11 Ulrich Drepper <drepper@gmail.com>
38663
38664 * stdlib/ucontext.h: Undo last change for makecontext.
38665
edc5984d
AS
386662011-11-11 Andreas Schwab <schwab@redhat.com>
38667
98591e58
AS
38668 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38669
edc5984d
AS
38670 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38671 * setjmp/setjmp.h: Mark functions as non-leaf.
38672 * setjmp/bits/setjmp2.h: Likewise.
38673 * stdlib/ucontext.h: Likewise.
38674
77cdc054
AS
386752011-11-10 Andreas Schwab <schwab@redhat.com>
38676
38677 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38678 (reused_arena): Don't check arena limit.
38679 (arena_get2): Atomically check arena limit.
38680
fe72eebd
UD
386812011-11-08 Ulrich Drepper <drepper@gmail.com>
38682
5f078c32
UD
38683 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38684 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38685
fe72eebd
UD
38686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38687 instructions.
38688
ae1bc2fa
AS
386892011-11-07 Andreas Schwab <schwab@redhat.com>
38690
7583a88d
AS
38691 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38692 handler when locking.
38693
ae1bc2fa
AS
38694 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38695 Fix size of allocated buffer.
38696
10fb0bfa
AS
386972011-11-04 Andreas Schwab <schwab@redhat.com>
38698
998832a4
AS
38699 [BZ #10103]
38700 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38701 declarations for long double functions.
38702 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38703
10fb0bfa
AS
38704 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38705
3d7ba52b
AS
387062011-11-03 Andreas Schwab <schwab@redhat.com>
38707
a9ae54a1
AS
38708 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38709 installed.
38710
3d7ba52b
AS
38711 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38712 is disabled.
38713
bc8db248
ST
387142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38715
38716 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38717
45b96dd6
AS
387182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38719
647776f6
AS
38720 * include/alloca.h (stackinfo_alloca_round): Define.
38721 (extend_alloca): Use it.
38722 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38723 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38724 here.
38725
d91a8b93
AS
38726 * scripts/check-local-headers.sh: Ignore libaudit.h.
38727
45b96dd6
AS
38728 * nscd/Makefile (extra-objs): Make recursively expanded.
38729
432d41ce
UD
387302011-11-01 Ulrich Drepper <drepper@gmail.com>
38731
34372fc6
UD
38732 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38733 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38734
fadb59f8
UD
38735 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38736 * posix/tst-rfc3484-2.c: Likewise.
38737 * posix/tst-rfc3484-3.c: Likewise.
38738
78239589
UD
38739 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38740 process_vm_writev.
38741 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38742 process_vm_writev.
38743 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38744 process_vm_writev from libc using GLIBC_2.15 version.
38745
432d41ce
UD
38746 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38747
02f9c6cf
PP
387482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38749
38750 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38751 stack usage.
38752
3a2c0242
UD
387532011-10-31 Ulrich Drepper <drepper@gmail.com>
38754
f4ec4833
UD
38755 [BZ #13367]
38756 * nss/getent.c (initgroups_keys): Show error message in case no group
38757 names are given.
38758
3a2c0242
UD
38759 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38760 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38761 __bump_nl_timestamp.
38762 * nscd/connections (nscd_init): When host database is served open
38763 netlink socket and request notification about configuration changes.
38764 (main_loop_poll): Track netlink file descriptor and bump timestamp
38765 in case data becomes available.
38766 (main_loop_epoll): Likewise.
38767 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38768 (database_pers_head): Add extra_data fileds.
38769 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38770 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38771 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38772 Adjust caller.
38773 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38774 in6ai data, call __free_in6ai.
38775 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38776 Add -DHAVE_NETLINK.
38777 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38778 interface information. Reuse previous data if netlink timestamp
38779 is not changed.
38780 (__bump_nl_timestamp): New function.
38781 (__free_in6ai): New function.
38782
636064eb
UD
387832011-10-30 Ulrich Drepper <drepper@gmail.com>
38784
38785 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38786 close_not_cancel_no_status here.
38787 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38788
9beb2334
UD
387892011-10-29 Ulrich Drepper <drepper@gmail.com>
38790
6ef76f3b
UD
38791 [BZ #13276]
38792 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38793 return value.
38794
0ffc4f3e 38795 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38796 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38797 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38798
cb95113e
UD
387992011-07-03 Andreas Jaeger <aj@suse.de>
38800
38801 [BZ #10709]
38802 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38803 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38804 * math/libm-test.inc (sin_test): Add test case.
38805
a1b560ff
UD
388062011-10-29 Ulrich Drepper <drepper@gmail.com>
38807
c9aaface
UD
38808 [BZ #13337]
38809 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38810 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38811
d272e7f1
UD
38812 * elf/chroot_canon.c (chroot_canon): Cleanups.
38813
1bc33071
UD
38814 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38815
1760874d
TJ
38816 [BZ #13335]
38817 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38818 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38819
51d91b18
UD
38820 * string/test-strchr.c: Make usable for strchrnul testing.
38821 * string/test-strchrnul.c: New file.
38822 * string/Makefile (strop-tests): Add strchrnul.
38823
a1b560ff 38824 * po/it.po: Update from translation team.
b611fb81 38825 * po/es.po: Likewise.
a1b560ff 38826
a5b81e1f
UD
388272011-10-28 Ulrich Drepper <drepper@gmail.com>
38828
fd52bc6d
UD
38829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38830 the three constants needed as parameters. Drop the others.
38831 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38832 __m128i_strloadu_tolower.
52e4b9eb
UD
38833 Create and initialize variable zero and use it in all the places
38834 where _mm_setzero_si128 was used.
fd52bc6d 38835
a5b81e1f
UD
38836 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38837 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38838 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38840 anymore.
38841 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38842 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38843 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38844 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38845 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38846 __mpranred, __mptan.
38847 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38848 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38849 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38850 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38851 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38852 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38854 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38855 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38856
b4343346
AS
388572011-10-28 Andreas Schwab <schwab@redhat.com>
38858
0c92d8a8
AS
38859 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38860 redefine if SHARED.
38861 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38862
b4343346
AS
38863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38864 wide char related routines to wcsmbs subdir.
38865
3871f58f
AS
388662011-10-27 Andreas Schwab <schwab@redhat.com>
38867
38868 [BZ #13344]
38869 * misc/sys/cdefs.h (__THROWNL): Define.
38870 * posix/unistd.h: Use __THREADNL instead of __THREAD
38871 for memory synchronization functions.
38872
94d44d9f
RM
388732011-10-26 Roland McGrath <roland@hack.frob.com>
38874
21b64b15 38875 [BZ #13349]
94d44d9f
RM
38876 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38877 doesn't exist.
38878 * manual/stdio.texi (Obstack Streams): Node removed.
38879
f6ce9294
AS
388802011-10-26 Andreas Schwab <schwab@redhat.com>
38881
80479147
AS
38882 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38884 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38885
f6ce9294
AS
38886 * math/math_private.h (math_force_eval): Allow non-addressable
38887 arguments.
38888 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38889
618280a1
UD
388902011-10-25 Ulrich Drepper <drepper@gmail.com>
38891
e0016b11
UD
38892 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38893 file is not needed.
38894
38895 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38896 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38898 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38899 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38900 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38901 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38902 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38903 Add AVX variants.
38904 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38905 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38906 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38907 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38908 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38909 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38910 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38911 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38912 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38913 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38914 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38915 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38916 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38917 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38918 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38919 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38920 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38921 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38922 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38923
38924 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38925 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38926
618280a1
UD
38927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38928 place. Use VEX encoding when compiling for AVX.
38929
37822576
AS
389302011-10-25 Andreas Schwab <schwab@redhat.com>
38931
1f1e1947
AS
38932 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38933 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38934
37822576
AS
38935 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38936
31ea014d
UD
389372011-10-25 Ulrich Drepper <drepper@gmail.com>
38938
d7826aa1 38939 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38940 useless if() expression.
d7826aa1
UD
38941 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38942 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38943 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38945 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38946 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38947 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38948 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38949 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38950 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38951 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38952 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38953 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38954 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38955 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38956 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38957 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38958 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38959 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38960
31ea014d
UD
38961 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38962
16437fec
AS
389632011-10-25 Andreas Schwab <schwab@redhat.com>
38964
38965 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38966 condition.
38967 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38968
31d3cc00
UD
389692011-10-25 Ulrich Drepper <drepper@gmail.com>
38970
38971 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38972 .text section. Avoid duplicate constants.
38973 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38977 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38981 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38982 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38983 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38984 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38985 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38986 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38987 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38988 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38990 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38996 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38997 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38998 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38999 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39000 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39001 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39002 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39003 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39004 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39005 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39006 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39007 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39008 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39009 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39011 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39012 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39013 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39014 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39015 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39016 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39017 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39018
58985aa9
UD
390192011-10-24 Ulrich Drepper <drepper@gmail.com>
39020
202c9deb
UD
39021 * sysdeps/x86_64/dla.h: Move to ...
39022 * sysdeps/x86_64/fpu/dla.h: ...here.
39023 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39024 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39025
af968f62
UD
39026 * config.make.in: Add have-mfma4 entry.
39027 * configure.in: Substitute libc_cv_cc_fma4.
39028 * math/Makefile (dbl-only-routines): Add sincostab.
39029 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39030 Use __sincostab not sincos.
39031 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39032 name is a macro.
39033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39036 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39037 using __copysign.
39038 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39039 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39040 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39041 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39042 and __inv.
39043 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39044 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39045 __copysign.
39046 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39047 define aliases when function name is a macro.
39048 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39049 sysdeps/ieee754/dbl-64/sincos.tbl.
39050 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39051 fma4-enabled routines.
39052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39053 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39054 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39055 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39056 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39057 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39058 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39059 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39060 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39061 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39062 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39063 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39064 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39065 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39066 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39067 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39068 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39069 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39070 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39071 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39072 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39073 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39074 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39075 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39076 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39077 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39079 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39080 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39081 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39082
58985aa9
UD
39083 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39084 rename.
39085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39086 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39091 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39093
a201fbcf
AS
390942011-10-24 Andreas Schwab <schwab@redhat.com>
39095
39096 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39097
fc2ee42a
LD
390982011-10-23 Ulrich Drepper <drepper@gmail.com>
39099
bb3129bd
UD
39100 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39101
0275fff8
UD
39102 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39103 prediction.
39104 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39105
2fa2ae85
UD
39106 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39107 Remove unused variable magic_bits.
39108 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39109
fc2ee42a
LD
39110 * string/strnlen.c: Define and use STRNLEN macro.
39111 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39112 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39114 * wcsmbs/wcslen.c: Define and use WCSLEN.
39115 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39116 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39117 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39118 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39119 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39120 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39121 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39122
ce7dd29f
LD
391232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39124
39125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39126 strnlen-sse2-no-bsf.
39127 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39129 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39130 Add strnlen support.
39131 (USE_AS_STRNLEN): New macro.
39132 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39133 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39134 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39135 * sysdeps/x86_64/wcslen.S: New file.
39136
979c70a3
MZ
391372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39138
39139 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39140 XMM-moves are used for copying on small sizes.
39141
2d09f82f
LD
391422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39143
39144 * wcsmbs/Makefile (strop-tests): Add wcschr.
39145 * wcsmbs/test-wcschr.c: New file.
39146 * string/test-strchr.c: Update.
39147 Add wcschr support.
39148 (WIDE): New macro.
39149
619fccca
LD
391502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39151
2d09f82f 39152 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39153 * wcsmbs/test-wcslen.c: New file.
39154 * string/test-strlen.c: Update.
39155 Add wcslen support.
39156 (WIDE): New macro.
39157
09f699ea
UD
391582011-10-23 Ulrich Drepper <drepper@gmail.com>
39159
39160 * po/it.po: Update from translation team.
39161
95584d3b
LD
391622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39163
39164 * sysdeps/x86_64/wcscmp.S: Update.
39165 Fix wrong comparison semantics.
39166 wcscmp shall use signed comparison not unsigned.
39167 Don't use substraction to avoid overflow bug.
39168 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39169 * wcsmbc/wcscmp.c: Likewise.
39170 * string/test-strcmp.c: Likewise.
39171 Add new tests to check cases with negative values.
39172
c8b3296b
UD
391732011-10-23 Ulrich Drepper <drepper@gmail.com>
39174
39175 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39176 * sysdeps/x86_64/dla.h: ...here. New file.
39177 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39182 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39184 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39186
246ad57a
AS
391872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39188
39189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39190 __ynl_finite aliases.
39191
a1a87169
UD
391922011-10-22 Ulrich Drepper <drepper@gmail.com>
39193
0d355eb7
UD
39194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39195
a1a87169
UD
39196 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39197 define DLA_FMA.
39198 [DLA_FMA] (EMULV): Use DLA_FMA.
39199 [DLA_FMA] (MUL12): Use EMULV.
39200 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39201 that are not needed.
39202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39209
ee2aafe0
AS
392102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39211
39212 * math/s_nan.c: Undef __nan.
39213 * math/s_nanf.c: Undef __nanf.
39214 * math/s_nanl.c: Undef __nanl.
39215 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39216 "math_private.h".
39217
bc62c2fb
UD
392182011-10-22 Ulrich Drepper <drepper@gmail.com>
39219
77425c63
UD
39220 * math/s_catan.c: Add branch predictions.
39221 * math/s_catanf.c: Likewise.
39222 * math/s_catanh.c: Likewise.
39223 * math/s_catanhf.c: Likewise.
39224 * math/s_catanhl.c: Likewise.
39225 * math/s_catanl.c: Likewise.
39226 * math/s_cexp.c: Likewise.
39227 * math/s_cexpf.c: Likewise.
39228 * math/s_cexpl.c: Likewise.
39229 * math/s_clog.c: Likewise.
39230 * math/s_clog10.c: Likewise.
39231 * math/s_clog10f.c: Likewise.
39232 * math/s_clog10l.c: Likewise.
39233 * math/s_clogf.c: Likewise.
39234 * math/s_clogl.c: Likewise.
39235 * math/s_csqrt.c: Likewise.
39236 * math/s_csqrtf.c: Likewise.
39237 * math/s_csqrtl.c: Likewise.
39238 * math/s_ctanf.c: Likewise.
39239 * math/s_ctanh.c: Likewise.
39240 * math/s_ctanhf.c: Likewise.
39241 * math/s_ctanhl.c: Likewise.
39242 * math/s_ctanl.c: Likewise.
39243
bc62c2fb
UD
39244 * math/math_private.h: Define __nan, __nanf, __nanl.
39245 * math/s_cacosh.c: Include <math_private.h>.
39246 * math/s_cacoshl.c: Likewise.
39247 * math/s_casinh.c: Likewise.
39248 * math/s_casinhf.c: Likewise.
39249 * math/s_casinhl.c: Likewise.
39250 * math/s_ccos.c: Rely entire on ccosh.
39251 * math/s_ccosf.c: Rely entire on ccoshf.
39252 * math/s_ccosl.c: Rely entirely on ccoshl.
39253 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39254 Remove tests for FE_INVALID.
39255 * math/s_ccoshf.c: Likewise.
39256 * math/s_ccoshl.c: Likewise.
39257 * math/s_csin.c: Likewise.
39258 * math/s_csinf.c: Likewise.
39259 * math/s_csinh.c Likewise.
39260 * math/s_csinhf.c: Likewise.
39261 * math/s_csinhl.c: Likewise.
39262 * math/s_csinl.c: Likewise.
39263 * math/s_ctan.c: Likewise.
39264 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39265 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39266 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39267
8ec250a4
UD
392682011-10-21 Ulrich Drepper <drepper@gmail.com>
39269
c196fed8
UD
39270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39271 compilation problems.
39272
8ec250a4
UD
39273 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39274 __builtin_expect.
39275
8d4f46c6
UD
392762011-10-20 Ulrich Drepper <drepper@gmail.com>
39277
ed72b654
UD
39278 * sysdeps/i386/configure.in: Test for -mfma4 option.
39279 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39280 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39281 COMMON_CPUID_INDEX_80000001.
39282 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39283 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39284 use it if FMA3 is not supported.
39285 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39286
8d4f46c6
UD
39287 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39288 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39289
d45c60c2
AS
392902011-10-20 Andreas Schwab <schwab@redhat.com>
39291
39292 [BZ #12892]
39293 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39294 it would create a cycle with a link time dependency.
39295
d9a4d2ab
UD
392962011-10-19 Ulrich Drepper <drepper@gmail.com>
39297
855d1560
UD
39298 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39299 instruction.
39300 * string/Makefile (strop-tests): Add rawmemchr.
39301 * string/test-rawmemchr.c: New file.
39302
d9a4d2ab
UD
39303 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39305 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39306 when compiling str{,n}casecmp and when AVX is available. Hook up
39307 new optimized code in initializers.
39308
8f3b1ffe
AS
393092011-10-19 Andreas Schwab <schwab@redhat.com>
39310
39311 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39312 __feraiseexcept instead of feraiseexcept.
39313
d38f1dba
UD
393142011-10-18 Ulrich Drepper <drepper@gmail.com>
39315
d9a8d0ab
UD
39316 * math/math_private.h: Define defaults for libc_fetestexcept and
39317 libc_feupdateenv.
39318 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39319 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39320 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39321 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39322 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39323 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39324 libc_fetestexcept and libc_feupdateenv.
39325
4855e3dd
UD
39326 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39327 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39328 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39329 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39330 libc_feholdexcept_setround.
39331
581d30e3
UD
39332 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39333 Add s_nearbyint-c and s_nearbyintf-c.
39334 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39335 nearbyintf inlines.
39336 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39337 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39338 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39339 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39340
d38f1dba
UD
39341 * math/math_private.h: Define defaults for libc_fegetround,
39342 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39343 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39344 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39345 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39346 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39347 standard functions.
39348 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39349 Remove comments and hacks for old compiler versions.
39350 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39351 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39352 libc_feholdexceptl.
39353
caa6c9d8
AS
393542011-10-18 Andreas Schwab <schwab@redhat.com>
39355
39356 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39357 (__feraiseexcept_renamed): Add __NTH.
39358 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39359 namespace violations.
39360
97c066e6
UD
393612011-10-17 Ulrich Drepper <drepper@gmail.com>
39362
99ce7b04
UD
39363 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39364
1004d182
UD
39365 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39366
228a984d
UD
39367 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39368 recently added interfaces.
39369 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39370
c8553a6a
UD
39371 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39372 about macro parameter expansion.
39373
ed22dcf6
UD
39374 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39375 __NO_MATH_INLINES is defined. Cleanups.
39376
39377 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39378 and __floorf is target has SSE4.1.
39379 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39380 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39381 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39382 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39383
b171c137
UD
39384 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39385 name.
39386 (floorf): Likewise.
39387
97c066e6
UD
39388 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39389
629f62ef
AS
393902011-10-17 Andreas Schwab <schwab@redhat.com>
39391
49a43d80
AS
39392 * misc/sys/cdefs.h: Fix last change.
39393
629f62ef
AS
39394 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39395 database lookup.
39396
e453f6cd
UD
393972011-10-16 Ulrich Drepper <drepper@gmail.com>
39398
aa78043a
UD
39399 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39400
ad0f5cad
UD
39401 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39402 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39403 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39407 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39408 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39409 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39410 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39411 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39412 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39413 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39414 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39415 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39416 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39417 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39418 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39419 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39420 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39421 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39422 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39423
39424 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39425 ceil, ceilf, floor, floorf.
39426
39427 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39428 Perform IRELATIVE relocations last.
39429
e453f6cd
UD
39430 * elf/do-rel.h: Add another parameter nrelative, replacing the
39431 local variable with the same name. Change name of the function
39432 to end in Rel or Rela (uppercase).
39433 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39434 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39435 elf_dynamic_do_##reloc function.
39436
fd5bdc09
UD
394372011-10-15 Ulrich Drepper <drepper@gmail.com>
39438
79b195b5
UD
39439 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39440 is sufficient, at least on modern CPUs.
39441
d4a28569
UD
39442 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39443
b61099b5
UD
39444 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39445 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39446
bcf01e6d
UD
39447 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39448 __expl_finite.
39449 * math/bits/math-finite.h: Add entries for exp.
39450 * math/e_expl.c: Add __*_finite alias.
39451 * sysdeps/i386/fpu/e_exp.S: Likewise.
39452 * sysdeps/i386/fpu/e_expf.S: Likewise.
39453 * sysdeps/i386/fpu/e_expl.c: Likewise.
39454 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39455 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39456 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39457 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39459 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39460 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39461
ba1a0d59
UD
39462 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39463 is sufficient, at least on modern CPUs.
39464
fd5bdc09
UD
39465 * ctype/ctype-info.c (__ctype_init): Define.
39466 * include/ctype.h (__ctype_init): Declare.
39467 (__ctype_b_loc): The variable is always initialized.
39468 (__ctype_toupper_loc): Likewise.
39469 (__ctype_tolower_loc): Likewise.
39470 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39471 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39472
7872cfb0
AS
394732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39474
b468825a
AS
39475 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39476
7872cfb0
AS
39477 * configure.in: Also look in $cxxmachine/include for C++ system
39478 headers.
39479
be13f7bf
LD
394802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39481
39482 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39483 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39484 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39485 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39486 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39487 (USE_AS_WMEMCMP): New macro.
39488 Fixing indents.
39489 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39490 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39491 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39492 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39494 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39495 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39497 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39498 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39499 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39500 (USE_AS_WMEMCMP): New macro.
39501 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39502 * sysdeps/string/test-memcmp.c: Update.
39503 Fix simple_wmemcmp.
39504 Add new tests.
39505 * wcsmbs/wmemcmp.c: Update.
39506 (WMEMCMP): New macro.
39507 Fix overflow bug.
39508
556a2007
AJ
395092011-10-12 Andreas Jaeger <aj@suse.de>
39510
39511 [BZ #13268]
39512 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39513
538faaa7
UD
395142011-10-15 Ulrich Drepper <drepper@gmail.com>
39515
ab6737ff
UD
39516 * libio/iofwide.c (do_length): Avoid warning.
39517
538faaa7
UD
39518 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39519
396a21b1
UD
395202011-10-14 Ulrich Drepper <drepper@gmail.com>
39521
cdf2901f
UD
39522 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39523
38ad40ce
UD
39524 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39525 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39526 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39527 * sysdeps/i386/i686/fpu/e_log.S: New file.
39528 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39529 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39530
396a21b1
UD
39531 * ctype/ctype.h: Add support for inlined isXXX functions when
39532 compiling C++ code.
39533
6b1f68c9
AS
395342011-10-14 Andreas Schwab <schwab@redhat.com>
39535
349290c0
AS
39536 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39537
6b1f68c9
AS
39538 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39539
f2282d42
RM
395402011-10-13 Roland McGrath <roland@hack.frob.com>
39541
39542 [BZ #13291]
39543 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39544
5298ffa8
AS
395452011-10-13 Andreas Schwab <schwab@redhat.com>
39546
714fad23
AS
39547 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39548 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39549 feraiseexcept.
39550
81dcc7fb
AS
39551 * sysdeps/x86_64/memrchr.S: Check for zero size.
39552
5298ffa8
AS
39553 * string/stratcliff.c: Add memrchr tests.
39554
951fbcec
LD
395552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39556
39557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39558 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39559 rawmemchr-sse2 rawmemchr-sse2-bsf.
39560 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39561 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39562 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39563 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39564 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39565 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39566 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39567 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39568 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39569 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39570 * string/memrchr.c (MEMRCHR): New macro.
39571
0ac5ae23
UD
395722011-10-12 Ulrich Drepper <drepper@gmail.com>
39573
39574 Add integration with gcc's -ffinite-math-only and optimize wrapper
39575 functions in libm.
39576 * Versions.def: Define GLIBC_2.15 version for libm.
39577 * math/Makefile (headers): Add bits/math-finite.h.
39578 * math/bits/math-finite.h: New file.
39579 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39580 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39581 * math/e_acoshl.c: Add __*_finite alias.
39582 * math/e_acosl.c: Likewise.
39583 * math/e_asinl.c: Likewise.
39584 * math/e_atan2l.c: Likewise.
39585 * math/e_atanhl.c: Likewise.
39586 * math/e_coshl.c: Likewise.
39587 * math/e_exp10.c: Likewise.
39588 * math/e_exp10f.c: Likewise.
39589 * math/e_exp10l.c: Likewise.
39590 * math/e_exp2l.c: Likewise.
39591 * math/e_fmodl.c: Likewise.
39592 * math/e_gammal_r.c: Likewise.
39593 * math/e_hypotl.c: Likewise.
39594 * math/e_j0l.c: Likewise.
39595 * math/e_j1l.c: Likewise.
39596 * math/e_jnl.c: Likewise.
39597 * math/e_lgammal_r.c: Likewise.
39598 * math/e_log10l.c: Likewise.
39599 * math/e_log2l.c: Likewise.
39600 * math/e_logl.c: Likewise.
39601 * math/e_powl.c: Likewise.
39602 * math/e_sinhl.c: Likewise.
39603 * math/e_sqrtl.c: Likewise.
39604 * math/e_scalb.c: Completely rewritten and optimized.
39605 * math/e_scalbf.c: Likewise.
39606 * math/e_scalbl.c: Likewise.
39607 * math/w_acos.c: Likewise.
39608 * math/w_acosf.c: Likewise.
39609 * math/w_acosl.c: Likewise.
39610 * math/w_acosh.c: Likewise.
39611 * math/w_acoshf.c: Likewise.
39612 * math/w_acoshl.c: Likewise.
39613 * math/w_asin.c: Likewise.
39614 * math/w_asinf.c: Likewise.
39615 * math/w_asinl.c: Likewise.
39616 * math/w_atan2.c: Likewise.
39617 * math/w_atan2f.c: Likewise.
39618 * math/w_atan2l.c: Likewise.
39619 * math/w_atanh.c: Likewise.
39620 * math/w_atanhf.c: Likewise.
39621 * math/w_atanhl.c: Likewise.
39622 * math/w_exp10.c: Likewise.
39623 * math/w_exp10f.c: Likewise.
39624 * math/w_exp10l.c: Likewise.
39625 * math/w_fmod.c: Likewise.
39626 * math/w_fmodf.c: Likewise.
39627 * math/w_fmodl.c: Likewise.
39628 * math/w_j0.c: Likewise.
39629 * math/w_j0f.c: Likewise.
39630 * math/w_j0l.c: Likewise.
39631 * math/w_j1.c: Likewise.
39632 * math/w_j1f.c: Likewise.
39633 * math/w_j1l.c: Likewise.
39634 * math/w_jn.c: Likewise.
39635 * math/w_jnf.c: Likewise.
39636 * math/w_log.c: Likewise.
39637 * math/w_logf.c: Likewise.
39638 * math/w_logl.c: Likewise.
39639 * math/w_log10.c: Likewise.
39640 * math/w_log10f.c: Likewise.
39641 * math/w_log10l.c: Likewise.
39642 * math/w_log2.c: Likewise.
39643 * math/w_log2f.c: Likewise.
39644 * math/w_log2l.c: Likewise.
39645 * math/w_pow.c: Likewise.
39646 * math/w_powf.c: Likewise.
39647 * math/w_powl.c: Likewise.
39648 * math/w_remainder.c: Likewise.
39649 * math/w_remainderf.c: Likewise.
39650 * math/w_remainderl.c: Likewise.
39651 * math/w_scalb.c: Likewise.
39652 * math/w_scalbf.c: Likewise.
39653 * math/w_scalbl.c: Likewise.
39654 * math/w_sqrt.c: Likewise.
39655 * math/w_sqrtf.c: Likewise.
39656 * math/w_sqrtl.c: Likewise.
39657 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39658 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39659 used.
39660 * math/math_private.h: Declare __kernel_standard_f.
39661 * math/w_cosh.c: Remove cruft and optimize a bit.
39662 * math/w_coshf.c: Likewise.
39663 * math/w_coshl.c: Likewise.
39664 * math/w_exp2.c: Likewise.
39665 * math/w_exp2f.c: Likewise.
39666 * math/w_exp2l.c: Likewise.
39667 * math/w_hypot.c: Likewise.
39668 * math/w_hypotf.c: Likewise.
39669 * math/w_hypotl.c: Likewise.
39670 * math/w_lgamma.c: Likewise.
39671 * math/w_lgamma_r.c: Likewise.
39672 * math/w_lgammaf.c: Likewise.
39673 * math/w_lgammaf_r.c: Likewise.
39674 * math/w_lgammal.c: Likewise.
39675 * math/w_lgammal_r.c: Likewise.
39676 * math/w_sinh.c: Likewise.
39677 * math/w_sinhf.c: Likewise.
39678 * math/w_sinhl.c: Likewise.
39679 * math/w_tgamma.c: Likewise.
39680 * math/w_tgammaf.c: Likewise.
39681 * math/w_tgammal.c: Likewise.
39682 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39684 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39685 Minor optimizations. Pretty printing. Remove cruft.
39686 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39687 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39688 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39689 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39690 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39691 * sysdeps/i386/fpu/e_asin.S: Likewise.
39692 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39693 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39694 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39695 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39696 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39697 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39698 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39699 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39700 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39701 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39702 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39703 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39704 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39705 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39706 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39707 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39708 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39709 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39710 * sysdeps/i386/fpu/e_log.S: Likewise.
39711 * sysdeps/i386/fpu/e_log10.S: Likewise.
39712 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39713 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39714 * sysdeps/i386/fpu/e_log2.S: Likewise.
39715 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39716 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39717 * sysdeps/i386/fpu/e_logf.S: Likewise.
39718 * sysdeps/i386/fpu/e_logl.S: Likewise.
39719 * sysdeps/i386/fpu/e_pow.S: Likewise.
39720 * sysdeps/i386/fpu/e_powf.S: Likewise.
39721 * sysdeps/i386/fpu/e_powl.S: Likewise.
39722 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39723 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39724 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39725 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39726 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39727 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39728 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39729 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39730 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39731 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39732 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39734 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39735 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39736 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39737 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39738 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39739 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39740 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39741 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39742 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39751 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39752 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39753 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39754 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39755 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39756 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39757 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39758 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39759 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39760 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39761 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39762 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39763 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39764 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39765 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39766 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39767 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39768 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39769 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39770 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39771 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39772 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39773 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39774 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39775 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39777 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39778 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39781 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39782 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39783 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39784 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39786 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39787 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39788 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39789 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39792 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39793 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39794 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39796 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39800 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39801 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39802 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39803 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39809 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39811 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39814 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39816 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39817 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39819 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39822 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39823 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39824 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39825 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39826 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39827 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39828 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39829 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39830 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39831 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39832 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39833 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39834 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39835 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39836 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39837 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39838 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39839 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39840 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39841 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39842 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39843 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39844 (__isnanf): Likewise.
39845 (__isinf_ns): Likewise.
39846 (__isinf_nsf): Likewise.
39847 (__finite): Likewise.
39848 (__finitef): Likewise.
39849 (__ieee754_sqrt): Define as macro.
39850 (__ieee754_sqrtf): Define as macro.
39851 (__ieee754_sqrtl): Define as macro.
39852 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39853 inlined copy.
39854 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39855 __FINITE_MATH_ONLY__ consistent.
39856 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39857
12cc2fcd
AS
398582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39859
a843a204
AS
39860 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39861 of rawmemchr.
39862
12cc2fcd
AS
39863 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39864
c853acd5
UD
398652011-10-09 Ulrich Drepper <drepper@gmail.com>
39866
39867 * po/ja.po: Update from translation team.
39868
c658d255
RM
398692011-10-08 Roland McGrath <roland@hack.frob.com>
39870
110946e4
RM
39871 * locale/programs/locarchive.c (prepare_address_space): New function.
39872 (create_archive, enlarge_archive, open_archive): Use it.
39873
50604220
RM
39874 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39875 inside [SHARED], where it is used.
39876
c658d255
RM
39877 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39878
39879 * nss/getent.c (netgroup_keys): Remove unused variable.
39880 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39881
6a621eb7
UD
398822011-10-08 Ulrich Drepper <drepper@gmail.com>
39883
7edb55ce
UD
39884 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39885 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39887 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39888 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39889 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39890 * math/Makefile (libm-calls): Add s_isinf_ns.
39891 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39892 * math/multc3.c: Likewise.
39893 * math/s_casin.c: Likewise.
39894 * math/s_casinf.c: Likewise.
39895 * math/s_casinl.c: Likewise.
39896 * math/s_ccos.c: Likewise.
39897 * math/s_ccosf.c: Likewise.
39898 * math/s_ccosl.c: Likewise.
39899 * math/s_ctan.c: Likewise.
39900 * math/s_ctanf.c: Likewise.
39901 * math/s_ctanh.c: Likewise.
39902 * math/s_ctanhf.c: Likewise.
39903 * math/s_ctanhl.c: Likewise.
39904 * math/s_ctanl.c: Likewise.
39905 * math/w_fmod.c: Likewise.
39906 * math/w_fmodf.c: Likewise.
39907 * math/w_fmodl.c: Likewise.
39908 * math/w_remainder.c: Likewise.
39909 * math/w_remainderf.c: Likewise.
39910 * math/w_remainderl.c: Likewise.
39911 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39912 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39915 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39916 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39917 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39918 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39919
187da0ae
UD
39920 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39921 of the number.
39922 * stdio-common/printf_fphex.c: Likewise.
39923 * stdio-common/printf_size.c: Likewise.
39924
9277c064
UD
39925 * math/e_exp10.c: Include math_private.h using <...> not "...".
39926 * math/e_exp10f.c: Likewise.
39927 * math/e_exp10l.c: Likewise.
39928 * math/e_exp2l.c: Likewise.
39929 * math/e_j0l.c: Likewise.
39930 * math/e_j1l.c: Likewise.
39931 * math/e_jnl.c: Likewise.
39932 * math/e_lgammal_r.c: Likewise.
39933 * math/e_rem_pio2l.c: Likewise.
39934 * math/e_scalb.c: Likewise.
39935 * math/e_scalbf.c: Likewise.
39936 * math/e_scalbl.c: Likewise.
39937 * math/k_cosl.c: Likewise.
39938 * math/k_sinl.c: Likewise.
39939 * math/k_tanl.c: Likewise.
39940 * math/s_cacoshf.c: Likewise.
39941 * math/s_catan.c: Likewise.
39942 * math/s_catanf.c: Likewise.
39943 * math/s_catanh.c: Likewise.
39944 * math/s_catanhf.c: Likewise.
39945 * math/s_catanhl.c: Likewise.
39946 * math/s_catanl.c: Likewise.
39947 * math/s_ccosh.c: Likewise.
39948 * math/s_ccoshf.c: Likewise.
39949 * math/s_ccoshl.c: Likewise.
39950 * math/s_cexp.c: Likewise.
39951 * math/s_cexpf.c: Likewise.
39952 * math/s_cexpl.c: Likewise.
39953 * math/s_clog.c: Likewise.
39954 * math/s_clog10.c: Likewise.
39955 * math/s_clog10f.c: Likewise.
39956 * math/s_clog10l.c: Likewise.
39957 * math/s_clogf.c: Likewise.
39958 * math/s_clogl.c: Likewise.
39959 * math/s_csin.c: Likewise.
39960 * math/s_csinf.c: Likewise.
39961 * math/s_csinh.c: Likewise.
39962 * math/s_csinhf.c: Likewise.
39963 * math/s_csinhl.c: Likewise.
39964 * math/s_csinl.c: Likewise.
39965 * math/s_csqrt.c: Likewise.
39966 * math/s_csqrtf.c: Likewise.
39967 * math/s_csqrtl.c: Likewise.
39968 * math/s_ctan.c: Likewise.
39969 * math/s_ctanf.c: Likewise.
39970 * math/s_ctanh.c: Likewise.
39971 * math/s_ctanhf.c: Likewise.
39972 * math/s_ctanhl.c: Likewise.
39973 * math/s_ctanl.c: Likewise.
39974 * math/s_ldexp.c: Likewise.
39975 * math/s_ldexpf.c: Likewise.
39976 * math/s_ldexpl.c: Likewise.
39977 * math/s_significand.c: Likewise.
39978 * math/s_significandf.c: Likewise.
39979 * math/s_significandl.c: Likewise.
39980 * math/w_acos.c: Likewise.
39981 * math/w_acosf.c: Likewise.
39982 * math/w_acosh.c: Likewise.
39983 * math/w_acoshf.c: Likewise.
39984 * math/w_acoshl.c: Likewise.
39985 * math/w_acosl.c: Likewise.
39986 * math/w_asin.c: Likewise.
39987 * math/w_asinf.c: Likewise.
39988 * math/w_asinl.c: Likewise.
39989 * math/w_atan2.c: Likewise.
39990 * math/w_atan2f.c: Likewise.
39991 * math/w_atan2l.c: Likewise.
39992 * math/w_atanh.c: Likewise.
39993 * math/w_atanhf.c: Likewise.
39994 * math/w_atanhl.c: Likewise.
39995 * math/w_cosh.c: Likewise.
39996 * math/w_coshf.c: Likewise.
39997 * math/w_coshl.c: Likewise.
39998 * math/w_dremf.c: Likewise.
39999 * math/w_exp10.c: Likewise.
40000 * math/w_exp10f.c: Likewise.
40001 * math/w_exp10l.c: Likewise.
40002 * math/w_exp2.c: Likewise.
40003 * math/w_exp2f.c: Likewise.
40004 * math/w_fmod.c: Likewise.
40005 * math/w_fmodf.c: Likewise.
40006 * math/w_fmodl.c: Likewise.
40007 * math/w_hypot.c: Likewise.
40008 * math/w_hypotf.c: Likewise.
40009 * math/w_hypotl.c: Likewise.
40010 * math/w_j0.c: Likewise.
40011 * math/w_j0f.c: Likewise.
40012 * math/w_j0l.c: Likewise.
40013 * math/w_j1.c: Likewise.
40014 * math/w_j1f.c: Likewise.
40015 * math/w_j1l.c: Likewise.
40016 * math/w_jn.c: Likewise.
40017 * math/w_jnf.c: Likewise.
40018 * math/w_jnl.c: Likewise.
40019 * math/w_lgamma.c: Likewise.
40020 * math/w_lgamma_r.c: Likewise.
40021 * math/w_lgammaf.c: Likewise.
40022 * math/w_lgammaf_r.c: Likewise.
40023 * math/w_lgammal.c: Likewise.
40024 * math/w_lgammal_r.c: Likewise.
40025 * math/w_log.c: Likewise.
40026 * math/w_log10.c: Likewise.
40027 * math/w_log10f.c: Likewise.
40028 * math/w_log10l.c: Likewise.
40029 * math/w_log2.c: Likewise.
40030 * math/w_log2f.c: Likewise.
40031 * math/w_log2l.c: Likewise.
40032 * math/w_logf.c: Likewise.
40033 * math/w_logl.c: Likewise.
40034 * math/w_pow.c: Likewise.
40035 * math/w_powf.c: Likewise.
40036 * math/w_powl.c: Likewise.
40037 * math/w_remainder.c: Likewise.
40038 * math/w_remainderf.c: Likewise.
40039 * math/w_remainderl.c: Likewise.
40040 * math/w_scalb.c: Likewise.
40041 * math/w_scalbf.c: Likewise.
40042 * math/w_scalbl.c: Likewise.
40043 * math/w_sinh.c: Likewise.
40044 * math/w_sinhf.c: Likewise.
40045 * math/w_sinhl.c: Likewise.
40046 * math/w_sqrt.c: Likewise.
40047 * math/w_sqrtf.c: Likewise.
40048 * math/w_sqrtl.c: Likewise.
40049 * math/w_tgamma.c: Likewise.
40050 * math/w_tgammaf.c: Likewise.
40051 * math/w_tgammal.c: Likewise.
40052
6a621eb7
UD
40053 * po/ja.po: Update from translation team.
40054
bf582445
AJ
400552011-09-29 Andreas Jaeger <aj@suse.de>
40056
f9efbf3a
AJ
40057 [BZ #13179]
40058 * sunrpc/netname.c (netname2host): Fix logic.
40059
bf582445
AJ
40060 [BZ #6779]
40061 [BZ #6783]
40062 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40063 correctly.
40064 * math/w_remainder.c (__remainder): Likewise.
40065 * math/w_remainderf.c (__remainderf): Likewise.
40066 * math/libm-test.inc (remainder_test): Add test cases.
40067
48693bea
AK
400682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40069
40070 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40071 sdiv_qrnnd.
40072
42622229
LD
400732011-10-07 Ulrich Drepper <drepper@gmail.com>
40074
40075 * string/test-memcmp.c: Avoid unncessary #defines.
40076 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40077
093ecf92
LD
400782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40079
40080 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40081 Use new sse2 version for core i3 - i7 as it's faster
40082 than sse42 version.
40083 (bit_Prefer_PMINUB_for_stringop): New.
40084 * sysdeps/x86_64/rawmemchr.S: Update.
40085 Replace with faster SSE2 version.
40086 * sysdeps/x86_64/memrchr.S: New file.
40087 * sysdeps/x86_64/memchr.S: Update.
40088 Replace with faster SSE2 version.
40089
fde56e5c
MP
400902011-09-12 Marek Polacek <mpolacek@redhat.com>
40091
40092 * elf/dl-load.c (lose): Add cast to avoid warning.
40093
21fd49a9
UD
400942011-10-07 Ulrich Drepper <drepper@gmail.com>
40095
5a06e643
UD
40096 * po/ca.po: Update from translation team.
40097
684ae515
UD
40098 * inet/getnetgrent_r.c: Hook up nscd.
40099 * nscd/Makefile (routines): Add nscd_netgroup.
40100 (nscd-modules): Add netgroupcache.
40101 (CFLAGS-netgroupcache.c): Define.
40102 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40103 (cache_search): Add const to second parameter.
40104 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40105 INNETGR.
40106 (dbs): Add netgrdb entry.
40107 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40108 (verify_persistent_db): Handle netgrdb.
40109 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40110 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40111 GETFDNETGR.
40112 (netgroup_response_header): Define.
40113 (innetgroup_response_header): Define.
40114 (datahead): Add netgroup_response_header and innetgroup_response_header
40115 elements.
40116 * nscd/nscd.conf: Add entries for netgroup cache.
40117 * nscd/nscd.h (dbtype): Add netgrdb.
40118 (_PATH_NSCD_NETGROUP_DB): Define.
40119 (netgroup_iov_disabled): Declare.
40120 (xmalloc, xcalloc, xrealloc): Move declarations here.
40121 (cache_search): Adjust prototype.
40122 Add netgroup-related prototypes.
40123 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40124 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40125 (__nscd_innetgr): Declare.
40126 * nscd/selinux.c (perms): Use access_vector_t as element type and
40127 add netgroup-related initializers.
40128 * nscd/netgroupcache.c: New file.
40129 * nscd/nscd_netgroup.c: New file.
40130 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40131 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40132 For four parameters use innetgr.
40133 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40134 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40135 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40136 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40137
21fd49a9
UD
40138 * nscd/connections.c (register_traced_file): Don't register file
40139 for disabled databases.
40140
054c0457
UD
401412011-10-06 Ulrich Drepper <drepper@gmail.com>
40142
32b63198
UD
40143 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40144
054c0457
UD
40145 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40146 from tree and freeing node.
40147
64031225
JO
401482011-09-25 Jiri Olsa <jolsa@redhat.com>
40149
40150 * nss/nsswitch.c (__nss_database_lookup): Handle
40151 nss_parse_service_list out of memory case.
40152
0490345c
JO
401532011-09-15 Jiri Olsa <jolsa@redhat.com>
40154
40155 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40156 out of memory case.
40157
3a62d00d
AS
401582011-10-04 Andreas Schwab <schwab@redhat.com>
40159
40160 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40161 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40162 pass it down.
40163 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40164 elf_machine_rela, elf_machine_lazy_rel.
40165 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40166 (ELF_DYNAMIC_DO_REL): Likewise.
40167 (ELF_DYNAMIC_DO_RELA): Likewise.
40168 (ELF_DYNAMIC_RELOCATE): Likewise.
40169 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40170 to ELF_DYNAMIC_DO_REL.
40171 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40172 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40173 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40174 elf_machine_rela.
40175 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40176 skip_ifunc, don't call ifunc function if non-zero.
40177 (elf_machine_rela): Likewise.
40178 (elf_machine_lazy_rel): Likewise.
40179 (elf_machine_lazy_rela): Likewise.
40180 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40181 (elf_machine_lazy_rel): Likewise.
40182 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40183 Likewise.
40184 (elf_machine_lazy_rel): Likewise.
40185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40186 Likewise.
40187 (elf_machine_lazy_rel): Likewise.
40188 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40189 (elf_machine_lazy_rel): Likewise.
40190 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40191 (elf_machine_lazy_rel): Likewise.
40192 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40193 (elf_machine_lazy_rel): Likewise.
40194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40195 (elf_machine_lazy_rel): Likewise.
40196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40197 (elf_machine_lazy_rel): Likewise.
40198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40199 (elf_machine_lazy_rel): Likewise.
40200
68577918
UD
402012011-09-28 Ulrich Drepper <drepper@gmail.com>
40202
40203 * nss/nss_files/files-init.c (_nss_files_init): Use static
40204 initialization for all the *_traced_file variables.
40205
68822d74
AS
402062011-09-28 Andreas Schwab <schwab@redhat.com>
40207
40208 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40209
2056100b
RM
402102011-09-27 Roland McGrath <roland@hack.frob.com>
40211
40212 [BZ #13226]
40213 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40214
32c76b63
AS
402152011-09-27 Andreas Schwab <schwab@redhat.com>
40216
40217 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40218 Reread the line before reparsing it.
40219
bf972c9d
AS
402202011-09-26 Andreas Schwab <schwab@redhat.com>
40221
40222 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40223
e057a1b5
JM
402242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40225 Maxim Kuvyrkov <maxim@codesourcery.com>
40226 Joseph Myers <joseph@codesourcery.com>
40227
40228 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40229 if needed for __stack_chk_guard.
40230
bc7e1c36
RM
402312011-09-19 Roland McGrath <roland@hack.frob.com>
40232
ecb1482f
RM
40233 * sysdeps/posix/spawni.c (script_execute): Always define it.
40234 It will be optimized away if unused.
40235 (maybe_script_execute): New function.
40236 (__spawni): Call it.
40237
bc7e1c36
RM
40238 * Makerules: Don't include tls.make.
40239 (config-tls): Always set to thread.
40240 * tls.make.c: File removed.
40241
1c3b002b
MF
402422011-09-19 Mike Frysinger <vapier@gentoo.org>
40243
40244 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40245 * config.make.in (CPPFLAGS-config): New substituted variable.
40246
2840865d
UD
402472011-09-15 Ulrich Drepper <drepper@gmail.com>
40248
88738eb6
UD
40249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40250
cbf645a6 40251 [BZ #13192]
2840865d
UD
40252 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40253 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40254
b402e91a
RM
402552011-09-15 Roland McGrath <roland@hack.frob.com>
40256
40257 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40258 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40260 (CALL_FAIL): Likewise.
40261 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40262 (CALL_FAIL): Macro removed.
40263 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40264
4c1a1f71
UD
402652011-09-15 Ulrich Drepper <drepper@gmail.com>
40266
40267 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40268 for __FINITE_MATH_ONLY__ == 1.
40269
edc121be
AS
402702011-09-15 Andreas Schwab <schwab@redhat.com>
40271
40272 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40273 __ieee754_sqrt instead of sqrt.
40274 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40275 __ieee754_sqrtf instead of sqrtf.
40276 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40277 __floorf instead of floorf.
40278 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40279 __floorf, __truncf instead of floorf, truncf.
40280
cd205654
UD
402812011-09-14 Ulrich Drepper <drepper@gmail.com>
40282
ee4d0315
UD
40283 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40284
cd205654
UD
40285 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40286 __extern_always_inline.
40287 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40288 32-bit.
40289
48b67d71
AS
402902011-09-14 Andreas Schwab <schwab@redhat.com>
40291
40292 * elf/rtld.c (dl_main): Also relocate in dependency order when
40293 doing symbol dependency testing.
40294
1ae12c75
AS
402952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40296
40297 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40298 Always define `refsym'.
40299
995a80df
AS
403002011-09-13 Andreas Schwab <schwab@redhat.com>
40301
e529793b
AS
40302 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40303 (__FD_ELT): Renamed from __FDELT.
40304 * misc/bits/select2.h (__FD_ELT): Likewise.
40305 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40306 __FD_MASK instead of __FDELT, __FDMASK.
40307 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40308 Likewise.
40309 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40310 Likewise.
40311
52d4fef8
AS
40312 * elf/Makefile (gen-ldd): Fix pattern.
40313
995a80df
AS
40314 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40315 (init_tls): Likewise.
40316
8682f8b0
UD
403172011-09-12 Ulrich Drepper <drepper@gmail.com>
40318
40319 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40320
de82006d
AS
403212011-09-12 Andreas Schwab <schwab@redhat.com>
40322
a7c8e6a1
AS
40323 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40324 `struct cmsghdr *' instead of `void *'.
40325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40326 Likewise.
40327
0f31fe77
AS
403282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40329
40330 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40331 if non-absolute.
40332 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40333 ldd_rewrite_script.
0f31fe77 40334
32b4c839
UD
403352011-09-11 Ulrich Drepper <drepper@gmail.com>
40336
83cd1420
UD
40337 * configure.in: Remove --with-tls option.
40338 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40339 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40340 out in case it is missing.
40341 * sysdeps/ia64/elf/configure.in: Likewise.
40342 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40343 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40344 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40345 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40346 * sysdeps/sh/elf/configure.in: Likewise.
40347 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40348 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40349 * sysdeps/x86_64/elf/configure.in: Likewise.
40350 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40351 * sysdeps/mach/hurd/tls.h: Likewise.
40352
633f745d
UD
40353 [BZ #13067]
40354 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40355
f318beb8
UD
40356 [BZ #13090]
40357 * configure.in: Fix use of AC_INIT.
40358
32b4c839
UD
40359 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40360
3ce1f295
UD
403612011-09-10 Ulrich Drepper <drepper@gmail.com>
40362
bb016596
UD
40363 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40364 __set_errno.
8e58439c
UD
40365 * malloc/hooks.c: Likewise.
40366
aebae053 40367 [BZ #11929]
02d46fc4
UD
40368 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40369 variables statically.
40370 (narenas): Initialize.
40371 (list_lock): Initialize.
bb016596
UD
40372 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40373 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40374 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40375 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40376 Add initializers to main_arena and mp_.
40377 (malloc_state): Remove pagesize member. Change all users to use
40378 GLRO(dl_pagesize).
40379
40380 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40381 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40382 is always initialized.
40383
22a89187
UD
40384 * malloc/malloc.c: Removed unused configurations and dead code.
40385 * malloc/arena.c: Likewise.
40386 * malloc/hooks.c: Likewise.
02d46fc4 40387 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40388
d063d164
UD
40389 * include/tls.h: Removed. USE___THREAD must always be defined.
40390 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40391 * elf/dl-libc.c: Likewise.
40392 * elf/dl-tsd.c: Likewise.
40393 * include/errno.h: Likewise.
40394 * include/netdb.h: Likewise.
40395 * include/resolv.h: Likewise.
40396 * inet/herrno-loc.c: Likewise.
40397 * inet/herrno.c: Likewise.
40398 * malloc/arena.c: Likewise.
40399 * malloc/hooks.c: Likewise.
40400 * malloc/malloc.c: Likewise.
40401 * resolv/res-state.c: Likewise.
40402 * resolv/res_libc.c: Likewise.
40403 * sysdeps/i386/dl-machine.h: Likewise.
40404 * sysdeps/ia64/dl-machine.h: Likewise.
40405 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40406 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40407 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40408 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40409 * sysdeps/sh/dl-machine.h: Likewise.
40410 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40411 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40412 * sysdeps/unix/i386/sysdep.S: Likewise.
40413 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40414 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40418 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40419 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40423 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40424 * sysdeps/x86_64/dl-machine.h: Likewise.
40425 * tls.make.c: Likewise.
40426
3ce1f295
UD
40427 * configure.in: Remove --with-__thread option. Make tests for
40428 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40429 tls_model attribute fail if no support is available. Remove
40430 USE_IN_LIBIO.
40431 * Makeconfig: Adjust for dropped configure option. All features are
40432 now mandatory.
40433 * Makerules: Likewise.
40434 * Versions.def: Likewise.
40435 * argp/argp-fmtstream.c: Likewise.
40436 * argp/argp-fmtstream.h: Likewise.
40437 * argp/argp-help.c: Likewise.
40438 * assert/assert.c: Likewise.
40439 * config.h.in: Likewise.
40440 * config.make.in: Likewise.
40441 * configure: Likewise.
40442 * configure.in: Likewise.
40443 * csu/Versions: Likewise.
40444 * csu/init.c: Likewise.
40445 * elf/tst-audit2.c: Likewise.
40446 * elf/tst-tls10.c: Likewise.
40447 * elf/tst-tls10.h: Likewise.
40448 * elf/tst-tls11.c: Likewise.
40449 * elf/tst-tls12.c: Likewise.
40450 * elf/tst-tls14.c: Likewise.
40451 * elf/tst-tlsmod11.c: Likewise.
40452 * elf/tst-tlsmod12.c: Likewise.
40453 * elf/tst-tlsmod13.c: Likewise.
40454 * elf/tst-tlsmod13a.c: Likewise.
40455 * elf/tst-tlsmod14a.c: Likewise.
40456 * elf/tst-tlsmod15b.c: Likewise.
40457 * elf/tst-tlsmod16a.c: Likewise.
40458 * elf/tst-tlsmod16b.c: Likewise.
40459 * elf/tst-tlsmod7.c: Likewise.
40460 * elf/tst-tlsmod8.c: Likewise.
40461 * elf/tst-tlsmod9.c: Likewise.
40462 * gmon/gmon.c: Likewise.
40463 * grp/fgetgrent_r.c: Likewise.
40464 * grp/putgrent.c: Likewise.
40465 * hurd/fopenport.c: Likewise.
40466 * include/libc-symbols.h: Likewise.
40467 * include/tls.h: Likewise.
40468 * intl/gettextP.h: Likewise.
40469 * intl/loadinfo.h: Likewise.
40470 * locale/global-locale.c: Likewise.
40471 * locale/localeinfo.h: Likewise.
40472 * mach/devstream.c: Likewise.
40473 * malloc/arena.c: Likewise.
40474 * malloc/set-freeres.c: Likewise.
40475 * misc/err.c: Likewise.
40476 * misc/getttyent.c: Likewise.
40477 * misc/mntent_r.c: Likewise.
40478 * posix/getopt.c: Likewise.
40479 * posix/wordexp.c: Likewise.
40480 * pwd/fgetpwent_r.c: Likewise.
40481 * resolv/Versions: Likewise.
40482 * resolv/res_hconf.c: Likewise.
40483 * shadow/fgetspent_r.c: Likewise.
40484 * shadow/putspent.c: Likewise.
40485 * stdio-common/printf_fphex.c: Likewise.
40486 * stdio-common/tmpfile.c: Likewise.
40487 * stdlib/abort.c: Likewise.
40488 * stdlib/fmtmsg.c: Likewise.
40489 * sunrpc/auth_unix.c: Likewise.
40490 * sunrpc/clnt_perr.c: Likewise.
40491 * sunrpc/clnt_tcp.c: Likewise.
40492 * sunrpc/clnt_udp.c: Likewise.
40493 * sunrpc/clnt_unix.c: Likewise.
40494 * sunrpc/openchild.c: Likewise.
40495 * sunrpc/svc_simple.c: Likewise.
40496 * sunrpc/svc_tcp.c: Likewise.
40497 * sunrpc/svc_udp.c: Likewise.
40498 * sunrpc/svc_unix.c: Likewise.
40499 * sunrpc/xdr.c: Likewise.
40500 * sunrpc/xdr_array.c: Likewise.
40501 * sunrpc/xdr_rec.c: Likewise.
40502 * sunrpc/xdr_ref.c: Likewise.
40503 * sunrpc/xdr_stdio.c: Likewise.
40504
1248c1c4
PB
405052011-09-09 Ulrich Drepper <drepper@gmail.com>
40506
40507 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40508
405092011-07-03 Andreas Jaeger <aj@suse.de>
40510
40511 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40512 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40513 regenerate with gen-libm-tests.pl.
40514
405152010-05-12 Petr Baudis <pasky@suse.cz>
40516
40517 [BZ #11589]
40518 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40519 around j0() zero points by switching to j1().
40520 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40521 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40522 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40523 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40524
f22e1074
UD
405252011-09-09 Ulrich Drepper <drepper@gmail.com>
40526
f19009c1
UD
40527 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40528 instead of 0.
40529 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40530 instead of 0.
f19009c1
UD
40531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40532 Patch in part by Pavel Roskin <proski@gnu.org>.
40533
3f8cc204
UD
40534 [BZ #13138]
40535 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40536 realloc.
40537 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40538 Free memory block if necessary.
40539
f22e1074
UD
40540 [BZ #12847]
40541 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40542 be NULL. Don't lock in this case.
40543
0a2349f9
RM
405442011-09-09 Roland McGrath <roland@hack.frob.com>
40545
40546 * elf/elf.h (ELFOSABI_GNU): New macro.
40547 (ELFOSABI_LINUX): Define to that.
40548
f3cdd467
DZ
405492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40550
40551 * string/strncat.c (strncat): Undef the symbol in case it has been
40552 defined in bits/string.h.
40553
74718d13
UD
405542011-09-09 Ulrich Drepper <drepper@gmail.com>
40555
633e9e0f
UD
40556 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40557
0a2349f9 40558 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40559 link map.
40560
f9924780
AJ
405612011-08-17 Andreas Jaeger <aj@suse.de>
40562
40563 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40564
7f5517aa
PP
405652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40566 Ian Lance Taylor <iant@google.com>
40567
40568 * math/libm-test.inc (lround_test): New testcase.
40569 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40570
762011fe
UD
405712011-09-08 Ulrich Drepper <drepper@gmail.com>
40572
92963737
UD
40573 * Makefile: Remove support for automatic cvs check-ins.
40574 * Makerules: Likewise.
40575 * config.make.in: Likewise.
40576 * configure.in: Likewise.
40577 * intl/Makefile: Likewise.
40578 * locale/Makefile: Likewise.
40579 * po/Makefile: Likewise.
40580 * posix/Makefile: Likewise.
40581 * sysdeps/gnu/Makefile: Likewise.
40582 * sysdeps/mach/hurd/Makefile: Likewise.
40583 * sysdeps/sparc/sparc32/Makefile: Likewise.
40584
b0727fd8
JS
40585 [BZ #13118]
40586 * posix/Makefile (bug-regex32-ENV): Define.
40587 Patch by John Stanley <jpsinthemix@verizon.net>.
40588
a0f33f99
UD
40589 * misc/Makefile (headers): Add bits/select2.h.
40590 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40591 * misc/bits/select2.h: New file.
40592 * include/bits/select2.h: New file.
40593 * debug/Makefile (routines): Add fdelt_chk.
40594 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40595 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40596 FD_ISSET.
40597 * debug/fdelt_chk.c: New file.
40598
762011fe
UD
40599 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40600 * wcsmbs/test-wmemcmp.c: Likewise.
40601 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40602 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40603
406042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40605
40606 * string/Makefile (strop-tests): Add memcmp.
40607 * string/test-wmemcmp.c: New file.
40608 * string/test-memcmp.c: Add wmemcmp support.
40609
7f513ec8
RM
406102011-09-08 Roland McGrath <roland@hack.frob.com>
40611
0442afb4
RM
40612 [BZ #13153]
40613 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40614 2011-07-19 change.
40615
7f513ec8
RM
40616 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40617 garbage value in a __mach_port_mod_refs call in the cases of the
40618 task-self and thread-self ports.
40619
a12b2239
ST
406202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40621
40622 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40623
610f9ab4
AS
406242011-09-08 Andreas Schwab <schwab@redhat.com>
40625
7f513ec8 40626 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40627
48882a1a
LD
406282011-09-07 Ulrich Drepper <drepper@gmail.com>
40629
b49865be
UD
40630 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40631
fdc86bc9
UD
40632 * elf/dl-libc.c (dlerror_run): Pass back error code from
40633 dl_catch_error.
40634
c966526a
UD
40635 [BZ #13123]
40636 * elf/dl-load.c (lose): Free l_origin if it is valid.
40637
48882a1a
LD
40638 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40639 names.
40640 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40641 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40642 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40643 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40644 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40645 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40646
77a2a8b4
AZ
406472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40648
40649 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40650 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40651 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40652 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40653 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40654 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40655 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40656 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40657 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40658 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40659
24f579d8
AM
406602011-08-15 Alan Modra <amodra@gmail.com>
40661
40662 [BZ #13092]
40663 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40664 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40665 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40666 ppc_mcount to static-only-routines.
40667 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40668 __mcount_internal.
40669 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40670 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40671
3d4837df
UD
406722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40673
40674 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40675 for finite and infinity parameters.
40676
22700377
WS
406772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40678
40679 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40680 and add nop instructions for throughput optimization.
40681 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40682
5025581e
WS
406832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40684
40685 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40686 aligned copy for power7 with vector-scalar instructions.
40687 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40688
08a300c9
L
406892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40690
40691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40692 AVX check.
40693
59178ef9
AS
406942011-09-07 Andreas Schwab <schwab@redhat.com>
40695
40696 [BZ #13144]
40697 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40698 last change.
40699
e38ba7ab
UD
407002011-09-07 Ulrich Drepper <drepper@gmail.com>
40701
40702 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40703 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40704 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40705 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40706 clock_gettime.
40707
d53a73ac
UD
407082011-09-06 Ulrich Drepper <drepper@gmail.com>
40709
fc8bffcc
UD
40710 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40711 Forgot to demangle the pointer.
40712
ceaa0c5d
UD
40713 * sysdeps/i386/sysdep.h: Define atom_text_section.
40714 * sysdeps/x86_64/sysdep.h: Likewise.
40715 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40716 section with atom_text_section.
40717 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40718 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40719 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40721 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40722
a77d3c17
UD
40723 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40724 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40725 already be defined. Change to take two parameters and don't assign
40726 result to variable. Adjust all users.
40727 Define INTERNAL_GETTIME if not already defined.
40728 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40729 call.
40730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40731 HAVE_CLOCK_GETTIME_VSYSCALL.
40732 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40733
d53a73ac
UD
40734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40735 gettimeofday vsyscall, just use time.
40736
a8f84144
AS
407372011-09-06 Andreas Schwab <schwab@redhat.com>
40738
40739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40740 <errno.h>.
40741
ef606249
UD
407422011-09-06 Ulrich Drepper <drepper@gmail.com>
40743
40744 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40745 syscall on x86-64.
40746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40747 syscall.
40748 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40749 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40750 syscall if possible.
40751
6585cb60
UD
407522011-09-05 Ulrich Drepper <drepper@gmail.com>
40753
40754 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40755 e_ident. Don't pass to find_mapsXX.
40756 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40757
a5f524e4
LD
407582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40759
40760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40761 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40762 * sysdeps/x86_64/multiarch/strchr.S: Update.
40763 Check bit_slow_BSF bit.
40764 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40765 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40766 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40767
554881ef
UD
407682011-09-05 Ulrich Drepper <drepper@gmail.com>
40769
d96de963
UD
40770 [BZ #13134]
40771 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40772 before glibc 2.15.
40773 (tryshell): Define.
40774 (__spawni): Change last parameter to be flag. Test
40775 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40776 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40777 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40778 * posix/spawni.c: Likewise.
40779 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40780 * posix/spawnp.c: Likewise. Change normal version to use
40781 SPAWN_XFLAGS_USE_PATH.
40782 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40783 SPAWN_XFLAGS_TRY_SHELL.
40784
d48e5868
UD
40785 [BZ #13150]
40786 * posix/glob.h: Remove gcc 1.x support.
40787
554881ef
UD
40788 [BZ #13068]
40789 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40790
693fb948
LD
407912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40792
40793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40794 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40795 strrchr-sse2-bsf
40796 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40797 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40798 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40799 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40800 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40801 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40802
1b48c537
UD
408032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40804
49d42c37
UD
40805 * sysdeps/x86_64/wcscmp.S: New file.
40806
1b48c537
UD
40807 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40808 wcscmp-c wcscmp-sse2
40809 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40810 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40811 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40812 * wcsmbs/wcscmp.c: Allow renaming.
40813
15c95c5d
DM
408142011-09-05 David S. Miller <davem@davemloft.net>
40815
40816 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40817 stack slot, rather than the struct return pointer slot.
40818 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40819 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40821 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40822
2f0ad8f3
UD
408232011-09-05 Ulrich Drepper <drepper@gmail.com>
40824
d88ae418
UD
40825 * po/ja.po: Update from translation team.
40826
2f0ad8f3
UD
40827 [BZ #13144]
40828 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40829 kernel in 64-bit binaries.
40830
5f4318d1
DM
408312011-09-01 David S. Miller <davem@davemloft.net>
40832
40833 * elf/elf.h (HWCAP_SPARC_*): Move to..
40834 * sysdeps/sparc/sysdep.h: this new file and add new values.
40835 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40836 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40837 _DL_HWCAP_COUNT to 24.
40838 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40839 entries.
40840 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40841 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40842 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40844 instead of magic constants.
40845 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40846
3ba57516
DM
408472011-08-31 David S. Miller <davem@davemloft.net>
40848
40849 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40851 Reimplement to do errno handling inline.
40852 (SYSCALL_ERROR_HANDLER): New macro.
40853 (__SYSCALL_STRING): Do not do errno handling in asm.
40854 (__CLONE_SYSCALL_STRING): Delete.
40855 (__INTERNAL_SYSCALL_STRING): Delete.
40856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40857 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40858 (PSEUDO): Reimplement to do errno handling inline.
40859 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40860 (SYSCALL_ERROR_HANDLER): New macro.
40861 (__SYSCALL_STRING): Do not do errno handling in asm.
40862 (__CLONE_SYSCALL_STRING): Delete.
40863 (__INTERNAL_SYSCALL_STRING): Delete.
40864 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40865 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40866 i386.
40867 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40868 (inline_syscall*): Add 'err' argument.
40869 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40870 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40871 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40872 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40873
40874 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40875 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40876
2bc17433
AS
408772011-08-30 Andreas Schwab <schwab@redhat.com>
40878
40879 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40880
fbeb5f4d
JO
408812011-08-29 Jiri Olsa <jolsa@redhat.com>
40882
40883 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40884 directive.
40885
ad69cc26
DM
408862011-08-24 David S. Miller <davem@davemloft.net>
40887
40888 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40889
39dd69df
AS
408902011-08-24 Andreas Schwab <schwab@redhat.com>
40891
40892 * elf/Makefile: Add rules to build and run unload8 test.
40893 * elf/unload8.c: New file.
40894 * elf/unload8mod1.c: New file.
40895 * elf/unload8mod1x.c: New file.
40896 * elf/unload8mod2.c: New file.
40897 * elf/unload8mod3.c: New file.
40898
40899 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40900 it wasn't used.
40901
2c0b250a
DM
409022011-08-23 David S. Miller <davem@davemloft.net>
40903
40904 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40905 subtract stack bias.
40906 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40907 %sp not %fp in calculations.
40908 (_JMPBUF_UNWINDS_ADJ): Likewise.
40909
22044b48
DM
40910 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40911 (aio_suspend): Call it to force an exception region around the
40912 AIO_MISC_WAIT() invocation.
40913
2cae4995
AS
409142011-08-23 Andreas Schwab <schwab@redhat.com>
40915
40916 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40917 backslash.
40918
873a772e
AJ
409192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40920
40921 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40922 protection macro.
40923 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40924 and <dl-machine.h>.
40925 (Elf64_FuncDesc): Remove.
40926
25ad0df1
DM
409272011-08-22 David S. Miller <davem@davemloft.net>
40928
40929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40930 sigaltstack check, add missing cfi directives.
40931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40932 missing cfi directives, and sigaltstack handling.
40933
e888bcbe
AS
409342011-08-16 Andreas Schwab <schwab@redhat.com>
40935
40936 [BZ #11724]
40937 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40938 object is seen twice.
40939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40940
40941 * elf/Makefile (distribute): Add tst-initorder2.c.
40942 (tests): Add tst-initorder2.
40943 (modules-names): Add tst-initorder2a tst-initorder2b
40944 tst-initorder2c tst-initorder2d. Add rules to build them.
40945 ($(objpfx)tst-initorder2.out): New rule.
40946 * elf/tst-initorder2.c: New file.
40947 * elf/tst-initorder2.exp: New file.
40948
87162f46
AS
409492011-08-22 Andreas Schwab <schwab@redhat.com>
40950
70538b7f
AS
40951 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40952
f55ffe58
AS
40953 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40954 dependencies back to end of function.
40955
87162f46
AS
40956 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40957 $(elfobjdir)/ld.so.
40958
91b392a4
UD
409592011-08-21 Ulrich Drepper <drepper@gmail.com>
40960
40961 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40962 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40964 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40965 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40966 of __vdso_gettimeofday.
40967 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40968 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40969 attribute_hidden.
40970 (_libc_vdso_platform_setup): Remove initialization of
40971 __vdso_gettimeofday and __vdso_time.
40972
5c43483f
UD
409732011-08-20 Ulrich Drepper <drepper@gmail.com>
40974
775a77e7
UD
40975 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40976 and fgetc_unlocked.
40977 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40978 getc_unlocked.
89f447ed 40979
49c74ba9
UD
40980 * elf/dl-open.c (add_to_global): Report additions to the global scope
40981 for LD_DEBUG=scopes.
40982 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40983 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40984
5c43483f
UD
40985 [BZ #13114]
40986 * stdio-common/Makefile (tests): Add bug24.
40987 * stdio-common/bug24.c: New file.
40988
a101b025
AJ
409892011-08-19 Andreas Jaeger <aj@suse.de>
40990
40991 [BZ #13114]
40992 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40993 non-existant file when using close-on-exec mode.
40994
c88f1766
UD
409952011-08-20 Ulrich Drepper <drepper@gmail.com>
40996
0276a718
UD
40997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40998 the very first instruction.
40999
c88f1766
UD
41000 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41001 the CFI state in the end.
41002 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41003 inclusion of dl-trampoline.h.
41004 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41005
51ccffa0
AS
410062011-08-19 Andreas Schwab <schwab@redhat.com>
41007
94d7165f
AS
41008 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41009 expectations for long double.
41010
51ccffa0
AS
41011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41012 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41013
fd708658 410142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41015
41016 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41017 artificual limit depends upon the system page size.
41018
44f0a71e
UD
410192011-08-17 Ulrich Drepper <drepper@gmail.com>
41020
41021 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41022 * resolv/Makefile: Define CFLAGS-libresolv.
41023
8de79a24
AS
410242011-08-17 Andreas Schwab <schwab@redhat.com>
41025
41026 * nss/makedb.c (compute_tables): Make variables used in nested
41027 function static.
41028
27724598
UD
410292011-08-17 Ulrich Drepper <drepper@gmail.com>
41030
c5305d88
UD
41031 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41032 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41033 if buffer was too small.
41034
27724598
UD
41035 * elf/pldd.c (main): Attach to all threads in the process.
41036 Rewrite /proc handling to use *at functions.
41037
076fe015
UD
410382011-08-16 Ulrich Drepper <drepper@gmail.com>
41039
174baab3
UD
41040 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41041 specifies first scope to show.
41042 (dl_open_worker): Update callers. Move printing scope of new
41043 object to before the relocation.
44f0a71e 41044 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41045 * sysdeps/generic/ldsodefs.h: Update declaration.
41046
076fe015
UD
41047 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41048 string for the scope number.
41049
a60df2c3
UD
410502011-08-14 Ulrich Drepper <drepper@gmail.com>
41051
41052 * nscd/servicescache.c (cache_addserv): Make sure written is always
41053 initialized.
41054
5e4287d1
RM
410552011-08-14 Roland McGrath <roland@hack.frob.com>
41056
85ae0589
RM
41057 * sysdeps/i386/i486/bits/atomic.h
41058 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41059 statement expression, so as to suppress "set but not used" warning.
41060 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41061
69f63097
RM
41062 * string/strncat.c (STRNCAT): Use prototype definition.
41063
675456ef
RM
41064 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41065 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41066 -Iprograms here.
41067 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41068 (localedef-modules): Add localedef.
41069 (locale-modules): Add locale.
41070
5e4287d1
RM
41071 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41072 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41073 to avoid a warning.
41074
9c96ff23
DM
410752011-08-14 David S. Miller <davem@davemloft.net>
41076
41077 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41078 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41079
f9ddf089
UD
410802011-08-13 Ulrich Drepper <drepper@gmail.com>
41081
44f0a71e 41082 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41083 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41084 * elf/rtld.c (dl_main): Set l_name of vDSO.
41085 Call _dl_show_scope when DL_DEBUG_SCOPES.
41086 (process_dl_debug): Recognize scopes flag and also set it for all.
41087 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41088 Declare _dl_show_scope.
41089
1dc27704
UD
41090 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41091 (do_dlopen): Pass caller_dlopen to dl_open.
41092 (__libc_dlopen_mode): Initialize caller_dlopen.
41093
f9ddf089
UD
41094 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41095 of libc. Make tolower call locale-independent. Optimize a bit by
41096 using isdigit instead of isalnum.
41097 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41098
9ac533d3
UD
410992011-08-12 Ulrich Drepper <drepper@gmail.com>
41100
41101 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41102 was a dependency or dynamically loaded.
41103
89edf2e9
UD
411042011-08-11 Ulrich Drepper <drepper@gmail.com>
41105
8e999d29
UD
41106 * intl/l10nflist.c: Allow architecture-specific pop function.
41107 * sysdeps/x86_64/l10nflist.c: New file.
41108
89edf2e9
UD
41109 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41110 classification.
41111
14d96785
AS
411122011-08-10 Andreas Schwab <schwab@redhat.com>
41113
41114 * include/dirent.h: Add libc_hidden_proto for scandirat and
41115 scandirat64. Don't declare __scandirat64.
41116 * dirent/scandirat.c: Add libc_hidden_def.
41117 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41118 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41119
6761ac04
DM
411202011-08-10 David S. Miller <davem@davemloft.net>
41121
41122 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41123 enum.
41124 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41126 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41127
c55fbd1e
UD
411282011-08-09 Ulrich Drepper <drepper@gmail.com>
41129
41130 * Versions.def [libc]: Add GLIBC_2.15.
41131 * dirent/Makefile (routines): Add scandirat and scandirat64.
41132 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41133 GLIBC_2.15.
41134 * dirent/dirent.h: Declare scandirat and scandirat64.
41135 * dirent/scandirat.c: New file.
41136 * dirent/scandirat64.c: New file.
41137 * sysdeps/wordsize-64/scandirat.c: New file.
41138 * sysdeps/wordsize-64/scandirat64.c: New file.
41139 * dirent/opendir.c: Define opendirat.
41140 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41141 using scandirat.
41142 * dirent/scandir64.c: Adjust for scandir.c change.
41143 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41144 __scandirat64, and __scandir_cancel_handler.
41145 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41146 additional parameter and use openat instead of open (outside of ld.so).
41147 Add new __opendir as wrapper around __opendirat.
41148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41149 here without requiring old scandirat implementation.
41150
879165f2
UD
411512011-08-08 Ulrich Drepper <drepper@gmail.com>
41152
41153 * dirent/scandir.c (cancel_handler): Renamed to
41154 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41155 defined. Adjust users.
41156 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41157 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41158
cb7e923b
UD
411592011-08-04 Ulrich Drepper <drepper@gmail.com>
41160
16292edd
UD
41161 * string/test-string.h (IMPL): Use __STRING to expand name and then
41162 stringify it.
41163
cb7e923b
UD
41164 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41165 of cleanups.
41166
cff82933
LD
411672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41168
41169 * string/Makefile: Update.
41170 (strop-tests): Append strncat.
41171 * string/test-wcscmp.c: New file.
41172 New comprehensive test for wcscmp.
41173 * string/test-strcmp.c: Update.
41174 (WIDE): New define.
41175
9be9bfcc
AS
411762011-07-22 Andreas Schwab <schwab@redhat.com>
41177
41178 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41179 line.
41180
2e96f1c7
AS
411812011-07-26 Andreas Schwab <schwab@redhat.com>
41182
41183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41184 encoding to ACE if AI_IDN.
41185
85188888
JJ
411862011-08-01 Jakub Jelinek <jakub@redhat.com>
41187
41188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41189 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41190
5fa16e9b
LD
411912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41192
41193 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41194 Fix overflow bug in strncat.
41195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41196
41197 * string/test-strncat.c: Update.
41198 Add new tests for checking overflow bugs.
41199
412002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41201
41202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41203 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41204 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41205 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41207 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41208 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41209 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41210 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41211
41212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41213 (USE_AS_STRCAT): Define.
41214 Add strcat and strncat support.
41215 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41216
8c1a459f
AS
412172011-07-25 Andreas Schwab <schwab@redhat.com>
41218
41219 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41220 __n bigger than INT_MAX+1.
41221 (__strncmp_g): Likewise.
41222
bba33c28
UD
412232011-07-23 Ulrich Drepper <drepper@gmail.com>
41224
798be72d
UD
41225 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41226 * libio/stido.h: Likewise.
41227
8accd4dc
UD
41228 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41229 (AF_NFC): Define.
41230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41231 (AF_NFC): Define.
41232
cbff0d96
UD
41233 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41234 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41235 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41236 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41237 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41238
9191c04a
UD
41239 [BZ #13021]
41240 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41241 installed.
41242
bba33c28
UD
41243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41244 typo.
41245 (_dl_x86_64_save_sse): Likewise.
41246
90f139dd
UD
412472011-07-22 Ulrich Drepper <drepper@gmail.com>
41248
1aae088a
UD
41249 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41250 OSXSAVE.
41251 (_dl_x86_64_save_sse): Likewise.
41252
8e2045f5
UD
41253 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41254
90f139dd
UD
41255 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41256
1d002f25
AS
412572011-07-21 Andreas Schwab <schwab@redhat.com>
41258
41259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41260 change.
41261 (_dl_x86_64_save_sse): Use correct AVX check.
41262
21137f89
UD
412632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41264
41265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41266 bug in strncpy/strncat.
41267 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41268
a65c0b7a
UD
412692011-07-21 Ulrich Drepper <drepper@gmail.com>
41270
41271 * string/tester.c (test_strcat): Add tests for different alignments
41272 of source and destination.
41273 (test_strncat): Likewise.
41274
6986b98a
UD
412752011-07-20 Ulrich Drepper <drepper@gmail.com>
41276
90bb2039
UD
41277 [BZ #12852]
41278 * posix/glob.c (glob): Check passed in values before using them in
41279 expressions to avoid some overflows.
41280 (glob_in_dir): Likewise.
41281
5644ef54
UD
41282 [BZ #13007]
41283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41284 check for AVX enablement so that we don't crash with old kernels and
41285 new hardware.
41286 * elf/tst-audit4.c: Add same checks here.
41287 * elf/tst-audit6.c: Likewise.
41288
41289 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41290
bfc9dc9b
AS
412912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41292
41293 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41294
702e64bb
UD
412952011-07-20 Ulrich Drepper <drepper@gmail.com>
41296
41297 * po/cs.po: Update from translation team.
41298 * po/bg.po: Likewise.
41299
295e904f
MP
413002011-07-12 Marek Polacek <mpolacek@redhat.com>
41301
41302 * misc/sys/cdefs.h: Add support for const attribute.
41303 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41304 to gnu_dev_{major,minor,makedev} functions.
41305
3ff94596
MP
413062011-07-20 Marek Polacek <mpolacek@redhat.com>
41307
41308 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41309
28b59fca
AS
413102011-07-20 Andreas Schwab <schwab@redhat.com>
41311
41312 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41313 strlen results.
41314
19df733e
AK
413152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41316
41317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41318 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41319 register in order to avoid conflicts with the soft frame pointer
41320 being held in r11 when necessary.
41321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41322 (INTERNAL_VSYSCALL_NCS): Likewise.
41323
c8835729
MP
413242011-07-14 Marek Polacek <mpolacek@redhat.com>
41325
41326 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41327 * elf/dl-fini.c (_dl_fini): Adjust caller.
41328 * elf/dl-close.c (_dl_close_worker): Likewise.
41329 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41330
b902330c
MP
413312011-07-15 Marek Polacek <mpolacek@redhat.com>
41332
8991e135
MP
41333 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41334 "aux_cache->nlibs < 0".
41335
b902330c
MP
41336 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41337 in the reload-count case.
41338
99710781
LD
413392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41340
41341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41342 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41343 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41344 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41345 * sysdeps/x86_64/multiarch/strcat.S: New file.
41346 * sysdeps/x86_64/multiarch/strncat.S: New file.
41347 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41348 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41349 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41350 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41351 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41352 (USE_AS_STRCAT): Define.
41353 Add strcat and strncat support.
41354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41355 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41356 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41357 * string/strncat.c: Update.
41358 (USE_AS_STRNCAT): Define.
41359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41360 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41361 and i7.
41362 * sysdeps/x86_64/multiarch/init-arch.h
41363 (bit_Prefer_PMINUB_for_stringop): New.
41364 (index_Prefer_PMINUB_for_stringop): Likewise.
41365 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41366 bit_Prefer_PMINUB_for_stringop.
41367
7dc6bd90
UD
413682011-07-19 Ulrich Drepper <drepper@gmail.com>
41369
41370 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41371 buffer64.
41372 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41373 of casting of buffer.
41374 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41375 buffer32 and buffer64.
41376 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41377 writes instead of casting of buffer.
41378 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41379 buffer32.
41380 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41381 casting of buffer.
41382
e0e72284
AS
413832011-07-19 Andreas Schwab <schwab@redhat.com>
41384
41385 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41386
feb1eb0b
UD
413872011-07-19 Ulrich Drepper <drepper@gmail.com>
41388
41389 * nscd/nscd.c (termination_handler): Don't do anything for a database
41390 if it has not yet been initialized.
41391
298711ff
UD
413922011-07-18 Ulrich Drepper <drepper@gmail.com>
41393
41394 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41395
413962011-07-15 Marek Polacek <mpolacek@redhat.com>
41397
41398 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41399
f9d68389
UD
414002011-07-18 Ulrich Drepper <drepper@gmail.com>
41401
41402 * po/nl.po: Update from translation team.
41403 * po/sv.po: Likewise.
41404
db290cf5
RM
414052011-07-16 Roland McGrath <roland@hack.frob.com>
41406
41407 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41408 now disallowed by GCC.
5c550700 41409
fd5e21c7
RM
41410 * configure.in (use-default-link): Default to yes if a test -shared
41411 link meets our qualifications.
41412 * configure: Regenerated.
41413
5c550700
RM
41414 * config.make.in (output-format): New variable.
41415 * configure.in: Check for ld --print-output-format support.
41416 * configure: Regenerated.
41417 * Makerules ($(common-objpfx)format.lds)
41418 [$(output-format) != unknown]: Just use $(output-format),
41419 instead of the linker-script munging.
41420
9fa2c032
RM
414212011-07-14 Roland McGrath <roland@hack.frob.com>
41422
a6928d51
RM
41423 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41424 of $(common-objpfx)shlib.lds.
41425 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41426
661607b3
RM
41427 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41428 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41429
9fa2c032
RM
41430 * configure.in (-z relro check): Adjust test code to add a large
41431 writable data section after it.
41432 * configure: Regenerated.
41433
defe9061
RM
414342011-07-11 Roland McGrath <roland@hack.frob.com>
41435
41436 * configure.in (-z relro check): Fix test code to make the variable
41437 truly const.
41438 * configure: Regenerated.
41439
319b9ad4
UD
414402011-07-11 Ulrich Drepper <drepper@gmail.com>
41441
41442 * nscd/nscd.h (struct traced_file): Define.
41443 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41444 elements. Add traced_files.
41445 (inotify_fd): Declare.
41446 (register_traced_file): Declare.
41447 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41448 (inotify_fd): Export.
41449 (resolv_conf_descr): Remove.
41450 (nscd_init): Move inotify descriptor creation to main.
41451 Don't register files for notification here.
41452 (register_traced_file): New function.
41453 (invalidate_cache): Don't use reset_res to determine whether to call
41454 res_init, go through the list of registered files.
41455 (main_loop_poll): The inotify descriptors are now stored in the
41456 structures for the traced files.
41457 (main_loop_epoll): Likewise
41458 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41459 to __nss_disable_nscd.
41460 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41461 for a database anymore. Check the records for all the registered
41462 files instead.
41463 * nss/Makefile (libnss_files-routines): Add files-init.
41464 (libnss_db-routines): Add db-init.
41465 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41466 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41467 * nss/nss_db/db-init.c: New file.
41468 * nss/nss_files/files-init.c: New file.
41469 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41470 __nss_lookup_function.
41471 (__nss_lookup_function): Call nss_load_library.
41472 (nss_load_all_libraries): New function.
41473 (__nss_disable_nscd): Take parameter with callback function for files
41474 to register. Set is_nscd. Load all the DSOs for the NSS modules
41475 used for the cached services.
41476 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41477 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41478 options for features to all the files in nscd.
41479
41480 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41481
23bee3e8
RM
414822011-07-10 Roland McGrath <roland@hack.frob.com>
41483
41484 * csu/elf-init.c (__libc_csu_init): Comment typo.
41485
46a5b7f0
UD
414862011-07-09 Ulrich Drepper <drepper@gmail.com>
41487
41488 * po/pl.po: Update from translation team.
41489 * po/ja.po: Likewise.
41490 * po/ru.po: Likewise.
41491 * po/ko.po: Likewise.
41492 * po/fr.po: Likewise.
41493
d30cf5bb
RM
414942011-07-09 Roland McGrath <roland@hack.frob.com>
41495
113ddea4
RM
41496 * configure.in (.ctors/.dtors header and trailer check):
41497 Use an empirical test on a built program.
41498 * configure: Regenerated.
41499
574920b4
RM
41500 * configure.in (-z relro check): Use an empirical test on a built DSO.
41501 Detect, but do not require, on ia64.
41502 * configure: Regenerated.
41503
d30cf5bb
RM
41504 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41505 Update tests that use readelf to use $READELF instead.
41506 * configure: Regenerated.
41507
8538fdb3
UD
415082011-07-08 Ulrich Drepper <drepper@gmail.com>
41509
41510 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41511 if the result is not used.
41512
04d08991
AJ
415132011-07-05 Andreas Jaeger <aj@suse.de>
41514
41515 [BZ#9696]
41516 * stdlib/tst-strtod.c: Add testcase.
41517
de283087
AD
415182011-07-07 Ulrich Drepper <drepper@gmail.com>
41519
4e5f31c8 41520 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41521 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41522 The latter has a higher limit. Take additional parameter to pass to
41523 the new function.
41524 (__pathconf): Pass file to __statfs_link_max.
41525 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41526 __statfs_link_max.
41527 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41528 __statfs_link_max.
41529
de283087
AD
41530 [BZ #12868]
41531 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41532 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41533 Handle Lustre.
41534 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41535 (__statfs_filesize_max): Likewise.
41536 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41537
c75fa153
AJ
415382011-07-05 Andreas Jaeger <aj@suse.de>
41539
41540 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41541
1a544854
UD
415422011-07-06 Marek Polacek <mpolacek@redhat.com>
41543
41544 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41545 `status' variable.
41546 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41547 Likewise.
41548
6f0eec67
UD
415492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41550
41551 * Makefile (strop-tests): Add strncat.
41552 * string/test-strncat.c: New file.
41553
aae30307
UD
415542011-06-30 Marek Polacek <mpolacek@redhat.com>
41555
41556 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41557
c0cfb5eb
UD
415582011-06-21 Andreas Jaeger <aj@suse.de>
41559
41560 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41561 Copy rule from iconvdata/Makefile.
41562
01636b21
UD
415632011-07-06 Ulrich Drepper <drepper@gmail.com>
41564
41565 [BZ #12922]
41566 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41567 but no long options are defined, just return 'W'.
41568
9895c8bc
UD
415692011-06-22 Marek Polacek <mpolacek@redhat.com>
41570
41571 [BZ #9696]
41572 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41573
5d4cf042
UD
415742011-07-06 Ulrich Drepper <drepper@gmail.com>
41575
41576 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41577 netgroups to read.
960e5535 41578 (innetgr): Likewise.
5d4cf042 41579
751eb97e
RM
415802011-07-05 Roland McGrath <roland@hack.frob.com>
41581
41582 * config.make.in (install_root): Default to $(DESTDIR).
41583
f15f1e45
UD
415842011-07-05 Ulrich Drepper <drepper@gmail.com>
41585
41586 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41587
4e34ac6a
RM
415882011-07-02 Roland McGrath <roland@hack.frob.com>
41589
5e9b6af4
RM
41590 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41591
84f9ea0f
RM
41592 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41593 containing directory rather than embedding absolute directory names.
41594
ea5ee9f7
RM
41595 * scripts/check-local-headers.sh: Rewritten using awk.
41596 Match by word, not by line. Print error messages for matches.
41597 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41598
1b74661a
RM
41599 * Makerules [shlib-lds-flags empty]:
41600 ($(common-objpfx)libc_pic.opts): New target.
41601 ($(common-objpfx)libc_pic.os.clean): New target.
41602 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41603
41604 * config.make.in (OBJCOPY): New variable.
41605 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41606 * configure: Regenerated.
41607
f781ef40
RM
41608 * config.make.in (use-default-link): New variable.
41609 * configure.in (use_default_link): Grok --with-default-link to set it.
41610 * configure: Regenerated.
41611 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41612 (shlib-lds, shlib-lds-flags): Define to empty.
41613
2d4fa81e
RM
41614 * Makerules (shlib-lds): New variable.
41615 (shlib-lds-flags): New variable.
41616 (build-shlib, build-moduile, build-module-asneeded): Use it.
41617 ($(common-objpfx)libc.so): Use $(shlib-lds).
41618 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41619 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41620
31fffa6b
RM
41621 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41622 DT_FLAGS/DT_FLAGS_1 with zero flags.
41623
4e34ac6a
RM
41624 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41625 linker script munging.
41626
fcfc776b
UD
416272011-07-02 Ulrich Drepper <drepper@gmail.com>
41628
41629 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41630 as 128-bit value.
41631 * crypt/sha512.c (sha512_process_block): Perform total addition using
41632 128-bit if possible.
41633 (__sha512_finish_ctx): Likewise.
41634 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41635 as 64-bit value.
41636 * crypt/sha256.c (SWAP64): Define.
41637 (sha256_process_block): Perform total addition using 64-bit if
41638 possible.
41639 (__sha256_finish_ctx): Likewise.
41640
99231d9a
UD
416412011-07-01 Ulrich Drepper <drepper@gmail.com>
41642
41643 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41645 * nscd/hstcache.c (cache_addhst): Likewise.
41646 * nscd/grpcache.c (cache_addgr): Likewise.
41647 * nscd/aicache.c (addhstaiX): Likewise
41648 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41649
445b4a53
TK
416502011-07-01 Thorsten Kukuk <kukuk@suse.de>
41651
41652 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41653 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41654 * nscd/hstcache.c (cache_addhst): Likewise.
41655 * nscd/grpcache.c (cache_addgr): Likewise.
41656 * nscd/aicache.c (addhstaiX): Likewise
41657
6d4d8e8e
AS
416582011-07-01 Andreas Schwab <schwab@redhat.com>
41659
41660 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41661 domain only when needed.
41662
89f654c5
AS
416632011-06-30 Andreas Schwab <schwab@redhat.com>
41664
41665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41666 is always restored.
41667
cf3b23ff
UD
416682011-06-29 Ulrich Drepper <drepper@gmail.com>
41669
41670 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41671 are re-adding the entry.
41672 * nscd/servicescache.c (cache_addserv): Likewise.
41673
751626f9
AJ
416742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41675
41676 * sysdeps/generic/dl-irel.h: fix protection against multiple
41677 inclusions.
41678 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41679
9113ea1f
UD
416802011-06-28 Ulrich Drepper <drepper@gmail.com>
41681
5c0b8d90
UD
41682 [BZ #12935]
41683 * malloc/memusage.sh: Fix quoting in message.
41684 * debug/xtrace.sh: Likewise.
41685
9113ea1f
UD
41686 * configure.in: Remove support for --experimental-malloc option, make
41687 it the default.
41688 * config.make.in: Likewise.
41689 * malloc/Makefile: Likewise.
41690
a4172181
AS
416912011-06-27 Andreas Schwab <schwab@redhat.com>
41692
41693 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41694 two-byte characters.
41695
78a7eee7
RM
416962011-06-27 Roland McGrath <roland@hack.frob.com>
41697
62bede13
RM
41698 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41699 AC_CACHE_CHECK invocation.
41700 * configure: Regenerated.
41701
78a7eee7
RM
41702 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41703
5ce33a62
UD
417042011-06-27 Ulrich Drepper <drepper@gmail.com>
41705
034807a9
UD
41706 [BZ #12350]
41707 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41708 bit from old_res_options.
41709
4902da17
UD
41710 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41711
5ce33a62
UD
41712 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41713 value type for setfct.
41714
c2344f56
L
417152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41716
41717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41718 __gettimeofday instead of gettimeofday.
41719
68468076
UD
417202011-06-26 Ulrich Drepper <drepper@gmail.com>
41721
41722 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41723
acb0d739
L
417242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41725
41726 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41727
41728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41729 info.
41730
8912479f
L
417312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41732
41733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41734 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41735 strcpy-sse2-unaligned strncpy-sse2-unaligned
41736 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41737 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41738 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41739 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41740 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41741 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41742 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41743 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41744 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41745 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41746 (STRCPY): Support SSE2 and SSSE3 versions.
41747
d5495a11
UD
417482011-06-24 Ulrich Drepper <drepper@gmail.com>
41749
41750 [BZ #12874]
41751 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41752 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41753 kernels which artificially limit size of requests.
41754
0b1cbaae
L
417552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41756
41757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41758 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41759 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41760 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41761 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41762 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41763 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41764 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41765 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41767 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41768 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41769 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41770 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41771 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41773 Enable unaligned load optimization for Intel Core i3, i5 and i7
41774 processors.
41775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41776 Define.
41777 (index_Fast_Unaligned_Load): Define.
41778 (HAS_FAST_UNALIGNED_LOAD): Define.
41779
07f494a0
MP
417802011-06-23 Marek Polacek <mpolacek@redhat.com>
41781
41782 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41783
fa3fc0fe
UD
417842011-06-22 Ulrich Drepper <drepper@gmail.com>
41785
41786 [BZ #12907]
41787 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41788 until it is clear that the information is realy needed.
41789 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41790
e12df166
AS
417912011-06-22 Andreas Schwab <schwab@redhat.com>
41792
41793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41794
852eb34d
UD
417952011-06-22 Ulrich Drepper <drepper@gmail.com>
41796
84e2a551
UD
41797 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41798 /sys/devices/system/cpu/online if it is usable.
41799
852eb34d
UD
41800 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41801 reading the information from the /proc filesystem to once a second.
41802
6e502e19
UD
418032011-06-21 Andreas Jaeger <aj@suse.de>
41804
41805 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41806 NULL after inclusion of kernel headers.
41807
75d39ff2
UD
418082011-06-21 Ulrich Drepper <drepper@gmail.com>
41809
51f9aa6a
UD
41810 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41811 calls to internal_setent.
41812
c0244a9d
UD
41813 [BZ #12885]
41814 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41815 addresses using gethostbyname4_r ignore IPv4 addresses.
41816
c5e3c2ae
UD
41817 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41818 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41819
75d39ff2
UD
41820 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41821
42675c6f
DM
418222011-06-20 David S. Miller <davem@davemloft.net>
41823
41824 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41825 inclusions.
41826 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41827
41828 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41829 (elf_irel): Use it.
41830 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41831 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41832 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41833 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41834 * sysdeps/x86_64/dl-irel.h: Likewise.
41835
41836 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41837 * elf/dl-sym.c: Likewise.
41838
57912a71
UD
418392011-06-15 Ulrich Drepper <drepper@gmail.com>
41840
41841 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41842 need to dereference resplen2.
41843
ee22793d
AS
418442011-06-14 Andreas Schwab <schwab@redhat.com>
41845
41846 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41847
a9e836b0
UD
418482011-06-15 Ulrich Drepper <drepper@gmail.com>
41849
77fb9117
UD
41850 * Makeconfig: Define vardbdir and inst_vardbdir.
41851 * nss/Makefile: Add rules to install db-Makefile.
41852
40c1b22c
UD
41853 * nss/nss_db/db-XXX.c: Cleanup.
41854
9f2da732
UD
41855 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41856 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41857 GLIBC_PRIVATE.
41858 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41859 * nss/makedb.c: Implement -g option to specify that value strings
41860 are generated and should not be added to table iterated over for
41861 get*ent calls.
41862 * nss/nss_db/db-initgroups.c: New file.
41863
82e9a1f7
UD
41864 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41865 interface.
41866
c41af17e
UD
41867 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41868 (internal_getgrouplist): Adjust to name change.
41869 Update use_initgroups_entry if this is not the first call.
41870 * nss/databases.def: Add initgroups entry.
41871
a9e836b0
UD
41872 * nss/makedb.c (compute_tables): Check result of multiple hash table
41873 sizes to minimize maximum chain length.
41874
2666d441
UD
418752011-06-14 Ulrich Drepper <drepper@gmail.com>
41876
41877 * Versions.def: Add entry for libnss_db.
41878 * shlib-versions: Likewise.
41879 * nss/Makefile: Add rules to build libnss_db.
41880 * nss/Versions: Add libnss_db information. Organize libnss_files
41881 entries better.
41882 * nss/db-Makefile: Add gshadow support. Change rules for the new
41883 makedb progra. Some minor improvements to generate smaller files.
41884 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41885 here from...
41886 * nss/makedb.c: ...here.
41887 Improve database format to be smaller and require less memory at
41888 runtime.
41889 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41890 db anymore.
41891 * nss/nss_db/db-netgrp.c: Likewise.
41892 * nss/nss_db/db-open.c: Likewise.
41893 * nss/nss_files/flies-XXX.x: Adjust comments.
41894 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41895 * nss/nss_files/files-grp.c: Likewise.
41896 * nss/nss_files/files-hosts.c: Likewise.
41897 * nss/nss_files/files-network.c: Likewise.
41898 * nss/nss_files/files-proto.c: Likewise.
41899 * nss/nss_files/files-pwd.c: Likewise.
41900 * nss/nss_files/files-rpc.c: Likewise.
41901 * nss/nss_files/files-service.c: Likewise.
41902 * nss/nss_files/files-sgrp.c: Likewise.
41903 * nss/nss_files/files-spwd.c: Likewise.
41904 * nss/nss_db/db-alias.c: Removed.
41905 * nss/nss_db/dummy-db.h: Removed.
41906
9ee76b5a
UD
419072011-06-02 Ulrich Drepper <drepper@gmail.com>
41908
41909 * nss/makedb.c: Rewritten to not use database library.
41910 * nss/Makefile: Update to build new makedb program.
41911
c71ca1f8
AJ
419122011-06-14 Andreas Jaeger <aj@suse.de>
41913
41914 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41915 memset declaration.
41916
3154bfb8
UD
419172011-06-10 Andreas Schwab <schwab@redhat.com>
41918
41919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41920 tmpbuf.
41921
b350afab
RM
419222011-06-10 Roland McGrath <roland@hack.frob.com>
41923
decd4e50
RM
41924 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41925 * elf/Makefile ($(objpfx)ld.so): Likewise.
41926
5615eaf2
RM
41927 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41928 Don't list ld.so twice in dependencies.
41929
41930 * posix/bug-regex31.c: Include <stdlib.h>.
41931
41932 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41933
41934 * nis/nss_compat/compat-spwd.c
41935 (getspent_next_nss_netgr): Remove unused variable.
41936 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41937
41938 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41939 nonmembers" output to use the right array.
41940
41941 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41942
41943 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41944
41945 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41946 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41947 * catgets/gencat.c (read_input_file): Likewise.
41948 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41949
41950 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41951 variable definition inside #if's controlling its use.
41952
41953 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41954
41955 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41956
41957 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41958
41959 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41960 unreachable code.
41961
41962 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41963
b68e08db
RM
41964 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41965 * configure: Regenerated.
41966
b350afab
RM
41967 * Makerules: Revert last change.
41968 * elf/Makefile: Likewise.
41969
28368601
RM
419702011-06-09 Roland McGrath <roland@hack.frob.com>
41971
41972 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41973 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41974 (reloc-link): Likewise.
41975
11988f8f
UD
419762011-06-09 Ulrich Drepper <drepper@gmail.com>
41977
41978 * elf/Makefile: Add rules to build pldd.
41979 * elf/pldd.c: New file.
41980 * elf/pldd-xx.c: New file.
41981
e80fab37
UD
419822011-06-07 Ulrich Drepper <drepper@gmail.com>
41983
41984 * version.h: Update for 2.15 development version.
41985
9b849836
DM
419862011-06-07 David S. Miller <davem@davemloft.net>
41987
41988 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41989 ifuncs.
41990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41991 elf_machine_lazy_rel): Likewise.
41992 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41994 elf_machine_lazy_rel): Likewise.
41995 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41996 dl_hwcap via passed in argument.
41997 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41998 Likewise.
41999
5a31b283
AK
420002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42001
42002 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42003
069e52f8
RM
420042011-06-06 Roland McGrath <roland@hack.frob.com>
42005
42006 [BZ #12849]
42007 * manual/fdl-1.1.texi: New file, verbatim from:
42008 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42009 * manual/lgpl-2.1.texi: New file, verbatim from:
42010 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42011 * manual/Makefile (licenses): New variable, list those new file names.
42012 (texis): Use it.
42013 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42014
42015 * manual/fdl.texi: File removed.
42016 * manual/lesser.texi: File removed.
42017 * manual/libc.texinfo (Copying, Documentation License):
42018 Use new @include file names, put @appendix directive before @include.
42019
f16846a5
JJ
420202011-06-04 Jakub Jelinek <jakub@redhat.com>
42021
42022 [BZ #12841]
42023 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42024 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42025 (mq_open): Add __NTH.
42026
3d29045b
L
420272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42028
42029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42030 Assume Intel Core i3/i5/i7 processor if AVX is available.
42031
8c297311
UD
420322011-05-31 Ulrich Drepper <drepper@gmail.com>
42033
42034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42035 typo.
42036
c8fc0c91
UD
420372011-05-31 Andreas Schwab <schwab@redhat.com>
42038
42039 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42040 memory. Use alloca_account. Fix memory leak when retrying.
42041
5b27a807
UD
420422011-05-31 Ulrich Drepper <drepper@gmail.com>
42043
356f8bc6
UD
42044 * version.h (RELEASE): Bump for 2.14 release.
42045 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42046
5b27a807
UD
42047 * config.make.in (RANLIB): Remove entry.
42048
01f16ab0
UD
420492011-05-30 Ulrich Drepper <drepper@gmail.com>
42050
41fce8bd
UD
42051 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42052 (libc.pot): Work around missing support for .ksh extension in xgettext.
42053
4769ae77
UD
42054 [BZ #12684]
42055 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42056 if both request failed.
42057 (send_dg): In case of server errors clear resplen or *resplen2.
42058
6b1e7d19
UD
42059 [BZ #12454]
42060 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42061 when there are multiple maps.
42062 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42063 (_dl_fini): Remove test here.
42064
01f16ab0
UD
42065 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42066
b1ebd700
UD
420672011-05-29 Ulrich Drepper <drepper@gmail.com>
42068
7ae22829
UD
42069 [BZ #12350]
42070 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42071 bit from old_res_options.
42072 (gaih_inet): Likewise.
42073
553149f6 42074 [BZ #11099]
18a84741 42075 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42076 as signed.
42077
652ffab1
UD
42078 * resolv/res_init.c (res_setoptions): Make the code more compact.
42079
16985fd0
UD
42080 [BZ #11558]
42081 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42082 set RES_USEVC.
42083
0464f746
UD
42084 [BZ #11634]
42085 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42086
7d17596c
UD
42087 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42088
cf6bbbd7
UD
42089 [BZ #11781]
42090 * malloc/malloc.h: Declare malloc hook variables as volatile.
42091
13f1ab36
UD
42092 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42093 in last patch.
42094
b1ebd700
UD
42095 [BZ #11799]
42096 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42097 raise in the comment.
80e2212d
UD
42098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42100 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42101
ce67228d
UD
421022011-05-28 Ulrich Drepper <drepper@gmail.com>
42103
8887a920
UD
42104 [BZ #12811]
42105 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42106 grow the buffers more if it already has to be sufficient.
42107 (build_wcs_upper_buffer): Likewise.
42108 * posix/regexec.c (check_matching): Likewise.
42109 (clean_state_log_if_needed): Likewise.
42110 (extend_buffers): Don't enlarge buffers beyond size of the input
42111 buffer.
42112 Patches mostly by Emil Wojak <emil@wojak.eu>.
42113 * posix/bug-regex32.c: New file.
42114 * posix/Makefile (tests): Add bug-regex32.
42115
4f031072
UD
42116 * locale/findlocale.c (_nl_find_locale): Return right away if
42117 _nl_explode_name failed.
42118 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42119
d0478f0c
UD
42120 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42121
de81b246
UD
42122 * debug/xtrace.sh: Unify messages.
42123 * malloc/memusage.sh: Likewise.
42124
c738465a
UD
42125 [BZ #12813]
42126 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42127 time symbol from vDSO. Substitute with vsyscall if not available.
42128 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42129 __vdso_time.
42130
f1f929d7
UD
42131 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42132 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42133 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42134 Add sendmmsg and internal_sendmmsg.
42135 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42136 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42137 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42138
ce67228d
UD
42139 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42140 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42141 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42142
e57420c6
UD
421432011-05-27 Ulrich Drepper <drepper@gmail.com>
42144
a8509ca5
UD
42145 [BZ #12813]
42146 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42147 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42148 available.
42149 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42150 __vdso_getcpu.
42151
e57420c6
UD
42152 [BZ #12814]
42153 * iconvdata/Makefile (tests): Add bug-iconv9.
42154 * iconvdata/bug-iconv9.c: New file.
42155
4d07db15
AS
421562011-05-27 Andreas Schwab <schwab@redhat.com>
42157
42158 [BZ #12814]
42159 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42160
ea486f69
JJ
421612011-05-25 Jakub Jelinek <jakub@redhat.com>
42162
42163 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42164 (struct user_regs_struct): Change intcs field back to cs.
42165
6f038433
UD
421662011-05-25 Ulrich Drepper <drepper@gmail.com>
42167
42168 * po/ja.po: Update from translation team.
42169
67f86a25
UD
421702011-05-23 Ulrich Drepper <drepper@gmail.com>
42171
42172 [BZ #12795]
42173 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42174 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42175
def7fbd6
AS
421762011-05-20 Andreas Schwab <schwab@redhat.com>
42177
42178 * stdlib/longlong.h: Update from GCC.
42179
f50ef8f1
AS
421802011-05-23 Andreas Schwab <schwab@redhat.com>
42181
42182 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42183 parameter name.
42184 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42185 Add parameter name.
42186 (__sysconf): Pass it down.
42187
de7ce8f1
UD
421882011-05-22 Ulrich Drepper <drepper@gmail.com>
42189
f2962a71
UD
42190 [BZ #12671]
42191 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42192 some situations.
42193 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42194 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42195 add in in __libc_use_alloca calls. Adjust callers.
42196 (glob): Use malloc in some situations.
42197
de7ce8f1
UD
42198 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42199 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42200 pltexit.
42201
aec84f53
UD
422022011-05-21 Ulrich Drepper <drepper@gmail.com>
42203
05bb4a68
UD
42204 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42205 and CLOCK_BOOTTIME_ALARM.
42206
7ea72f99
UD
42207 [BZ #12782]
42208 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42209 is returned.
42210
7e4afad5
UD
42211 * string/_strerror.c (__strerror_r): Print negative errors as signed
42212 numbers.
42213
8e211fec
UD
42214 [BZ #12777]
42215 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42216 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42217 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42218
f7d82dc9
UD
42219 * configure.in: Fix typo in redirection and correct removal of test
42220 files in two cases.
42221
cc9e536d
UD
42222 [BZ #12788]
42223 * locale/setlocale.c (new_composite_name): Fix test to check for
42224 identical name of all categories.
42225
aec84f53
UD
42226 [BZ #12792]
42227 * libio/filedoalloc.c (local_isatty): New function.
42228 (_IO_file_doallocate): Use local_isatty.
42229 * stdio-common/perror.c (perror): In case a new stream is used
42230 forward the stream error.
42231 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42232 error flag.
42233
78e64fdc
RT
422342011-05-20 Ulrich Drepper <drepper@gmail.com>
42235
34a9094f
UD
42236 [BZ #11869]
42237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42238 alloca.
42239 * include/alloca.h (extend_alloca_account): Define.
42240
78e64fdc
RT
42241 [BZ #11857]
42242 * posix/regex.h: Fix comments with documentation of user-accessible
42243 fields after compilation and describe correct free'ing of pattern
42244 after re_compile_pattern.
42245 Patch by Reuben Thomas <rrt@sc3d.org>.
42246
457bddfc
RA
422472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42248
42249 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42250 and -mno-altivec to prevent the compiler from using Altivec and/or
42251 VSX instructions when the corresponding registers are not available.
42252
a4527b51
AS
422532011-05-19 Andreas Schwab <schwab@redhat.com>
42254
42255 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42256
ed690b2f
UD
422572011-05-19 Ulrich Drepper <drepper@gmail.com>
42258
42259 * libio/freopen.c (freopen): Use __dup2, not dup2.
42260 * libio/freopen64.c (freopen64): Likewise.
42261
8db73634
L
422622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42263
42264 [BZ #12775]
42265 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42266 * math/Makefile (tests): Add test-powl.
42267 (CFLAGS-test-powl.c): Define.
42268 * math/test-powl.c: New file.
42269
0a197a9d
L
422702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42271
42272 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42273
ee30c380
UD
422742011-05-17 Ulrich Drepper <drepper@gmail.com>
42275
42276 [BZ #11837]
42277 * iconvdata/gb18030.c: Update to GB18020-2005.
42278
6ce75379
UD
422792011-05-16 Ulrich Drepper <drepper@gmail.com>
42280
a4b89fd8
AR
42281 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42282 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42283 Patch by Aharon Robbins <arnold@skeeve.com>.
42284
ea389b12
UD
42285 [BZ #11892]
42286 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42287 on the stack.
42288
68a3f91f
UD
42289 [BZ #11895]
42290 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42291 through underflows.
42292
15cc7dd1
UD
42293 [BZ #12766]
42294 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42295 point to strings before performing equality test for error_one_per_line
42296 mode.
42297
f3799213
UD
42298 [BZ #11697]
42299 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42300
d79a9c94
UD
42301 [BZ #11820]
42302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42303 (struct user_fpregs_struct): Avoid __uint*_t types.
42304
56e5eb46
UD
42305 [BZ #6420]
42306 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42307 symbol info. Use it instead of calling _dl_addr locally.
42308 (lock_and_info): New function.
42309 (tr_freehook): Call lock_and_info and pass symbol info as additional
42310 parameter to tr_where.
42311 (tr_mallochook): Likewise.
42312 (tr_reallochook): Likewise.
42313 (tr_memalignhook): Likewise.
42314
6ce75379
UD
42315 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42316 used and couldn't be at all thread-safe.
42317
f8a3b5bf
UD
423182011-05-15 Ulrich Drepper <drepper@gmail.com>
42319
94b7cc37
UD
42320 * libio/freopen.c (freopen): Don't close old file descriptor
42321 before the new one is opened. Instead dup the new file descriptor
42322 to the old one after the new stream is created.
42323 * libio/freopen64.c (freopen64): Likewise.
42324 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42325 * libio/fileops.c (_IO_new_file_close_it): Handle new
42326 _IO_FLAGS2_NOCLOSE flag.
42327 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42328 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42329 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42330 _IO_FLAGS2_NOCLOSE flag.
42331 * include/unistd.h: Add hidden_proto for dup3.
42332 Define __have_dup3.
42333 * io/dup3.c: Define hidden symbol.
42334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42335
bd25564e
UD
42336 [BZ #7101]
42337 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42338 when an incomplete long option is used.
42339 * posix/tst-getopt_long1.c: New file.
42340 * posix/Makefile (tests): Add tst-getopt_long1.
42341
c84cfef4
UD
42342 [BZ #10138]
42343 * scripts/config.guess: Update from autoconf-2.68.
42344 * scripts/config.sub: Likewise.
42345
3b85df27
UD
42346 [BZ #10157]
42347 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42348 tests into ...
42349 (has_cpuclock): ...this. New function.
42350 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42351 macro here based on has_cpuclock code.
42352
15a856b1
UD
42353 [BZ #10149]
42354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42355 First byte (not low byte) is now always NUL.
42356 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42357
05f399e6
UD
42358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42359 Use non-cancelable interfaces.
42360
10a52685 42361 [BZ #9809]
94ecc67d
UD
42362 * locale/iso-639.def: Add entry for Sorani.
42363
f8a3b5bf
UD
42364 [BZ #11901]
42365 * include/stdlib.h: Move include protection to the right place.
42366 Define abort_msg_s. Declare __abort_msg with it.
42367 * stdlib/abort.c (__abort_msg): Adjust type.
42368 * assert/assert.c (__assert_fail_base): New function. Majority
42369 of code from __assert_fail. Allocate memory for __abort_msg with
42370 mmap.
42371 (__assert_fail): Now call __assert_fail_base.
42372 * assert/assert-perr.c: Remove bulk of implementation. Use
42373 __assert_fail_base.
42374 * include/assert.hL Declare __assert_fail_base.
42375 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42376 mmap.
42377 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42378
1af4e298
UD
423792011-05-14 Ulrich Drepper <drepper@gmail.com>
42380
f8a3b5bf 42381 [BZ #11952]
d26dfc60
MG
42382 [BZ #12453]
42383 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42384 until all modules are registered in the DTV.
42385 * elf/Makefile: Add rules to build and run tst-tls19.
42386 * elf/tst-tls19.c: New file.
42387 * elf/tst-tls19mod1.c: New file.
42388 * elf/tst-tls19mod2.c: New file.
42389 * elf/tst-tls19mod3.c: New file.
42390 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42391
2fc54d6f
UD
42392 [BZ #12083]
42393 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42394 correctly.
42395
98d76b46
UD
42396 [BZ #12601]
42397 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42398 two-byte sequence errors.
42399 * iconvdata/Makefile (tests): Add bug-iconv8.
42400 * iconvdata/bug-iconv8.c: New file.
42401
da3c19ef
UD
42402 [BZ #12626]
42403 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42404 buf2 definition.
42405
ca408c15
UD
42406 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42407
d6f67f7d
UD
42408 [BZ #12432]
42409 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42410 (dummy_getcfa): New function.
42411 (init): Get _Unwind_GetCFA address, use dummy if not found.
42412 (backtrace_helper): In recursion check, also check whether CFA changes.
42413 (__backtrace): Completely initialize arg.
42414
1af4e298 42415 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42416 storing incomplete byte sequence in state object. Avoid testing for
42417 guaranteed too small input if we know there is enough data available.
1af4e298 42418
da62f81b
AS
424192011-05-11 Andreas Schwab <schwab@redhat.com>
42420
42421 * Makeconfig (+link-pie): Indent.
42422 * Rules (binaries-pie): Define if $(have-fpie) and
42423 $(build-shared).
42424 (binaries-shared): Also filter out $(binaries-pie).
42425 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42426 * nscd/Makefile (others-pie): Add nscd.
42427 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42428 ($(objpfx)nscd): Remove command override.
42429 * login/Makefile (others-pie): Add pt_chown.
42430 ($(objpfx)pt_chown): Remove command override.
42431 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42432 remove command overrides.
42433
fcabc0f8
UD
424342011-05-13 Ulrich Drepper <drepper@gmail.com>
42435
20030ae6
UD
42436 * libio/tst_putwc.c: Fix error messages.
42437
fcabc0f8
UD
42438 [BZ #12724]
42439 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42440 currently writing and seek to current position when not.
42441 * libio/Makefile (tests): Add bug-fclose1.
42442 * libio/bug-fclose1.c: New file.
42443
320a5dc0
PB
424442011-05-12 Ulrich Drepper <drepper@gmail.com>
42445
42446 [BZ #12511]
42447 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42448 don't set DF_1_NODELETE here.
42449 (do_lookup_x): When entering new entry test for copy relocation
42450 and if necessary set DF_1_NODELETE flag.
42451 * elf/tst-unique4.cc: New file.
42452 * elf/tst-unique4.h: New file.
42453 * elf/tst-unique4lib.cc: New file.
42454 * elf/Makefile: Add rules to build and run tst-unique4.
42455 Patch by Piotr Bury <pbury@goahead.com>.
42456
22836f52
UD
424572011-05-11 Ulrich Drepper <drepper@gmail.com>
42458
f574184a
UD
42459 [BZ #12052]
42460 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42461
e1fb097f
UD
42462 [BZ #12625]
42463 * misc/mntent_r.c (addmntent): Flush the stream after the output
42464
22836f52
UD
42465 [BZ #12393]
42466 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42467 (is_trusted_path_normalize): Skip initial colon. Append slash
42468 to empty buffer. Duplicate is_trusted_path code but allow
42469 constructed patch to be prefix.
42470 (is_dst): Allow $ORIGIN followed by /.
42471 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42472 Correct testing of result of is_trusted_path_normalize
42473 (decompose_rpath): Fix warning.
42474
7b3b0b2a
UD
424752011-05-10 Ulrich Drepper <drepper@gmail.com>
42476
42477 [BZ #11257]
42478 * grp/initgroups.c (internal_getgrouplist): When we found the service
42479 list through the initgroups entry in nsswitch.conf do not always
42480 continue on a successful lookup. Don't always use the
eac80ce2 42481 __nss_group_database value if it is set.
7b3b0b2a
UD
42482 * nss/nsswitch.conf (initgroups): Change action for successful db
42483 lookup to continue for compatibility.
42484
2a81eaa5
UD
424852011-05-09 Ulrich Drepper <drepper@gmail.com>
42486
be97a69e
UD
42487 [BZ #11532]
42488 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42489 and CP774 modules.
42490 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42491 and CP774 modules.
42492 * iconvdata/tst-tables.sh: Likewise.
42493 * iconvdata/cp770.c: New file.
42494 * iconvdata/cp771.c: New file.
42495 * iconvdata/cp772.c: New file.
42496 * iconvdata/cp773.c: New file.
42497 * iconvdata/cp774.c: New file.
42498 * iconvdata/testdata/CP770: New file.
42499 * iconvdata/testdata/CP770..UTF8: New file.
42500 * iconvdata/testdata/CP771: New file.
42501 * iconvdata/testdata/CP771..UTF8: New file.
42502 * iconvdata/testdata/CP772: New file.
42503 * iconvdata/testdata/CP772..UTF8: New file.
42504 * iconvdata/testdata/CP773: New file.
42505 * iconvdata/testdata/CP773..UTF8: New file.
42506 * iconvdata/testdata/CP774: New file.
42507 * iconvdata/testdata/CP774..UTF8: New file.
42508
42509 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42510 END CHARMAP line.
42511 * iconvdata/gen-8bit-gap.sh: Likewise.
42512 * iconvdata/gen-8bit.sh: Likewise.
42513
c1e9e399
UD
42514 * locale/iso-639.def: Add ary entry.
42515
24c55fb3 42516 [BZ #11258]
96b4b1b0
UD
42517 * locale/C-translit.h.in: Add U20A1 transliteration.
42518
bdc2f971
KB
42519 [BZ #12178]
42520 * locale/iso-639.def: Add wae entry.
42521 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42522
2952b117
UD
42523 [BZ #12545]
42524 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42525 for n.
42526
2a81eaa5
UD
42527 [BZ #12711]
42528 * locale/C-translit.h.in: Add entry for U20B9.
42529 Patch by pravin.d.s@gmail.com.
42530
28377d1b
UD
425312011-05-08 Ulrich Drepper <drepper@gmail.com>
42532
7fb90fb8
UD
42533 [BZ #12713]
42534 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42535 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42536 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42537 in rtld. Use *stat64.
7fb90fb8 42538 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42539 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42540 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42541 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42542 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42543 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42544 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42545 __fstatat64 macros.
7fb90fb8
UD
42546 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42547 * dirent/rewinddir.c: Add libc_hidden_def.
42548 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42549 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42550
28377d1b
UD
42551 * include/dirent.h (__alloc_dir): Add flags parameter.
42552 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42553 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42554 __alloc_dir.
42555 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42556 from fdopendir if O_CLOEXEC is already set.
42557
66bdbaa4
AM
425582011-03-15 Alan Modra <amodra@gmail.com>
42559
42560 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42561 l_tls_firstbyte_offset non-zero. Save padding offset in
42562 l_tls_firstbyte_offset for later use.
42563 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42564 freeing static tls block.
42565
95721191
JN
425662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42567
42568 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42569 where #ifdef was intended. The intent is to prevent ARG_MAX from
42570 being defined by the kernel headers.
42571
f87dfb1f
UD
425722011-05-07 Ulrich Drepper <drepper@gmail.com>
42573
42574 [BZ #12734]
42575 * resolv/resolv.h: Define RES_NOTLDQUERY.
42576 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42577 no-tld-query and set RES_NOTLDQUERY.
42578 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42579 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42580 modern BIND to search name as TLD unless forbidden.
42581
47c3cd7a
UD
425822011-05-07 Petr Baudis <pasky@suse.cz>
42583 Ulrich Drepper <drepper@gmail.com>
42584
42585 [BZ #12393]
42586 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42587 (is_trusted_path): ...to here.
c1e9ea35 42588 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42589 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42590 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42591
8a35c912
PP
425922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42593
42594 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42595 __BEGIN/__END_DECLS.
42596
acd41f47
UD
425972011-05-06 Ulrich Drepper <drepper@gmail.com>
42598
42599 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42600 NSS_STATUS_NOTFOUND if no record was found.
42601
597df647
AS
426022011-05-05 Andreas Schwab <schwab@redhat.com>
42603
42604 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42605 (headers-not-in-tirpc): Remove rpc/netdb.h
42606 * resolv/netdb.h: Revert last change.
42607
b9af1301
PP
426082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42609
42610 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42611 circular dependency between libgcc.a and libc.a.
42612
4e34d5f5
AS
426132011-05-05 Andreas Schwab <schwab@redhat.com>
42614
42615 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42616 * nis/Makefile: Don't install rpcsvc/*.
42617 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42618 instead of <rpc/types.h>.
42619 (MAXHOSTNAMELEN): Define.
42620
00ee369c
AS
426212011-05-03 Andreas Schwab <schwab@redhat.com>
42622
42623 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42624
0b592a30
MB
426252011-04-28 Maciej Babinski <mbabinski@google.com>
42626
42627 [BZ #12714]
42628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42629 gethostbyname4_r when IPv6 results are possible.
42630
6e04cbbe
UD
426312011-05-02 Ulrich Drepper <drepper@gmail.com>
42632
42633 [BZ #12723]
42634 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42635 _PC_PIPE_BUF handling.
42636
e4ecafe0
BH
426372011-04-30 Bruno Haible <bruno@clisp.org>
42638
42639 [BZ #12717]
42640 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42641 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42642 to 'int'.
42643 * inet/getnameinfo.c (getnameinfo): Likewise.
42644
125ee683
UD
426452011-04-29 Ulrich Drepper <drepper@gmail.com>
42646
42647 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42648 to groups setting in database lookup.
42649 * nss/nsswitch.conf: Add initgroups entry.
42650
b722481a
EB
426512011-04-22 Ulrich Drepper <drepper@gmail.com>
42652
42653 [BZ #12685]
42654 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42655 mode string.
42656 Patch by Eric Blake <eblake@redhat.com>.
42657
4df46dbd
L
426582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42659
42660 * sunrpc/Makefile (need-export-routines): Add svc_run.
42661 (routines): Remove svc_run.
42662 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42663 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42664 * sunrpc/svc_run.c (svc_run): Likewise.
42665 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42666
e84142d2
UD
426672011-04-21 Ulrich Drepper <drepper@gmail.com>
42668
42669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42670 problem in reallocation in last patch.
42671
877175d8
UD
426722011-04-20 Ulrich Drepper <drepper@gmail.com>
42673
42674 * sunrpc/Makefile: Move inclusion of Rules.
42675
ab8eed78
UD
426762011-04-19 Ulrich Drepper <drepper@gmail.com>
42677
42678 * nss/nss_files/files-initgroups.c: New file.
42679 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42680 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42681 _nss_files_initgroups_dyn.
42682
e3d8f584
RS
426832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42684
42685 * elf/elf.h (R_ARM_IRELATIVE): Define.
42686
af190f45
UD
426872011-04-19 Ulrich Drepper <drepper@gmail.com>
42688
42689 * po/ru.po: Update from translation team.
42690
53cf59ef
UD
426912011-04-17 Ulrich Drepper <drepper@gmail.com>
42692
42693 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42694 dependencies.
42695
4c559bcd
MF
426962011-02-06 Mike Frysinger <vapier@gentoo.org>
42697
42698 [BZ #12653]
42699 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42700 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42701 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42703 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42704
4420675c
AS
427052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42706
42707 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42708 differing bytes.
42709 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42712
75ea32ab
UD
427132011-04-17 Ulrich Drepper <drepper@gmail.com>
42714
42715 [BZ #12420]
42716 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42717 storing it.
42718 * stdlib/bug-getcontext.c: New file.
42719 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42720
27390476
AK
427212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42722
42723 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42724 instructions into .machine "z9-109".
42725 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42726 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42727
10442705
AK
427282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42729
42730 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42731 between environment variables and auxiliary vector.
42732
7b57bfe5
UD
427332011-04-16 Ulrich Drepper <drepper@gmail.com>
42734
42735 * Makefile: Add rules to build linkobj/libc.so.
42736 * include/libc-symbols.h: Define libc_hidden_nolink.
42737 * include/rpc/auth.h: Mark functions which are to be hidden.
42738 * include/rpc/auth_des.h: Likewise.
42739 * include/rpc/auth_unix.h: Likewise.
42740 * include/rpc/clnt.h: Likewise.
42741 * include/rpc/des_crypt.h: Likewise.
42742 * include/rpc/key_prot.h: Likewise.
42743 * include/rpc/pmap_clnt.h: Likewise.
42744 * include/rpc/pmap_prot.h: Likewise.
42745 * include/rpc/pmap_rmt.h: Likewise.
42746 * include/rpc/rpc_msg.h: Likewise.
42747 * include/rpc/svc.h: Likewise.
42748 * include/rpc/svc_auth.h: Likewise.
42749 * include/rpc/xdr.h: Likewise.
42750 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42751 * nss/Makefile: Likewise.
42752 * sunrpc/Makefile: Don't install headers. Build library with normal
42753 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42754 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42755 for the compat linking library. Remove use of INTDEF/INTUSE.
42756 * sunrpc/auth_none.c: Likewise.
42757 * sunrpc/auth_unix.c: Likewise.
42758 * sunrpc/authdes_prot.c: Likewise.
42759 * sunrpc/authuxprot.c: Likewise.
42760 * sunrpc/clnt_gen.c: Likewise.
42761 * sunrpc/clnt_perr.c: Likewise.
42762 * sunrpc/clnt_raw.c: Likewise.
42763 * sunrpc/clnt_simp.c: Likewise.
42764 * sunrpc/clnt_tcp.c: Likewise.
42765 * sunrpc/clnt_udp.c: Likewise.
42766 * sunrpc/clnt_unix.c: Likewise.
42767 * sunrpc/des_crypt.c: Likewise.
42768 * sunrpc/des_soft.c: Likewise.
42769 * sunrpc/get_myaddr.c: Likewise.
42770 * sunrpc/key_call.c: Likewise.
42771 * sunrpc/key_prot.c: Likewise.
42772 * sunrpc/netname.c: Likewise.
42773 * sunrpc/pm_getmaps.c: Likewise.
42774 * sunrpc/pm_getport.c: Likewise.
42775 * sunrpc/pmap_clnt.c: Likewise.
42776 * sunrpc/pmap_prot.c: Likewise.
42777 * sunrpc/pmap_prot2.c: Likewise.
42778 * sunrpc/pmap_rmt.c: Likewise.
42779 * sunrpc/publickey.c: Likewise.
42780 * sunrpc/rpc_cmsg.c: Likewise.
42781 * sunrpc/rpc_common.c: Likewise.
42782 * sunrpc/rpc_dtable.c: Likewise.
42783 * sunrpc/rpc_prot.c: Likewise.
42784 * sunrpc/rpc_thread.c: Likewise.
42785 * sunrpc/rtime.c: Likewise.
42786 * sunrpc/svc.c: Likewise.
42787 * sunrpc/svc_auth.c: Likewise.
42788 * sunrpc/svc_authux.c: Likewise.
42789 * sunrpc/svc_raw.c: Likewise.
42790 * sunrpc/svc_run.c: Likewise.
42791 * sunrpc/svc_simple.c: Likewise.
42792 * sunrpc/svc_tcp.c: Likewise.
42793 * sunrpc/svc_udp.c: Likewise.
42794 * sunrpc/svc_unix.c: Likewise.
42795 * sunrpc/svcauth_des.c: Likewise.
42796 * sunrpc/xcrypt.c: Likewise.
42797 * sunrpc/xdr.c: Likewise.
42798 * sunrpc/xdr_array.c: Likewise.
42799 * sunrpc/xdr_float.c: Likewise.
42800 * sunrpc/xdr_intXX_t.c: Likewise.
42801 * sunrpc/xdr_mem.c: Likewise.
42802 * sunrpc/xdr_rec.c: Likewise.
42803 * sunrpc/xdr_ref.c: Likewise.
42804 * sunrpc/xdr_sizeof.c: Likewise.
42805 * sunrpc/xdr_stdio.c: Likewise.
42806
e6c61494
UD
428072011-04-10 Ulrich Drepper <drepper@gmail.com>
42808
42809 [BZ #12650]
42810 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42811 * sysdeps/ia64/dl-tls.h: Likewise.
42812 * sysdeps/powerpc/dl-tls.h: Likewise.
42813 * sysdeps/s390/dl-tls.h: Likewise.
42814 * sysdeps/sh/dl-tls.h: Likewise.
42815 * sysdeps/sparc/dl-tls.h: Likewise.
42816 * sysdeps/x86_64/dl-tls.h: Likewise.
42817 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42818
34fe483e
AS
428192011-03-14 Andreas Schwab <schwab@redhat.com>
42820
42821 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42822 rpath element also skip the following colon.
42823 (expand_dynamic_string_token): Add is_path parameter and pass
42824 down to DL_DST_REQUIRED and _dl_dst_substitute.
42825 (decompose_rpath): Call expand_dynamic_string_token with
42826 non-zero is_path. Ignore empty rpaths.
42827 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42828 with zero is_path.
42829
f12a32e6
AS
428302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42831
42832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42833 Make cancelable.
42834
38a7d692
UD
428352011-04-09 Ulrich Drepper <drepper@gmail.com>
42836
42837 [BZ #12655]
42838 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42839 Patch by Filipe David Manana <fdmanana@apache.org>.
42840
e451d22b
AS
428412011-04-07 Andreas Schwab <schwab@redhat.com>
42842
42843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42844 Maintain aligned stack.
42845 (CHECK_RSP): Remove unused macro.
42846
dedc7c7b
UD
428472011-04-03 Ulrich Drepper <drepper@gmail.com>
42848
42849 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42850 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42851
94521213
UD
428522011-04-02 Ulrich Drepper <drepper@gmail.com>
42853
42854 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42855
8cb700c0 42856 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42857
0354e355
L
428582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42859
42860 [BZ #12518]
42861 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42862 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42863 * sysdeps/x86_64/memmove.c: New file.
42864 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42865 (memcpy): Renamed to ...
42866 (__new_memcpy): This.
42867 (memcpy): Provide GLIBC_2_14 memcpy.
42868 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42869 (memcpy): Provide GLIBC_2_2_5 memcpy.
42870
8593482f
UD
428712011-04-01 Ulrich Drepper <drepper@gmail.com>
42872
42873 [BZ #12631]
42874 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42875
81a5726b
AS
428762011-03-30 Andreas Schwab <schwab@redhat.com>
42877
42878 * misc/syncfs.c: New file.
42879 * misc/Makefile (routines): Add syncfs.
42880 * posix/unistd.h: Declare syncfs.
42881 * sysdeps/unix/syscalls.list: Add syncfs.
42882
00e5419f
AS
428832011-04-01 Andreas Schwab <schwab@redhat.com>
42884
42885 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42886 open_by_handle_at.
42887 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42888 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42890 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42892 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42893 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42894
748876bf
UD
428952011-04-01 Ulrich Drepper <drepper@gmail.com>
42896
658e451d
UD
42897 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42898 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42899 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42904
748876bf
UD
42905 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42906 sync_file_range.c with -fexceptions.
42907 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42908 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42909 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42910 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42911 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42912 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42914 sync_file_range as cancellation point
42915 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42916 now a wrapper around __call_sync_file_range with cancellation handling.
42917 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42918 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42919 function name to __call_sync_file_range.
42920 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42921 Add call_sync_file_range.
748876bf 42922
6e63d5e1
AS
429232011-04-01 Andreas Schwab <schwab@redhat.com>
42924
42925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42926 bits/timex.h.
6e63d5e1 42927
46998f74
UD
429282011-04-01 Ulrich Drepper <drepper@gmail.com>
42929
4c1423ed
UD
42930 * iconv/iconv.h: Fix typo in comment.
42931 * io/fcntl.h: Likewise.
42932 * libio/stdio.h: Likewise.
42933 * posix/spawn.h: Likewise.
42934 * posix/unistd.h: Likewise.
42935 * stdlib/stdlib.h: Likewise.
42936 * time/time.h: Likewise.
42937 * wcsmbs/wchar.h: Likewise.
42938
158648c0
UD
42939 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42940 open_by_handle): Add.
42941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42942 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42943 Augment a few comments.
42944 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42949 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42950 open_by_handle.
42951
46998f74
UD
42952 * io/fcntl.h (AT_EMPTY_PATH): Define.
42953
83fe108b
UD
429542011-03-30 Ulrich Drepper <drepper@gmail.com>
42955
42956 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42957 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42958 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42959 to...
42960 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42961 * Versions.def: Add GLIBC_2.14.
42962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42963 Export.
83fe108b 42964
bb242059
UD
429652011-03-22 Ulrich Drepper <drepper@gmail.com>
42966
42967 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42968 round counter.
42969 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42970
c97a1282
L
429712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42972
42973 [BZ #12597]
42974 * string/test-strncmp.c (do_page_test): New function.
42975 (check2): Likewise.
42976 (test_main): Call check2.
42977 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42978
2a115601
UD
429792011-03-20 Ulrich Drepper <drepper@gmail.com>
42980
42981 [BZ #12587]
42982 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42983 Handle cache information in CPU leaf 4.
42984 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42985
8126d904
UD
429862011-03-18 Ulrich Drepper <drepper@gmail.com>
42987
042c49c6 42988 [BZ #12583]
8126d904
UD
42989 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42990 character representation.
42991 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42992
ccfe366e
RA
429932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42994
42995 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42996 END(__isnan) to END(__isnanf) to match function entry point/label
42997 EALIGN(__isnanf,...).
42998
c6e13027
JJ
429992011-03-10 Jakub Jelinek <jakub@redhat.com>
43000
43001 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43002
33f85a3f
UD
430032011-03-10 Ulrich Drepper <drepper@gmail.com>
43004
028478fa
UD
43005 [BZ #12510]
43006 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43007 copy from the symbol referenced in the relocation to initialize the
43008 used variable.
43009 Patch by Piotr Bury <pbury@goahead.com>.
43010 * elf/Makefile: Add rules to build and tst-unique3.
43011 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43012 * elf/tst-unique3.cc: New file.
43013 * elf/tst-unique3.h: New file.
43014 * elf/tst-unique3lib.cc: New file.
43015 * elf/tst-unique3lib2.cc: New file.
43016
33f85a3f
UD
43017 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43018
03592fc7
MF
430192011-03-10 Mike Frysinger <vapier@gentoo.org>
43020
43021 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43022 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43023 to _start.
03592fc7 43024
6a5ee102
UD
430252011-03-06 Ulrich Drepper <drepper@gmail.com>
43026
43027 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43028 to-be-loaded object along a path to loader is ld.so.
43029
7e4ba49c
HJ
430302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43031 Ulrich Drepper <drepper@gmail.com>
43032
43033 * sysdeps/x86_64/memset.S: After aligning destination, code
43034 branches to different locations depending on the value of
43035 misalignment, when multiarch is enabled. Fix this.
43036
430372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43038
43039 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43040 Set _x86_64_preferred_memory_instruction for AMD processsors.
43041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43042 Set bit_Prefer_SSE_for_memop for AMD processors.
43043
13a804de
UD
430442011-03-04 Ulrich Drepper <drepper@gmail.com>
43045
43046 * libio/fmemopen.c (fmemopen): Optimize a bit.
43047
9d25c392
AS
430482011-03-03 Andreas Schwab <schwab@redhat.com>
43049
43050 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43051
a5543c6a
RM
430522011-03-03 Roland McGrath <roland@redhat.com>
43053
43054 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43055
012d35f7
DM
430562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43057
7e4ba49c 43058 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43059 __bzero_ultra1 instead of __memset_ultra1.
43060
4bff6e01
AS
430612011-02-23 Andreas Schwab <schwab@redhat.com>
43062 Ulrich Drepper <drepper@gmail.com>
43063
43064 [BZ #12509]
43065 * include/link.h (struct link_map): Add l_orig_initfini.
43066 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43067 returning unsuccessfully.
43068 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43069 close of a file loaded at startup, restore the original l_initfini
43070 list.
43071 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43072 list, store the pointer.
43073 * elf/Makefile ($(objpfx)noload-mem): New rule.
43074 (noload-ENV): Define.
43075 (tests): Add $(objpfx)noload-mem.
43076 * elf/noload.c: Include <memcheck.h>.
43077 (main): Call mtrace. Close all opened handles.
43078
f2092faf
AS
430792011-02-17 Andreas Schwab <schwab@redhat.com>
43080
43081 [BZ #12454]
43082 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43083 dependencies are missing.
43084
6c8a2e88
ST
430852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43086
f2092faf 43087 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43088 Hurd needs munmap.
43089 * sysdeps/mach/hurd/ifreq.h: New file.
43090
84a42118
PB
430912011-01-27 Petr Baudis <pasky@suse.cz>
43092 Ulrich Drepper <drepper@gmail.com>
43093
071f805e 43094 [BZ 12445]#
84a42118
PB
43095 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43096 to extend_alloca().
43097 * stdio-common/bug23.c: New file.
43098 * stdio-common/Makefile (tests): Add bug23.
43099
e23fe25b
AS
431002010-09-28 Andreas Schwab <schwab@redhat.com>
43101 Ulrich Drepper <drepper@gmail.com>
43102
43103 [BZ #12489]
43104 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43105 before performing relro protection. At old place add assertion
43106 to make sure nothing changed.
43107
d3f02e10
NS
431082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43109 Glauber de Oliveira Costa <glommer@gmail.com>
43110
43111 * elf/elf.h: Add new ARM TLS relocs.
43112
d55fd7a5
RA
431132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43114
43115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43116 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43117 cast from r3.
43118 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43119 'tests' variable.
43120 * sysdeps/wordsize-64/tst-writev.c: New file.
43121
2206397e
RA
431222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43123
43124 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43125 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43126 insns in _dl_start to prevent a TOC reference before relocs are
43127 resolved.
43128
e9433893
UD
431292011-02-15 Ulrich Drepper <drepper@gmail.com>
43130
43131 [BZ #12469]
43132 * Makeconfig: Remove RANLIB definition.
43133 * Makerules: Don't use RANLIB.
43134 * aclocal.m4: Remove ranlib test.
43135 * configure.in: No need to check for ranlib.
43136 * elf/rtld-Rules: Don't use RANLIB.
43137
f75286c6
ST
431382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43139
8e31c82d
ST
43140 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43141 protection macro.
43142 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43143 inclusion protection macro.
43144
f75286c6
ST
43145 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43146 SIGRTMIN and SIGRTMAX and print information in that case only when
43147 SIGRTMIN is defined.
43148
c1d0e639
JJ
431492011-02-11 Jakub Jelinek <jakub@redhat.com>
43150
43151 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43152 arginfo fn returning -1.
43153
43154 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43155 and thousands string is zero terminated.
43156
edf9294e
AS
431572011-02-03 Andreas Schwab <schwab@redhat.com>
43158
43159 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43160 sysdeps/unix/sysv/linux/bits/socket.h.
43161
2b7e92df
ST
431622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43163
edf9294e
AS
43164 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43165 (__CPU_COUNT): Remove old macros.
43166 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43167 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43168 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43169 (__sched_cpualloc, __sched_cpufree): Add declarations.
43170
a4c7ea7b
UD
431712011-02-05 Ulrich Drepper <drepper@gmail.com>
43172
43173 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43174 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43175 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43176 (readdhstai): Return value of addhstaiX call.
43177 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43178 (addgrbyX): Return value returned by cache_addgr.
43179 (readdgrbyname): Return value returned by addgrbyX.
43180 (readdgrbygid): Likewise.
43181 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43182 (addpwbyX): Return value returned by cache_addpw.
43183 (readdpwbyname): Return value returned by addhstbyX.
43184 (readdpwbyuid): Likewise.
43185 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43186 (addservbyX): Return value returned by cache_addserv.
43187 (readdservbyname): Return value returned by addservbyX:
43188 (readdservbyport): Likewise.
43189 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43190 (addhstbyX): Return value returned by cache_addhst.
43191 (readdhstbyname): Return value returned by addhstbyX.
43192 (readdhstbyaddr): Likewise.
43193 (readdhstbynamev6): Likewise.
43194 (readdhstbyaddrv6): Likewise.
43195 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43196 (readdinitgroups): Return value returned by addinitgroupsX.
43197 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43198 (prune_cache): Keep track of timeout value of re-added entries.
43199 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43200 * nscd/nscd.h: Adjust prototypes of readd* functions.
43201
a0bf67cc
RM
432022011-02-04 Roland McGrath <roland@redhat.com>
43203
43204 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43205 (nis_stats): Likewise.
43206 * nis/nis_modify.c (nis_modify): Likewise.
43207 * nis/nis_remove.c (nis_remove): Likewise.
43208 * nis/nis_add.c (nis_add): Likewise.
43209
43210 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43211
43212 * posix/fnmatch_loop.c: Add some consts.
43213
43214 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43215
435b95eb
L
432162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43217
43218 [BZ #12460]
43219 * config.make.in (config-cflags-novzeroupper): Define.
43220 * configure.in: Substitute libc_cv_cc_novzeroupper.
43221 * elf/Makefile (AVX-CFLAGS): Define.
43222 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43223 (CFLAGS-tst-auditmod4a.c): Likewise.
43224 (CFLAGS-tst-auditmod4b.c): Likewise.
43225 (CFLAGS-tst-auditmod6b.c): Likewise.
43226 (CFLAGS-tst-auditmod6c.c): Likewise.
43227 (CFLAGS-tst-auditmod7b.c): Likewise.
43228 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43229
8517b15e
UD
432302011-02-02 Ulrich Drepper <drepper@gmail.com>
43231
43232 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43233 function to the callback.
43234 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43235
10a656fe
AS
432362011-02-02 Andreas Schwab <schwab@redhat.com>
43237
43238 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43239 of errno.
43240
968dad0a
UD
432412011-01-19 Ulrich Drepper <drepper@gmail.com>
43242
9f94d2ea 43243 [BZ #11724]
968dad0a
UD
43244 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43245 of constructors.
43246 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43247 of destructors.
43248 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43249
43250 [BZ #11724]
43251 * elf/Makefile: Add rules to build and run new test.
43252 * elf/tst-initorder.c: New file.
43253 * elf/tst-initorder.exp: New file.
43254 * elf/tst-initordera1.c: New file.
43255 * elf/tst-initordera2.c: New file.
43256 * elf/tst-initordera3.c: New file.
43257 * elf/tst-initordera4.c: New file.
43258 * elf/tst-initorderb1.c: New file.
43259 * elf/tst-initorderb2.c: New file.
43260 * elf/tst-order-a1.c: New file.
43261 * elf/tst-order-a2.c: New file.
43262 * elf/tst-order-a3.c: New file.
43263 * elf/tst-order-a4.c: New file.
43264 * elf/tst-order-b1.c: New file.
43265 * elf/tst-order-b2.c: New file.
43266 * elf/tst-order-main.c: New file.
43267 New test case by George Gensure <werkt0@gmail.com>.
43268
86e92359
UD
432692010-10-01 Andreas Schwab <schwab@redhat.com>
43270
43271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43272 decoding ACE if AI_CANONIDN.
43273
5d5732b0
UD
432742011-01-18 Ulrich Drepper <drepper@gmail.com>
43275
43276 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43277
a77e8cbc
UD
432782011-01-17 Ulrich Drepper <drepper@gmail.com>
43279
6392473f
UD
43280 * version.h (RELEASE): Bump for 2.13 release.
43281 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43282
620a0529
UD
43283 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43284
18ba70a5
UD
43285 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43286 MADV_NOHUGEPAGE.
32465c3e
UD
43287 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43288 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43289 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43291 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43293
c0dafcf1
UD
43294 * posix/getconf.c: Update copyright year.
43295 * catgets/gencat.c: Likewise.
43296 * csu/version.c: Likewise.
43297 * debug/catchsegv.sh: Likewise.
43298 * debug/xtrace.sh: Likewise.
43299 * elf/ldconfig.c: Likewise.
43300 * elf/ldd.bash.in: Likewise.
43301 * elf/sprof.c (print_version): Likewise.
43302 * iconv/iconv_prog.c: Likewise.
43303 * iconv/iconvconfig.c: Likewise.
43304 * locale/programs/locale.c: Likewise.
43305 * locale/programs/localedef.c: Likewise.
43306 * malloc/memusage.sh: Likewise.
43307 * malloc/mtrace.pl: Likewise.
43308 * nscd/nscd.c (print_version): Likewise.
43309 * nss/getent.c: Likewise.
43310
a77e8cbc
UD
43311 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43312 PF_CAIF, and PF_ALG.
43313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43314
77e8bddf
AS
433152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43316
1f20b93a
AS
43317 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43318 (modules-names): Use them.
43319 (ifunc-test-modules, ifunc-pie-tests): Define.
43320 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43321 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43322 (test-extras): Likewise.
43323 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43324 $(compile-command.c).
43325 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43326 (all-built-dso): Define.
43327 (check-textrel.out, check-execstack.out): Depend on it.
43328
77e8bddf
AS
43329 * configure.in: Don't override --enable-multi-arch.
43330
bc425b33
UD
433312011-01-15 Ulrich Drepper <drepper@gmail.com>
43332
43333 [BZ #6812]
43334 * nscd/hstcache.c (tryagain): Define.
43335 (cache_addhst): Return tryagain not notfound for temporary errors.
43336 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43337 failed.
43338
794c3ad3
UD
433392011-01-14 Ulrich Drepper <drepper@gmail.com>
43340
70181fdd
UD
43341 [BZ #10563]
43342 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43343 to make the syscall.
43344 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43345
794c3ad3
UD
43346 [BZ #12378]
43347 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43348 and fall back to matching as normal character if the string ends before
43349 the matching ']' is found. This is what POSIX requires.
43350 * posix/testfnm.c: Adjust test result.
43351 * posix/globtest.sh: Adjust test result. Add new test.
43352 * posix/tst-fnmatch.input: Likewise.
43353 * posix/tst-fnmatch2.c: Add new test.
43354
68dc9497
AS
433552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43356
43357 * elf/Makefile (check-execstack): Revert last change. Depend on
43358 check-execstack.h.
43359 (check-execstack.h): New target.
43360 (generated): Add check-execstack.h.
43361 * elf/check-execstack.c: Include "check-execstack.h".
43362 (main): Revert last change.
43363 (handle_file): Return zero if GNU_STACK is absent and
43364 DEFAULT_STACK_PERMS doesn't include PF_X.
43365
451f001b
UD
433662011-01-13 Ulrich Drepper <drepper@gmail.com>
43367
cfa28e56
UD
43368 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43369 in child fails because the descriptor is already closed.
8cf8ce17
UD
43370 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43371 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43372 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43373
1086d70d
UD
43374 [BZ #12397]
43375 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43376 syscall.
43377
451f001b
UD
43378 [BZ #10484]
43379 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43380 temporary buffer used to handle multi lookups locally.
a85b5cb4 43381 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43382
08769175
UD
433832011-01-12 Ulrich Drepper <drepper@gmail.com>
43384
43385 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43386 loader is ld.so.
43387
5e49c52e
UD
433882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43389
43390 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43391 alignment for SSE2.
43392
60522a5f
UD
433932011-01-12 Ulrich Drepper <drepper@gmail.com>
43394
43395 [BZ #12394]
43396 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43397 characters. When rounding increased number of integer digits recompute
43398 number of groups.
43399 * stdio-common/tst-grouping.c: New file.
43400 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43401
f257bbd7
UD
434022011-01-09 Ulrich Drepper <drepper@gmail.com>
43403
43404 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43405 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43406
43407 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43408 void.
43409 * bits/select.h: Likewise.
43410
fa9c15cb
UD
434112011-01-08 Ulrich Drepper <drepper@gmail.com>
43412
43413 * po/ja.po: Update from translation team.
43414
16c2895f
DM
434152011-01-04 David S. Miller <davem@sunset.davemloft.net>
43416
43417 [BZ #11155]
43418 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43419 implementation just like for lxstat, fxstatat, et al.
43420
2543fef2
JM
434212010-12-27 Jim Meyering <meyering@redhat.com>
43422
43423 [BZ #12348]
43424 * posix/regexec.c (build_trtable): Return failure indication upon
43425 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43426
98727dbe
UD
434272010-12-25 Ulrich Drepper <drepper@gmail.com>
43428
5bd6dc5c
UD
43429 [BZ #12201]
43430 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43431 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43432 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43433 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43434
97983464
UD
43435 [BZ #12207]
43436 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43437
98727dbe
UD
43438 [BZ #12204]
43439 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43440 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43441
4a531bb0
L
434422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43443
43444 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43445 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43446 script has SORT_BY_INIT_PRIORITY.
43447 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43448 NO_CTORS_DTORS_SECTIONS is defined.
43449 * elf/soinit.c: Likewise.
43450 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43451 NO_CTORS_DTORS_SECTIONS is defined.
43452 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43453 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43454 * sysdeps/sh/init-first.c: Likewise.
43455 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43456
07eb4b71
UD
434572010-12-24 Ulrich Drepper <drepper@gmail.com>
43458
43459 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43460 always use the slow path.
43461
30950a5f
RA
434622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43463
43464 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43465 similar rule which adds the sysdep directories to the header search in
43466 order to pick up the correct platform stackinfo.h.
43467 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43468 perform test if it is, otherwise return successfully without testing.
43469 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43470 DEFAULT_STACK_PERMS define in stackinfo.h.
43471 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43472 defined in stackinfo.h.
43473 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43474 DEFAULT_STACK_PERMS defined in stackinfo.h.
43475 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43476 * sysdeps/ia64/stackinfo.h: Likewise.
43477 * sysdeps/s390/stackinfo.h: Likewise.
43478 * sysdeps/sh/stackinfo.h: Likewise.
43479 * sysdeps/sparc/stackinfo.h: Likewise.
43480 * sysdeps/x86_64/stackinfo.h: Likewise.
43481 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43482 PF_X for powerpc64. Retain PF_X for powerpc32.
43483
db753e2c
UD
434842010-12-19 Ulrich Drepper <drepper@gmail.com>
43485
14b697f7
UD
43486 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43487 accurately.
db753e2c
UD
43488 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43489 GETDENTS_64BIT_ALIGNED.
43490
28300719
UD
434912010-12-14 Ulrich Drepper <dreper@gmail.com>
43492
14b697f7 43493 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43494
4f197237
AS
434952010-12-10 Andreas Schwab <schwab@redhat.com>
43496
dbb0472f
AS
43497 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43498 _GNU_SOURCE.
43499
4f197237
AS
43500 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43501 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43502 Remove __restrict.
43503 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43504 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43505
fb88ac72
UD
435062010-12-09 Ulrich Drepper <drepper@gmail.com>
43507
43508 [BZ #11655]
43509 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43510 are initialized.
43511
42acbb92
JJ
435122010-12-09 Jakub Jelinek <jakub@redhat.com>
43513
43514 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43515
c038d98d
UD
435162010-12-03 Ulrich Drepper <drepper@gmail.com>
43517
43518 * po/it.po: Update from translation team.
43519
3a4a2499
L
435202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43521
43522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43523 unused codes.
43524
1e24cf6e
UD
435252010-11-30 Ulrich Drepper <drepper@gmail.com>
43526
43527 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43528
a7690819
AS
435292010-11-24 Andreas Schwab <schwab@redhat.com>
43530
43531 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43532 specially.
43533 (gaih_getanswer_slice): Likewise.
43534
3bf8d1b1
JJ
435352010-10-20 Jakub Jelinek <jakub@redhat.com>
43536
43537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43538
6db52fbb
PB
435392010-05-31 Petr Baudis <pasky@suse.cz>
43540
43541 [BZ #11149]
43542 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43543 silently even in the chroot mode.
43544
eaca7569
UD
435452010-11-22 Ulrich Drepper <drepper@gmail.com>
43546
43547 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43548 last patch a bit. Pretty printing
43549
3056dcdb
UD
435502010-05-31 Petr Baudis <pasky@suse.cz>
43551
43552 [BZ #10085]
43553 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43554 initialization of skip_initgroups_dyn.
43555
cf7c9078
UD
435562010-11-19 Ulrich Drepper <drepper@gmail.com>
43557
43558 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43559 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43560
a1fb5e3e
UD
435612010-11-16 Ulrich Drepper <drepper@gmail.com>
43562
43563 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43564
3540d66b
AS
435652010-11-11 Andreas Schwab <schwab@redhat.com>
43566
43567 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43568 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43569 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43570 ($(objpfx)tst-fnmatch-mem): New rule.
43571 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43572 * posix/tst-fnmatch.c (main): Call mtrace.
43573
13b69574
L
435742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43575
43576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43577 Support Intel processor model 6 and model 0x2c.
43578
da93d214
LM
435792010-11-10 Luis Machado <luisgpm@br.ibm.com>
43580
43581 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43582 signed comparison.
43583
8ca52c6e
L
435842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43585
43586 [BZ #12205]
43587 * string/test-strncasecmp.c (check_result): New function.
43588 (do_one_test): Use it.
43589 (check1): New function.
43590 (test_main): Use it.
43591 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43592 Support strcasecmp and strncasecmp.
43593
69da074d
UD
435942010-11-08 Ulrich Drepper <drepper@gmail.com>
43595
43596 [BZ #12194]
43597 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43598 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43599
ff02d528
L
436002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43601
43602 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43603 IFUNC support.
43604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43605 memset-x86-64.
43606 * sysdeps/x86_64/multiarch/bzero.S: New file.
43607 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43608 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43609 * sysdeps/x86_64/multiarch/memset.S: New file.
43610 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43612 Set bit_Prefer_SSE_for_memop for Intel processors.
43613 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43614 Define.
43615 (index_Prefer_SSE_for_memop): Define.
43616 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43617
344d0b54
LM
436182010-11-04 Luis Machado <luisgpm@br.ibm.com>
43619
43620 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43621 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43622
c0dde15b
UD
436232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43624
43625 [BZ #12191]
43626 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43627 (__x86_64_raw_data_cache_size_half): Likewise.
43628 (__x86_64_raw_shared_cache_size): Likewise.
43629 (__x86_64_raw_shared_cache_size_half): Likewise.
43630
43631 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43632 (__x86_64_raw_data_cache_size_half): Likewise.
43633 (__x86_64_raw_shared_cache_size): Likewise.
43634 (__x86_64_raw_shared_cache_size_half): Likewise.
43635 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43636 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43637 and __x86_64_raw_shared_cache_size_half. Round
43638 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43639 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43640 to multiple of 256 bytes.
43641
0e516e0e
MS
436422010-11-03 Ulrich Drepper <drepper@gmail.com>
43643
43644 [BZ #12167]
43645 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43646 of inacessible symlinks. Verify result of symlink before returning it.
43647 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43648 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43649
0e012e87
ER
436502010-10-28 Erich Ritz <erichritz@gmail.com>
43651
43652 * math/math.h (isinf): Fix typo in comment.
43653
de0ff7bc
UD
436542010-11-01 Ulrich Drepper <drepper@gmail.com>
43655
43656 * po/da.po: Update from translation team.
43657
fa41c84d
UD
436582010-10-26 Ulrich Drepper <drepper@gmail.com>
43659
43660 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43661 is added to the list.
43662
f0967738
AK
436632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43664 Ulrich Drepper <drepper@gmail.com>
43665
43666 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43667 the global list here. Move code to...
43668 (_dl_add_to_namespace_list): ...here. New function.
43669 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43670 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43671 * elf/dl-load.c (lose): Don't remove the element from the list.
43672 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43673 (_dl_map_object): Likewise.
43674
436752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43676
43677 [BZ #12159]
43678 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43679 into all bytes of SSE register.
43680 Patch by Richard Li <richardpku@gmail.com>.
43681
f0967738 436822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43683
43684 [BZ #12140]
43685 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43686 perturbing.
43687
d0b9e94f
MB
436882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43689
43690 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43691 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43692 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43693 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43695 submachine.
43696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43697
8e9f92e9
AS
436982010-10-22 Andreas Schwab <schwab@redhat.com>
43699
43700 * include/dlfcn.h (__RTLD_SECURE): Define.
43701 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43702 mode & __RTLD_SECURE instead.
43703 (open_path): Rename preloaded parameter to secure.
43704 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43705 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43706 * elf/dl-deps.c (openaux): Likewise.
43707 * elf/rtld.c (struct map_args): Remove is_preloaded.
43708 (map_doit): Don't use it.
43709 (dl_main): Likewise.
43710 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43711 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43712
bc96fbda
AS
437132010-09-09 Andreas Schwab <schwab@redhat.com>
43714
43715 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43716 (sysd-rules-targets): Remove duplicates.
43717 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43718 rtld-%.$o dependency.
43719
22cd1c9b
AS
437202010-10-18 Andreas Schwab <schwab@redhat.com>
43721
43722 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43723 _dl_map_object do it.
43724
18edac48
UD
437252010-10-19 Ulrich Drepper <drepper@gmail.com>
43726
43727 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43728 fast fma builtins, define the macros in the C99 standard.
43729 (FP_FAST_FMAF): Likewise.
43730 (FP_FAST_FMAL): Likewise.
43731 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43732
43733 * bits/mathdef.h: Update copyright year.
43734 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43735
d2050124
MM
437362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43737
43738 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43739 builtins, define the macros in the C99 standard.
43740 (FP_FAST_FMAF): Likewise.
43741 (FP_FAST_FMAL): Likewise.
43742 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43743 multiply/add.
43744 (FP_FAST_FMAF): Likewise.
43745
475facd1
JJ
437462010-10-15 Jakub Jelinek <jakub@redhat.com>
43747
43748 [BZ #3268]
43749 * math/libm-test.inc (fma_test): Some new testcases.
43750 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43751 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43752 y and infinite z. Do multiplication by C already in long double.
43753 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43755 y and infinite z. Do bitwise or of inexact bit into u.d.
43756 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43757 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43758 * sysdeps/i386/fpu/s_fma.S: Removed.
43759 * sysdeps/i386/fpu/s_fmal.S: Removed.
43760
7c08a05c
JJ
437612010-10-16 Jakub Jelinek <jakub@redhat.com>
43762
43763 [BZ #3268]
43764 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43765 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43766 computation is not scheduled after fetestexcept. Fix value
43767 of minimum denormal long double.
43768
f3f7372d
JJ
437692010-10-14 Jakub Jelinek <jakub@redhat.com>
43770
43771 [BZ #3268]
43772 * math/libm-test.inc (fma_test): Add some more tests.
43773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43774 correctly.
43775
14d43591
AS
437762010-10-15 Andreas Schwab <schwab@redhat.com>
43777
43778 * scripts/data/localplt-s390-linux-gnu.data: New file.
43779 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43780
5e908464
JJ
437812010-10-13 Jakub Jelinek <jakub@redhat.com>
43782
43783 [BZ #3268]
43784 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43785 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43786 instead of dbl-64.
43787 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43788 inlines.
43789 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43791 if one of x and y is very large and the other is subnormal.
43792 * sysdeps/s390/fpu/s_fmaf.c: New file.
43793 * sysdeps/s390/fpu/s_fma.c: New file.
43794 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43795 * sysdeps/powerpc/fpu/s_fma.S: New file.
43796 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43797 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43798 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43799
438002010-10-12 Jakub Jelinek <jakub@redhat.com>
43801
43802 [BZ #3268]
43803 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43804 fma tests.
43805 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43806 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43807 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43808 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43809 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43810 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43811 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43812
b833d51f
UD
438132010-10-12 Ulrich Drepper <drepper@redhat.com>
43814
43815 [BZ #12078]
43816 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43817 * posix/bug-regex31.input: Add test case.
43818
1751705d
UD
438192010-10-11 Ulrich Drepper <drepper@gmail.com>
43820
e9b9cbf5
UD
43821 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43822 * posix/bug-regex31.input: New file.
43823
43824 [BZ #12078]
43825 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43826 (parse_sub_exp): Fix last change, use postorder.
43827
ef06edbe
UD
43828 * posix/bug-regex31.c: New file.
43829 * posix/Makefile: Add rules to build and run bug-regex31.
43830
a129c80d
UD
43831 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43832
43833 [BZ #12078]
43834 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43835
b76b818e
UD
43836 [BZ #12108]
43837 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43838 to have entries in sys_siglist.
43839
1751705d
UD
43840 [BZ #12093]
43841 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43842 be NULL.
43843
9ff8d36f
JJ
438442010-10-07 Jakub Jelinek <jakub@redhat.com>
43845
43846 [BZ #3268]
43847 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43848 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43849 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43850 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43851 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43852 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43853 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43854 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43855 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43856 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43857 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43858 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43859 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43860 * math/ftestexcept.c (fetestexcept): Likewise.
43861 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43862 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43863 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43864 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43865 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43866 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43867 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43868
af325969
UD
438692010-10-11 Ulrich Drepper <drepper@gmail.com>
43870
c579b202 43871 [BZ #12107]
af325969
UD
43872 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43873 newline.
43874
67a67b95
UD
438752010-10-06 Ulrich Drepper <drepper@gmail.com>
43876
43877 * string/bug-strstr1.c: New file.
43878 * string/Makefile: Add rules to build and run bug-strstr1.
43879
5fb308bc
EB
438802010-10-05 Eric Blake <eblake@redhat.com>
43881
43882 [BZ #12092]
43883 * string/str-two-way.h (two_way_long_needle): Always clear memory
43884 when skipping input due to the shift table.
43885
45db99c7
UD
438862010-10-03 Ulrich Drepper <drepper@gmail.com>
43887
3b111893
UD
43888 [BZ #12005]
43889 * malloc/mcheck.c: Handle large requests.
43890
45db99c7
UD
43891 [BZ #12077]
43892 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43893 for strncmp and strncasecmp.
43894 * string/stratcliff.c: Add tests for strcmp and strncmp.
43895 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43896
cf7a1eb8
NI
438972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43898
43899 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43900 __set_fpscr.
43901
6484ba5e
AJ
439022010-09-30 Andreas Jaeger <aj@suse.de>
43903
43904 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43905 (CGROUP_SUPER_MAGIC): Define.
43906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43907 Handle btrfs and cgroup file systems.
43908 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43909 Likewise.
43910
91c42559
LM
439112010-09-27 Luis Machado <luisgpm@br.ibm.com>
43912
43913 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43914 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43915
87a97932
AK
439162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43917
43918 [BZ #12067]
43919 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43920 trying to locate the ELF header.
43921
c21cc9bc
AS
439222010-09-27 Andreas Schwab <schwab@redhat.com>
43923
43924 [BZ #11611]
43925 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43926 Mask out sign-bit copies when constructing f_fsid.
43927
315970f6
PB
439282010-09-24 Petr Baudis <pasky@suse.cz>
43929
43930 * debug/stack_chk_fail_local.c: Add missing licence exception.
43931 * debug/warning-nop.c: Likewise.
43932
1ac7a2c7
JM
439332010-09-15 Joseph Myers <joseph@codesourcery.com>
43934
43935 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43936 implementing getdents64 using getdents syscall, set d_type if
43937 __ASSUME_GETDENTS32_D_TYPE.
43938
56801c50
AS
439392010-09-16 Andreas Schwab <schwab@redhat.com>
43940
43941 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43942 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43943
dda51327
UD
439442010-09-21 Ulrich Drepper <drepper@redhat.com>
43945
43946 [BZ #12037]
43947 * posix/unistd.h: Undo change of feature selection for ftruncate from
43948 2010-01-11.
43949
8ffcee4a
UD
439502010-09-20 Ulrich Drepper <drepper@redhat.com>
43951
a545ecd9 43952 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43953 detection.
43954
e24f0a8b
AS
439552010-09-20 Andreas Schwab <schwab@redhat.com>
43956
43957 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43958 fanotify_mark.
43959 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43960
7291c56f
AS
439612010-09-14 Andreas Schwab <schwab@redhat.com>
43962
43963 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43964 variables after CHECK_SP call.
43965 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43966
bc5fb037
AS
439672010-09-13 Andreas Schwab <schwab@redhat.com>
43968 Ulrich Drepper <drepper@redhat.com>
43969
43970 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43971 re-relocationg ld.so.
43972 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43973 _dl_init_paths call.
43974 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43975 here anymore.
43976
e66e7419
UD
439772010-09-14 Ulrich Drepper <drepper@redhat.com>
43978
43979 * resolv/res_init.c (__res_vinit): Count the default server we added.
43980
c044aa75
CLT
439812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43982 Ulrich Drepper <drepper@redhat.com>
43983
43984 [BZ #11968]
43985 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43986 (____longjmp_chk): Use %ebx for saving value across system call.
43987 Add unwind info.
43988
32cf4069
AS
439892010-09-06 Andreas Schwab <schwab@redhat.com>
43990
43991 * manual/Makefile: Don't mix pattern rules with normal rules.
43992
817328ee
AS
439932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43994
43995 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43996 operation.
43997 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43998 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43999 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44000 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44001 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44002 Likewise.
44003
29fddf61
UD
440042010-09-04 Ulrich Drepper <drepper@redhat.com>
44005
44006 [BZ #11979]
44007 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44008 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44009
0959ffc9
UD
440102010-09-02 Ulrich Drepper <drepper@redhat.com>
44011
44012 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44013 * sysdeps/x86_64/addmul_1.S: Likewise.
44014 * sysdeps/x86_64/lshift.S: Likewise.
44015 * sysdeps/x86_64/mul_1.S: Likewise.
44016 * sysdeps/x86_64/rshift.S: Likewise.
44017 * sysdeps/x86_64/sub_n.S: Likewise.
44018 * sysdeps/x86_64/submul_1.S: Likewise.
44019
ece29840
ST
440202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44021
0959ffc9
UD
44022 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44023 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44024 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44025 * bits/sched.h [__need_schedparam]
ece29840 44026 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44027 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44028 (__defined_schedparam): Define to 1.
ece29840
ST
44029 (__sched_param): New structure, identical to sched_param.
44030 (__need_schedparam): Undefine.
44031
e53a31fe
MF
440322010-08-31 Mike Frysinger <vapier@gentoo.org>
44033
fdc0c10d
MF
44034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44035 (epoll_create1): Declare.
44036
e53a31fe
MF
44037 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44038
a726d796
AS
440392010-08-31 Andreas Schwab <schwab@redhat.com>
44040
44041 [BZ #7066]
44042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44043 shifting retval into place.
44044
2f3e3dc7
UD
440452010-09-01 Ulrich Drepper <drepper@redhat.com>
44046
f2933da9
UD
44047 * nis/rpcsvc/nis.h: Update copyright notice.
44048 * nis/rpcsvc/nis.x: Likewise.
44049 * nis/rpcsvc/nis_callback.h: Likewise.
44050 * nis/rpcsvc/nis_callback.x: Likewise.
44051 * nis/rpcsvc/nis_object.x: Likewise.
44052 * nis/rpcsvc/nis_tags.h: Likewise.
44053 * nis/rpcsvc/yp.h: Likewise.
44054 * nis/rpcsvc/yp.x: Likewise.
44055 * nis/rpcsvc/ypupd.h: Likewise.
44056 * nis/yp_xdr.c: Likewise.
44057 * nis/ypupdate_xdr.c: Likewise.
44058
2f3e3dc7
UD
44059 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44060 mainly the body of pmap_getport. Add parameters to specify timeouts.
44061 (pmap_getport): Use __libc_rpc_getport.
44062 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44063 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44064 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44065
f3dcc2f9
AS
440662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44067
44068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44069 fanotify_mark.
44070
6d34eb5b
RM
440712010-08-27 Roland McGrath <roland@redhat.com>
44072
44073 * sysdeps/i386/i686/multiarch/Makefile
44074 (CFLAGS-varshift.c): New variable.
44075
9ea3de11
UD
440762010-08-27 Ulrich Drepper <drepper@redhat.com>
44077
c96d23fc
UD
44078 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44079 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44080
9ea3de11
UD
44081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44082
44083 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44084
623aac7f
L
440852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44086
44087 * sysdeps/x86_64/strlen.S: Unroll the loop.
44088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44089 strlen-sse2 strlen-sse2-bsf.
44090 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44091 __strlen_no_bsf if bit_Slow_BSF is set.
44092 (__strlen_sse42): Removed.
44093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44094 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44095
8b2b7715
RM
440962010-08-25 Roland McGrath <roland@redhat.com>
44097
44098 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44099 * sysdeps/x86_64/multiarch/varshift.c: New file.
44100 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44101 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44102 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44103 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44104
e73015f2
L
441052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44106
44107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44108 strlen-sse2 strlen-sse2-bsf.
44109 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44110 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44111 (__strlen_sse2): Removed.
44112 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44115 bit_Slow_BSF for Atom.
44116 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44117 (index_Slow_BSF): Define.
44118 (HAS_SLOW_BSF): Define.
44119
df24a73e
UD
441202010-08-25 Ulrich Drepper <drepper@redhat.com>
44121
44122 [BZ #10851]
44123 * resolv/res_init.c (__res_vinit): When no server address at all
44124 is given default to loopback.
44125
f2ac4868
RM
441262010-08-24 Roland McGrath <roland@redhat.com>
44127
09055553
RM
44128 * configure.in: Remove config-name.h generation.
44129 * configure: Regenerated.
44130 * config-name.in: File removed.
44131 * scripts/config-uname.sh: New file.
44132 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44133 ($(objdir)config-name.h): New target.
44134
f2ac4868
RM
44135 * sunrpc/rpc_parse.h: Avoid nested comment.
44136
73f27d5e
RH
441372010-08-24 Richard Henderson <rth@redhat.com>
44138 Ulrich Drepper <drepper@redhat.com>
44139 H.J. Lu <hongjiu.lu@intel.com>
44140
44141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44143 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44144 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44145 _mm_alignr_epi8 with _mm_loadu_si128.
44146 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44147 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44148 (__m128i_shift_right): Removed.
44149 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44150 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44151 * sysdeps/x86_64/multiarch/varshift.h: New file.
44152 * sysdeps/x86_64/multiarch/varshift.S: New file.
44153
84b9230c
MF
441542010-08-21 Mike Frysinger <vapier@gentoo.org>
44155
44156 * configure.in: Move assembler checks to before sysdep dir checking.
44157
9bbd0ddc
PB
441582010-08-20 Petr Baudis <pasky@suse.cz>
44159
44160 * LICENSES: Sync the sunrpc license.
44161
9da4bb31
UD
441622010-08-19 Ulrich Drepper <drepper@redhat.com>
44163
a7ab6ec8
UD
44164 * sunrpc/auth_des.c: Update copyright notice once again.
44165 * sunrpc/auth_none.c: Likewise.
44166 * sunrpc/auth_unix.c: Likewise.
44167 * sunrpc/authdes_prot.c: Likewise.
44168 * sunrpc/authuxprot.c: Likewise.
44169 * sunrpc/bindrsvprt.c: Likewise.
44170 * sunrpc/clnt_gen.c: Likewise.
44171 * sunrpc/clnt_perr.c: Likewise.
44172 * sunrpc/clnt_raw.c: Likewise.
44173 * sunrpc/clnt_simp.c: Likewise.
44174 * sunrpc/clnt_tcp.c: Likewise.
44175 * sunrpc/clnt_udp.c: Likewise.
44176 * sunrpc/clnt_unix.c: Likewise.
44177 * sunrpc/des_crypt.c: Likewise.
44178 * sunrpc/des_soft.c: Likewise.
44179 * sunrpc/get_myaddr.c: Likewise.
44180 * sunrpc/getrpcport.c: Likewise.
44181 * sunrpc/key_call.c: Likewise.
44182 * sunrpc/key_prot.c: Likewise.
44183 * sunrpc/openchild.c: Likewise.
44184 * sunrpc/pm_getmaps.c: Likewise.
44185 * sunrpc/pm_getport.c: Likewise.
44186 * sunrpc/pmap_clnt.c: Likewise.
44187 * sunrpc/pmap_prot.c: Likewise.
44188 * sunrpc/pmap_prot2.c: Likewise.
44189 * sunrpc/pmap_rmt.c: Likewise.
44190 * sunrpc/rpc/auth.h: Likewise.
44191 * sunrpc/rpc/auth_unix.h: Likewise.
44192 * sunrpc/rpc/clnt.h: Likewise.
44193 * sunrpc/rpc/des_crypt.h: Likewise.
44194 * sunrpc/rpc/key_prot.h: Likewise.
44195 * sunrpc/rpc/netdb.h: Likewise.
44196 * sunrpc/rpc/pmap_clnt.h: Likewise.
44197 * sunrpc/rpc/pmap_prot.h: Likewise.
44198 * sunrpc/rpc/pmap_rmt.h: Likewise.
44199 * sunrpc/rpc/rpc.h: Likewise.
44200 * sunrpc/rpc/rpc_des.h: Likewise.
44201 * sunrpc/rpc/rpc_msg.h: Likewise.
44202 * sunrpc/rpc/svc.h: Likewise.
44203 * sunrpc/rpc/svc_auth.h: Likewise.
44204 * sunrpc/rpc/types.h: Likewise.
44205 * sunrpc/rpc/xdr.h: Likewise.
44206 * sunrpc/rpc_clntout.c: Likewise.
44207 * sunrpc/rpc_cmsg.c: Likewise.
44208 * sunrpc/rpc_common.c: Likewise.
44209 * sunrpc/rpc_cout.c: Likewise.
44210 * sunrpc/rpc_dtable.c: Likewise.
44211 * sunrpc/rpc_hout.c: Likewise.
44212 * sunrpc/rpc_main.c: Likewise.
44213 * sunrpc/rpc_parse.c: Likewise.
44214 * sunrpc/rpc_parse.h: Likewise.
44215 * sunrpc/rpc_prot.c: Likewise.
44216 * sunrpc/rpc_sample.c: Likewise.
44217 * sunrpc/rpc_scan.c: Likewise.
44218 * sunrpc/rpc_scan.h: Likewise.
44219 * sunrpc/rpc_svcout.c: Likewise.
44220 * sunrpc/rpc_tblout.c: Likewise.
44221 * sunrpc/rpc_util.c: Likewise.
44222 * sunrpc/rpc_util.h: Likewise.
44223 * sunrpc/rpcinfo.c: Likewise.
44224 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44225 * sunrpc/rpcsvc/key_prot.x: Likewise.
44226 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44227 * sunrpc/rpcsvc/mount.x: Likewise.
44228 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44229 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44230 * sunrpc/rpcsvc/rex.x: Likewise.
44231 * sunrpc/rpcsvc/rstat.x: Likewise.
44232 * sunrpc/rpcsvc/rusers.x: Likewise.
44233 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44234 * sunrpc/rpcsvc/spray.x: Likewise.
44235 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44236 * sunrpc/rtime.c: Likewise.
44237 * sunrpc/svc.c: Likewise.
44238 * sunrpc/svc_auth.c: Likewise.
44239 * sunrpc/svc_authux.c: Likewise.
44240 * sunrpc/svc_raw.c: Likewise.
44241 * sunrpc/svc_run.c: Likewise.
44242 * sunrpc/svc_simple.c: Likewise.
44243 * sunrpc/svc_tcp.c: Likewise.
44244 * sunrpc/svc_udp.c: Likewise.
44245 * sunrpc/svc_unix.c: Likewise.
44246 * sunrpc/svcauth_des.c: Likewise.
44247 * sunrpc/xcrypt.c: Likewise.
44248 * sunrpc/xdr.c: Likewise.
44249 * sunrpc/xdr_array.c: Likewise.
44250 * sunrpc/xdr_float.c: Likewise.
44251 * sunrpc/xdr_mem.c: Likewise.
44252 * sunrpc/xdr_rec.c: Likewise.
44253 * sunrpc/xdr_ref.c: Likewise.
44254 * sunrpc/xdr_sizeof.c: Likewise.
44255 * sunrpc/xdr_stdio.c: Likewise.
44256
9da4bb31
UD
44257 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44258 handling.
44259
bdaa77bc
AS
442602010-08-19 Andreas Schwab <schwab@redhat.com>
44261
44262 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44263
fe2f79db
LM
442642010-08-19 Luis Machado <luisgpm@br.ibm.com>
44265
44266 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44267 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44268 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44269 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44270 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44271 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44272 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44273 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44274 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44275 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44276 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44277 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44278 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44279 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44280
b9b42ee0
AB
442812010-07-26 Anton Blanchard <anton@samba.org>
44282
44283 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44284 * malloc/arena.c (heap_trim): Likewise.
44285
1c06ba31
UD
442862010-08-16 Ulrich Drepper <drepper@redhat.com>
44287
44288 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44289 here. Not...
44290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44291 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44292
f8392f40
L
442932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44294
44295 * sysdeps/i386/elf/Makefile: New file.
44296
3162f12e
AS
442972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44298
44299 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44300 from fanotify_init.
44301 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44303
28c90b2c
UD
443042010-08-15 Ulrich Drepper <drepper@redhat.com>
44305
44306 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44307 of strncasecmp_l.
1feccb6c 44308 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44309
ca6bb004
UD
443102010-08-14 Ulrich Drepper <drepper@redhat.com>
44311
e9f82e0d
UD
44312 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44313 strncase_l-nonascii.
44314 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44315 Add strncase_l-ssse3.
44316 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44317 * sysdeps/x86_64/strcmp.S: Likewise.
44318 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44319 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44320 * sysdeps/x86_64/strncase.S: New file.
44321 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44322 * sysdeps/x86_64/strncase_l.S: New file.
44323 * string/Makefile (strop-tests): Add strncasecmp.
44324 * string/test-strncasecmp.c: New file.
44325
44326 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44327 warning.
44328
ca6bb004
UD
44329 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44330 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44331
052fa7b3
AS
443322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44333
44334 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44335
962dba78
UD
443362010-08-12 Ulrich Drepper <drepper@redhat.com>
44337
44338 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44339 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44340 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44341
bebff237
AM
443422010-05-01 Alan Modra <amodra@gmail.com>
44343
44344 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44345 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44346 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44347 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44348 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44349 tidying. Don't tail-call __sigjmp_save for static lib.
44350 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44351 save location.
44352 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44353 (CALL_MCOUNT): Add eh info, and nop after bl.
44354 (TAIL_CALL_SYSCALL_ERROR): New macro.
44355 (PSEUDO_RET): Use it.
44356 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44357 Correct save location of integer regs and cr.
44358 (_dl_profile_resolve): Correct cr save location. Delete nops
44359 after bl when SHARED. Reduce cfi size a little by better
44360 placement of cfi directives.
44361 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44362 make a stack frame. Instead use parm save area as a temp.
44363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44364 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44366 Don't make a stack frame for parent, use parm save area.
44367 Increase child stack frame to 112 bytes. Don't save unused reg,
44368 and adjust reg usage. Set up cfi on error recovery and
44369 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44371 (__makecontext): Add dummy nop after jump to exit.
44372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44373 Use correct parm save area and cr save, reduce stack frame.
44374 Correct cfi for possible PSEUDO_RET frame setup.
44375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44376 Branch to local label emitted by PSEUDO_RET rather than
44377 __syscall_error.
44378
02637374
AS
443792010-08-12 Andreas Schwab <schwab@redhat.com>
44380
44381 [BZ #11904]
44382 * locale/programs/locale.c (print_assignment): New function.
44383 (show_locale_vars): Use it.
44384
c3e2f19b
UD
443852010-08-11 Ulrich Drepper <drepper@redhat.com>
44386
3cdaa6ad
UD
44387 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44388 field.
44389 (struct statfs64): Likewise.
44390 (_STATFS_F_FLAGS): Define.
44391 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44393 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44394 (ST_VALID): Define locally.
44395 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44396 __statvfs_getflags, use the provided value.
44397 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44398 __ASSUME_STATFS_F_FLAGS.
44399
754f7da3
UD
44400 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44401
10b3bedc
UD
44402 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44403 Add sys/fanotify.h.
44404 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44405 fanotify_mask for GLIBC_2.13.
44406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44407 fanotify_init and fanotify_mark.
44408 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44409 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44410
c08fb0d7
UD
44411 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44412 Add prlimit.
44413 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44414 prlimit64 for GLIBC_2.13.
44415 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44416 prlimit64.
44417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44418 syscall.
44419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44420 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44421 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44422 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44424 add prlimit alias.
44425 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44426
15bac72b
UD
44427 [BZ #11903]
44428 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44429 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44430
c3e2f19b
UD
44431 * nss/Makefile: Add rules to build and run tst-nss-test1.
44432 * shlib-versions: Add entry for libnss_test1.
44433 * nss/nss_test1.c: New file.
44434 * nss/tst-nss-test1.c: New file.
44435
44436 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44437 (__nss_configure_lookup): Set appropriate entry in
44438 __nss_configure_lookup to true.
44439 * nss/nsswitch.h: Define enum with indeces of databases in
44440 databases and __nss_database_custom arrays. Declare
44441 __nss_database_custom.
44442 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44443 to avoid using nscd when custom rules are installed.
44444 * nss/getXXbyYY_r.c: Likewise.
44445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44446
44447 * nss/nss_files/files-parse.c: Whitespace fixes.
44448
f15ce4d8
UD
444492010-08-09 Ulrich Drepper <drepper@redhat.com>
44450
44451 [BZ #11883]
44452 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44453 * posix/fnmatch_loop.c: Likewise.
44454
d22e4cc9
AK
444552010-07-17 Andi Kleen <ak@linux.intel.com>
44456
44457 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44458 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44459 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44460 * Versions.def [GLIBC_2.13]: Add.
44461
805bc17d
UD
444622010-08-06 Ulrich Drepper <drepper@redhat.com>
44463
44464 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44465 Also fail if tpwd after pwuid call is NULL.
44466
5a42321d
ST
444672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44468
44469 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44470 when converting to ms.
44471
fd3ebeda
ST
444722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44473
44474 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44475 EOPNOTSUPP errors with ENOTTY.
44476 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44477 EOPNOTSUPP errors with ENOTTY.
44478
73507d3a
UD
444792010-07-31 Ulrich Drepper <drepper@redhat.com>
44480
44481 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44482 Add strcasecmp_l-ssse3.
44483 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44484 strcasecmp.
44485 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44486 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44487 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44488
fe36dd02
UD
444892010-07-30 Ulrich Drepper <drepper@redhat.com>
44490
66f6765a
UD
44491 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44492
42e08a54
UD
44493 * string/Makefile (strop-tests): Add strcasecmp.
44494 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44495 strcasecmp_l-nonascii.
44496 (gen-as-const-headers): Add locale-defines.sym.
44497 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44498 * sysdeps/x86_64/strcasecmp.S: New file.
44499 * sysdeps/x86_64/strcasecmp_l.S: New file.
44500 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44501 * sysdeps/x86_64/locale-defines.sym: New file.
44502 * string/test-strcasecmp.c: New file.
44503
fe36dd02
UD
44504 * string/test-strcasestr.c: Test both ends of the range of characters.
44505 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44506
48cbc0d6
RM
445072010-07-29 Roland McGrath <roland@redhat.com>
44508
76e6d6bc 44509 [BZ #11856]
48cbc0d6
RM
44510 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44511
880113d9
UD
445122010-07-27 Ulrich Drepper <drepper@redhat.com>
44513
44514 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44515 for ld.so.
44516
deb9cabb
AS
445172010-07-27 Andreas Schwab <schwab@redhat.com>
44518
44519 * manual/memory.texi (Malloc Tunable Parameters): Document
44520 M_PERTURB.
44521
1c7570ff
RM
445222010-07-26 Roland McGrath <roland@redhat.com>
44523
44524 [BZ #11840]
44525 * configure.in (-fgnu89-inline check): Set and substitute
44526 gnu89_inline, not libc_cv_gnu89_inline.
44527 * configure: Regenerated.
44528 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44529
24fb0f88
UD
445302010-07-26 Ulrich Drepper <drepper@redhat.com>
44531
44532 * string/test-strnlen.c: New file.
44533 * string/Makefile (strop-tests): Add strnlen.
44534 * string/tester.c (test_strnlen): Add a few more test cases.
44535 * string/tst-strlen.c: Better error reporting.
44536
44537 * sysdeps/x86_64/strnlen.S: New file.
44538
8e96b93a
UD
445392010-07-24 Ulrich Drepper <drepper@redhat.com>
44540
44541 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44542 lower-latency instructions.
44543
dbc676d4
UD
445442010-07-23 Ulrich Drepper <drepper@redhat.com>
44545
44546 * string/test-strcasestr.c: New file.
44547 * string/test-strstr.c: New file.
44548 * string/Makefile (strop-tests): Add strstr and strcasestr.
44549 * string/str-two-way.h: Don't undefine MAX.
44550 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44551
f6a31e0e
AS
445522010-07-21 Andreas Schwab <schwab@redhat.com>
44553
44554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44555 strcasestr-nonascii.
44556 (CFLAGS-strcasestr-nonascii.c): Define.
44557 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44558 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44559 Remove unused attribute.
44560
5dbc3b6c
RM
445612010-07-20 Roland McGrath <roland@redhat.com>
44562
44563 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44564 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44565 ld.so.cache was broken. With it, there is no way to disable dsocaps
44566 like LD_HWCAP_MASK can disable hwcaps.
44567
23d101d8
EPM
445682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44569
44570 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44571
cc9f2e47
UD
445722010-07-16 Ulrich Drepper <drepper@redhat.com>
44573
44574 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44575 call in strcasestr.
44576 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44577 __strcasestr_sse42_nonascii.
44578 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44579 strcasestr-nonascii.c.
44580 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44581
77c1b069
LM
445822010-06-15 Luis Machado <luisgpm@br.ibm.com>
44583
44584 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44585 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44586 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44587 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44588
440566c3
UD
445892010-07-09 Ulrich Drepper <drepper@redhat.com>
44590
44591 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44592 fcntl.
44593
5be9d05d
AS
445942010-07-06 Andreas Schwab <schwab@redhat.com>
44595
c30b7ee2 44596 [BZ #11577]
5be9d05d
AS
44597 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44598 dl_signal_cerror.
44599
8a492a67
UD
446002010-07-06 Ulrich Drepper <drepper@redhat.com>
44601
44602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44603 _PC_PIPE_BUF using F_GETPIPE_SZ.
44604
713df3d5
RM
446052010-07-05 Roland McGrath <roland@redhat.com>
44606
44607 * manual/arith.texi (Rounding Functions): Fix rint description
44608 implicit in round description.
44609
702e8f14
UD
446102010-07-02 Ulrich Drepper <drepper@redhat.com>
44611
44612 * elf/Makefile: Fix linking for a few tests to make recent linker
44613 happy.
44614
52ed8be9
AS
446152010-06-30 Andreas Schwab <schwab@redhat.com>
44616
44617 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44618 $(common-objpfx)libc_nonshared.a.
44619
f47c9a11
LM
446202010-06-21 Luis Machado <luisgpm@br.ibm.com>
44621
44622 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44623 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44624 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44625 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44626 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44627 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44628 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44629 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44644 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44645 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44646 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44647 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44648 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44649 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44650 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44651 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44652 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44653 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44654 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44655 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44670
6fb8cbcb
L
446712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44672
44673 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44674 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44675 * string/memmove.c (memmove): Renamed to ...
44676 (MEMMOVE): ...this. Default to memmove.
44677 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44678 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44679 (END_CHK): Define.
44680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44681 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44682 mempcpy-ssse3-back memmove-ssse3-back.
44683 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44685 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44686 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44687 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44688 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44689 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44690 * sysdeps/x86_64/multiarch/memmove.c: New file.
44691 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44692 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44693 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44694 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44695 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44696 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44697 Define.
44698 (index_Fast_Copy_Backward): Define.
44699 (HAS_ARCH_FEATURE): Define.
44700 (HAS_FAST_REP_STRING): Define.
44701 (HAS_FAST_COPY_BACKWARD): Define.
44702
4e733bac 447032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44704
44705 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44706 Restore proper fallback handling.
44707
63c4ed22
UD
447082010-06-19 Ulrich Drepper <drepper@redhat.com>
44709
ac2b484c
UD
44710 [BZ #11701]
44711 * posix/group_member.c (__group_member): Correct checking loop.
44712
63c4ed22
UD
44713 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44714 OOM in getpwuid_r correctly. Return error number when the caller
44715 should return, otherwise -1.
44716 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44717 call returning > 0 value.
44718 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44719
765ade4b
AS
447202010-06-07 Andreas Schwab <schwab@redhat.com>
44721
44722 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44723 libc_nonshared.a from targets in modules-names.
44724
80da2e09
KS
447252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44726
44727 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44728 requires it.
44729
158db122
LM
447302010-06-10 Luis Machado <luisgpm@br.ibm.com>
44731
44732 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44733 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44734 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44736
caa78cf8
AS
447372010-06-02 Andreas Schwab <schwab@redhat.com>
44738
44739 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44740
b2ef2c01
UD
447412010-06-14 Ulrich Drepper <drepper@redhat.com>
44742
44743 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44744 and F_GETPIPE_SZ.
44745 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44746 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44749 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44750 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44751
fbd643b6
RM
447522010-06-14 Roland McGrath <roland@redhat.com>
44753
44754 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44755
f32f2869
JJ
447562010-06-07 Jakub Jelinek <jakub@redhat.com>
44757
44758 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44759 __REDIRECT followed by __THROW.
44760 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44761 * posix/getopt.h (getopt): Likewise.
44762
2a50c078
EPM
447632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44764
44765 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44766 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44767 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44768 in AT_FLAGS.
44769 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44770 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44771
eb5ad2eb
LM
447722010-05-28 Luis Machado <luisgpm@br.ibm.com>
44773
44774 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44775
3c88fe1e
L
447762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44777
44778 [BZ #11640]
44779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44780 Properly check family and model.
44781
d2f73151
TY
447822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44783
44784 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44785
ebd2e13d
LM
447862010-05-24 Luis Machado <luisgpm@br.ibm.com>
44787
44788 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44789
b32b8b45
UD
447902010-05-21 Ulrich Drepper <drepper@redhat.com>
44791
44792 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44793 symbol reference.
44794
9acbe24d
AS
447952010-05-19 Andreas Schwab <schwab@redhat.com>
44796
44797 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44798 symbol reference.
44799
f0ccf6ea
AS
448002010-05-21 Andreas Schwab <schwab@redhat.com>
44801
3d04ff3a
AS
44802 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44803 and internal_recvmmsg.
44804 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44805 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44806 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44807 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44808
f0ccf6ea
AS
44809 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44810 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44811 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44812
5b08ac57
AS
448132010-05-20 Andreas Schwab <schwab@redhat.com>
44814
44815 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44816
4828935d
LM
448172010-05-17 Luis Machado <luisgpm@br.ibm.com>
44818
44819 POWER7 optimizations.
44820 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44821 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44822
373d545e
UD
448232010-05-19 Ulrich Drepper <drepper@redhat.com>
44824
44825 * version.h: Update for 2.13 development version.
44826
21a2b1ae
AS
448272010-05-12 Andrew Stubbs <ams@codesourcery.com>
44828
44829 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44830 exceptions. Return 0.
44831
3f7dcb2b
RM
448322010-05-07 Roland McGrath <roland@redhat.com>
44833
44834 * elf/ldconfig.c (main): Add a const.
44835
5f24d53a 448362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44837
a160f8d8
UD
44838 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44839 (args_options): Add no-idn option.
44840 (ahosts_keys_int): Add idn_flags to ai_flags.
44841 (parse_option): Handle 'i' option to clear idn_flags.
44842
5f24d53a
UD
44843 * malloc/malloc.c (_int_free): Possible race in the most recently
44844 added check. Only act on the data if no current modification
44845 happened.
265bb1ce
UD
44846
44847See ChangeLog.17 for earlier changes.