]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files.
[glibc.git] / ChangeLog
CommitLineData
3d1024e8
AZ
12014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
c7a8d667
AZ
3 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4 ...
5 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14 Moved ...
15 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17 Moved ...
18 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
22 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
23 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
24 ...
25 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27 Moved ...
28 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
29 here.
30 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31 ...
32 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35
daee7851
AZ
36 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
37 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
39 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40
50a40819
AZ
41 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42 merge into ...
43 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45 ...
46 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
48 ...
49 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
50 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51 Moved ...
52 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
53 here.
54 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
55 Moved ...
56 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
57 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
58 Moved ...
59 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
60
8464c2a1
AZ
61 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
62 conditional [RESET_PID].
63 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
64 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
65 removed.
66 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
67 removed.
68
3d1024e8
AZ
69 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
70 <tcb-offsets.h>.
71 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
72 (__libc_vfork): New strong alias.
73 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
74 removed.
75 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
76 Removed.
77
78 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
79 <tcb-offsets.h>.
80 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
81 (__libc_vfork): New strong alias.
82 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
83 removed.
84 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
85 removed.
86
fdfd175d
CD
872014-05-26 Carlos O'Donell <carlos@redhat.com>
88
89 * malloc/malloc.c (mi_arena): New function.
90 (malloc_info): Remove nested function mi_arena. Call non-nosted
91 function mi_arena.
92
d298c416
AZ
932014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
94
95 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
96 by insrwi.
97 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
98 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
99 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
100 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
101 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
102 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
103 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
104
b60ea6ff
AS
1052014-05-26 Andreas Schwab <schwab@suse.de>
106
107 [BZ #16984]
108 * locale/programs/repertoire.c (repertoire_read): Add slash
109 between I18NPATH element and file name.
110 * locale/programs/locfile.c (locfile_read): Likewise.
111
67365926
SL
1122014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
113
114 * nptl/pthread_mutexattr_settype.c
115 (__pthread_mutexattr_settype):
116 Disable lock elision for PTHREAD_MUTEX_NORMAL.
117
f8bdf1f0
SL
1182014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
119
120 * nptl/tst-mutex5 (do_test):
121 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
122
15eaf6ff
SP
1232014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
124
125 * benchtests/README: Document 'init' directive.
126 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
127 BENCH_INIT.
128 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
129 (parse_file): Recognize 'init' directive.
130
75f11331
KM
1312014-05-26 Kyle McMartin <kyle@redhat.com>
132
133 [BZ #16796]
134 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
135 alignment of struct pthread.
136
c3ec475c
SP
1372014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
138
139 [BZ #16878]
140 * nscd/netgroupcache.c (addgetnetgrentX): Look for
141 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
142 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
143 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
144
82aab97c
RH
1452014-05-25 Richard Henderson <rth@twiddle.net>
146
aa2f176d
RH
147 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
148 (SINGLE_THREAD_P_PIC): Remove.
149 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
150 (SINGLE_THREAD_P_PIC): Remove.
151
ca3cfa40
RH
152 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
153 branch to syscall error ...
154 (PSEUDO): ... here.
155 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
156 from __local_syscall_error to .Lsyscall_error.
157 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
158 (SYSCALL_ERROR): Update label name.
159
6e6c2d01
RH
160 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
161 Do not use DOARGS/UNDOARGS.
162 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
163 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
164 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
165 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
166 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
167
c69abcee
RH
168 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
169 block comment.
170
82aab97c
RH
171 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
172 define if !NOT_IN_libc.
173 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
174 define with non-default symbol versions.
175
8820e3ac
RH
1762014-05-23 Richard Henderson <rth@twiddle.net>
177
900e445f
RH
178 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
179 (vfork, __vfork): Define via compat_symbol.
180
8820e3ac
RH
181 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
182 [!HAVE_IFUNC] (vfork_compat): Remove.
183 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
184
e59252a5
JM
1852014-05-23 Joseph Myers <joseph@codesourcery.com>
186
187 [BZ #16978]
188 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
189 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
190 variable.
191
132c7f5f
RH
1922014-05-23 Richard Henderson <rth@twiddle.net>
193
bc89e962
RH
194 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
195 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
196 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
197 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
198
199 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
200 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
201 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
202 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
203 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
204 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
205 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
206 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
207 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
208 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
209 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
210 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
211 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
212 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
213 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
214 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
215 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
216 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
217 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
218 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
219 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
220 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
221 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
222 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
223 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
224 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
225 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
226 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
227 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
228 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
229 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
230 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
231 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
232 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
233 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
234 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
235 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
236 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
237 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
238 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
239 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
240 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
241 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
242 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
243 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
244 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
245 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
246 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
247 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
248 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
249 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
250 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
251 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
252 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
253 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
254 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
255
e2fa4bc2
RH
256 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
257 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
258 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
259 before exiting on error.
260 (__libc_vfork): New strong alias.
261 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
262 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
263
279b24e2
RH
264 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
265 that was previously under [RESET_PID].
266 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
267
132c7f5f
RH
268 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
269
b72592e7
JM
2702014-05-23 Joseph Myers <joseph@codesourcery.com>
271
272 [BZ #16977]
273 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
274 value when x - 1 is zero.
275 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
276 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
277 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
278 0.0L for an argument of 1.0L.
279 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
280 Likewise.
281 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
282 value when x - 1 is zero.
283 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
284 * sysdeps/i386/fpu/libm-test-ulps: Update.
285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
286
2302d679
RV
2872014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
288
289 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
290 alphasort and versionsort.
291
32999d63
AZ
2922014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
293
294 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
295 macro.
296 [copysignf]: Likewise.
297
019324d0
SP
2982014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
299
300 * crypt/md5-crypt.c: Fix formatting.
301
34fff5c2
KS
3022014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
303
304 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
305 (b64_from_24bit): New function.
306
3d2badac
AZ
3072014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
308
309 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
310 libc_hidden_builtin_def to ifunc.
311 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
312 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
313
f7bb179f 3142014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
315
316 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
317 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
318
4134b50d
JM
3192014-05-21 Joseph Myers <joseph@codesourcery.com>
320
bb7d0337
JM
321 * nscd/Depend (linuxthreads): Remove.
322 (nptl): Add.
323 * resolv/Depend (linuxthreads): Remove.
324 * rt/Depend (linuxthreads): Remove.
325
4134b50d
JM
326 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
327 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
328 $(common-objpfx)elf/.
329 (link-libc-before-gnulib): Likewise.
330 (elfobjdir): Remove variable.
331 * Makefile (install): Use $(elf-objpfx) instead of
332 $(common-objpfx)elf/.
333 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
334 $(elfobjdir)/.
335 (link-libc-deps): Likewise.
336 ($(common-objpfx)libc.so): Likewise.
337 ($(common-objpfx)linkobj/libc.so): Likewise.
338 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
339 instead of $(common-objpfx)elf/.
340 (symbolic-link-list): Likewise.
341 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
342 [$(cross-compiling) = no]: Likewise.
343 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
344 $(elfobjdir)/.
345 (static-gnulib-arch): Likewise.
346 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
347 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
348 $(common-objpfx)elf/.
349
3612eb8f
RH
3502014-05-21 Richard Henderson <rth@redhat.com>
351
a6b3657b
RH
352 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
353 (SINGLE_THREAD_P): Use the correct width load. Fold
354 into the ldr offset.
355
3612eb8f
RH
356 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
357 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
358
175cef41
JM
3592014-05-20 Joseph Myers <joseph@codesourcery.com>
360
361 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
362 (libgcc_s_resume): Use __attribute_used__.
363 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
364 Likewise.
365
e13bccd3
AZ
3662014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
367
368 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
369 optimization when used with float constants.
370
7c112a38
AZ
371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
372
ae75a883
AJ
3732014-05-20 Aurelien Jarno <aurelien@aurel32.net>
374
375 [BZ #16915]
376 * locale/nl_langinfo_l.c: Make direct reference to every
377 _nl_current_CATEGORY symbol.
378 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
379 (tests-static): Add tst-langinfo-static.
380 (tests-special): Add tst-langinfo-static.out.
381 ($(objpfx)tst-langinfo.out): Redirect output.
382 ($(objpfx)tst-langinfo-static.out): New.
383 * localedata/tst-langinfo.sh: Send output to stdout.
384 * localedata/tst-langinfo-static.c: New file.
385
4406c41c
AJ
386 [BZ #16965]
387 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
388 when the shift amount is modulo the limb size.
389
4c0a1e63
RH
3902014-05-20 Richard Henderson <rth@redhat.com>
391
de9d8f20
RH
392 [BZ #16967]
393 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
394 Change type of sa_flags from unsigned int to int.
395
4c0a1e63
RH
396 [BZ #16966]
397 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
398
399 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
400
a60339aa
WN
4012014-05-20 Will Newton <will.newton@linaro.org>
402
403 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
404 Test the return value of the system call in the nocancel case.
405
7d05a816
YR
4062014-05-20 Will Newton <will.newton@linaro.org>
407 Yvan Roux <yvan.roux@linaro.org>
408
409 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
410 #include of asm/ptrace.h.
411 (PTRACE_GET_THREAD_AREA): Remove #undef.
412 (PTRACE_GETHBPREGS): Likewise.
413 (PTRACE_SETHBPREGS): Likewise.
414 (struct user_regs_struct): New structure.
415 (struct user_fpsimd_struct): New structure.
416 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
417 #include of asm/ptrace.h and second #include of sys/user.h.
418 (PTRACE_GET_THREAD_AREA): Remove #undef.
419 (PTRACE_GETHBPREGS): Likewise.
420 (PTRACE_SETHBPREGS): Likewise.
421 (ELF_NGREG): Use new struct user_regs_struct.
422 (elf_fpregset_t): Use new struct user_fpsimd_struct.
423
af121e37
AZ
4242014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
425
426 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
428
834caf06
JM
4292014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
430
431 [BZ #16958]
432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
433 membar to avoid block loads/stores to overlap previous stores.
434
e184a918
RH
4352014-05-17 Richard Henderson <rth@redhat.com>
436
437 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
438 Create the __##syscall_name##_nocancel entry point.
439 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
440 Remove; let the sysdep-cancel.h code create it.
441
f56c7a6a
DM
4422014-05-17 David S. Miller <davem@davemloft.net>
443
444 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
445 Protect with __USE_GNU.
446 (TIOCSET_TEMPT): Likewise.
447 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
448 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
449 these are already provided in bits/ioctl-types.h
450
f75616b2
RM
4512014-05-16 Roland McGrath <roland@hack.frob.com>
452
3edeca86
RM
453 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
454 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
455
f75616b2
RM
456 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
457 Use wait4 regardless of [__NR_waitpid].
458
deb0f7f6
MR
4592014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
460
461 PR libgcc/60166
462 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
463 (_FP_NANSIGN_Q): Set the quiet bit.
464
79520f4b
JM
4652014-05-16 Joseph Myers <joseph@codesourcery.com>
466
467 * benchtests/Makefile
468 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
469 not $(common-objpfx)math/libm.so.
470 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
471 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
472 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
473 $(common-objpfx)dlfcn/libdl.so.
474 ($(objpfx)tst-audit8): Depend on $(libm), not
475 $(common-objpfx)math/libm.so.
476 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
477 not $(common-objpfx)dlfcn/libdl.so.
478 * math/Makefile
479 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
480 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
481 [$(build-shared) = yes].
482 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
483 $(common-objpfx)nptl/libpthread.so.
484 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
485 $(common-objpfx)math/libm.so$(libm.so-version) or
486 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
487 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
488 $(common-objpfx)dlfcn/libdl.so.
489 * setjmp/Makefile (link-libm): Remove variable.
490 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
491 * stdio-common/Makefile (link-libm): Remove variable.
492 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
493 * stdlib/Makefile (link-libm): Remove variable.
494 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
495 ($(objpfx)tst-strtod-round): Likewise.
496 ($(objpfx)tst-tininess): Likewise.
497 ($(objpfx)tst-strtod-underflow): Likewise.
498 ($(objpfx)tst-strtod6): Likewise.
499 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
500 $(libdl), not $(common-objpfx)nptl/libpthread.so and
501 $(common-objpfx)dlfcn/libdl.so.
502
026b0fe4
AZ
5032014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
504
505 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
506 BSD terminal modes definitions.
507
def4bcb2
RM
5082014-05-16 Roland McGrath <roland@hack.frob.com>
509
fe39b021
RM
510 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
511 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
512
1d1fc46e 513 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
514 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
515 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
516 Don't do #include_next.
517 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
518 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
519 Don't do #include_next.
520 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
521 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
522 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
523 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
524
c72399fb
AM
5252014-05-16 Allan McRae <allan@archlinux.org>
526
d51d659d
AM
527 * po/sv.po: Update Swedish translation from translation project.
528
c72399fb
AM
529 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
530 in sed expression.
531
d0583c40
AJ
5322014-05-16 Aurelien Jarno <aurelien@aurel32.net>
533
534 [BZ #16917]
535 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
536 errno if the TIOCGPTN ioctl fails with an error different than
537 EINVAL.
538 * login/tst-ptsname.c: New file.
539 * login/Makefile (tests): Add tst-ptsname.
540
d16e6ec7
AJ
541 [BZ #16943]
542 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
543 and prlimit64.
544
cf26a0cb
SP
5452014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
546
547 [BZ #16849]
548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
549 herrno to return EAI_AGAIN.
550
5675da1e
RM
5512014-05-14 Roland McGrath <roland@hack.frob.com>
552
a5d87b3d
RM
553 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
554 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
555 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
556 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
557 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
558 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
559 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
560 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
561 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
562 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
563 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
564 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
565 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
567 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
569 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
571 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
573 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
575 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
576 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
577 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
579 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
581 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
582 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
584 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
586 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
588 Moved ...
589 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
591 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
593 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
595 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
597 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
599 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
601 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
603 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
605 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
607 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
609 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
611 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
613 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
615 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
617 Moved ...
618 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
620 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
622 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
624 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
626 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
628 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
630 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
632 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
634 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
636 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
638 Moved ...
639 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
641 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
642
039890a6
RM
643 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
644 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
645 (libpthread-sysdep_routines): Add elision-related stuff here instead.
646 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
647 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
648 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
649 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
650 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
651 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
652 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
653 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
654 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
655 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
656 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
657 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
658 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
659 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
660 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
661 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
662 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
663 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
664 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
665 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
666 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
667 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
668 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
669 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
670 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
671 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
672 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
673 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
674
65c89320
RM
675 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
676 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
677
348f8e8c
RM
678 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
679 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
680 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
681 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
682 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
683 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
684 Moved ...
685 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
686 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
687 Moved ...
688 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
689 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
690 Moved ...
691 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
693 Moved ...
694 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
695 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
696 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
697 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
698 Moved ...
699 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
700 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
701 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
702 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
703 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
704 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
705 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
706 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
707 Moved ...
708 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
709 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
710 Moved ...
711 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
712 ... here.
713 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
714 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
715 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
716 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
717 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
718 Moved ...
719 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
720 ... here.
721 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
722 Moved ...
723 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
724 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
725 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
726 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
727 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
728 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
729 Moved ...
730 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
731 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
732 Moved ...
733 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
734 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
735 Moved ...
736 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
738 Moved ...
739 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
740 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
741 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
742 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
743 Moved ...
744 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
745 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
746 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
747 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
748 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
749 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
750 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
751 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
752 Moved ...
753 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
754 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
755 Moved ...
756 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
757 ... here.
758 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
759 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
760 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
761 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
762 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
763 Moved ...
764 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
765 ... here.
766 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
767 Moved ...
768 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
769 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
770 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
771 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
772 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
773 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
774 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
775 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
776 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
777 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
778 Moved ...
779 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
780 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
781 Moved ...
782 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
784 Moved ...
785 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
787 Moved ...
788 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
789 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
790 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
791 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
792 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
793 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
794 Moved ...
795 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
796 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
797 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
798 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
799 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
800 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
801 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
802 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
803 Moved ...
804 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
805 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
806 Moved ...
807 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
808 ... here.
809 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
810 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
811 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
812 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
813 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
814 Moved ...
815 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
816 ... here.
817 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
818 Moved ...
819 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
820 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
821 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
822 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
823 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
824 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
825 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
826 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
827 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
828 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
829 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
830
5085af05
RM
831 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
832 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
833
708f0813
RM
834 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
835 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
836
c96067bc
RM
837 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
838 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
839 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
840 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
841 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
842 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
843 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
844 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
845 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
846 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
847 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
848 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
849 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
850 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
851 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
853 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
854 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
855 Moved ...
856 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
857 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
858 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
859 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
860 Moved ...
861 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
862 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
863 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
864 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
865 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
867 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
869 Moved ...
870 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
871 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
872 Moved ...
873 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
874 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
875 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
876 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
877 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
878 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
879 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
880 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
881 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
882 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
883 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
884 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
885 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
886 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
887 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
888 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
889 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
890
ec136444
RM
891 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
892 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
893 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
894 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
895 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
896
2fbdf533
RM
897 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
898 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
899 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
900 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
901 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
902 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
903 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
904 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
905 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
906 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
907
4c68138b
RM
908 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
909 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
910
4eaae765
RM
911 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
912 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
913 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
914 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
915 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
916 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
917 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
918 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
919 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
920 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
921 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
922 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
923 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
924 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
926 Update #include.
927 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
928 Likewise.
929 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
930 Likewise.
931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
932 Likewise.
933 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
934 Likewise.
935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
936 Likewise.
937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
938 Likewise.
939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
940 Likewise.
941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
942 Likewise.
943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
944 Likewise.
4ef6befa
RM
945 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
946 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
947 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
948 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
949 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
950 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
951 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
952 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
953 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
954 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
955 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
956 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
957 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
958 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
959 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 960
941d7dfd
RM
961 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
962 that was previously under [RESET_PID].
963 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
964 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
965 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
966
1b731c35
RM
967 * sysdeps/i386/nptl/Implies: New file.
968 * sysdeps/x86_64/nptl/Implies: New file.
969 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
970 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
971 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
972 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
973
e2787137
RM
974 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
975 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
976 (__libc_vfork): New strong alias.
977 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
978 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
979
980 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
981 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
982 (__libc_vfork): New strong alias.
983 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
984 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
985
5675da1e
RM
986 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
987 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
988 (__libc_vfork): New strong alias.
989 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
990 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
991 * nptl/pt-vfork.c: New file.
992 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
993 (libpthread: GLIBC_2.20): New version set (empty).
994
4f02e2b8
WN
9952014-05-14 Will Newton <will.newton@linaro.org>
996
997 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
998 rather than #if.
999
0bf061d3
JM
10002014-05-14 Joseph Myers <joseph@codesourcery.com>
1001
1a84c3d6
JM
1002 [BZ #16564]
1003 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1004 arguments with exponent 65 or above.
1005 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1006 arguments 0x1p113L or above.
1007 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1008 to arguments 0x1p107L or above.
1009 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1010 positive arguments with exponent 65 or above.
1011 * math/auto-libm-test-in: Add more tests of log1p.
1012 * math/auto-libm-test-out: Regenerated.
1013
01dbacd2
JM
1014 [BZ #16928]
1015 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1016 non-finite arguments is +0.
1017 * math/s_cacosf.c (__cacosf): Likewise.
1018 * math/s_cacosl.c (__cacosl): Likewise.
1019 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1020 * sysdeps/i386/fpu/libm-test-ulps: Update.
1021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1022
913d03c8
JM
1023 [BZ #16927]
1024 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1025 value.
1026 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1027 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1028 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1029 for explicit high bit of mantissa when testing for argument equal
1030 to 1.
1031 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1032 * sysdeps/i386/fpu/libm-test-ulps: Update.
1033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1034
0bf061d3
JM
1035 [BZ #16516]
1036 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1037 (__erf): Scale by 16 instead of 8 in potentially underflowing
1038 case. Ensure exception if result actually underflows.
1039 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1040 (__erff): Scale by 16 instead of 8 in potentially underflowing
1041 case. Ensure exception if result actually underflows.
1042 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1043 (efx8): Remove variable.
1044 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1045 case. Ensure exception if result actually underflows.
1046 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1047 (efx8): Remove variable.
1048 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1049 case. Ensure exception if result actually underflows.
1050 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1051 (efx8): Remove variable.
1052 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1053 case. Ensure exception if result actually underflows.
1054 * math/auto-libm-test-in: Add more tests of erf.
1055 * math/auto-libm-test-out: Regenerated.
1056
73ba67cb
AS
10572014-05-14 Andreas Schwab <schwab@suse.de>
1058
3d8c8bff
AS
1059 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1060 Remove code conditionalized on USE___THREAD.
1061
73ba67cb
AS
1062 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1063 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1064 not definedness.
1065
5c521ecd
JM
10662014-05-14 Joseph Myers <joseph@codesourcery.com>
1067
5e7698c6
JM
1068 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1069 Define unconditionally.
1070 (__ASSUME_O_CLOEXEC): Likewise.
1071 (__ASSUME_SOCK_CLOEXEC): Likewise.
1072 (__ASSUME_IN_NONBLOCK): Likewise.
1073 (__ASSUME_PIPE2): Likewise.
1074 (__ASSUME_EVENTFD2): Likewise.
1075 (__ASSUME_SIGNALFD4): Likewise.
1076 (__ASSUME_DUP3): Likewise.
1077 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1078 (__ASSUME_DUP3): Do not define.
1079 (__ASSUME_EVENTFD2): Likewise.
1080 (__ASSUME_IN_NONBLOCK): Likewise.
1081 (__ASSUME_O_CLOEXEC): Likewise.
1082 (__ASSUME_PIPE2): Likewise.
1083 (__ASSUME_SIGNALFD4): Likewise.
1084 (__ASSUME_SOCK_CLOEXEC): Likewise.
1085 (__ASSUME_UTIMES): Undefine.
1086 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1087 (__ASSUME_UTIMES): Do not define.
1088 (__ASSUME_O_CLOEXEC): Likewise.
1089 (__ASSUME_SOCK_CLOEXEC): Likewise.
1090 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1091 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1092 0x020621].
1093 (__ASSUME_PIPE2): Likewise.
1094 (__ASSUME_EVENTFD2): Likewise.
1095 (__ASSUME_SIGNALFD4): Likewise.
1096 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1097 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1098 Do not define.
1099 (__ASSUME_EVENTFD2): Likewise.
1100 (__ASSUME_SIGNALFD4): Likewise.
1101 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1102 (__ASSUME_32BITUIDS): Likewise.
1103 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1104 (__ASSUME_IPC64): Likewise.
1105 (__ASSUME_ST_INO_64_BIT): Likewise.
1106 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1107 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1108 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1109 (__ASSUME_UTIMES): Do not define.
1110 (__ASSUME_PSELECT): Likewise.
1111 (__ASSUME_PPOLL): Likewise.
1112 (__ASSUME_O_CLOEXEC): Likewise.
1113 (__ASSUME_SOCK_CLOEXEC): Likewise.
1114 (__ASSUME_IN_NONBLOCK): Likewise.
1115 (__ASSUME_PIPE2): Likewise.
1116 (__ASSUME_EVENTFD2): Likewise.
1117 (__ASSUME_SIGNALFD4): Likewise.
1118 (__ASSUME_DUP3): Likewise.
1119 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1120 (__ASSUME_UTIMES): Likewise.
1121 (__ASSUME_O_CLOEXEC): Likewise.
1122 (__ASSUME_SOCK_CLOEXEC): Likewise.
1123 (__ASSUME_IN_NONBLOCK): Likewise.
1124 (__ASSUME_PIPE2): Likewise.
1125 (__ASSUME_EVENTFD2): Likewise.
1126 (__ASSUME_SIGNALFD4): Likewise.
1127 (__ASSUME_DUP3): Likewise.
1128 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1129 (__ASSUME_UTIMES): Likewise.
1130 (__ASSUME_O_CLOEXEC): Likewise.
1131 (__ASSUME_SOCK_CLOEXEC): Likewise.
1132 (__ASSUME_IN_NONBLOCK): Likewise.
1133 (__ASSUME_PIPE2): Likewise.
1134 (__ASSUME_EVENTFD2): Likewise.
1135 (__ASSUME_SIGNALFD4): Likewise.
1136 (__ASSUME_DUP3): Likewise.
1137 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1138 Likewise.
1139 (__ASSUME_UTIMES): Likewise.
1140 (__ASSUME_EVENTFD2): Likewise.
1141 (__ASSUME_SIGNALFD4): Likewise.
1142 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1143 (__ASSUME_O_CLOEXEC): Likewise.
1144 (__ASSUME_SOCK_CLOEXEC): Likewise.
1145 (__ASSUME_IN_NONBLOCK): Likewise.
1146 (__ASSUME_PIPE2): Likewise.
1147 (__ASSUME_EVENTFD2): Likewise.
1148 (__ASSUME_SIGNALFD4): Likewise.
1149 (__ASSUME_DUP3): Likewise.
1150 (__ASSUME_UTIMES): Undefine.
1151
5c521ecd
JM
1152 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1153 feclearexcept. Remove symbol versioning code.
1154 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1155 symbol versioning code.
1156 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1157 symbol versioning code.
1158 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1159 feupdateenv. Remove symbol versioning code.
1160 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1161 fegetexceptflag. Remove symbol versioning code.
1162 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1163 fesetexceptflag. Remove symbol versioning code.
1164 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1165 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1166 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1167 (__posix_fadvise64_l32): Remove prototype.
1168 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1169 code.
1170
5da9dfad
RM
11712014-05-13 Roland McGrath <roland@hack.frob.com>
1172
1173 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1174 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1175 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1176 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1177
893b4f37
SK
11782014-05-13 Sami Kerola <kerolasa@iki.fi>
1179
1180 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1181 current working directory
1182
e0db6517
RM
11832014-05-13 Roland McGrath <roland@hack.frob.com>
1184
58aa195d
RM
1185 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1186 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1187 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1188 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1189 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1190 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1191 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1192 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1194 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1200 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1201 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1202 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1203 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1204 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1206 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1208 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1209 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1210 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1212 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1214 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1216 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1217 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1218 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1219 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1220 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1221 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1222 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1223 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1224 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1225 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1226 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1227
8c6d01f0
RM
1228 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1229 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1230
1231 * sysdeps/unix/sysv/linux/arm/Makefile
1232 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1233 Add rt-aeabi_unwind_cpp_pr1.
1234 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1235 Add nptl-aeabi_unwind_cpp_pr1.
1236 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1237 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1238 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1239 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1240 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1241 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1242
1243 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1244 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1245 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1246 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1247
bba6da4e
RM
1248 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1249 Deconditionalize the code that was previously under [RESET_PID].
1250 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1251
e0db6517
RM
1252 * sysdeps/generic/exit-thread.h: New file.
1253 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1254 * include/unistd.h (__exit_thread): Remove declaration.
1255 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1256 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1257 * csu/libc-start.c: Include <exit-thread.h>.
1258 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1259 * nptl/pthread_create.c: Include <exit-thread.h>.
1260 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1261 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1262 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1263 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1264 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1265 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1266 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1267 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1268 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1269 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1270 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1271 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1272 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1273 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1274 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1275 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1276 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1277
01eb16fd
AS
12782014-05-13 Andreas Schwab <schwab@suse.de>
1279
1280 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1281
637461d9
JM
12822014-05-12 Joseph Myers <joseph@codesourcery.com>
1283
1284 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1285 (__ASSUME_UTIMES): Do not condition on kernel version.
1286 (__ASSUME_PSELECT): Define unconditionally.
1287 (__ASSUME_PPOLL): Likewise.
1288 (__ASSUME_ATFCTS): Likewise.
1289 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1290 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1291 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1292 (__ASSUME_UTIMENSAT): Define unconditionally.
1293 (__ASSUME_PRIVATE_FUTEX): Likewise.
1294 (__ASSUME_FALLOCATE): Likewise.
1295 (__ASSUME_O_CLOEXEC): Likewise.
1296 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1297 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1298 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1299 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1300 (__ASSUME_IN_NONBLOCK): Likewise.
1301 (__ASSUME_PIPE2): Likewise.
1302 (__ASSUME_EVENTFD2): Likewise.
1303 (__ASSUME_SIGNALFD4): Likewise.
1304 (__ASSUME_DUP3): Likewise.
1305 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1306 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1307 (__ASSUME_AT_RANDOM): Likewise.
1308 (__ASSUME_PREADV): Likewise.
1309 (__ASSUME_PWRITEV): Likewise.
1310 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1311 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1312 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1313 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1314 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1315 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1316 (__ASSUME_O_CLOEXEC): Define unconditionally.
1317 (__ASSUME_PSELECT): Do not undefine conditionally.
1318 (__ASSUME_PPOLL): Likewise.
1319 (__ASSUME_ATFCTS): Likewise.
1320 (__ASSUME_SET_ROBUST_LIST): Likewise.
1321 (__ASSUME_UTIMENSAT): Likewise.
1322 (__ASSUME_FDATASYNC): Define unconditionally.
1323 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1324 (__ASSUME_SIGFRAME_V2): Likewise.
1325 )__ASSUME_EVENTFD2): Likewise.
1326 (__ASSUME_SIGNALFD4): Likewise.
1327 (__ASSUME_PSELECT): Do not undefine conditionally.
1328 (__ASSUME_PPOLL): Likewise.
1329 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1330 (__ASSUME_PSELECT): Define unconditionally.
1331 (__ASSUME_PPOLL): Likewise.
1332 (__ASSUME_O_CLOEXEC): Likewise.
1333 (__ASSUME_SOCK_CLOEXEC): Likewise.
1334 (__ASSUME_IN_NONBLOCK): Likewise.
1335 (__ASSUME_PIPE2): Likewise.
1336 (__ASSUME_EVENTFD2): Likewise.
1337 (__ASSUME_SIGNALFD4): Likewise.
1338 (__ASSUME_DUP3): Likewise.
1339 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1340 (__ASSUME_O_CLOEXEC): Likewise.
1341 (__ASSUME_SOCK_CLOEXEC): Likewise.
1342 (__ASSUME_IN_NONBLOCK): Likewise.
1343 (__ASSUME_PIPE2): Likewise.
1344 (__ASSUME_EVENTFD2): Likewise.
1345 (__ASSUME_SIGNALFD4): Likewise.
1346 (__ASSUME_DUP3): Likewise.
1347 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1348 (__ASSUME_EVENTFD2): Likewise.
1349 (__ASSUME_SIGNALFD4): Likewise.
1350 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1351
315eb1d8
AS
13522014-05-12 Andreas Schwab <schwab@suse.de>
1353
1354 [BZ #16932]
1355 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1356 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1357 than maximum RPC packet size.
1358 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1359 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1360 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1361 (_nss_nis_getservbyport_r): Likewise.
1362
91df99f7
WN
13632014-05-12 Will Newton <will.newton@linaro.org>
1364
1365 * malloc/Makefile (tests): Add tst-mallopt.
1366 * malloc/tst-mallopt.c: New file.
1367
0a982a29
RM
13682014-05-09 Roland McGrath <roland@hack.frob.com>
1369
1370 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1371 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1372
0ded08a5
AZ
13732014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1374
1375 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1376 (tst-tlsmod6.so): Likewise.
1377
55d4d550
RM
13782014-05-09 Roland McGrath <roland@hack.frob.com>
1379
1380 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1381
77d08aca
JM
13822014-05-09 Joseph Myers <joseph@codesourcery.com>
1383
1384 [BZ #16064]
1385 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1386 and <dl-procinfo.h>.
1387 (__fegetenv): Save SSE state in envp->__eip if supported.
1388 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1389 envp->__eip if supported.
1390 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1391 and <dl-procinfo.h>.
1392 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1393 __data_offset and __data_selector in environment to 0. Set SSE
1394 state if supported.
1395 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1396 test-fenv-sse.
1397 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1398 -mfpmath=sse.
1399 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1400
28162f4d
WN
14012014-05-09 Will Newton <will.newton@linaro.org>
1402
1403 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1404 and libc_relro_required for ARM.
1405 * sysdeps/arm/preconfigure: Regenerate.
1406
5a414ff7
DV
14072014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1408 Stefan Liebler <stli@linux.vnet.ibm.com>
1409
1410 * config.make.in (enable-lock-elision): New Makefile variable.
1411 * configure.ac: Likewise.
1412 * configure: Regenerate.
1413 * sysdeps/s390/configure.ac:
1414 Add check for gcc transactions support.
1415 * sysdeps/s390/configure: Regenerate.
1416 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1417 Build elision files if enabled.
1418 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1419 Add lock elision support for s390.
1420 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1421 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1422 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1423 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1424 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1425 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1426 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1427 Likewise.
1428 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1429 Likewise.
1430 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1431 Likewise.
1432 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1433 Likewise.
1434 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1435 (__lll_timedlock_elision, __lll_lock_elision)
1436 (__lll_unlock_elision, __lll_trylock_elision)
1437 (lll_timedlock_elision, lll_lock_elision)
1438 (lll_unlock_elision, lll_trylock_elision): Add.
1439 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1440 (pthread_mutex_t): Add lock elision support for s390.
1441
1a2f40e5
W
14422014-05-14 Wilco <wdijkstr@arm.com>
1443
1444 * sysdeps/arm/fclrexcpt.c: Cleanup.
1445 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1446 * sysdeps/arm/feenablxcpt.c: Cleanup.
1447 * sysdeps/arm/fegetenv.c: Cleanup.
1448 * sysdeps/arm/fegetexcept.c: Cleanup.
1449 * sysdeps/arm/fegetround.c: Cleanup.
1450 * sysdeps/arm/feholdexcpt.c: Cleanup.
1451 * sysdeps/arm/fesetenv.c: Cleanup.
1452 * sysdeps/arm/fesetround.c: Cleanup.
1453 * sysdeps/arm/feupdateenv.c: Cleanup.
1454 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1455 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1456 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1457 * sysdeps/arm/ftestexcept.c: Cleanup.
1458 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1459 * sysdeps/arm/setfpucw.c: Cleanup.
1460
f63c86fe
WN
14612014-05-09 Will Newton <will.newton@linaro.org>
1462
1463 * sysdeps/arm/armv7/strcmp.S: New file.
1464 * NEWS: Mention addition of ARMv7 optimized strcmp.
1465
7a1a51b5
RM
14662014-05-08 Roland McGrath <roland@hack.frob.com>
1467
95afbbe5
RM
1468 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1469 look for %.ac rather than %.in.
1470
1471 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1472 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1473 * sysdeps/mach/hurd/configure: Regenerated.
1474 * sysdeps/unix/sysv/linux/configure: Regenerated.
1475
7a1a51b5
RM
1476 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1477
5057ad3b
SE
14782014-05-07 Steve Ellcey <sellcey@mips.com>
1479
1480 [BZ# 16922]
1481 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1482 (LONG_SUB): Ditto.
1483 (PTR_SUB): Ditto.
1484
8dc97517
AS
14852014-05-07 Andreas Schwab <schwab@suse.de>
1486
1487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1488 when skipping over non-matching result from nscd.
1489
ce0c5b8f
OB
14902014-05-07 Ondřej Bílka <neleai@seznam.cz>
1491
1492 [BZ #16876]
1493 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1494
a1189263
OB
1495 [BZ #16877]
1496 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1497 nscd security class.
ce0c5b8f 1498
0f58d252
RM
14992014-05-06 Roland McGrath <roland@hack.frob.com>
1500
1501 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1502 * sysdeps/arm/unwind.h: ... here.
1503
83df9ad0
AJ
15042014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1505
ce0c5b8f
OB
1506 [BZ# 16916]
1507 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1508 Define.
83df9ad0 1509
f360f94a
VR
15102014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1511
1512 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1513 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1514 multiarch strncpy for PPC64.
1515 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1516 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1518 multiarch optimizations.
1519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1520 (__libc_ifunc_impl_list): Likewise.
1521 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1522 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1523 multiarch stpncpy for PPC64.
1524 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1525 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1526
978a41c3
AS
15272014-05-06 Andreas Schwab <schwab@suse.de>
1528
1529 [BZ #16912]
1530 * gmon/mcount.c (_MCOUNT_DECL): Use
1531 atomic_compare_and_exchange_bool_acq instead of
1532 catomic_compare_and_exchange_bool_acq.
1533
eb1ed03d
RM
15342014-05-05 Roland McGrath <roland@hack.frob.com>
1535
fe658845
RM
1536 * elf/Makefile (others, install-bin): Remove pldd.
1537 (pldd-modules): Variable removed.
1538 ($(objpfx)pldd): Target removed.
1539 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1540 (others, install-bin): Append pldd here.
1541 ($(objpfx)pldd): New target.
1542
eb1ed03d
RM
1543 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1544 to 0, so the first #if test emitted later doesn't see it undefined.
1545 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1546 * sysdeps/gnu/errlist.c: Regenerated.
1547
19c4bec0
AZ
15482014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1549
1550 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1551 [libc_hidden_builtin_def]: Define to empty value.
1552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1553 [libc_hidden_builtin_def]: Likewise.
1554 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1555 [libc_hidden_builtin_def]: Likewise.
1556 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1557 [libc_hidden_builtin_def]: Likewise.
1558 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1559 __redirect_memcpy and define ifunc as default hidden symbol.
1560 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1561 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1562
7776e669
AC
15632014-05-04 Adam Conrad <adconrad@0c3.net>
1564
1565 * locale/iso-4217.def: Reintroduce XDR currency.
1566
d69aeb12
AM
15672014-05-04 Allan McRae <allan@archlinux.org>
1568
1569 * po/eo.po: Update Esperanto translation from translation project.
1570
8f1df5cf
CD
15712014-05-02 Carlos O'Donell <carlos@redhat.com>
1572
1573 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1574 and FEATURE_INDEX_MAX to 1.
1575 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1576
13e402e7
SE
15772014-05-01 Steve Ellcey <sellcey@mips.com>
1578
1579 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1580 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1581 * iconvdata/big5.c (ONE_DIRECTION): Define.
1582 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1583 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1584 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1585 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1586 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1587 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1588 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1589 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1590 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1591 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1592 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1593 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1594 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1595 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1596 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1597 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1598 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1599 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1600 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1601 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1602 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1603 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1604 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1605 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1606 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1607 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1608 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1609 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1610 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1611 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1612 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1613 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1614 * iconvdata/johab.c (ONE_DIRECTION): Define.
1615 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1616 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1617 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1618 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1619 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1620 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1621 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1622 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1623 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1624 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1625
c727f032
RM
16262014-05-01 Roland McGrath <roland@hack.frob.com>
1627
8f2f08d0
RM
1628 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1629 (_IO_JUMPS_OFFSET): Define to 0.
1630
c727f032
RM
1631 * nptl/sysdeps/pthread/bits/libc-lock.h
1632 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1633 (__libc_lock_define_initialized_recursive): Always define using
1634 initializer. Modern compilers treat uninitialized (implicit zero) and
1635 explicit zero initializers the same (i.e. put the datum in bss).
1636
a849e800
AS
16372014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1638
1639 * nscd/nscd-client.h: Include <string.h>.
1640
5331255b
DM
16412014-05-01 David S. Miller <davem@davemloft.net>
1642
1643 [BZ #16885]
1644 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1645 multiple zero bytes exist at the end of a string.
1646 Reported by Aurelien Jarno <aurelien@aurel32.net>
1647
1648 * string/test-strcmp.c (check): Add explicit test for situations where
1649 there are multiple zero bytes after the first.
1650
4fdfe821
AS
16512014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1652
1653 [BZ #16890]
1654 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1655 when compiling wprintf.
1656 * stdio-common/tstdiomisc.c (t3): New function.
1657 (main): Call it.
1658
0cdddc25
SE
16592014-05-01 Steve Ellcey <sellcey@mips.com>
1660
1661 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1662 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1663 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1664 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1665
6426d77e
SE
16662014-05-01 Steve Ellcey <sellcey@mips.com>
1667
1668 * stdlib/longlong.h: Updated from GCC.
1669
6d96f5e4
WN
16702014-05-01 Will Newton <will.newton@linaro.org>
1671 Bernard Ogden <bernie.ogden@linaro.org>
1672
7470db0c
WN
1673 * NEWS: Update fixed bug list.
1674
6d96f5e4
WN
1675 [BZ #15119]
1676 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1677
211d653c
DM
16782014-04-30 David S. Miller <davem@davemloft.net>
1679
4fa262fa
DM
1680 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1681 (libc_feholdexcept_setround_sparc_ctx): New function.
1682 (libc_fesetenv_sparc_ctx): Likewise.
1683 (libc_feupdateenv_sparc_ctx): Likewise.
1684 (libc_feholdsetround_sparc_ctx): Likewise.
1685 (libc_feholdexcept_setround_ctx): Define.
1686 (libc_feholdexcept_setroundf_ctx): Likewise.
1687 (libc_feholdexcept_setroundl_ctx): Likewise.
1688 (libc_fesetenv_ctx): Likewise.
1689 (libc_fesetenvf_ctx): Likewise.
1690 (libc_fesetenvl_ctx): Likewise.
1691 (libc_feupdateenv_ctx): Likewise.
1692 (libc_feupdateenvf_ctx): Likewise.
1693 (libc_feupdateenvl_ctx): Likewise.
1694 (libc_feresetround_ctx): Likewise.
1695 (libc_feresetroundf_ctx): Likewise.
1696 (libc_feresetroundl_ctx): Likewise.
1697 (libc_feholdsetround_ctx): Likewise.
1698 (libc_feholdsetroundf_ctx): Likewise.
1699 (libc_feholdsetroundl_ctx): Likewise.
1700
1d3d93ef
DM
1701 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1702 with __USE_GNU instead of XOPEN cpp guards.
1703
8aa583c3
DM
1704 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1705 0.
1706
211d653c
DM
1707 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1708 with XOPEN cpp guards.
1709
60c8f1f6
JB
17102014-04-30 Julian Brown <julian@codesourcery.com>
1711
1712 [BZ #16888]
1713 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1714 handling.
1715
9a461d46
JM
17162014-04-30 Joseph Myers <joseph@codesourcery.com>
1717
d0f5b3f8
JM
1718 [BZ #9894]
1719 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1720 Change to 2.6.32.
1721 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1722 * sysdeps/unix/sysv/linux/configure: Regenerated.
1723 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1724 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1725 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1726 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1727 * README: Update reference to required Linux kernel version.
1728 * manual/install.texi (Linux): Update reference to required Linux
1729 kernel headers version.
1730 * INSTALL: Regenerated.
1731
9a461d46
JM
1732 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1733 header inclusion.
1734 [POSIX] (limits.h): Likewise.
1735 [POSIX] (math.h): Likewise.
1736 [POSIX] (sys/wait.h): Likewise.
1737 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1738 function.
1739 [POSIX] (stddef.h): Do not allow header inclusion.
1740
1775babf
AZ
17412014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1742
57f41c40 1743 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1744
8f630cca
YY
17452014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1746
1747 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1748 Return immediately after lll_futex_wake.
1749
1cdeb237
SP
17502014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1751
bc8f194c
SP
1752 [BZ #16791]
1753 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1754 structure.
1755 (datahead_init_pos): Call datahead_init_common early.
1756 (datahead_init_neg): Likewise.
1757
1cdeb237
SP
1758 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1759 datahead_init_neg): New functions.
1760 * nscd/aicache.c (addhstaiX): Use them.
1761 * nscd/grpcache.c (cache_addgr): Likewise.
1762 * nscd/hstcache.c (cache_addhst): Likewise.
1763 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1764 * nscd/netgroupcache.c (do_notfound): Likewise.
1765 (addgetnetgrentX): Likewise.
1766 (addinnetgrX): Likewise.
1767 * nscd/pwdcache.c (cache_addpw): Likewise.
1768 * nscd/servicescache.c (cache_addserv): Likewise.
1769
16b293a7
SP
17702014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1771 Atsushi Onoe <atsushi@onoe.org>
1772
1773 [BZ #14308]
1774 [BZ #12994]
1775 [BZ #13651]
1776 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1777 one response is valid.
1778 * resolv/res_send.c (send_dg): Check for validity of other
1779 response if the current response is a referral.
1780
a28a9b94
SE
17812014-04-29 Steve Ellcey <sellcey@mips.com>
1782
1783 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1784
2ca180e9
SL
17852014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1786
1787 [BZ #16823]
1788 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1789 Always divide by positive zero when computing -Inf result.
1790 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1791 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1792
18f2945a
AZ
17932014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1794
1795 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1796 FPSCR if value do not change.
1797 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1798 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1799 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1800 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1801 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1802 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1803 function.
1804
5abebba4
CD
18052014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1806
1807 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1808 * sysdeps/unix/sysv/linux/hppa: Move directory from
1809 ports/systeps/unix/sysv/linux/hppa.
1810 * README: Update listing for hppa-*-linux-gnu.
1811
f7ed60c2
OB
18122014-04-28 Ondřej Bílka <neleai@seznam.cz>
1813
fff763a5
OB
1814 [BZ #16754]
1815 * manual/stdio.texi (Hook functions): Fix types of stream hook
1816 functions.
f7ed60c2
OB
1817 [BZ #16854]
1818 * socket/sys/socket.h: Fix typo in comment.
1819
df639d73
WD
18202014-04-28 Wilco <wdijkstr@arm.com>
1821
f7ed60c2 1822 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1823 * sysdeps/arm/math_private.h: New file.
1824 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1825
48332d82
L
18262014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1827
1828 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1829 with __int128_t.
1830 (La_x86_64_retval): Likewise.
1831
e5e0d9a4
IB
18322014-04-24 Ian Bolton <ian.bolton@arm.com>
1833
1834 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1835 fpsr if value didn't change.
1836 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1837 to fpcr if value didn't change.
1838 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1839 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1840 fpsr or fpcr if value didn't change.
1841 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1842 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1843 fpcr if value didn't change.
1844 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1845 to fpsr if value didn't change.
1846
bacc75f7
SP
18472014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1848
1849 * nptl/tst-sem3.c: Use test-skeleton.c
1850 (main): Rename to do_test. Use return instead of
1851 exit.
1852 * nptl/tst-sem4.c: Use test-skeleton.c
1853 (main): Rename to do_test.
1854
a059d359
DM
18552014-04-22 David S. Miller <davem@davemloft.net>
1856
1857 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1858 (struct sigaction): New struct member __glibc_reserved0, change
1859 type of sa_flags to int.
1860
ea6c92f3
YZ
18612014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1862
1863 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1864 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1865
766c4a36
SP
18662014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1867
1868 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1869 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1870
140cc7ab
VK
18712014-04-22 Will Newton <will.newton@linaro.org>
1872 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1873
1874 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1875 (__longjmp): Add longjmp and longjmp_target SystemTap
1876 probes.
1877 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1878 (__sigsetjmp): Add setjmp SystemTap probe.
1879
c54e5cf7
CD
18802014-04-17 Carlos O'Donell <carlos@redhat.com>
1881
1882 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1883 match manual order.
1884
75ffb047
AZ
18852014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1886
1887 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1888
2cd925f7
AZ
1889 * sysdeps/powerpc/fpu/fenv_private.h
1890 (libc_feholdexcept_setroundl_ctx): Define to
1891 libc_feholdexcept_setround_ppc_ctx.
1892 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1893 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1894 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1895 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1896
39e6cd8d
IB
18972014-04-17 Ian Bolton <ian.bolton@arm.com>
1898
1899 * sysdeps/aarch64/math-tests.h: New file.
1900
f9281df9
SY
19012014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1902
1903 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1904 New.
1905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1906 Check and set bit_AVX2_Usable.
1907 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1908 macro.
1909 (bit_AVX2): Likewise.
1910 (index_AVX2_Usable): Likewise.
1911 (CPUID_AVX2): Likewise.
1912 (HAS_AVX2): Likewise.
1913
37d35007
WN
19142014-04-17 Will Newton <will.newton@linaro.org>
1915
7c677662
WN
1916 * manual/setjmp.texi (System V contexts): Add note that
1917 calling setcontext on a context created by a call to a
1918 signal handler is undefined. Update text to note that
1919 setcontext from a signal handler is possible but not
1920 recommended.
1921
37d35007 1922 [BZ #16629]
e04a4e9d
WN
1923 * stdlib/tst-setcontext.c: Include signal.h.
1924 (main): Check that the signal stack before and
1925 after swapcontext is the same.
1926
37d35007
WN
1927 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1928 Re-implement to restore registers in user code and avoid
1929 rt_sigreturn system call.
1930
423a7160
W
19312014-04-17 Wilco <wdijkstr@arm.com>
1932
1933 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1934 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1935 * math/test-fenv.c: Skip exception trap tests on targets which only
1936 support non-stop mode.
1937
bc93ab29
IB
19382014-04-17 Ian Bolton <ian.bolton@arm.com>
1939 Wilco Dijkstra <wilco.dijkstra@arm.com>
1940
1941 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1942 (libc_feholdsetround_aarch64_ctx)
1943 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1944 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1945 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1946 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1947 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1948 (libc_feresetround_noexl_ctx): Define.
1949
95fc5fa3
RH
19502014-04-16 Richard Henderson <rth@redhat.com>
1951
ddb04724
RH
1952 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1953
d77c0899
RH
1954 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1955 unwind tables.
1956
a3df56fc
RH
1957 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1958 const from the non-libc, non-ldso copy.
1959
95fc5fa3
RH
1960 * sysdeps/alpha/libm-test-ulps: Regenerate.
1961
7e0b6763
IB
19622014-04-16 Ian Bolton <ian.bolton@arm.com>
1963 Wilco Dijkstra <wilco.dijkstra@arm.com>
1964
1965 * sysdeps/aarch64/fpu/math_private.h: New file.
1966
a9ea2e0c
MS
19672014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1968
1969 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1970
ea8ba7cd
IZ
19712014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1972
1973 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1974 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1976 Intel MPX bound registers before _dl_profile_fixup.
1977 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1978 registers after _dl_profile_fixup. Save and restore bound
1979 registers bnd0/bnd1 when calling _dl_call_pltexit.
1980 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1981 (LR_BND_OFFSET): Likewise.
1982 (LRV_BND0_OFFSET): Likewise.
1983 (LRV_BND1_OFFSET): Likewise.
1984
9f2a4fbc
ST
19852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1986
1987 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1988 to...
1989 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1990 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1991 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1992 fields.
9f2a4fbc 1993
fd15a59b
ST
19942014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1995
1996 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1997
f19dfa0a
SL
19982014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1999
2000 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2001
4fa8bc3b
SL
20022014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2003
2004 [BZ #14770]
2005 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2006 * sysdeps/s390/configure: Regenerate.
2007
8ea587db
SL
2008 [BZ #16824]
2009 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2010 Set round-to-nearest internally to reduce error accumulation.
2011
aa5f0ff1
AM
20122014-04-16 Alan Modra <amodra@gmail.com>
2013
2014 [BZ #16740]
2015 [BZ #16619]
2016 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2017 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2018 * NEWS: Update fixed bug list.
aa5f0ff1 2019
bb9c256f
SP
20202014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2021
2022 * benchtests/Makefile: Depend on libraries in build directory.
2023 (bench-math): Separate out math tests.
2024 (bench-pthread): Separate out pthread tests.
2025 (bench): Include math and pthread tests.
2026
f737dfd0
CD
20272014-04-14 Carlos O'Donell <carlos@redhat.com>
2028
2029 [BZ #16831]
2030 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2031 _dl_debug_initialize.
2032
0699f766
CD
2033 * configure.ac: Remove SELinux header check.
2034 * configure: Regenerate.
2035 * nscd/selinux.c (perms): Array of const char* to permission names.
2036 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2037 default policy. Call string_to_security_class and string_to_av_perm to
2038 translate strings. Enforce default policy and call avs_has_perm with
2039 results of translated strings.
2040
809bd45f
DM
20412014-04-13 David S. Miller <davem@davemloft.net>
2042
2043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2044
89e691f2
AM
20452014-04-12 Allan McRae <allan@archlinux.org>
2046
2047 [BZ #16838]
2048 * manual/string.texi (Collation Functions): Fix qsort argument
2049 order in example.
2050 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2051
9c9daaeb
CM
20522014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2053
2054 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2055 Make the test a no-op if there are no exceptions defined.
2056
95561fb9
PP
20572014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2058
fe8d072c 2059 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2060 enable-hardcoded-path-in-tests
2061
970c602a
WN
20622014-04-11 Will Newton <will.newton@linaro.org>
2063
2064 * benchtests/Makefile (extra-objs): Add json-lib.o.
2065 (bench-func): Tidy up JSON output.
2066 * benchtests/bench-skeleton.c: Include json-lib.h.
2067 (main): Use JSON library functions to do output of
2068 benchmark results.
2069 * benchtests/bench-timing-type.c (main): Output the
2070 timing type simply, leaving formatting to the user.
2071 * benchtests/json-lib.c: New file.
2072 * benchtests/json-lib.h: Likewise.
2073
36875b06
TR
20742014-04-11 Torvald Riegel <triegel@redhat.com>
2075
2076 [BZ #15215]
2077 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2078 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2079 memory barriers. Add comments.
2080 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2081 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2082 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2083 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2084 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2085 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2086
579db35a
SL
20872014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2088
2089 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2090 * sysdeps/s390/s390-64/configure.ac: ... this ...
2091 * sysdeps/s390/configure.ac: ... to here.
2092 * sysdeps/s390/s390-32/configure: Delete file.
2093 * sysdeps/s390/s390-64/configure: Delete file.
2094 * sysdeps/s390/configure: Regenerate.
2095
c12e9f37
JAPH
20962014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2097
2098 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2099
439bda32
WN
21002014-04-11 Will Newton <will.newton@linaro.org>
2101
2102 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2103 to zero if it is not defined elsewhere. (mtrim): Test
2104 the value of MALLOC_DEBUG with #if rather than #ifdef.
2105
6a5d6ea1
TR
21062014-04-10 Torvald Riegel <triegel@redhat.com>
2107
2108 * benchtests/pthread_once-inputs: New file.
2109 * benchtests/pthread_once-source.c: New file.
2110 * benchtests/README: Update documentation.
2111
a4c75cfd
IZ
21122014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2113 H.J. Lu <hongjiu.lu@intel.com>
2114
2115 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2116 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2117 * sysdeps/x86_64/configure: Regenerated.
2118 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2119 macro.
2120 (REGISTER_SAVE_RAX): Likewise.
2121 (REGISTER_SAVE_RCX): Likewise.
2122 (REGISTER_SAVE_RDX): Likewise.
2123 (REGISTER_SAVE_RSI): Likewise.
2124 (REGISTER_SAVE_RDI): Likewise.
2125 (REGISTER_SAVE_R8): Likewise.
2126 (REGISTER_SAVE_R9): Likewise.
2127 (REGISTER_SAVE_BND0): Likewise.
2128 (REGISTER_SAVE_BND1): Likewise.
2129 (REGISTER_SAVE_BND2): Likewise.
2130 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2131 bound registers when calling _dl_fixup.
2132
27822ce6
AZ
21332014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2134
2135 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2136 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2137 of its definition.
27822ce6
AZ
2138 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2139 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2140 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2141 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2142 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2143 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2144 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2145
a88ddc90
PTB
21462014-04-09 Peter Brett <peter@peter-b.co.uk>
2147
2148 [BZ #15514]
2149 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2150 pathconf(_PC_NAME_MAX).
2151
01f8eac2
AZ
21522014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153
2154 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2155 Remove macro usage.
2156 (__PTHREAD_SPINS): Move definition to ...
2157 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2158 (__PTHREAD_SPINS): ... here.
2159 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2160 (__PTHREAD_SPIN): Likewise.
2161 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2162 (__PTHREAD_SPIN): Likewise.
2163 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2164 (__PTHREAD_SPIN): Likewise.
2165 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2166 (__PTHREAD_SPIN): Likewise.
2167 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2168 (__PTHREAD_SPIN): Likewise.
2169 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2170 (__PTHREAD_SPIN): Likewise.
2171 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2172 (__PTHREAD_SPIN): Likewise.
2173 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2174 (__PTHREAD_SPIN): Likewise.
2175 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2176 (__PTHREAD_SPIN): Likewise.
2177 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2178 (__PTHREAD_SPIN): Likewise.
2179 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2180 (__PTHREAD_SPIN): Likewise.
2181 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2182 (__PTHREAD_SPIN): Likewise.
2183
de21c33c
AZ
2184 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2185 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2186 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2187 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2188 imply folder.
2189 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2190 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2191 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2192 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2193 correct imply path.
2194 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2195 strlen symbol for non multi-arch builds.
2196 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2197 missing hidden_def and weak_alias.
2198
862c472e
CD
21992014-04-08 Carlos O'Donell <carlos@redhat.com>
2200
2201 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2202
8667f90e
WN
22032014-04-07 Will Newton <will.newton@linaro.org>
2204
2205 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2206 and contents. [!_LIBC] Remove #ifndef and contents.
2207 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2208 * string/memccpy.c (__memccpy): Use ANSI prototype.
2209 * string/memfrob.c (memfrob): Likewise.
2210 * string/strcoll.c (STRCOLL): Likewise.
2211 * string/strlen.c (strlen): Likewise.
2212 * string/strtok.c (STRTOK): Likewise.
2213 * string/strcat.c: Remove unused #include of memcopy.h.
2214 (strcat): Use ANSI prototype.
2215 * string/strchr.c: Remove unused #include of memcopy.h.
2216 (strchr): Use ANSI prototype.
2217 * string/strcmp.c: Remove unused #include of memcopy.h.
2218 (strcmp): Use ANSI prototype.
2219 * string/strcpy.c: Remove unused #include of memcopy.h.
2220 (strcpy): Use ANSI prototype.
2221
7ffa9423
AZ
22222014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2223
2224 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2225 * config.make.in (config-extra-cppflags): Set it from
2226 libc_extra_cppflags.
2227 * configure.ac (libc_extra_cflags): Make it accumulate over
2228 configure fragments.
2229 (libc_extra_cppflags): New flag.
2230 * configure. Regenerate.
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2232 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2233 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2235
8bd70862
AZ
2236 [BZ #16815]
2237 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2238 result for FE_DOWNWARD rounding mode.
2239 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2240 Likewise.
2241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2242
d42f3448
CM
22432014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2244
2245 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2246 in function argument name.
2247
1c21d115
DS
22482014-04-03 David Svoboda <svoboda@cert.org>
2249
2250 [BZ #5666]
2251 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2252 explicitly.
2253
fcccd512
RM
22542014-04-03 Roland McGrath <roland@hack.frob.com>
2255
2256 * elf/dl-unmap-segments.h: New file.
2257 * sysdeps/generic/ldsodefs.h
2258 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2259 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2260 * elf/dl-fptr.c: Likewise.
2261 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2262 * sysdeps/aarch64/tlsdesc.c: Likewise.
2263 * sysdeps/arm/tlsdesc.c: Likewise.
2264 * sysdeps/i386/tlsdesc.c: Likewise.
2265 * sysdeps/tile/dl-runtime.c: Likewise.
2266 * sysdeps/x86_64/tlsdesc.c: Likewise.
2267 * elf/dl-load.h: New file.
2268 * elf/dl-load.c: Include it.
2269 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2270 Macros moved to dl-load.h.
2271 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2272 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2273 Use _dl_unmap_segments in place of __munmap.
2274 Break out segment-mapping loop into ...
2275 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2276
f6488e2b
WN
22772014-04-03 Will Newton <will.newton@linaro.org>
2278
2279 * elf/dl-lookup.c (do_lookup_x): Remove comment
2280 referring to nested function and move variable
2281 declarations down to before first use.
2282
6f05bafe
JM
22832014-04-02 Joseph Myers <joseph@codesourcery.com>
2284
a84e78c8
JM
2285 [BZ #16799]
2286 [BZ #16800]
2287 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2288 with 0 numerator.
2289 * math/s_catanf.c (__catanf): Likewise.
2290 * math/s_catanh.c (__catanh): Likewise.
2291 * math/s_catanhf.c (__catanhf): Likewise.
2292 * math/s_catanhl.c (__catanhl): Likewise.
2293 * math/s_catanl.c (__catanl): Likewise.
2294 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2295 by positive zero when computing -Inf result.
2296 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2297 (catanh_test): Likewise.
2298 * sysdeps/i386/fpu/libm-test-ulps: Update.
2299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2300
6f05bafe
JM
2301 [BZ #16789]
2302 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2303 instead of using underflowing value in computing result.
2304 * math/s_clog10.c (__clog10): Likewise.
2305 * math/s_clog10f.c (__clog10f): Likewise.
2306 * math/s_clog10l.c (__clog10l): Likewise.
2307 * math/s_clogf.c (__clogf): Likewise.
2308 * math/s_clogl.c (__clogl): Likewise.
2309 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2310 (clog10_test): Likewise.
2311 * sysdeps/i386/fpu/libm-test-ulps: Update.
2312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2313
b0abbc21
AM
23142014-04-02 Alan Modra <amodra@gmail.com>
2315
2316 [BZ #16739]
2317 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2318 output when value is near a power of two. Use int64_t for lx and
2319 remove casts. Use decimal rather than hex exponent constants.
2320 Don't use long double multiplication when double will suffice.
2321 * math/libm-test.inc (nextafter_test_data): Add tests.
2322 * NEWS: Add 16739 and 16786 to bug list.
2323
af6b1797
AM
2324 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2325
483818d7
AM
2326 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2327
f6c55796
WN
23282014-04-01 Will Newton <will.newton@linaro.org>
2329
2330 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2331 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2332
13f7fe35
FW
23332014-04-01 Florian Weimer <fweimer@redhat.com>
2334
2335 [BZ #13347]
2336 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2337 * nptl/tst-setuid2.c: New file.
2338 * nptl/Makefile (xtests): Add tst-setuid2.
2339
c859b32e
AM
23402014-04-01 Alan Modra <amodra@gmail.com>
2341
2342 [BZ #16786]
2343 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2344
54fa2475
JM
23452014-03-31 Joseph Myers <joseph@codesourcery.com>
2346
8795b4a4
JM
2347 [BZ #6803]
2348 [BZ #6804]
2349 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2350 set errno as appropriate.
2351 * math/w_scalbf.c (__scalbf): Likewise.
2352 * math/w_scalbl.c (__scalbl): Likewise.
2353 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2354 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2355 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2356 Add more NaN tests.
2357
54fa2475
JM
2358 [BZ #16349]
2359 * math/w_atan2.c: Include <errno.h>.
2360 (__atan2): Set errno for result underflowing to zero.
2361 * math/w_atan2f.c: Include <errno.h>.
2362 (__atan2f): Set errno for result underflowing to zero.
2363 * math/w_atan2l.c: Include <errno.h>.
2364 (__atan2l): Set errno for result underflowing to zero.
2365 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2366 tests.
2367 * math/auto-libm-test-out: Regenerated.
2368
757d9dd5
AZ
23692014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2370
2371 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2372 Encode instruction correctly in little endian.
2373 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2374 Likewise.
2375 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2376 Likewise.
2377 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2378 Likewise.
2379 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2380 Likewise.
2381
d7a68734
JM
23822014-03-31 Joseph Myers <joseph@codesourcery.com>
2383
47c5adeb
JM
2384 [BZ #9894]
2385 * sysdeps/unix/sysv/linux/kernel-features.h
2386 [__sparc__ && !__arch64__ && !__sparc_v9__]
2387 (__ASSUME_SET_ROBUST_LIST): Do not define.
2388 [__sparc__ && !__arch64__ && !__sparc_v9__]
2389 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2390 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2391 Likewise.
2392 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2393 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2394 (__ASSUME_REQUEUE_PI): Likewise.
2395 (__ASSUME_SET_ROBUST_LIST): Likewise.
2396 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2397 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2398 Undefine.
2399 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2400 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2401 Likewise.
2402 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2403 Likewise.
2404 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2405 Likewise.
2406 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2407 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2408 Undefine.
2409 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2410 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2411 Likewise.
2412
d7a68734
JM
2413 [BZ #16648]
2414 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2416 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2417
c760f5c2
WN
24182014-03-31 Will Newton <will.newton@linaro.org>
2419
2420 * benchtests/Makefile (bench): Add ffs and ffsll to list
2421 of tests.
2422 * benchtests/ffs-inputs: New file.
2423 * benchtests/ffsll-inputs: Likewise.
2424
ea6029b1
JM
24252014-03-29 Joseph Myers <joseph@codesourcery.com>
2426
2427 [BZ #16770]
2428 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2429 too large before casting to int.
2430 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2431 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2432 * math/libm-test.inc (scalb_test_data): Add more tests.
2433
cf806aff
SP
24342014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2435
56737508
SP
2436 * benchtests/Makefile (DETAILED_OPT): New make option.
2437 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2438 set.
2439 * benchtests/bench-skeleton.c: Include stdbool.h.
2440 (main): Store and print timings per input.
2441 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2442 member to each argument value.
2443 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2444 (_print_arg_data): Initialize per-input timing to 0.
2445
cb5e4aad
SP
2446 * benchtests/Makefile (timing-type): New binary.
2447 (bench-clean): Also remove bench-timing-type.
2448 (bench): New target for timing-type.
2449 (bench-func): Print output in JSON format.
2450 * benchtests/bench-skeleton.c (main): Print output in JSON
2451 format.
2452 * benchtests/bench-timing-type.c: New file.
2453 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2454 (TIMING_PRINT_STATS): Remove.
2455 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2456 name separately.
2457
cf806aff
SP
2458 * benchtests/bench-modf.c: Remove.
2459 * benchtests/modf-inputs: New inputs file.
2460
289e0779
JM
24612014-03-28 Joseph Myers <joseph@codesourcery.com>
2462
2463 [BZ #16362]
2464 * math/s_clog10.c (M_PI_LOG10E): New macro.
2465 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2466 imaginary parts are 0.
2467 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2468 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2469 imaginary parts are 0.
2470 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2471 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2472 imaginary parts are 0.
2473 * math/libm-test.inc (clog10_test_data): Update expected results
2474 for when real and imaginary parts are 0.
2475
277ae3f1
PP
24762014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2477
2478 * elf/dl-load.c: Finish conversion of __builtin_expect into
2479 __glibc_{un}likely.
2480
03a7091f
JM
24812014-03-27 Joseph Myers <joseph@codesourcery.com>
2482
2483 [BZ #16348]
2484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2485 1+x for argument with exponent below -67.
2486 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2487 Likewise.
2488 * math/auto-libm-test-in: Add more tests of exp.
2489 * math/auto-libm-test-out: Regenerated.
2490
ea7d8b95
SP
24912014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2492
dd3022d7
SP
2493 [BZ #16759]
2494 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2495 (nscd_getnetgrent): Use it.
2496
ea7d8b95
SP
2497 [BZ #16760]
2498 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2499 of stpcpy.
2500
df5b85da
AK
25012014-03-27 Andi Kleen <ak@linux.intel.com>
2502
57f41c40
AS
2503 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2504 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2505 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2506 (lll_robust_unlock): Remove out of line section. Use cfi
2507 intrinsics.
df5b85da 2508 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2509 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2510 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2511 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2512 (lll_robust_unlock): Remove out of line section. Use cfi
2513 intrinsics.
df5b85da
AK
2514 (LLL_STUB_UNWIND_INFO*): Remove.
2515
fbd6b5a4
SP
25162014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2517
2518 [BZ #16758]
2519 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2520 blank values.
2521
1b26b855
PP
25222014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2523
2524 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2525
9be36fb8
JM
25262014-03-26 Joseph Myers <joseph@codesourcery.com>
2527
2528 [BZ #16198]
2529 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2530 fnstenv.
2531 * math/test-fenv-preserve.c: New file.
2532 * math/Makefile (tests): Add test-fenv-preserve.
2533
60a2f3c1
WN
25342014-03-26 Will Newton <will.newton@linaro.org>
2535
2536 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2537
a5e5f1e2
RM
25382014-03-25 Roland McGrath <roland@hack.frob.com>
2539
2540 * scripts/versionlist.awk: Partition the version sets and emit all
2541 GLIBC_* (sorted) before all others (sorted).
2542
00f4012a
JM
25432014-03-25 Joseph Myers <joseph@codesourcery.com>
2544
2545 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2546 GLIBC_2.2.5 version.
2547
7bc5a741
AZ
25482014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549
2550 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2551 calls.
2552
7578473b
AZ
2553 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2554 previous change.
2555
f3f1dab3
AZ
2556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2557
6da36183
AS
25582014-03-25 Andreas Schwab <schwab@suse.de>
2559
2560 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2561 label to be used after in6ailist is initialized.
2562
f3f1dab3 25632014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2564
7578473b 2565 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2566 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2567
046651c1
JM
25682014-03-25 Joseph Myers <joseph@codesourcery.com>
2569
2570 [BZ #16357]
2571 [BZ #16599]
2572 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2573 min_plus_half.
2574 (fp_formats): Update initializers.
2575 (init_fp_formats): Initialize new field.
2576 (output_for_one_input_case): Allow underflow for results up to
2577 min_plus_half.
2578 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2579 * math/auto-libm-test-in: Don't mark some underflows from asin and
2580 atanh as spurious.
2581 * math/auto-libm-test-out: Regenerated.
2582 * sysdeps/i386/fpu/libm-test-ulps: Update.
2583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2584
003e49ed
AS
25852014-03-25 Andreas Schwab <schwab@suse.de>
2586
2587 * libio/Makefile (tst-ftell-partial-wide-ENV)
2588 (tst-ftell-active-handler-ENV): Define.
2589
de031874
SL
25902014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2591
2592 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2593
55a81e3b
PP
25942014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2595
2596 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2597
f3426898
JM
25982014-03-24 Joseph Myers <joseph@codesourcery.com>
2599
2600 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2601 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2602 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2603
a42faf59
PP
26042014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2605
2606 [BZ #16634]
a42faf59 2607 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2608 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2609 (open_path): Change from boolean 'secure' to complete flag 'mode'
2610 (_dl_map_object): Adjust.
a42faf59
PP
2611 * elf/Makefile (tests): Add tst-dlopen-aout.
2612 * elf/tst-dlopen-aout.c: New test.
2613
50936127
SL
26142014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2615
2616 [BZ #16714]
2617 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2618 (struct stat): Rename member pad0 to __glibc_reserved0.
2619
26011b5c
SL
2620 [BZ #16712]
2621 * sysdeps/s390/s390-32/bits/wordsize.h
2622 (__WORDSIZE32_SIZE_ULONG): New define.
2623 * sysdeps/s390/s390-64/bits/wordsize.h
2624 (__WORDSIZE32_SIZE_ULONG): Likewise.
2625 * sysdeps/generic/stdint.h (SIZE_MAX):
2626 Define as UL if __WORDSIZE32_SIZE_ULONG.
2627
a2d86bf1
SL
2628 [BZ #16713]
2629 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2630 (__glibc_reserved0): New variable.
2631 (sa_flags): Change type to int.
2632
78b6eebc
SL
2633 * posix/Makefile (before-compile): Use += before-compile instead
2634 of a :=.
2635
f1399b5a
SL
2636 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2637 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2638
a071766e
AS
26392014-03-20 Andreas Schwab <schwab@suse.de>
2640
2641 [BZ #16743]
2642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2643 non-matching result from nscd.
2644
27c673b8
SP
26452014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2646
2647 * scripts/bench.py: Moved to ...
2648 * benchtests/scripts/bench.py: ... here.
2649 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2650
44152e4b
AS
26512014-03-24 Andreas Schwab <schwab@suse.de>
2652
2653 [BZ #16002]
2654 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2655 alloca_account and account alloca use for struct in6ailist.
2656
b376a11a
JM
26572014-03-24 Joseph Myers <joseph@codesourcery.com>
2658
2659 [BZ #16284]
2660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2661 rounding mode to recompute results that overflow to infinity or
2662 underflow to zero.
2663 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2664 bug 16284.
2665 * math/auto-libm-test-out: Regenerated.
2666 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2667 (ccosh_test): Likewise.
2668 (csin_test_data): Use plus_oflow.
2669 (csin_test): Use ALL_RM_TEST.
2670 (csinh_test_data): Use plus_oflow.
2671 (csinh_test): Use ALL_RM_TEST.
2672 * sysdeps/i386/fpu/libm-test-ulps: Update.
2673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2674
f7be7376
JM
26752014-03-21 Joseph Myers <joseph@codesourcery.com>
2676
1ca2d03e
JM
2677 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2678 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2679 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2680
f7be7376
JM
2681 [BZ #16731]
2682 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2683 when x - 1 is zero.
2684 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2685 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2686 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2687 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2688 argument is 1.
2689 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2690 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2691 zero.
2692 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2693 * sysdeps/i386/fpu/libm-test-ulps: Update.
2694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2695
fdf4534d
SP
26962014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2697
df26ea53
SP
2698 * scripts/bench.pl: Remove file.
2699 * scripts/bench.py: New benchmark script.
2700 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2701 * benchtests/README: Mention python dependency.
2702 * scripts/pylintrc: New file.
2703 * scripts/pylint: New file.
2704
fdf4534d
SP
2705 * bits/mathdef.h: Use #ifdef instead of #if.
2706 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2707 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2708 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2709 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2710 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2711 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2712
6f23d093
AZ
27132014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2714 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2715
2716 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2718 and strpbrk-ppc64 objects.
2719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2720 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2721 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2722 multiarch strpbrk for POWER7.
2723 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2724 multiarch strpbrk for PPC64.
2725 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2726 ifunc selector.
2727 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2728 strpbrk for POWER7.
2729
8c92dfff
JM
27302014-03-20 Joseph Myers <joseph@codesourcery.com>
2731
2732 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2733 (atan_test): Likewise.
2734 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2735 (atanh_test): Use ALL_RM_TEST.
2736 (atan2_test_data): Likewise.
2737 (cabs_test): Likewise.
2738 (cacosh_test): Likewise.
2739 (carg_test): Likewise.
2740 (casin_test): Likewise.
2741 (casinh_test): Likewise.
2742 (cbrt_test): Likewise.
2743 (csqrt_test): Likewise.
2744 (erf_test): Likewise.
2745 (erfc_test): Likewise.
2746 (pow10_test): Likewise.
2747 (exp2_test): Likewise.
2748 (hypot_test): Likewise.
2749 (j0_test): Likewise.
2750 (j1_test): Likewise.
2751 (lgamma_test): Likewise.
2752 (gamma_test): Likewise.
2753 (sincos_test): Likewise.
2754 (tanh_test): Likewise.
2755 (y0_test): Likewise.
2756 (y1_test): Likewise.
2757 * sysdeps/i386/fpu/libm-test-ulps: Update.
2758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2759
6eaf95cb
AZ
27602014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2761
a387428c
SP
2762 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2764 and strcspn-ppc64 objects.
2765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2766 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2767 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2768 multiarch strcspn for POWER7.
2769 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2770 multiarch strcspn for PPC64.
2771 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2772 ifunc selector.
2773 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2774 strcspn for POWER7.
2775
ae3a5dff
JM
27762014-03-20 Joseph Myers <joseph@codesourcery.com>
2777
2778 * math/gen-libm-test.pl (generate_testfile): Expect only function
2779 name as argument to AUTO_TESTS_* and pass results for all rounding
2780 modes to parse_args.
2781 (parse_auto_input): Separate inputs of automatic tests from
2782 outputs before storing in %auto_tests.
2783 * math/libm-test.inc (acos_test_data): Update call to
2784 AUTO_TESTS_f_f.
2785 (acos_test): Use ALL_RM_TEST.
2786 (acos_tonearest_test_data): Remove.
2787 (acos_test_tonearest): Likewise.
2788 (acos_towardzero_test_data): Likewise.
2789 (acos_test_towardzero): Likewise.
2790 (acos_downward_test_data): Likewise.
2791 (acos_test_downward): Likewise.
2792 (acos_upward_test_data): Likewise.
2793 (acos_test_upward): Likewise.
2794 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2795 (asin_test_data): Likewise.
2796 (asin_test): Use ALL_RM_TEST.
2797 (asin_tonearest_test_data): Remove.
2798 (asin_test_tonearest): Likewise.
2799 (asin_towardzero_test_data): Likewise.
2800 (asin_test_towardzero): Likewise.
2801 (asin_downward_test_data): Likewise.
2802 (asin_test_downward): Likewise.
2803 (asin_upward_test_data): Likewise.
2804 (asin_test_upward): Likewise.
2805 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2806 (atan_test_data): Likewise.
2807 (atanh_test_data): Likewise.
2808 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2809 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2810 (carg_test_data): Likewise.
2811 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2812 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2813 (ccosh_test_data): Likewise.
2814 (cexp_test_data): Likewise.
2815 (clog_test_data): Likewise.
2816 (clog10_test_data): Likewise.
2817 (cos_test_data): Update call to AUTO_TESTS_f_f.
2818 (cos_test): Use ALL_RM_TEST.
2819 (cos_tonearest_test_data): Remove.
2820 (cos_test_tonearest): Likewise.
2821 (cos_towardzero_test_data): Likewise.
2822 (cos_test_towardzero): Likewise.
2823 (cos_downward_test_data): Likewise.
2824 (cos_test_downward): Likewise.
2825 (cos_upward_test_data): Likewise.
2826 (cos_test_upward): Likewise.
2827 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2828 (cosh_test): Use ALL_RM_TEST.
2829 (cosh_tonearest_test_data): Remove.
2830 (cosh_test_tonearest): Likewise.
2831 (cosh_towardzero_test_data): Likewise.
2832 (cosh_test_towardzero): Likewise.
2833 (cosh_downward_test_data): Likewise.
2834 (cosh_test_downward): Likewise.
2835 (cosh_upward_test_data): Likewise.
2836 (cosh_test_upward): Likewise.
2837 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2838 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2839 (ctan_test_data): Likewise.
2840 (ctan_test): Use ALL_RM_TEST.
2841 (ctan_tonearest_test_data): Remove.
2842 (ctan_test_tonearest): Likewise.
2843 (ctan_towardzero_test_data): Likewise.
2844 (ctan_test_towardzero): Likewise.
2845 (ctan_downward_test_data): Likewise.
2846 (ctan_test_downward): Likewise.
2847 (ctan_upward_test_data): Likewise.
2848 (ctan_test_upward): Likewise.
2849 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2850 (ctanh_test): Use ALL_RM_TEST.
2851 (ctanh_tonearest_test_data): Remove.
2852 (ctanh_test_tonearest): Likewise.
2853 (ctanh_towardzero_test_data): Likewise.
2854 (ctanh_test_towardzero): Likewise.
2855 (ctanh_downward_test_data): Likewise.
2856 (ctanh_test_downward): Likewise.
2857 (ctanh_upward_test_data): Likewise.
2858 (ctanh_test_upward): Likewise.
2859 (erf_test_data): Update call to AUTO_TESTS_f_f.
2860 (erfc_test_data): Likewise.
2861 (exp_test_data): Likewise.
2862 (exp_test): Use ALL_RM_TEST.
2863 (exp_tonearest_test_data): Remove.
2864 (exp_test_tonearest): Likewise.
2865 (exp_towardzero_test_data): Likewise.
2866 (exp_test_towardzero): Likewise.
2867 (exp_downward_test_data): Likewise.
2868 (exp_test_downward): Likewise.
2869 (exp_upward_test_data): Likewise.
2870 (exp_test_upward): Likewise.
2871 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2872 (exp10_test): Use ALL_RM_TEST.
2873 (exp10_tonearest_test_data): Remove.
2874 (exp10_test_tonearest): Likewise.
2875 (exp10_towardzero_test_data): Likewise.
2876 (exp10_test_towardzero): Likewise.
2877 (exp10_downward_test_data): Likewise.
2878 (exp10_test_downward): Likewise.
2879 (exp10_upward_test_data): Likewise.
2880 (exp10_test_upward): Likewise.
2881 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2882 (expm1_test_data): Likewise.
2883 (expm1_test): Use ALL_RM_TEST.
2884 (expm1_tonearest_test_data): Remove.
2885 (expm1_test_tonearest): Likewise.
2886 (expm1_towardzero_test_data): Likewise.
2887 (expm1_test_towardzero): Likewise.
2888 (expm1_downward_test_data): Likewise.
2889 (expm1_test_downward): Likewise.
2890 (expm1_upward_test_data): Likewise.
2891 (expm1_test_upward): Likewise.
2892 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2893 (fma_test): Use ALL_RM_TEST.
2894 (fma_towardzero_test_data): Remove.
2895 (fma_test_towardzero): Likewise.
2896 (fma_downward_test_data): Likewise.
2897 (fma_test_downward): Likewise.
2898 (fma_upward_test_data): Likewise.
2899 (fma_test_upward): Likewise.
2900 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2901 (j0_test_data): Update call to AUTO_TESTS_f_f.
2902 (j1_test_data): Likewise.
2903 (jn_test_data): Update call to AUTO_TESTS_if_f.
2904 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2905 (log_test_data): Update call to AUTO_TESTS_f_f.
2906 (log10_test_data): Likewise.
2907 (log1p_test_data): Likewise.
2908 (log2_test_data): Likewise.
2909 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2910 (pow_tonearest_test_data): Likewise.
2911 (sin_test_data): Update call to AUTO_TESTS_f_f.
2912 (sin_test): Use ALL_RM_TEST.
2913 (sin_tonearest_test_data): Remove.
2914 (sin_test_tonearest): Likewise.
2915 (sin_towardzero_test_data): Likewise.
2916 (sin_test_towardzero): Likewise.
2917 (sin_downward_test_data): Likewise.
2918 (sin_test_downward): Likewise.
2919 (sin_upward_test_data): Likewise.
2920 (sin_test_upward): Likewise.
2921 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2922 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2923 (sinh_test): Use ALL_RM_TEST.
2924 (sinh_tonearest_test_data): Remove.
2925 (sinh_test_tonearest): Likewise.
2926 (sinh_towardzero_test_data): Likewise.
2927 (sinh_test_towardzero): Likewise.
2928 (sinh_downward_test_data): Likewise.
2929 (sinh_test_downward): Likewise.
2930 (sinh_upward_test_data): Likewise.
2931 (sinh_test_upward): Likewise.
2932 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2933 (sqrt_test): Use ALL_RM_TEST.
2934 (sqrt_tonearest_test_data): Remove.
2935 (sqrt_test_tonearest): Likewise.
2936 (sqrt_towardzero_test_data): Likewise.
2937 (sqrt_test_towardzero): Likewise.
2938 (sqrt_downward_test_data): Likewise.
2939 (sqrt_test_downward): Likewise.
2940 (sqrt_upward_test_data): Likewise.
2941 (sqrt_test_upward): Likewise.
2942 (tan_test_data): Update call to AUTO_TESTS_f_f.
2943 (tan_test): Use ALL_RM_TEST.
2944 (tan_tonearest_test_data): Remove.
2945 (tan_test_tonearest): Likewise.
2946 (tan_towardzero_test_data): Likewise.
2947 (tan_test_towardzero): Likewise.
2948 (tan_downward_test_data): Likewise.
2949 (tan_test_downward): Likewise.
2950 (tan_upward_test_data): Likewise.
2951 (tan_test_upward): Likewise.
2952 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2953 (tgamma_test_data): Likewise.
2954 (y0_test_data): Likewise.
2955 (y1_test_data): Likewise.
2956 (yn_test_data): Update call to AUTO_TESTS_if_f.
2957 (main): Do not call removed functions.
2958
d71aeee8
JM
29592014-03-19 Joseph Myers <joseph@codesourcery.com>
2960
2961 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2962 (ldexp_test_data): Remove.
2963 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2964 scalbn_test_data.
2965 (scalb_test): Use ALL_RM_TEST.
2966
baaf1ded
AS
29672014-03-19 Andreas Schwab <schwab@suse.de>
2968
2969 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2970
b1115e91
JM
29712014-03-19 Joseph Myers <joseph@codesourcery.com>
2972
2973 [BZ #16649]
2974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2975 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2976 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2978 (__ASSUME_PREADV): Undefine.
2979 (__ASSUME_PWRITEV): Likewise.
2980
0283ecca
RM
29812014-03-18 Roland McGrath <roland@hack.frob.com>
2982
7d375303
RM
2983 * bits/mman-linux.h: Add comment about non-Linux use.
2984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2985 bits/mman-linux.h resting place.
2986
0283ecca
RM
2987 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2988 * bits/mman-linux.h: ... here.
2989
aebe1003
AZ
29902014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2991
2992 * conform/conformtest.pl: Add standard definition when calling C
2993 preprocessor on data files.
2994 (checknamespace): Remove unused variable.
2995
b29b6bb8
JM
29962014-03-18 Joseph Myers <joseph@codesourcery.com>
2997
2998 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2999 minus_oflow, plus_uflow and minus_uflow in expected results.
3000 * math/libm-test.inc (scalbn_test_data): Add more tests of
3001 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3002 minus_uflow.
3003 (scalbn_test): Use ALL_RM_TEST.
3004 (scalbln_test_data): Add more tests of negative arguments. Use
3005 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3006 (scalbln_test): Use ALL_RM_TEST.
3007
c8f8fa15
RM
30082014-03-18 Roland McGrath <roland@hack.frob.com>
3009
3010 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3011
fede7a5f
WN
30122014-03-18 Will Newton <will.newton@linaro.org>
3013
3014 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3015 inaccurate comment.
3016
80cf0a58
JM
30172014-03-18 Joseph Myers <joseph@codesourcery.com>
3018
3019 * Makerules [!subdir] (check-abi): Exit with error status if a
3020 test failed.
3021
b3620862
JM
30222014-03-17 Joseph Myers <joseph@codesourcery.com>
3023
3024 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3025 for rint. Include results for all rounding modes.
3026 (nearbyint_test): Use ALL_RM_TEST.
3027 (rint_test_data): Include all tests used for nearbyint.
3028
788bba36
WN
30292014-03-17 Will Newton <will.newton@linaro.org>
3030
04ec140a
WN
3031 * nptl/sysdeps/pthread/pthread.h: Revert previous
3032 change.
3033
7579d8d5
WN
3034 * sysdeps/generic/ldsodefs.h: Revert previous
3035 change.
3036
c15cf13a
WN
3037 * libio/genops.c: Revert previous change.
3038 * libio/libioP.h: Likewise.
3039 * stdio-common/vfprintf.c: Likewise.
3040
d0ac1324
WN
3041 * sysdeps/generic/math_private.h: Revert previous
3042 change.
3043
9290130a
WN
3044 * sysdeps/generic/math_private.h: Check whether
3045 HAVE_RM_CTX is defined with #ifdef rather
3046 than #if.
3047
afb466fc
WN
3048 * argp/argp-fmtstream.h: Check whether
3049 __STRICT_ANSI__ is defined with #ifdef rather
3050 than #if.
3051 * argp/argp.h: Likewise.
3052
f7efd7c3
WN
3053 * libio/genops.c: Check whether
3054 _IO_JUMPS_OFFSET is defined with #ifdef rather
3055 than #if.
3056 * libio/libioP.h: Likewise.
3057 * stdio-common/vfprintf.c: Likewise.
3058
53f1bed3
WN
3059 * sysdeps/generic/ldsodefs.h: Check whether
3060 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3061 than #if.
3062
788bba36
WN
3063 * nptl/sysdeps/pthread/pthread.h: Check
3064 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3065 its value.
3066
fcd89ebe
SP
30672014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3068
ae42bbc5
SP
3069 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3070 setting O_APPEND.
3071 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3072 test case.
3073
ea33158c
SP
3074 [BZ #16680]
3075 * libio/fileops.c (_IO_file_open): Seek to end of file but
3076 don't cache the offset.
3077 (get_file_offset): Remove function.
3078 (do_ftell): Use cached offset when available.
3079 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3080 don't cache the offset.
3081 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3082 case.
3083 (do_one_test): Call it.
3084 (do_ftell_test): Fix up expected old offset for a+ mode.
3085 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3086 available.
3087
b1dbb426
SP
3088 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3089 up test status with function return status.
3090 (do_write_test): Likewise.
3091 (do_append_test): Likewise.
3092
fcd89ebe
SP
3093 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3094 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3095 Remove.
3096
9962a2d3
JM
30972014-03-17 Joseph Myers <joseph@codesourcery.com>
3098
3099 * math/gen-libm-test.pl (parse_args): Handle results specified for
3100 each rounding mode separately.
3101 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3102 tests and results from lrint_tonearest_test_data,
3103 lrint_towardzero_test_data, lrint_downward_test_data and
3104 lrint_upward_test_data.
3105 (lrint_test): Use ALL_RM_TEST.
3106 (lrint_tonearest_test_data): Remove.
3107 (lrint_test_tonearest): Likewise.
3108 (lrint_towardzero_test_data): Likewise.
3109 (lrint_test_towardzero): Likewise.
3110 (lrint_downward_test_data): Likewise.
3111 (lrint_test_downward): Likewise.
3112 (lrint_upward_test_data): Likewise.
3113 (lrint_test_upward): Likewise.
3114 (llrint_test_data): Merge in per-rounding-mode tests and results
3115 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3116 llrint_downward_test_data and llrint_upward_test_data.
3117 (llrint_test): Use ALL_RM_TEST.
3118 (llrint_tonearest_test_data): Remove.
3119 (llrint_test_tonearest): Likewise.
3120 (llrint_towardzero_test_data): Likewise.
3121 (llrint_test_towardzero): Likewise.
3122 (llrint_downward_test_data): Likewise.
3123 (llrint_test_downward): Likewise.
3124 (llrint_upward_test_data): Likewise.
3125 (llrint_test_upward): Likewise.
3126 (rint_test_data): Merge in per-rounding-mode tests and results
3127 from rint_tonearest_test_data, rint_towardzero_test_data,
3128 rint_downward_test_data and rint_upward_test_data. Add
3129 per-rounding-mode results for tests not in those arrays.
3130 (rint_test): Use ALL_RM_TEST.
3131 (rint_tonearest_test_data): Remove.
3132 (rint_test_tonearest): Likewise.
3133 (rint_towardzero_test_data): Likewise.
3134 (rint_test_towardzero): Likewise.
3135 (rint_downward_test_data): Likewise.
3136 (rint_test_downward): Likewise.
3137 (rint_upward_test_data): Likewise.
3138 (rint_test_upward): Likewise.
3139 (main): Don't call removed functions.
3140
5006148e
RM
31412014-03-14 Roland McGrath <roland@hack.frob.com>
3142
3143 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3144 "Compiled on ..." crapola. It is anti-useful.
3145
d6fe5e58
JM
31462014-03-14 Joseph Myers <joseph@codesourcery.com>
3147
3148 * scripts/evaluate-test.sh: Handle fourth argument to determine
3149 whether test run should stop on failure.
3150 * Makeconfig (stop-on-test-failure): New variable.
3151 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3152 $(stop-on-test-failure).
3153 * Makefile (tests): Give a summary of results from testing and
3154 exit with failure status if they include an ERROR or FAIL.
3155 (xtests): Likewise.
3156 * manual/install.texi (Configuring and compiling): Mention
3157 stop-on-test-failure=y.
3158 * INSTALL: Regenerated.
3159
498a2233
RM
31602014-03-14 Roland McGrath <roland@hack.frob.com>
3161
22dbc19d
RM
3162 * scripts/versionlist.awk: New file.
3163 * Makerules [$(build-shared) = yes]
3164 (postclean-generated): Add Versions.def, not Versions.def.v and
3165 Versions.def.v.i.
3166 ($(common-objpfx)Versions.def.v.i): Target removed.
3167 ($(common-objpfx)Versions.def): New target.
3168 ($(common-objpfx)Versions.all): Depend on that rather that
3169 $(common-objpfx)Versions.def.v.
3170 * Versions.def: File removed.
3171
498a2233
RM
3172 * Makeconfig (+gccwarn): Add -Wundef.
3173 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3174 a dl-sysdep.h breaking its contract.
3175 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3176 * include/stackinfo.h: New file.
3177 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3178 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3179 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3180 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3181 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3182 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3183 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3184 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3185 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3186 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3187 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3188 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3189 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3190 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3191 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3192
c7de5025
AZ
31932014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3194
3195 [BZ #16707]
3196 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3197 implementation.
3198 * math/libm-test.inc (round_test_data): Add more tests.
3199
98fb27a3
AZ
3200 [BZ #16706]
3201 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3202 implementation.
3203 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3204
374f7f61
AZ
3205 [BZ #16701]
3206 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3207 implementation.
3208 * math/libm-test.inc (ceil_test_data): Add more tests.
3209
4655c291
AZ
3210 * math/libm-test.inc (trunc_test_data): Add more tests related to
3211 BZ#16414.
3212
d7329d4b
RM
32132014-03-14 Roland McGrath <roland@hack.frob.com>
3214
3215 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3216 with #if rather than #ifdef.
3217 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3218
aa4de9ce
L
32192014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3220
3221 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3222 first. Disable AVX-512 GCC support if assembler doesn't support
3223 it.
3224 * sysdeps/x86_64/configure: Regenerated.
3225
2e03fae7
CD
32262014-03-13 Carlos O'Donell <carlos@redhat.com>
3227
3228 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3229 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3230 (__old_pthread_attr_setstack): Likewise.
3231 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3232 [!_STACK_GROWS_DOWN]: Likewise.
3233
43ca83ec
MF
32342014-03-13 Mike Frysinger <vapier@gentoo.org>
3235
3236 * config.make.in (have-bash2): Delete.
3237 * configure.ac (libc_cv_have_bash2): Delete.
3238 * configure: Regenerate.
3239 * elf/Makefile (common-ldd-rewrite): Rename to ...
3240 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3241 (sh-ldd-rewrite): Delete.
3242 (bash-ldd-rewrite): Delete.
3243 (have-bash2): Delete checks.
57f41c40
AS
3244 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3245 ldd-rewrite.
c66e48b4
MF
3246
3247 * config.make.in (have-ksh): Delete.
3248 (KSH): Delete.
3249 * configure.ac (libc_cv_have_ksh): Delete.
3250 * configure: Regenerate.
3251
b93834ef
MF
3252 * elf/Makefile: Delete $(have-ksh) check.
3253 ($(objpfx)sotruss): Change KSH to BASH.
3254 * elf/sotruss.ksh: Rename to ...
3255 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3256 function style to match POSIX. Drop ksh vim mode setting.
3257
f3a4632a
MF
3258 * manual/time.texi (Specifying the Time Zone with TZ): Change
3259 Tuesday to Thursday.
3260
5896c8bd
MF
3261 * debug/tst-longjmp_chk2.c: Update header comment.
3262 (stackoverflow_handler): Add comment. Call assert on pass value.
3263
2d63a517
IZ
32642014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3265
3266 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3267 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3268 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3269 (La_x86_64_vector): Add zmm.
3270 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3271 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3272 ($(objpfx)tst-audit10): New target.
3273 ($(objpfx)tst-audit10.out): Likewise.
3274 (tst-audit10-ENV): New.
3275 (AVX512-CFLAGS): Likewise.
3276 (CFLAGS-tst-audit10.c): Likewise.
3277 (CFLAGS-tst-auditmod10a.c): Likewise.
3278 (CFLAGS-tst-auditmod10b.c): Likewise.
3279 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3280 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3281 * sysdeps/x86_64/configure: Regenerated.
3282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3283 AVX-512 zmm register support.
3284 (_dl_x86_64_save_sse): Likewise.
3285 (_dl_x86_64_restore_sse): Likewise.
3286 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3287 size vector registers.
3288 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3289 (ZMM_SIZE): Likewise.
3290 * sysdeps/x86_64/tst-audit10.c: New file.
3291 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3292 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3293
44c4e5d5
RM
32942014-03-13 Roland McGrath <roland@hack.frob.com>
3295
3296 * configure.ac (HAVE_EHDR_START): New check.
3297 * configure: Regenerated.
3298 * config.h.in (HAVE_EHDR_START): New #undef.
3299 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3300 assuming the lowest-addressed segment maps the start of the file.
3301
acd6e389
JM
33022014-03-13 Joseph Myers <joseph@codesourcery.com>
3303
3304 * INSTALL: Regenerated.
3305
6f918f36
WN
33062014-03-13 Will Newton <will.newton@linaro.org>
3307
3308 * manual/setjmp.texi (System V contexts): Improve
3309 clarity and grammar of documentation.
3310
798212a0
PP
33112014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3312
3313 [BZ #16381]
798212a0 3314 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3315 (tests-pie): Add tst-pie2.
798212a0
PP
3316 * elf/tst-pie2.c: New file.
3317 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3318 for ET_EXEC.
3319 * elf/rtld.c (map_doit): Load executable as lt_executable.
3320 (dl_main): Likewise.
3321
abe6d90c
JM
33222014-03-12 Joseph Myers <joseph@codesourcery.com>
3323
3324 [BZ #16642]
3325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3326 (__ASSUME_PSELECT): Undefine.
3327
dd3946c6
AZ
33282014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3329
3330 [BZ #16689]
3331 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3332 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3333 static build.
3334 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3335 selector for static builds.
3336
c44496df
SP
33372014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3338
3339 [BZ #16695]
3340 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3341 key in the buffer.
3342
27c7220a
AZ
33432014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3344
57f41c40
AS
3345 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3346 IFUNC selector for static builds.
27c7220a 3347
600fa361
JM
33482014-03-11 Joseph Myers <joseph@codesourcery.com>
3349
76c96cf7
JM
3350 * sysdeps/mips/math_private.h [__mips_hard_float]
3351 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3352 libc_feresetround_mips_ctx.
3353 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3354 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3355 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3356
600fa361
JM
3357 [BZ #16677]
3358 * math/s_nextafter.c (__nextafter): Do not return value from
3359 overflowing computation.
3360 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3361 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3362 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3363 Likewise.
3364 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3365 Likewise.
3366 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3367 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3368
d7706c32
RM
33692014-03-11 Roland McGrath <roland@hack.frob.com>
3370
3371 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3372 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3373 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3374 the new mov targetting sp.
3375
4facea47
AZ
33762014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3377
3378 [BZ #16683]
3379 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3380 Define it for static builds as well.
3381 (NO_BZERO_IMPL): Likewise.
3382
e65caf1f
VR
33832014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3384
3385 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3386 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3387 multiarch strspn for PPC64.
3388 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3389 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3391 (__libc_ifunc_impl_list): Likewise.
3392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3393 multiarch optimizations
3394 * string/strspn.c (strspn): Using macro to redefine symbol name.
3395
ba9cc071
AZ
33962014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3397 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3398
3399 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3400 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3401 multiarch strncat for PPC64.
3402 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3403 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3405 (__libc_ifunc_impl_list): Likewise.
3406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3407 multiarch optimizations
3408
8b4ff974
SP
34092014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3410
3411 [BZ #16639]
3412 * nscd/nscd.service: Make service type forking.
3413
54b46a4b
AZ
34142014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3415
3416 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3417 sign in non default rounding modes.
3418 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3419
e9996ef7
JM
34202014-03-08 Joseph Myers <joseph@codesourcery.com>
3421
3422 * math/libm-test.inc (ALL_RM_TEST): New macro.
3423 (ceil_test): Use ALL_RM_TEST.
3424 (cimag_test): Likewise.
3425 (conj_test): Likewise.
3426 (copysign_test): Likewise.
3427 (cproj_test): Likewise.
3428 (creal_test): Likewise.
3429 (fabs_test): Likewise.
3430 (floor_test): Likewise.
3431 (fmax_test): Likewise.
3432 (fmin_test): Likewise.
3433 (fmod_test): Likewise.
3434 (fpclassify_test): Likewise.
3435 (frexp_test): Likewise.
3436 (ilogb_test): Likewise.
3437 (isfinite_test): Likewise.
3438 (finite_test): Likewise.
3439 (isgreater_test): Likewise.
3440 (isgreaterequal_test): Likewise.
3441 (isinf_test): Likewise.
3442 (isless_test): Likewise.
3443 (islessequal_test): Likewise.
3444 (islessgreater_test): Likewise.
3445 (isnan_test): Likewise.
3446 (isnormal_test): Likewise.
3447 (issignaling_test): Likewise.
3448 (isunordered_test): Likewise.
3449 (logb_test): Likewise.
3450 (logb_downward_test_data): Remove.
3451 (logb_test_downward): Likewise.
3452 (lround_test): Use ALL_RM_TEST.
3453 (llround_test): Likewise.
3454 (modf_test): Likewise.
3455 (nexttoward_test): Likewise.
3456 (remainder_test): Likewise.
3457 (drem_test): Likewise.
3458 (remainder_tonearest_test_data): Likewise.
3459 (remainder_test_tonearest): Likewise.
3460 (drem_test_tonearest): Likewise.
3461 (remainder_towardzero_test_data): Likewise.
3462 (remainder_test_towardzero): Likewise.
3463 (drem_test_towardzero): Likewise.
3464 (remainder_downward_test_data): Likewise.
3465 (remainder_test_downward): Likewise.
3466 (drem_test_downward): Likewise.
3467 (remainder_upward_test_data): Likewise.
3468 (remainder_test_upward): Likewise.
3469 (drem_test_upward): Likewise.
3470 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3471 (round_test): Use ALL_RM_TEST.
3472 (signbit_test): Likewise.
3473 (trunc_test): Likewise.
3474 (significand_test): Likewise.
3475 (main): Don't call removed functions.
3476
bc61d27c
JM
34772014-03-07 Joseph Myers <joseph@codesourcery.com>
3478
5c780849
JM
3479 [BZ #16674]
3480 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3481 || __USE_XOPEN2K8].
3482 (ILL_ILLOPN): Likewise.
3483 (ILL_ILLADR): Likewise.
3484 (ILL_ILLTRP): Likewise.
3485 (ILL_PRVOPC): Likewise.
3486 (ILL_PRVREG): Likewise.
3487 (ILL_COPROC): Likewise.
3488 (ILL_BADSTK): Likewise.
3489 (FPE_INTDIV): Likewise.
3490 (FPE_INTOVF): Likewise.
3491 (FPE_FLTDIV): Likewise.
3492 (FPE_FLTOVF): Likewise.
3493 (FPE_FLTUND): Likewise.
3494 (FPE_FLTRES): Likewise.
3495 (FPE_FLTINV): Likewise.
3496 (FPE_FLTSUB): Likewise.
3497 (SEGV_MAPERR): Likewise.
3498 (SEGV_ACCERR): Likewise.
3499 (BUS_ADRALN): Likewise.
3500 (BUS_ADRERR): Likewise.
3501 (BUS_OBJERR): Likewise.
3502 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3503 (TRAP_TRACE): Likewise.
3504 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3505 __USE_XOPEN2K8].
3506 (CLD_KILLED): Likewise.
3507 (CLD_DUMPED): Likewise.
3508 (CLD_TRAPPED): Likewise.
3509 (CLD_STOPPED): Likewise.
3510 (CLD_CONTINUED): Likewise.
3511 (POLL_IN): Likewise.
3512 (POLL_OUT): Likewise.
3513 (POLL_MSG): Likewise.
3514 (POLL_ERR): Likewise.
3515 (POLL_PRI): Likewise.
3516 (POLL_HUP): Likewise.
3517 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3518 Likewise.
3519 (ILL_ILLOPN): Likewise.
3520 (ILL_ILLADR): Likewise.
3521 (ILL_ILLTRP): Likewise.
3522 (ILL_PRVOPC): Likewise.
3523 (ILL_PRVREG): Likewise.
3524 (ILL_COPROC): Likewise.
3525 (ILL_BADSTK): Likewise.
3526 (FPE_INTDIV): Likewise.
3527 (FPE_INTOVF): Likewise.
3528 (FPE_FLTDIV): Likewise.
3529 (FPE_FLTOVF): Likewise.
3530 (FPE_FLTUND): Likewise.
3531 (FPE_FLTRES): Likewise.
3532 (FPE_FLTINV): Likewise.
3533 (FPE_FLTSUB): Likewise.
3534 (SEGV_MAPERR): Likewise.
3535 (SEGV_ACCERR): Likewise.
3536 (BUS_ADRALN): Likewise.
3537 (BUS_ADRERR): Likewise.
3538 (BUS_OBJERR): Likewise.
3539 (BUS_MCEERR_AR): Likewise.
3540 (BUS_MCEERR_AO): Likewise.
3541 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3542 (TRAP_TRACE): Likewise.
3543 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3544 __USE_XOPEN2K8].
3545 (CLD_KILLED): Likewise.
3546 (CLD_DUMPED): Likewise.
3547 (CLD_TRAPPED): Likewise.
3548 (CLD_STOPPED): Likewise.
3549 (CLD_CONTINUED): Likewise.
3550 (POLL_IN): Likewise.
3551 (POLL_OUT): Likewise.
3552 (POLL_MSG): Likewise.
3553 (POLL_ERR): Likewise.
3554 (POLL_PRI): Likewise.
3555 (POLL_HUP): Likewise.
3556 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3557 (ILL_ILLOPN): Likewise.
3558 (ILL_ILLADR): Likewise.
3559 (ILL_ILLTRP): Likewise.
3560 (ILL_PRVOPC): Likewise.
3561 (ILL_PRVREG): Likewise.
3562 (ILL_COPROC): Likewise.
3563 (ILL_BADSTK): Likewise.
3564 (FPE_INTDIV): Likewise.
3565 (FPE_INTOVF): Likewise.
3566 (FPE_FLTDIV): Likewise.
3567 (FPE_FLTOVF): Likewise.
3568 (FPE_FLTUND): Likewise.
3569 (FPE_FLTRES): Likewise.
3570 (FPE_FLTINV): Likewise.
3571 (FPE_FLTSUB): Likewise.
3572 (SEGV_MAPERR): Likewise.
3573 (SEGV_ACCERR): Likewise.
3574 (BUS_ADRALN): Likewise.
3575 (BUS_ADRERR): Likewise.
3576 (BUS_OBJERR): Likewise.
3577 (BUS_MCEERR_AR): Likewise.
3578 (BUS_MCEERR_AO): Likewise.
3579 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3580 (TRAP_TRACE): Likewise.
3581 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3582 __USE_XOPEN2K8].
3583 (CLD_KILLED): Likewise.
3584 (CLD_DUMPED): Likewise.
3585 (CLD_TRAPPED): Likewise.
3586 (CLD_STOPPED): Likewise.
3587 (CLD_CONTINUED): Likewise.
3588 (POLL_IN): Likewise.
3589 (POLL_OUT): Likewise.
3590 (POLL_MSG): Likewise.
3591 (POLL_ERR): Likewise.
3592 (POLL_PRI): Likewise.
3593 (POLL_HUP): Likewise.
3594 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3595 Likewise.
3596 (ILL_ILLOPN): Likewise.
3597 (ILL_ILLADR): Likewise.
3598 (ILL_ILLTRP): Likewise.
3599 (ILL_PRVOPC): Likewise.
3600 (ILL_PRVREG): Likewise.
3601 (ILL_COPROC): Likewise.
3602 (ILL_BADSTK): Likewise.
3603 (ILL_BADIADDR): Likewise.
3604 (ILL_BREAK): Likewise.
3605 (FPE_INTDIV): Likewise.
3606 (FPE_INTOVF): Likewise.
3607 (FPE_FLTDIV): Likewise.
3608 (FPE_FLTOVF): Likewise.
3609 (FPE_FLTUND): Likewise.
3610 (FPE_FLTRES): Likewise.
3611 (FPE_FLTINV): Likewise.
3612 (FPE_FLTSUB): Likewise.
3613 (FPE_DECOVF): Likewise.
3614 (FPE_DECDIV): Likewise.
3615 (FPE_DECERR): Likewise.
3616 (FPE_INVASC): Likewise.
3617 (FPE_INVDEC): Likewise.
3618 (SEGV_MAPERR): Likewise.
3619 (SEGV_ACCERR): Likewise.
3620 (SEGV_PSTKOVF): Likewise.
3621 (BUS_ADRALN): Likewise.
3622 (BUS_ADRERR): Likewise.
3623 (BUS_OBJERR): Likewise.
3624 (BUS_MCEERR_AR): Likewise.
3625 (BUS_MCEERR_AO): Likewise.
3626 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3627 (TRAP_TRACE): Likewise.
3628 (TRAP_BRANCH): Likewise.
3629 (TRAP_HWBKPT): Likewise.
3630 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3631 __USE_XOPEN2K8].
3632 (CLD_KILLED): Likewise.
3633 (CLD_DUMPED): Likewise.
3634 (CLD_TRAPPED): Likewise.
3635 (CLD_STOPPED): Likewise.
3636 (CLD_CONTINUED): Likewise.
3637 (POLL_IN): Likewise.
3638 (POLL_OUT): Likewise.
3639 (POLL_MSG): Likewise.
3640 (POLL_ERR): Likewise.
3641 (POLL_PRI): Likewise.
3642 (POLL_HUP): Likewise.
3643 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3644 (ILL_ILLOPN): Likewise.
3645 (ILL_ILLADR): Likewise.
3646 (ILL_ILLTRP): Likewise.
3647 (ILL_PRVOPC): Likewise.
3648 (ILL_PRVREG): Likewise.
3649 (ILL_COPROC): Likewise.
3650 (ILL_BADSTK): Likewise.
3651 (FPE_INTDIV): Likewise.
3652 (FPE_INTOVF): Likewise.
3653 (FPE_FLTDIV): Likewise.
3654 (FPE_FLTOVF): Likewise.
3655 (FPE_FLTUND): Likewise.
3656 (FPE_FLTRES): Likewise.
3657 (FPE_FLTINV): Likewise.
3658 (FPE_FLTSUB): Likewise.
3659 (SEGV_MAPERR): Likewise.
3660 (SEGV_ACCERR): Likewise.
3661 (BUS_ADRALN): Likewise.
3662 (BUS_ADRERR): Likewise.
3663 (BUS_OBJERR): Likewise.
3664 (BUS_MCEERR_AR): Likewise.
3665 (BUS_MCEERR_AO): Likewise.
3666 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3667 (TRAP_TRACE): Likewise.
3668 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3669 __USE_XOPEN2K8].
3670 (CLD_KILLED): Likewise.
3671 (CLD_DUMPED): Likewise.
3672 (CLD_TRAPPED): Likewise.
3673 (CLD_STOPPED): Likewise.
3674 (CLD_CONTINUED): Likewise.
3675 (POLL_IN): Likewise.
3676 (POLL_OUT): Likewise.
3677 (POLL_MSG): Likewise.
3678 (POLL_ERR): Likewise.
3679 (POLL_PRI): Likewise.
3680 (POLL_HUP): Likewise.
3681 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3682 (ILL_ILLOPN): Likewise.
3683 (ILL_ILLADR): Likewise.
3684 (ILL_ILLTRP): Likewise.
3685 (ILL_PRVOPC): Likewise.
3686 (ILL_PRVREG): Likewise.
3687 (ILL_COPROC): Likewise.
3688 (ILL_BADSTK): Likewise.
3689 (FPE_INTDIV): Likewise.
3690 (FPE_INTOVF): Likewise.
3691 (FPE_FLTDIV): Likewise.
3692 (FPE_FLTOVF): Likewise.
3693 (FPE_FLTUND): Likewise.
3694 (FPE_FLTRES): Likewise.
3695 (FPE_FLTINV): Likewise.
3696 (FPE_FLTSUB): Likewise.
3697 (SEGV_MAPERR): Likewise.
3698 (SEGV_ACCERR): Likewise.
3699 (BUS_ADRALN): Likewise.
3700 (BUS_ADRERR): Likewise.
3701 (BUS_OBJERR): Likewise.
3702 (BUS_MCEERR_AR): Likewise.
3703 (BUS_MCEERR_AO): Likewise.
3704 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3705 (TRAP_TRACE): Likewise.
3706 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3707 __USE_XOPEN2K8].
3708 (CLD_KILLED): Likewise.
3709 (CLD_DUMPED): Likewise.
3710 (CLD_TRAPPED): Likewise.
3711 (CLD_STOPPED): Likewise.
3712 (CLD_CONTINUED): Likewise.
3713 (POLL_IN): Likewise.
3714 (POLL_OUT): Likewise.
3715 (POLL_MSG): Likewise.
3716 (POLL_ERR): Likewise.
3717 (POLL_PRI): Likewise.
3718 (POLL_HUP): Likewise.
3719 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3720 (ILL_ILLOPN): Likewise.
3721 (ILL_ILLADR): Likewise.
3722 (ILL_ILLTRP): Likewise.
3723 (ILL_PRVOPC): Likewise.
3724 (ILL_PRVREG): Likewise.
3725 (ILL_COPROC): Likewise.
3726 (ILL_BADSTK): Likewise.
3727 (FPE_INTDIV): Likewise.
3728 (FPE_INTOVF): Likewise.
3729 (FPE_FLTDIV): Likewise.
3730 (FPE_FLTOVF): Likewise.
3731 (FPE_FLTUND): Likewise.
3732 (FPE_FLTRES): Likewise.
3733 (FPE_FLTINV): Likewise.
3734 (FPE_FLTSUB): Likewise.
3735 (SEGV_MAPERR): Likewise.
3736 (SEGV_ACCERR): Likewise.
3737 (BUS_ADRALN): Likewise.
3738 (BUS_ADRERR): Likewise.
3739 (BUS_OBJERR): Likewise.
3740 (BUS_MCEERR_AR): Likewise.
3741 (BUS_MCEERR_AO): Likewise.
3742 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3743 (TRAP_TRACE): Likewise.
3744 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3745 __USE_XOPEN2K8].
3746 (CLD_KILLED): Likewise.
3747 (CLD_DUMPED): Likewise.
3748 (CLD_TRAPPED): Likewise.
3749 (CLD_STOPPED): Likewise.
3750 (CLD_CONTINUED): Likewise.
3751 (POLL_IN): Likewise.
3752 (POLL_OUT): Likewise.
3753 (POLL_MSG): Likewise.
3754 (POLL_ERR): Likewise.
3755 (POLL_PRI): Likewise.
3756 (POLL_HUP): Likewise.
3757 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3758 (ILL_ILLOPN): Likewise.
3759 (ILL_ILLADR): Likewise.
3760 (ILL_ILLTRP): Likewise.
3761 (ILL_PRVOPC): Likewise.
3762 (ILL_PRVREG): Likewise.
3763 (ILL_COPROC): Likewise.
3764 (ILL_BADSTK): Likewise.
3765 (ILL_DBLFLT): Likewise.
3766 (ILL_HARDWALL): Likewise.
3767 (FPE_INTDIV): Likewise.
3768 (FPE_INTOVF): Likewise.
3769 (FPE_FLTDIV): Likewise.
3770 (FPE_FLTOVF): Likewise.
3771 (FPE_FLTUND): Likewise.
3772 (FPE_FLTRES): Likewise.
3773 (FPE_FLTINV): Likewise.
3774 (FPE_FLTSUB): Likewise.
3775 (SEGV_MAPERR): Likewise.
3776 (SEGV_ACCERR): Likewise.
3777 (BUS_ADRALN): Likewise.
3778 (BUS_ADRERR): Likewise.
3779 (BUS_OBJERR): Likewise.
3780 (BUS_MCEERR_AR): Likewise.
3781 (BUS_MCEERR_AO): Likewise.
3782 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3783 (TRAP_TRACE): Likewise.
3784 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3785 __USE_XOPEN2K8].
3786 (CLD_KILLED): Likewise.
3787 (CLD_DUMPED): Likewise.
3788 (CLD_TRAPPED): Likewise.
3789 (CLD_STOPPED): Likewise.
3790 (CLD_CONTINUED): Likewise.
3791 (POLL_IN): Likewise.
3792 (POLL_OUT): Likewise.
3793 (POLL_MSG): Likewise.
3794 (POLL_ERR): Likewise.
3795 (POLL_PRI): Likewise.
3796 (POLL_HUP): Likewise.
3797 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3798 (ILL_ILLOPN): Likewise.
3799 (ILL_ILLADR): Likewise.
3800 (ILL_ILLTRP): Likewise.
3801 (ILL_PRVOPC): Likewise.
3802 (ILL_PRVREG): Likewise.
3803 (ILL_COPROC): Likewise.
3804 (ILL_BADSTK): Likewise.
3805 (FPE_INTDIV): Likewise.
3806 (FPE_INTOVF): Likewise.
3807 (FPE_FLTDIV): Likewise.
3808 (FPE_FLTOVF): Likewise.
3809 (FPE_FLTUND): Likewise.
3810 (FPE_FLTRES): Likewise.
3811 (FPE_FLTINV): Likewise.
3812 (FPE_FLTSUB): Likewise.
3813 (SEGV_MAPERR): Likewise.
3814 (SEGV_ACCERR): Likewise.
3815 (BUS_ADRALN): Likewise.
3816 (BUS_ADRERR): Likewise.
3817 (BUS_OBJERR): Likewise.
3818 (BUS_MCEERR_AR): Likewise.
3819 (BUS_MCEERR_AO): Likewise.
3820 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3821 (TRAP_TRACE): Likewise.
3822 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3823 __USE_XOPEN2K8].
3824 (CLD_KILLED): Likewise.
3825 (CLD_DUMPED): Likewise.
3826 (CLD_TRAPPED): Likewise.
3827 (CLD_STOPPED): Likewise.
3828 (CLD_CONTINUED): Likewise.
3829 (POLL_IN): Likewise.
3830 (POLL_OUT): Likewise.
3831 (POLL_MSG): Likewise.
3832 (POLL_ERR): Likewise.
3833 (POLL_PRI): Likewise.
3834 (POLL_HUP): Likewise.
3835 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3836 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3837
bc61d27c
JM
3838 [BZ #16670]
3839 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3840 before #include of <time.h>.
3841 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3842 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3843 (test-xfail-UNIX98/sched.h/conform): Likewise.
3844
302949e2
MS
38452014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3846
3847 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3848 error absence of trapping exception support.
3849 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3850
a00f522a
JM
38512014-03-07 Joseph Myers <joseph@codesourcery.com>
3852
6f99f280
JM
3853 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3854 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3855 * timezone/Makefile (testdata): Move definition above include of
3856 Rules.
3857 (test-zones): New variable.
3858 (tests-special): Add zone files.
3859 (build-testdata): Use $(evaluate-test).
3860
0b20a9e8
JM
3861 * elf/Makefile (tests-special): Rename tests to end with .out.
3862 ($(objpfx)noload-mem): Likewise.
3863 ($(objpfx)tst-leaks1-mem): Likewise.
3864 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3865 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3866 $(objpfx)test-iconvconfig.out.
3867 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3868 set -e inside subshell and redirect output to file.
3869 * iconvdata/Makefile (generated): Rename tests to end with .out.
3870 Correct type.
3871 (tests-special): Rename tests to end with .out.
3872 ($(objpfx)mtrace-tst-loading): Likewise.
3873 * intl/Makefile (generated): Likewise.
3874 (tests-special): Likewise.
3875 ($(objpfx)mtrace-tst-gettext): Likewise.
3876 * misc/Makefile (generated): Likewise.
3877 (tests-special): Likewise.
3878 ($(objpfx)tst-error1-mem): Likewise.
3879 * nptl/Makefile (tests-special): Likewise.
3880 ($(objpfx)tst-stack3-mem): Likewise.
3881 (generated): Likewise.
3882 * posix/Makefile (generated): Likewise.
3883 (tests-special): Likewise.
3884 (xtests-special): Likewise.
3885 ($(objpfx)tst-fnmatch-mem): Likewise.
3886 ($(objpfx)bug-regex2-mem): Likewise.
3887 ($(objpfx)bug-regex14-mem): Likewise.
3888 ($(objpfx)bug-regex21-mem): Likewise.
3889 ($(objpfx)bug-regex31-mem): Likewise.
3890 ($(objpfx)tst-vfork3-mem): Likewise.
3891 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3892 ($(objpfx)tst-pcre-mem): Likewise.
3893 ($(objpfx)tst-boost-mem): Likewise.
3894 ($(objpfx)bug-ga2-mem): Likewise.
3895 ($(objpfx)bug-glob2-mem): Likewise.
3896 * resolv/Makefile (generate): Likewise.
3897 (tests-special): Likewise.
3898 (xtests-special): Likewise.
3899 (generated): Likewise.
3900 ($(objpfx)mtrace-tst-leaks): Likewise.
3901 ($(objpfx)mtrace-tst-leaks2): Likewise.
3902
265d52ab
JM
3903 * scripts/merge-test-results.sh: New file.
3904 * Makefile (tests-special-notdir): New variable.
3905 (tests): Run merge-test-results.sh.
3906 (xtests): Likewise.
3907 * Rules (tests-special-notdir): New variable.
3908 (xtests-special-notdir): Likewise.
3909 (tests): Run merge-test-results.sh
3910 (xtests): Likewise.
3911
54ee292d
JM
3912 * Makeconfig (test-xfail-name): New variable.
3913 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3914 compute variable name for expected failures.
3915 * conform/Makefile (conformtest-headers-data): New variable.
3916 (conformtest-standards): Likewise.
3917 (conformtest-headers-ISO): Likewise.
3918 (conformtest-headers-ISO99): Likewise.
3919 (conformtest-headers-ISO11): Likewise.
3920 (conformtest-headers-POSIX): Likewise.
3921 (conformtest-headers-XPG3): Likewise.
3922 (conformtest-headers-XPG4): Likewise.
3923 (conformtest-headers-UNIX98): Likewise.
3924 (conformtest-headers-XOPEN2K): Likewise.
3925 (conformtest-headers-POSIX2008): Likewise.
3926 (conformtest-headers-XOPEN2K8): Likewise.
3927 (conformtest-header-list-base): Likewise.
3928 (conformtest-header-list-tests): Likewise.
3929 (conformtest-header-base): Likewise.
3930 (conformtest-header-tests): Likewise.
3931 (tests-special): Add $(conformtest-header-list-tests). If
3932 [$(fast-check) && !$(cross-compiling)], add
3933 $(conformtest-header-tests) instead of
3934 $(objpfx)run-conformtest.out.
3935 (generated): Add $(conformtest-header-list-base). If
3936 [$(fast-check) && !$(cross-compiling)], add
3937 $(conformtest-header-base). Remove previous setting.
3938 ($(conformtest-header-list-tests)): New target.
3939 (test-xfail-run-conformtest): Remove variable.
3940 ($(objpfx)run-conformtest.out): Remove target.
3941 (test-xfail-ISO11/complex.h/conform): New variable.
3942 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3943 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3944 (test-xfail-XPG3/varargs.h/conform): Likewise.
3945 (test-xfail-XPG4/varargs.h/conform): Likewise.
3946 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3947 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3948 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3949 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3950 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3951 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3952 (test-xfail-XPG3/ftw.h/conform): Likewise.
3953 (test-xfail-XPG3/grp.h/conform): Likewise.
3954 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3955 (test-xfail-XPG3/limits.h/conform): Likewise.
3956 (test-xfail-XPG3/pwd.h/conform): Likewise.
3957 (test-xfail-XPG3/search.h/conform): Likewise.
3958 (test-xfail-XPG3/signal.h/conform): Likewise.
3959 (test-xfail-XPG3/stdio.h/conform): Likewise.
3960 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3961 (test-xfail-XPG3/string.h/conform): Likewise.
3962 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3963 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3964 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3965 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3966 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3967 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3968 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3969 (test-xfail-XPG3/termios.h/conform): Likewise.
3970 (test-xfail-XPG3/time.h/conform): Likewise.
3971 (test-xfail-XPG3/unistd.h/conform): Likewise.
3972 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3973 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3974 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3975 (test-xfail-XPG4/netdb.h/conform): Likewise.
3976 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3977 (test-xfail-XPG4/signal.h/conform): Likewise.
3978 (test-xfail-XPG4/stdio.h/conform): Likewise.
3979 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3980 (test-xfail-XPG4/stropts.h/conform): Likewise.
3981 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3982 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3983 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3984 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3985 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3986 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3987 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3988 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3989 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3990 (test-xfail-XPG4/termios.h/conform): Likewise.
3991 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3992 (test-xfail-XPG4/unistd.h/conform): Likewise.
3993 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3994 (test-xfail-POSIX/sched.h/conform): Likewise.
3995 (test-xfail-POSIX/signal.h/conform): Likewise.
3996 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3997 (test-xfail-POSIX/tar.h/conform): Likewise.
3998 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3999 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4000 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4001 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4002 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4003 (test-xfail-UNIX98/sched.h/conform): Likewise.
4004 (test-xfail-UNIX98/signal.h/conform): Likewise.
4005 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4006 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4007 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4008 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4009 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4010 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4011 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4012 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4013 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4014 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4015 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4016 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4017 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4018 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4019 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4020 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4021 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4022 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4023 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4024 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4025 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4026 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4027 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4028 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4029 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4030 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4031 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4032 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4033 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4034 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4035 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4036 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4037 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4038 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4039 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4040 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4041 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4042 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4043 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4044 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4045 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4046 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4047 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4048 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4049 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4050 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4051 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4052 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4053 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4054 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4055 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4056 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4057 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4058 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4059 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4060 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4061 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4062 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4063 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4064 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4065 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4066 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4067 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4068 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4069 (conformtest-cc-flags): Likewise.
4070 ($(conformtest-header-tests): New target.
4071 * conform/check-header-lists.sh: New file.
4072 * conform/run-conformtest.sh: Remove.
4073
a00f522a
JM
4074 * conform/conformtest.pl: Allow ' and \ in values given for
4075 constants.
4076 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4077 inclusion.
4078 [POSIX] (sys/types.h): Likewise.
4079 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4080 inclusion.
4081 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4082 inclusion.
4083 * conform/data/signal.h-data (SIGIO): Remove expectation.
4084 [XPG3] (SIGBUS): Do not expect.
4085 [POSIX || XPG3] (SIGPOLL): Likewise.
4086 [POSIX || XPG3] (SIGPROF): Likewise.
4087 [POSIX || XPG3] (SIGSYS): Likewise.
4088 [XPG3] (SIGTRAP): Likewise.
4089 [POSIX || XPG3] (SIGURG): Likewise.
4090 [POSIX || XPG3] (SIGVTALRM): Likewise.
4091 [POSIX || XPG3] (SIGXCPU): Likewise.
4092 [POSIX || XPG3] (SIGXFSZ): Likewise.
4093 [POSIX] (SA_SIGINFO): Expect.
4094 [XPG3] (siginfo_t): Do not expect type or contents.
4095 [POSIX] (si_pid): Do not expect element.
4096 [POSIX] (si_uid): Likewise.
4097 [POSIX] (si_addr): Likewise.
4098 [POSIX] (si_status): Likewise.
4099 [POSIX] (si_band): Likewise.
4100 [XPG4] (si_value): Likewise.
4101 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4102 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4103 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4104 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4105 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4106 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4107 [POSIX || XPG3] (ILL_COPROC): Likewise.
4108 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4109 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4110 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4111 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4112 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4113 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4114 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4115 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4116 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4117 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4118 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4119 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4120 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4121 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4122 [POSIX || XPG3] (CLD_EXITED): Likewise.
4123 [POSIX || XPG3] (CLD_KILLED): Likewise.
4124 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4125 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4126 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4127 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4128 [POSIX || XPG3] (POLL_IN): Likewise.
4129 [POSIX || XPG3] (POLL_OUT): Likewise.
4130 [POSIX || XPG3] (POLL_MSG): Likewise.
4131 [POSIX || XPG3] (POLL_ERR): Likewise.
4132 [POSIX || XPG3] (POLL_PRI): Likewise.
4133 [POSIX || XPG3] (POLL_HUP): Likewise.
4134 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4135 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4136 (SIG*): Do not allow.
4137 [XPG3] (si_*): Likewise.
4138 [XPG3] (SI_*): Likewise.
4139 [XPG3 || XPG4] (sigev_*): Likewise.
4140 [XPG3 || XPG4] (SIGEV_*): Likewise.
4141 [XPG3 || XPG4] (sival_*): Likewise.
4142 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4143 [POSIX || XPG3] (BUS_*): Likewise.
4144 [POSIX || XPG3] (CLD_*): Likewise.
4145 [POSIX || XPG3] (FPE_*): Likewise.
4146 [POSIX || XPG3] (ILL_*): Likewise.
4147 [POSIX || XPG3] (POLL_*): Likewise.
4148 [POSIX || XPG3] (SEGV_*): Likewise.
4149 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4150 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4151 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4152 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4153 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4154 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4155 Specify type and value.
4156 (TVERSLEN): Likewise.
4157 (REGTYPE): Likewise.
4158 (AREGTYPE): Likewise.
4159 (LNKTYPE): Likewise.
4160 (SYMTYPE): Likewise.
4161 (CHRTYPE): Likewise.
4162 (BLKTYPE): Likewise.
4163 (DIRTYPE): Likewise.
4164 (FIFOTYPE): Likewise.
4165 (CONTTYPE): Likewise.
4166 (TSUID): Likewise.
4167 (TSGID): Likewise.
4168 (TSVTX): Likewise.
4169 (TUREAD): Likewise.
4170 (TUWRITE): Likewise.
4171 (TUEXEC): Likewise.
4172 (TGREAD): Likewise.
4173 (TGWRITE): Likewise.
4174 (TGEXEC): Likewise.
4175 (TOREAD): Likewise.
4176 (TOWRITE): Likewise.
4177 (TOEXEC): Likewise.
4178 [POSIX] (TSVTX): Expect constant.
4179
aa97dee1
JM
41802014-03-06 Joseph Myers <joseph@codesourcery.com>
4181
f214606a
JM
4182 * Makefile (tests): Change dependencies to ....
4183 (tests-special): ... additions to this variable.
4184 (tests): Depend on $(tests-special).
4185 * Makerules (check-abi-list): New variable.
4186 (check-abi): Depend on $(check-abi-list).
4187 [$(subdir) = elf] (tests-special): Add
4188 $(objpfx)check-abi-libc.out.
4189 [$(build-shared) = yes && subdir] (tests-special): Add
4190 $(check-abi-list).
4191 [$(build-shared) = yes && subdir] (tests): Do not depend on
4192 check-abi.
4193 * Rules (tests): Depend on $(tests-special).
4194 (xtests): Depend on $(xtests-special).
4195 * catgets/Makefile (tests): Change dependencies to ....
4196 (tests-special): ... additions to this variable.
4197 * conform/Makefile (tests): Change dependencies to ....
4198 (tests-special): ... additions to this variable.
4199 * elf/Makefile (tests): Change dependencies to ....
4200 (tests-special): ... additions to this variable.
4201 * grp/Makefile (tests): Change dependencies to ....
4202 (tests-special): ... additions to this variable.
4203 * iconv/Makefile (xtests): Change dependencies to ....
4204 (xtests-special): ... additions to this variable.
4205 * iconvdata/Makefile (tests): Change dependencies to ....
4206 (tests-special): ... additions to this variable.
4207 * intl/Makefile (tests): Change dependencies to ....
4208 (tests-special): ... additions to this variable. Also add
4209 $(objpfx)tst-gettext.out.
4210 * io/Makefile (tests): Change dependencies to ....
4211 (tests-special): ... additions to this variable.
4212 * libio/Makefile (tests): Change dependencies to ....
4213 (tests-special): ... additions to this variable.
4214 * malloc/Makefile (tests): Change dependencies to ....
4215 (tests-special): ... additions to this variable.
4216 * misc/Makefile (tests): Change dependencies to ....
4217 (tests-special): ... additions to this variable.
4218 * nptl/Makefile (tests): Change dependencies to ....
4219 (tests-special): ... additions to this variable.
4220 * nptl_db/Makefile (tests): Change dependencies to ....
4221 (tests-special): ... additions to this variable.
4222 * posix/Makefile (tests): Change dependencies to ....
4223 (tests-special): ... additions to this variable.
4224 (xtests): Change dependencies to ....
4225 (xtests-special): ... additions to this variable.
4226 * resolv/Makefile (tests): Change dependencies to ....
4227 (tests-special): ... additions to this variable.
4228 (xtests): Change dependencies to ....
4229 (xtests-special): ... additions to this variable.
4230 * stdio-common/Makefile (tests): Change dependencies to ....
4231 (tests-special): ... additions to this variable.
4232 (do-tst-unbputc): Remove target.
4233 (do-tst-printf): Likewise.
4234 * stdlib/Makefile (tests): Change dependencies to ....
4235 (tests-special): ... additions to this variable.
4236 * string/Makefile (tests): Change dependencies to ....
4237 (tests-special): ... additions to this variable.
4238 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4239 (tests-special): ... additions to this variable.
4240
81700b53
JM
4241 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4242 whole file.
4243 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4244 whole file.
4245 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4246 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4247
2ea18461
JM
4248 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4249 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4250 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4251 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4252 * conform/data/libgen.h-data [XPG3]: Likewise.
4253 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4254 * conform/data/ndbm.h-data [XPG3]: Likewise.
4255 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4256 * conform/data/netdb.h-data [XPG3]: Likewise.
4257 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4258 * conform/data/poll.h-data [XPG3]: Likewise.
4259 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4260 * conform/data/strings.h-data [XPG3]: Likewise.
4261 * conform/data/stropts.h-data [XPG3]: Likewise.
4262 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4263 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4264 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4265 Likewise.
4266 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4267 * conform/data/sys/time.h-data [XPG3]: Likewise.
4268 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4269 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4270 * conform/data/sys/un.h-data [XPG3]: Likewise.
4271 * conform/data/syslog.h-data [XPG3]: Likewise.
4272 * conform/data/ucontext.h-data [XPG3]: Likewise.
4273 * conform/data/utmpx.h-data [XPG3]: Likewise.
4274 * conform/data/varargs.h-data [UNIX98]: Enable file.
4275
355bc986
JM
4276 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4277
215db402
JM
4278 * math/libm-test.inc (struct test_f_f_data): Move expected results
4279 into structure for each rounding mode.
4280 (struct test_ff_f_data): Likewise.
4281 (struct test_ff_f_data_nexttoward): Likewise.
4282 (struct test_fi_f_data): Likewise.
4283 (struct test_fl_f_data): Likewise.
4284 (struct test_if_f_data): Likewise.
4285 (struct test_fff_f_data): Likewise.
4286 (struct test_c_f_data): Likewise.
4287 (struct test_f_f1_data): Likewise.
4288 (struct test_fF_f1_data): Likewise.
4289 (struct test_ffI_f1_data): Likewise.
4290 (struct test_c_c_data): Likewise.
4291 (struct test_cc_c_data): Likewise.
4292 (struct test_f_i_data): Likewise.
4293 (struct test_ff_i_data): Likewise.
4294 (struct test_f_l_data): Likewise.
4295 (struct test_f_L_data): Likewise.
4296 (struct test_fFF_11_data): Likewise.
4297 (RM_): New macro.
4298 (RM_FE_DOWNWARD): Likewise.
4299 (RM_FE_TONEAREST): Likewise.
4300 (RM_FE_TOWARDZERO): Likewise.
4301 (RM_FE_UPWARD): Likewise.
4302 (RUN_TEST_LOOP_f_f): Update references to expected results.
4303 (RUN_TEST_LOOP_2_f): Likewise.
4304 (RUN_TEST_LOOP_fff_f): Likewise.
4305 (RUN_TEST_LOOP_c_f): Likewise.
4306 (RUN_TEST_LOOP_f_f1): Likewise.
4307 (RUN_TEST_LOOP_fF_f1): Likewise.
4308 (RUN_TEST_LOOP_fI_f1): Likewise.
4309 (RUN_TEST_LOOP_ffI_f1): Likewise.
4310 (RUN_TEST_LOOP_c_c): Likewise.
4311 (RUN_TEST_LOOP_cc_c): Likewise.
4312 (RUN_TEST_LOOP_f_i): Likewise.
4313 (RUN_TEST_LOOP_f_i_tg): Likewise.
4314 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4315 (RUN_TEST_LOOP_f_b): Likewise.
4316 (RUN_TEST_LOOP_f_b_tg): Likewise.
4317 (RUN_TEST_LOOP_f_l): Likewise.
4318 (RUN_TEST_LOOP_f_L): Likewise.
4319 (RUN_TEST_LOOP_fFF_11): Likewise.
4320 * math/gen-libm-test.pl (parse_args): Output four copies of
4321 expected results for each test.
4322
67737b8f
JM
4323 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4324 (__ASSUME_UTIMES): Remove.
4325 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4326 (__ASSUME_UTIMES): Likewise.
4327
aa97dee1
JM
4328 * math/gen-auto-libm-tests.c: Update comment on output format.
4329 (output_for_one_input_case): Generate before-rounding and
4330 after-rounding information as conditions on output flags not
4331 floating-point format.
4332 * math/auto-libm-test-out: Regenerated.
4333 * math/gen-libm-test.pl (cond_value): New function.
4334 (or_cond_value): Use cond_value.
4335 (generate_testfile): Handle conditional exceptions.
4336
e6b6a857
JM
43372014-03-05 Joseph Myers <joseph@codesourcery.com>
4338
2f0a0f44
JM
4339 * math/libm-test.inc (max_valid_error): New variable.
4340 (init_max_error): Take new argument specifying whether function
4341 results are exactly determined. Set max_valid_error and bound
4342 other variables for errors based on this argument.
4343 (set_max_error): Do not record results above max_valid_error.
4344 (check_float_internal): Only accept errors of up to 0.5ulps if
4345 also at most max_valid_error.
4346 (START): Take new argument EXACT and pass it to init_max_error.
4347 (acos_test): Update call to START.
4348 (acos_test_tonearest): Likewise.
4349 (acos_test_towardzero): Likewise.
4350 (acos_test_downward): Likewise.
4351 (acos_test_upward): Likewise.
4352 (acosh_test): Likewise.
4353 (asin_test): Likewise.
4354 (asin_test_tonearest): Likewise.
4355 (asin_test_towardzero): Likewise.
4356 (asin_test_downward): Likewise.
4357 (asin_test_upward): Likewise.
4358 (asinh_test): Likewise.
4359 (atan_test): Likewise.
4360 (atanh_test): Likewise.
4361 (atan2_test): Likewise.
4362 (cabs_test): Likewise.
4363 (cacos_test): Likewise.
4364 (cacosh_test): Likewise.
4365 (carg_test): Likewise.
4366 (casin_test): Likewise.
4367 (casinh_test): Likewise.
4368 (catan_test): Likewise.
4369 (catanh_test): Likewise.
4370 (cbrt_test): Likewise.
4371 (ccos_test): Likewise.
4372 (ccosh_test): Likewise.
4373 (ceil_test): Likewise.
4374 (cexp_test): Likewise.
4375 (cimag_test): Likewise.
4376 (clog_test): Likewise.
4377 (clog10_test): Likewise.
4378 (conj_test): Likewise.
4379 (copysign_test): Likewise.
4380 (cos_test): Likewise.
4381 (cos_test_tonearest): Likewise.
4382 (cos_test_towardzero): Likewise.
4383 (cos_test_downward): Likewise.
4384 (cos_test_upward): Likewise.
4385 (cosh_test): Likewise.
4386 (cosh_test_tonearest): Likewise.
4387 (cosh_test_towardzero): Likewise.
4388 (cosh_test_downward): Likewise.
4389 (cosh_test_upward): Likewise.
4390 (cpow_test): Likewise.
4391 (cproj_test): Likewise.
4392 (creal_test): Likewise.
4393 (csin_test): Likewise.
4394 (csinh_test): Likewise.
4395 (csqrt_test): Likewise.
4396 (ctan_test): Likewise.
4397 (ctan_test_tonearest): Likewise.
4398 (ctan_test_towardzero): Likewise.
4399 (ctan_test_downward): Likewise.
4400 (ctan_test_upward): Likewise.
4401 (ctanh_test): Likewise.
4402 (ctanh_test_tonearest): Likewise.
4403 (ctanh_test_towardzero): Likewise.
4404 (ctanh_test_downward): Likewise.
4405 (ctanh_test_upward): Likewise.
4406 (erf_test): Likewise.
4407 (erfc_test): Likewise.
4408 (exp_test): Likewise.
4409 (exp_test_tonearest): Likewise.
4410 (exp_test_towardzero): Likewise.
4411 (exp_test_downward): Likewise.
4412 (exp_test_upward): Likewise.
4413 (exp10_test): Likewise.
4414 (exp10_test_tonearest): Likewise.
4415 (exp10_test_towardzero): Likewise.
4416 (exp10_test_downward): Likewise.
4417 (exp10_test_upward): Likewise.
4418 (pow10_test): Likewise.
4419 (exp2_test): Likewise.
4420 (expm1_test): Likewise.
4421 (expm1_test_tonearest): Likewise.
4422 (expm1_test_towardzero): Likewise.
4423 (expm1_test_downward): Likewise.
4424 (expm1_test_upward): Likewise.
4425 (fabs_test): Likewise.
4426 (fdim_test): Likewise.
4427 (floor_test): Likewise.
4428 (fma_test): Likewise.
4429 (fma_test_towardzero): Likewise.
4430 (fma_test_downward): Likewise.
4431 (fma_test_upward): Likewise.
4432 (fmax_test): Likewise.
4433 (fmin_test): Likewise.
4434 (fmod_test): Likewise.
4435 (fpclassify_test): Likewise.
4436 (frexp_test): Likewise.
4437 (hypot_test): Likewise.
4438 (ilogb_test): Likewise.
4439 (isfinite_test): Likewise.
4440 (finite_test): Likewise.
4441 (isgreater_test): Likewise.
4442 (isgreaterequal_test): Likewise.
4443 (isinf_test): Likewise.
4444 (isless_test): Likewise.
4445 (islessequal_test): Likewise.
4446 (islessgreater_test): Likewise.
4447 (isnan_test): Likewise.
4448 (isnormal_test): Likewise.
4449 (issignaling_test): Likewise.
4450 (isunordered_test): Likewise.
4451 (j0_test): Likewise.
4452 (j1_test): Likewise.
4453 (jn_test): Likewise.
4454 (ldexp_test): Likewise.
4455 (lgamma_test): Likewise.
4456 (gamma_test): Likewise.
4457 (lrint_test): Likewise.
4458 (lrint_test_tonearest): Likewise.
4459 (lrint_test_towardzero): Likewise.
4460 (lrint_test_downward): Likewise.
4461 (lrint_test_upward): Likewise.
4462 (llrint_test): Likewise.
4463 (llrint_test_tonearest): Likewise.
4464 (llrint_test_towardzero): Likewise.
4465 (llrint_test_downward): Likewise.
4466 (llrint_test_upward): Likewise.
4467 (log_test): Likewise.
4468 (log10_test): Likewise.
4469 (log1p_test): Likewise.
4470 (log2_test): Likewise.
4471 (logb_test): Likewise.
4472 (logb_test_downward): Likewise.
4473 (lround_test): Likewise.
4474 (llround_test): Likewise.
4475 (modf_test): Likewise.
4476 (nearbyint_test): Likewise.
4477 (nextafter_test): Likewise.
4478 (nexttoward_test): Likewise.
4479 (pow_test): Likewise.
4480 (pow_test_tonearest): Likewise.
4481 (pow_test_towardzero): Likewise.
4482 (pow_test_downward): Likewise.
4483 (pow_test_upward): Likewise.
4484 (remainder_test): Likewise.
4485 (drem_test): Likewise.
4486 (remainder_test_tonearest): Likewise.
4487 (drem_test_tonearest): Likewise.
4488 (remainder_test_towardzero): Likewise.
4489 (drem_test_towardzero): Likewise.
4490 (remainder_test_downward): Likewise.
4491 (drem_test_downward): Likewise.
4492 (remainder_test_upward): Likewise.
4493 (drem_test_upward): Likewise.
4494 (remquo_test): Likewise.
4495 (rint_test): Likewise.
4496 (rint_test_tonearest): Likewise.
4497 (rint_test_towardzero): Likewise.
4498 (rint_test_downward): Likewise.
4499 (rint_test_upward): Likewise.
4500 (round_test): Likewise.
4501 (scalb_test): Likewise.
4502 (scalbn_test): Likewise.
4503 (scalbln_test): Likewise.
4504 (signbit_test): Likewise.
4505 (sin_test): Likewise.
4506 (sin_test_tonearest): Likewise.
4507 (sin_test_towardzero): Likewise.
4508 (sin_test_downward): Likewise.
4509 (sin_test_upward): Likewise.
4510 (sincos_test): Likewise.
4511 (sinh_test): Likewise.
4512 (sinh_test_tonearest): Likewise.
4513 (sinh_test_towardzero): Likewise.
4514 (sinh_test_downward): Likewise.
4515 (sinh_test_upward): Likewise.
4516 (sqrt_test): Likewise.
4517 (sqrt_test_tonearest): Likewise.
4518 (sqrt_test_towardzero): Likewise.
4519 (sqrt_test_downward): Likewise.
4520 (sqrt_test_upward): Likewise.
4521 (tan_test): Likewise.
4522 (tan_test_tonearest): Likewise.
4523 (tan_test_towardzero): Likewise.
4524 (tan_test_downward): Likewise.
4525 (tan_test_upward): Likewise.
4526 (tanh_test): Likewise.
4527 (tgamma_test): Likewise.
4528 (trunc_test): Likewise.
4529 (y0_test): Likewise.
4530 (y1_test): Likewise.
4531 (yn_test): Likewise.
4532 (significand_test): Likewise.
4533
e6b6a857
JM
4534 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4535 individual tests in comment.
4536 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4537 (prev_max_error): New variable.
4538 (prev_real_max_error): Likewise.
4539 (prev_imag_max_error): Likewise.
4540 (compare_ulp_data): Don't refer to test names in comment.
4541 (find_test_ulps): Remove function.
4542 (find_function_ulps): Likewise.
4543 (find_complex_function_ulps): Likewise.
4544 (init_max_error): Take function name as argument. Look up ulps
4545 for that function.
4546 (print_ulps): Remove function.
4547 (print_max_error): Use prev_max_error instead of calling
4548 find_function_ulps.
4549 (print_complex_max_error): Use prev_real_max_error and
4550 prev_imag_max_error instead of calling find_complex_function_ulps.
4551 (check_float_internal): Take max_ulp parameter instead of calling
4552 find_test_ulps. Don't call print_ulps.
4553 (check_float): Update call to check_float_internal.
4554 (check_complex): Update calls to check_float_internal.
4555 (START): Pass argument to init_max_error.
4556 * math/gen-libm-test.pl (%results): Don't include "kind"
4557 information.
4558 (parse_ulps): Don't handle ulps of individual tests.
4559 (print_ulps_file): Likewise.
4560 (output_ulps): Likewise.
4561 * math/README.libm-test: Update.
4562 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4563 individual tests.
4564 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4565 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4566 * sysdeps/arm/libm-test-ulps: Likewise.
4567 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4568 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4569 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4570 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4571 * sysdeps/microblaze/libm-test-ulps: Likewise.
4572 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4573 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4574 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4575 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4576 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4577 * sysdeps/sh/libm-test-ulps: Likewise.
4578 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4579 * sysdeps/tile/libm-test-ulps: Likewise.
4580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581
45adef3c
JM
45822014-03-04 Joseph Myers <joseph@codesourcery.com>
4583
4584 * math/libm-test.inc (print_complex_max_error): Check separately
4585 whether real and imaginary errors are within allowed range and
4586 pass 0 to print_complex_function_ulps instead of value within
4587 allowed range.
4588
000232b9
SP
45892014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4590
d4b17258
SP
4591 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4592 formatting.
4593 (get_handles_fopen): Likewise.
4594 (do_write_test): Likewise.
4595
091eff71
SP
4596 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4597
fa3cd248
SP
4598 * libio/fileops.c (do_ftell): Use cached offset when
4599 available.
4600 * libio/iofwide.c (do_ftell_wide): Likewise.
4601 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4602 _IO_file_attach.
4603 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4604
000232b9
SP
4605 [BZ #16532]
4606 * libio/libioP.h (get_file_offset): New function.
4607 * libio/fileops.c (get_file_offset): Likewise.
4608 (do_ftell): Likewise.
4609 (_IO_new_file_seekoff): Split out ftell logic.
4610 * libio/wfileops.c (do_ftell_wide): Likewise.
4611 (_IO_wfile_seekoff): Split out ftell logic.
4612 * libio/tst-ftell-active-handler.c: New test case.
4613 * libio/Makefile (tests): Add it.
4614
116f4d1a
RM
46152014-03-03 Roland McGrath <roland@hack.frob.com>
4616
4617 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4618 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4619
532a6035
SP
46202014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4621
4622 [BZ #16639]
4623 * nscd/connections.c (nscd_init): Call do_exit.
4624 (start_threads): Call do_exit and notify_parent.
4625 (begin_drop_privileges): Call do_exit.
4626 (finish_drop_privileges): Likewise.
4627 * nscd/selinux.c (preserve_capabilities): Likewise.
4628 (install_real_capabilities): Likewise.
4629 (nscd_selinux_enabled): Likewise.
4630 (avc_create_thread): Likewise.
4631 (avc_alloc_lock): Likewise.
4632 (nscd_avc_init): Likewise.
4633 * nscd/nscd.c (parent_fd): New static variable.
4634 (main): Create a pipe between parent and child processes.
4635 Skip closing parent_fd.
4636 (monitor_child): New function.
4637 (do_exit): Likewise.
4638 (notify_parent): Likewise.
4639 * nscd/nscd.h (notify_parent): Likewise.
4640 (do_exit): Likewise.
4641
d6285c9f
CD
46422014-03-03 Carlos O'Donell <carlos@redhat.com>
4643
4644 * malloc/malloc.c (__libc_calloc): Revert last change.
4645
2b85d2a0
AZ
46462014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4647
4648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4649
c7debbdf
RS
46502014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4651
4652 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4654 implementation.
4655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4656 (__libc_ifunc_impl_list): Likewise.
4657 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4658 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4659 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4660 * string/strrchr.c: Define STRRCHR.
4661
235eed86
OB
46622014-02-28 Ondřej Bílka <neleai@seznam.cz>
4663
4664 * benchtest/bench-strtok.c (simple_strtok): Delete.
4665 (strtok_string): Use as benchmark.
4666 * string/strtok (STRTOK): New macro.
4667
8e25d1e7
CD
46682014-02-28 Carlos O'Donell <carlos@redhat.com>
4669
ef563f92
CD
4670 * manual/threads.texi: Add header and standard comments to all
4671 functions.
4672
8e25d1e7
CD
4673 * elf/dl-lookup.c (check_match): New function.
4674 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4675 (do_lookup_x): Remove nested function check_match. Use non-nested
4676 function check_match.
4677
ff71cc37
RM
46782014-02-28 Roland McGrath <roland@hack.frob.com>
4679
f08e9a26
RM
4680 * csu/Makefile (generated, before-compile): Use += rather than =.
4681 * catgets/Makefile (generated, generated-dirs): Likewise.
4682 * debug/Makefile (generated): Likewise.
4683 * dlfcn/Makefile (generated): Likewise.
4684 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4685 * iconvdata/Makefile (before-compile, generated): Likewise.
4686 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4687 * libio/Makefile (generated): Likewise.
4688 * malloc/Makefile (generated): Likewise.
4689 * manual/Makefile (generated, generated-dirs): Likewise.
4690 * misc/Makefile (generated): Likewise.
4691 * posix/Makefile (generated): Likewise.
4692 * resolv/Makefile (generated): Likewise.
4693 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4694 * timezone/Makefile (generated, generated-dirs): Likewise.
4695
ff71cc37
RM
4696 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4697
fe13a20c
AZ
46982014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4699
57f41c40
AS
4700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4701 power8 implementation.
4702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4703 file: POWER8 llround ifunc implementation.
4704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4705 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4706 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4707 POWER8 llround implementation.
4708
57f41c40
AS
4709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4710 power8 implementation.
4711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4712 file: POWER8 llrint ifunc implementation.
4713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4714 Add POWER8 implementation.
1ad8950a
AZ
4715 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4716 POWER8 llrint implementation.
4717
57f41c40
AS
4718 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4719 power8 implementation.
4720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4721 file: POWER8 finite ifunc implementation.
4722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4723 Add POWER8 implementation.
cac626d6
AZ
4724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4725 Likewise.
4726 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4727 POWER8 finite implementation.
4728 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4729
57f41c40
AS
4730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4731 power8 implementation.
4732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4733 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4735 POWER8 implementation.
4736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4737 Likewise.
57f41c40
AS
4738 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4739 isinf implementation.
4393fc11
AZ
4740 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4741
57f41c40
AS
4742 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4743 (INIT_ARCH): Add hwcap2 initialization.
4744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4745 power8 implementation.
4746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4747 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4749 POWER8 implementation.
4750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4751 Likewise.
57f41c40
AS
4752 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4753 isnan implementation.
487972ae
AZ
4754 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4755
7d92b787
JY
47562014-02-27 Joey Ye <joey.ye@arm.com>
4757
4758 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4759 (_FP_NANFRAC_Q): Set to zero.
4760
1cadc858
SP
47612014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4762
4763 [BZ #16623]
4764 * math/auto-libm-test-in: New test inputs.
4765 * math/auto-libm-test-out: Regenerate.
4766 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4767 and DA.
4768 (__cos): Likewise.
4769 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4770
f8c17e79
JM
47712014-02-27 Joseph Myers <joseph@codesourcery.com>
4772
4773 * scripts/evaluate-test.sh: Take new argument indicating whether
4774 failure is expected.
4775 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4776 indicating whether failure is expected.
4777 * conform/Makefile (test-xfail-run-conformtest): New variable.
4778 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4779 level.
4780 * posix/Makefile (test-xfail-annexc): New variable.
4781 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4782
a5f891ac
JM
47832014-02-26 Joseph Myers <joseph@codesourcery.com>
4784
4785 * argp/Makefile: Include Makeconfig immediately after defining
4786 subdir.
4787 * assert/Makefile: Likewise.
4788 * benchtests/Makefile: Likewise.
4789 * catgets/Makefile: Likewise.
4790 * conform/Makefile: Likewise.
4791 * crypt/Makefile: Likewise.
4792 * csu/Makefile: Likewise.
4793 (all): Remove target.
4794 * ctype/Makefile: Include Makeconfig immediately after defining
4795 subdir.
4796 * debug/Makefile: Likewise.
4797 * dirent/Makefile: Likewise.
4798 * dlfcn/Makefile: Likewise.
4799 * gmon/Makefile: Likewise.
4800 * gnulib/Makefile: Likewise.
4801 * grp/Makefile: Likewise.
4802 * gshadow/Makefile: Likewise.
4803 * hesiod/Makefile: Likewise.
4804 * hurd/Makefile: Likewise.
4805 (all): Remove target.
4806 * iconvdata/Makefile: Include Makeconfig immediately after
4807 defining subdir.
4808 * inet/Makefile: Likewise.
4809 * intl/Makefile: Likewise.
4810 * io/Makefile: Likewise.
4811 * libio/Makefile: Likewise.
4812 (all): Remove target.
4813 * locale/Makefile: Include Makeconfig immediately after defining
4814 subdir.
4815 * login/Makefile: Likewise.
4816 * mach/Makefile: Likewise.
4817 (all): Remove target.
4818 * malloc/Makefile: Include Makeconfig immediately after defining
4819 subdir.
4820 (all): Remove target.
4821 * manual/Makefile: Include Makeconfig immediately after defining
4822 subdir.
4823 * math/Makefile: Likewise.
4824 * misc/Makefile: Likewise.
4825 * nis/Makefile: Likewise.
4826 * nss/Makefile: Likewise.
4827 * po/Makefile: Likewise.
4828 (all): Remove target.
4829 * posix/Makefile: Include Makeconfig immediately after defining
4830 subdir.
4831 * pwd/Makefile: Likewise.
4832 * resolv/Makefile: Likewise.
4833 * resource/Makefile: Likewise.
4834 * rt/Makefile: Likewise.
4835 * setjmp/Makefile: Likewise.
4836 * shadow/Makefile: Likewise.
4837 * signal/Makefile: Likewise.
4838 * socket/Makefile: Likewise.
4839 * soft-fp/Makefile: Likewise.
4840 * stdio-common/Makefile: Likewise.
4841 * stdlib/Makefile: Likewise.
4842 * streams/Makefile: Likewise.
4843 * string/Makefile: Likewise.
4844 * sunrpc/Makefile: Likewise.
4845 (all): Remove target.
4846 * sysvipc/Makefile: Include Makeconfig immediately after defining
4847 subdir.
4848 * termios/Makefile: Likewise.
4849 * time/Makefile: Likewise.
4850 * timezone/Makefile: Likewise.
4851 (all): Remove target.
4852 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4853 subdir.
4854 * wctype/Makefile: Likewise.
4855
5b456e9d
SE
48562014-02-26 Steve Ellcey <sellcey@mips.com>
4857
4858 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4859 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4860 (libc_feholdexcept_setround_mips): Ditto.
4861 (libc_feholdsetround): New.
4862 (libc_feholdsetroundf): New.
4863 (libc_feholdsetroundl): New.
4864 (libc_feupdateenv_test_mips): New.
4865 (libc_feupdateenv_test): New.
4866 (libc_feupdateenv_testf): New.
4867 (libc_feupdateenv_testl): New.
4868 (libc_feresetround): New.
4869 (libc_feresetroundf): New.
4870 (libc_feresetroundl): New.
4871 (libc_fetestexcept_mips): New.
4872 (libc_fetestexcept): New.
4873 (libc_fetestexceptf): New.
4874 (libc_fetestexceptl): New.
4875 (HAVE_RM_CTX): New.
4876 (libc_feholdexcept_setround_mips_ctx): New.
4877 (libc_feholdexcept_setround_ctx): New.
4878 (libc_feholdexcept_setroundf_ctx): New.
4879 (libc_feholdexcept_setroundl_ctx): New.
4880 (libc_fesetenv_mips_ctx): New.
4881 (libc_fesetenv_ctx): New.
4882 (libc_fesetenv_ctxf): New.
4883 (libc_fesetenv_ctxl): New.
4884 (libc_feupdateenv_mips_ctx): New.
4885 (libc_feupdateenv_ctx): New.
4886 (libc_feupdateenvf_ctx): New.
4887 (libc_feupdateenvl_ctx): New.
4888 (libc_feholdsetround_mips_ctx): New.
4889 (libc_feholdsetround_ctx): New.
4890 (libc_feholdsetroundf_ctx): New.
4891 (libc_feholdsetroundl_ctx): New.
4892 (libc_feresetround_mips_ctx): New.
4893 (libc_feresetround_ctx): New.
4894 (libc_feresetroundf_ctx): New.
4895 (libc_feresetroundl_ctx): New.
4896
085d0e35
CD
48972014-02-26 Carlos O'Donell <carlos@redhat.com>
4898
f067bf1f
CD
4899 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4900
085d0e35
CD
4901 * manual/ipc.texi: New file.
4902 * manual/Makefile (chapters): Add ipc.
4903 * manual/job.texi: Add "Inter-Process Communication" to next.
4904 * manual/process.texi: Add "Inter-Process Communication" to prev.
4905
86e58c08
AZ
49062014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4907
4908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4909
4248f0da
OB
49102014-02-26 Ondřej Bílka <neleai@seznam.cz>
4911
4912 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4913
cf822e3c
OB
4914 * manual/arith.texi: Fix spaces after sentences.
4915 * manual/charset.texi: Likewise.
4916 * manual/errno.texi: Likewise.
4917 * manual/install.texi: Likewise.
4918 * manual/llio.texi: Likewise.
4919 * manual/locale.texi: Likewise.
4920 * manual/maint.texi: Likewise.
4921 * manual/math.texi: Likewise.
4922 * manual/memory.texi: Likewise.
4923 * manual/message.texi: Likewise.
4924 * manual/probes.texi: Likewise.
4925 * manual/resource.texi: Likewise.
4926 * manual/signal.texi: Likewise.
4927 * manual/socket.texi: Likewise.
4928 * manual/stdio.texi: Likewise.
4929 * manual/string.texi: Likewise.
4930 * manual/time.texi: Likewise.
4931 * manual/users.texi: Likewise.
4932
ade40b10
CD
49332014-02-25 Carlos O'Donell <carlos@redhat.com>
4934
4935 [BZ #16632]
4936 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4937 _DEFAULT_SOURCE is defined.
4938
d0503676
CD
49392014-02-25 Ulrich Drepper <drepper@gmail.com>
4940 Carlos O'Donell <carlos@redhat.com>
4941
4942 [BZ #16613]
4943 * elf/dl-tls.c (_dl_count_modids): New function.
4944 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4945 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4946 audit library and increment generation counter.
4947 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4948 * elf/tst-audit9.c: New file.
4949 * elf/tst-auditmod9a.c: New file.
4950 * elf/tst-auditmod9b.c: New file.
4951 * elf/Makefile: Add rules to build and run tst-audit9.
4952
4cbf380c
FW
49532014-02-25 Florian Weimer <fweimer@redhat.com>
4954
4955 [BZ #15347]
4956 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4957
80a56cc3
WN
49582014-02-25 Will Newton <will.newton@linaro.org>
4959
4960 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4961 (__longjmp): Restore sp and lr before restoring callee
4962 saved registers. Add longjmp and longjmp_target
4963 SystemTap probe point.
4964 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4965 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4966 Define to zero to match jmpbuf layout.
4967 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4968 (__sigsetjmp): Save sp and lr before saving callee
4969 saved registers. Add setjmp SystemTap probe point.
4970
3ea0f74e
SL
49712014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4972
4973 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4974
b04acb26
AS
49752014-02-24 Andreas Schwab <schwab@suse.de>
4976
4977 [BZ #15804]
4978 * elf/pldd.c (wait_for_ptrace_stop): New function.
4979 (main): Call it after attaching.
4980
098ad55c
RM
49812014-02-22 Roland McGrath <roland@hack.frob.com>
4982
d4ec6ae1
RM
4983 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4984 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4985 Versions files is now verboten.
4986 * hurd/Versions (libc: GLIBC_2.0):
4987 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4988 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4989 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4990 * mach/Versions: Likewise.
4991
098ad55c
RM
4992 * csu/Versions: Remove unused %include.
4993 * resolv/Versions: Likewise.
4994
acd7f096
JM
49952014-02-21 Joseph Myers <joseph@codesourcery.com>
4996
f0881698
JM
4997 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4998 ($(objpfx)check-local-headers.out): Likewise.
4999 ($(objpfx)begin-end-check.out): Likewise.
5000 * Makerules (check-abi-%.out): Likewise.
5001 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5002 ($(objpfx)test2.cat): Likewise.
5003 ($(objpfx)de/libc.cat): Likewise.
5004 ($(objpfx)test-gencat.out): Likewise.
5005 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5006 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5007 ($(objpfx)noload-mem): Likewise.
5008 ($(objpfx)tst-pathopt.out): Likewise.
5009 ($(objpfx)tst-rtld-load-self.out): Likewise.
5010 ($(objpfx)tst-array1-cmp.out): Likewise.
5011 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5012 ($(objpfx)tst-array2-cmp.out): Likewise.
5013 ($(objpfx)tst-array3-cmp.out): Likewise.
5014 ($(objpfx)tst-array4-cmp.out): Likewise.
5015 ($(objpfx)tst-array5-cmp.out): Likewise.
5016 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5017 ($(objpfx)check-textrel.out): Likewise.
5018 ($(objpfx)check-execstack.out): Likewise.
5019 ($(objpfx)check-localplt.out): Likewise.
5020 ($(objpfx)order2-cmp.out): Likewise.
5021 ($(objpfx)tst-leaks1-mem): Likewise.
5022 ($(objpfx)tst-leaks1-static-mem): Likewise.
5023 ($(objpfx)tst-initorder-cmp.out): Likewise.
5024 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5025 ($(objpfx)tst-unused-dep.out): Likewise.
5026 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5027 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5028 * iconv/Makefile (test-iconvconfig): Likewise.
5029 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5030 ($(objpfx)iconv-test.out): Likewise.
5031 ($(objpfx)tst-tables.out): Likewise.
5032 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5033 ($(objpfx)tst-gettext.out): Likewise.
5034 ($(objpfx)tst-translit.out): Likewise.
5035 ($(objpfx)tst-gettext2.out): Likewise.
5036 ($(objpfx)tst-gettext4.out): Likewise.
5037 ($(objpfx)tst-gettext6.out): Likewise.
5038 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5039 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5040 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5041 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5042 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5043 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5044 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5045 ($(objpfx)wordexp-tst.out): Likewise.
5046 ($(objpfx)annexc.out): Likewise.
5047 ($(objpfx)tst-fnmatch-mem): Likewise.
5048 ($(objpfx)bug-regex2-mem): Likewise.
5049 ($(objpfx)bug-regex14-mem): Likewise.
5050 ($(objpfx)bug-regex21-mem): Likewise.
5051 ($(objpfx)bug-regex31-mem): Likewise.
5052 ($(objpfx)tst-vfork3-mem): Likewise.
5053 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5054 ($(objpfx)tst-pcre-mem): Likewise.
5055 ($(objpfx)tst-boost-mem): Likewise.
5056 ($(objpfx)tst-getconf.out): Likewise.
5057 ($(objpfx)bug-ga2-mem): Likewise.
5058 ($(objpfx)bug-glob2-mem): Likewise.
5059 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5060 ($(objpfx)mtrace-tst-leaks2): Likewise.
5061 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5062 ($(objpfx)tst-printf.out): Likewise.
5063 ($(objpfx)tst-setvbuf1.out): Likewise.
5064 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5065 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5066 ($(objpfx)tst-fmtmsg.out): Likewise.
5067 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5068 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5069
acd7f096
JM
5070 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5071 * bits/sigaction.h [__USE_MISC]: Likewise.
5072 * bits/waitstatus.h: Update #endif comments.
5073 * ctype/ctype.h: Likewise.
5074 * dirent/dirent.h: Likewise.
5075 [__USE_MISC]: Remove redundant conditionals.
5076 * grp/grp.h: Update #endif comments.
5077 [__USE_GNU]: Remove redundant conditionals.
5078 [__USE_MISC]: Likewise.
5079 * inet/netinet/in.h [__USE_GNU]: Likewise.
5080 * io/sys/stat.h [__USE_MISC]: Likewise.
5081 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5082 * libio/bits/stdio.h: Update #endif comments.
5083 [__USE_MISC]: Remove redundant conditionals.
5084 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5085 * libio/stdio.h: Update #endif comments.
5086 [__USE_MISC]: Remove redundant conditionals.
5087 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5088 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5089 * math/math.h: Update #else and #endif comments.
5090 [__USE_MISC]: Remove redundant conditionals.
5091 * misc/sys/uio.h: Update #endif comments.
5092 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5093 * posix/glob.h [__USE_MISC]: Likewise.
5094 * posix/sys/types.h: Update #endif comments.
5095 [__USE_MISC]: Remove redundant conditionals.
5096 * posix/sys/wait.h: Update #endif comments.
5097 [__USE_MISC]: Remove redundant conditionals.
5098 * posix/unistd.h: Update #endif comments.
5099 [__USE_MISC]: Remove redundant conditionals.
5100 * pwd/pwd.h [__USE_GNU]: Likewise.
5101 [__USE_MISC]: Likewise.
5102 * resolv/netdb.h [__USE_GNU]: Likewise.
5103 * signal/signal.h: Update #endif comments.
5104 [__USE_MISC]: Remove redundant conditionals.
5105 * stdlib/stdlib.h: Update #else and #endif comments.
5106 [__USE_MISC]: Remove redundant conditionals.
5107 [__USE_GNU]: Likewise.
5108 * string/bits/string2.h [__USE_MISC]: Likewise.
5109 * string/string.h: Update #endif comments.
5110 [__USE_MISC]: Remove redundant conditionals.
5111 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5112 Likewise.
5113 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5114 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5115 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5116 Likewise.
5117 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5118 Likewise.
5119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5120 comments.
5121 [__USE_MISC]: Remove redundant conditionals.
5122 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5123 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5124 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5125 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5126 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5127 Likewise.
5128 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5129 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5130 Likewise.
5131 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5132 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5133 Likewise.
5134 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5135 Likewise.
5136 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5137 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5138 Likewise.
5139 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5140 Likewise.
5141 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5142 * sysdeps/x86/bits/string.h: Update #endif comments.
5143 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5144 conditionals.
5145 * time/sys/time.h: Update #endif comments.
5146 * time/time.h: Likewise.
5147 [__USE_MISC]: Remove redundant conditionals.
5148
a5d82e4e
YG
51492014-02-21 Yury Gribov <y.gribov@samsung.com>
5150
5151 [BZ #16600]
5152 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5153
9a80491d
AS
51542014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5155
5156 * Versions.def (librt): Add GLIBC_2.17.
5157
105fa381
AC
51582014-02-21 Adam Conrad <adconrad@0c3.net>
5159
5160 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5161 synonym for _SYS_AUXV_H to allow direct inclusion.
5162 * sysdeps/sparc/bits/hwcap.h: Likewise.
5163 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5164 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5165 * sysdeps/sparc/sysdep.h: Likewise.
5166
b8cd1c4e
SP
51672014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5168
5169 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5170
bd939d23
RS
51712014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5172
5173 * benchtests/bench-strrchr.c: Print length instead of position.
5174
5d7b57ca
JM
51752014-02-20 Joseph Myers <joseph@codesourcery.com>
5176
bc688c10
JM
5177 [BZ #16611]
5178 * sysdeps/unix/sysv/linux/kernel-features.h
5179 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5180 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5181 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5182 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5183 Likewise.
5184 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5185 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5186 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5187 (__ASSUME_SENDMMSG): Define instead of using previous
5188 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5189 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5190 (__ASSUME_SENDMMSG_SYSCALL): Define.
5191 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5192 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5193 Likewise.
5194 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5195 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5196 Likewise.
5197 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5198 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5199 Likewise.
5200 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5201 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5202 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5203 [__ASSUME_SENDMMSG]: Change conditionals to
5204 [__ASSUME_SENDMMSG_SOCKETCALL].
5205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5206 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5207 Define.
5208 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5209 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5210 Likewise.
5211 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5212 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5213 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5214 [!__ASSUME_SENDMMSG]: Change conditional to
5215 [!__ASSUME_SENDMMSG_SOCKETCALL].
5216 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5217 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5218 Define.
5219
0e31b18c
JM
5220 [BZ #16610]
5221 * sysdeps/unix/sysv/linux/kernel-features.h
5222 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5223 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5224 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5225 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5226 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5227 [__i386__ || __sparc__]
5228 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5229 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5230 (__ASSUME_RECVMMSG): Define instead of using previous
5231 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5232 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5233 (__ASSUME_RECVMMSG_SYSCALL): Define.
5234 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5235 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5236 Likewise.
5237 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5238 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5239 Likewise.
5240 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5241 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5242 Likewise.
5243 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5244 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5245 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5246 [__ASSUME_RECVMMSG]: Change condition to
5247 [__ASSUME_RECVMMSG_SOCKETCALL].
5248 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5249 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5250 Define.
5251 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5252 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5253 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5254 Likewise.
5255 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5256 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5257 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5258 [!__ASSUME_RECVMMSG]: Change condition to
5259 [!__ASSUME_RECVMMSG_SOCKETCALL].
5260 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5261 (__ASSUME_RECVMMSG_SYSCALL): Define.
5262
dd481ccf
JM
5263 [BZ #16609]
5264 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5265 __powerpc__ || __s390__ || __sh__ || __sparc__]
5266 (__ASSUME_SOCKETCALL): Define.
5267 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5268 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5269 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5270 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5271 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5272 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5273 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5274 (__ASSUME_ACCEPT4): Define instead of using previous
5275 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5276 __powerpc__ || __sparc__ || __s390__)] condition.
5277 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5278 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5279 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5280 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5281 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5282 [!__ASSUME_ACCEPT4]: Change condition to
5283 [!__ASSUME_ACCEPT4_SOCKETCALL].
5284 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5285 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5286 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5287 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5288 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5289 __ASSUME_ACCEPT4_SYSCALL.
5290 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5291 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5292 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5293 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5294 __ASSUME_ACCEPT4_SYSCALL.
5295 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5296 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5297 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5298 [__ASSUME_ACCEPT4]: Change condition to
5299 [__ASSUME_ACCEPT4_SOCKETCALL].
5300 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5301 (__ASSUME_SOCKETCALL): Define.
5302 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5303 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5304 (__ASSUME_SOCKETCALL): Define.
5305 (__ASSUME_ACCEPT4): Remove.
5306 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5307 Define.
5308 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5309 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5310 Likewise.
5311 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5312 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5313
5d7b57ca
JM
5314 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5315 macro.
5316 (HWCAP_ARM_LPAE): Likewise.
5317 (HWCAP_ARM_EVTSTRM): Likewise.
5318 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5319 Add vpfd32, lpae and evtstrm.
5320 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5321 Increase to 22.
5322
63689d61
JM
53232014-02-19 Joseph Myers <joseph@codesourcery.com>
5324
5325 * math/auto-libm-test-in: Add tests of clog10.
5326 * math/auto-libm-test-out: Regenerated.
5327 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5328 * sysdeps/i386/fpu/libm-test-ulps: Update.
5329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5330
ab09bf61
AS
53312014-02-18 Andreas Schwab <schwab@suse.de>
5332
5333 [BZ #16574]
5334 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5335 Store non-zero if the second buffer was newly allocated.
5336 (send_dg): Likewise.
5337 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5338 to send_vc and send_dg.
5339 (res_nsend): Pass NULL for ansp2_malloced.
5340 * resolv/res_query.c (__libc_res_nquery): Add parameter
5341 answerp2_malloced and pass it down to __libc_res_nsend.
5342 (res_nquery): Pass additional NULL to __libc_res_nquery.
5343 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5344 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5345 second answer buffer if answerp2_malloced was set.
5346 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5347 (__libc_res_nquerydomain): Add parameter
5348 answerp2_malloced and pass it down to __libc_res_nquery.
5349 (res_nquerydomain): Pass additional NULL to
5350 __libc_res_nquerydomain.
5351 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5352 additional NULL to __libc_res_nsend and __libc_res_nquery.
5353 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5354 additional NULL to __libc_res_nsearch.
5355 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5356 parameter of __libc_res_nsearch to check for separately allocated
5357 second buffer.
5358 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5359 __libc_res_nquery.
5360 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5361 additional NULL to __libc_res_nquery.
5362 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5363 __libc_res_nsearch.
5364 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5365 * include/resolv.h: Update prototypes of __libc_res_nquery,
5366 __libc_res_nsearch, __libc_res_nsend.
5367
a4fb7861
JM
53682014-02-18 Joseph Myers <joseph@codesourcery.com>
5369
c6af2d89
JM
5370 * math/auto-libm-test-in: Add tests of fma.
5371 * math/auto-libm-test-out: Regenerated.
5372 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5373 (fma_towardzero_test_data): Likewise.
5374 (fma_downward_test_data): Likewise.
5375 (fma_upward_test_data): Likewise.
5376 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5377 mpc_mode.
5378 (rounding_modes): Add values for new field.
5379 (func_calc_method): Add value mpfr_fff_f.
5380 (func_calc_desc): Add mpfr_fff_f union field.
5381 (test_function): Add field exact_args.
5382 (FUNC): Add macro argument EXACT_ARGS.
5383 (FUNC_mpfr_f_f): Update call to FUNC.
5384 (FUNC_mpfr_f_f): Likewise.
5385 (FUNC_mpfr_ff_f): Likewise.
5386 (FUNC_mpfr_if_f): Likewise.
5387 (FUNC_mpc_c_f): Likewise.
5388 (FUNC_mpc_c_c): Likewise.
5389 (test_functions): Add fma. Update calls to FUNC.
5390 (handle_input_arg): Add argument exact_args.
5391 (add_test): Update call to handle_input_arg.
5392 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5393 (output_for_one_input_case): Update call to calc_generic_results.
5394 Recalculate exact zero results in each rounding mode.
5395
a4fb7861
JM
5396 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5397 non-negative before setting low bit.
5398 * math/auto-libm-test-in: Mark one asin test possibly having
5399 spurious underflow.
5400 * math/auto-libm-test-out: Regenerated.
5401 * sysdeps/i386/fpu/libm-test-ulps: Update.
5402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5403
ef114eaf
DH
54042014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5405
2b7f4f2c
SP
5406 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5407 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5408 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5409 * README: Add missing listing for microblaze*-*-linux-gnu.
5410
c70a4b1d
MF
54112014-02-16 Mike Frysinger <vapier@gentoo.org>
5412
5413 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5414 * sysdeps/unix/sysv/linux/ia64: Move directory from
5415 ports/sysdeps/unix/sysv/linux/ia64.
5416 * README: Update listing for ia64-*-linux-gnu.
5417
591aeaf7
TD
54182014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5419 Joseph Myers <joseph@codesourcery.com>
5420
5421 * Makeconfig (test-name): New variable.
5422 (evaluate-test): Likewise.
5423 * Makerules (do-test-clean): Remove .test-result files.
5424 (common-mostlyclean): Likewise.
5425 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5426 * scripts/evaluate-test.sh: New file.
5427
6e89caf1
JM
54282014-02-14 Joseph Myers <joseph@codesourcery.com>
5429
7f98f180
JM
5430 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5431 separate $(objpfx)tst-fopenloc-cmp.out and
5432 $(objpfx)tst-fopenloc-mem.out targets.
5433 (tests): Update dependencies.
5434 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5435 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5436 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5437 (tst-rxspencer-no-utf8-ARGS): New variable.
5438 (tst-rxspencer-no-utf8-ENV): Likewise.
5439 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5440 instead of $(objpfx)tst-rxspencer-mem.
5441 ($(objpfx)tst-rxspencer-mem): Change target to
5442 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5443 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5444 * posix/tst-rxspencer-no-utf8.c: New file.
5445
6e89caf1
JM
5446 * elf/Makefile ($(objpfx)order.out): Remove rule.
5447 [$(run-built-tests) = yes] (tests): Depend on
5448 $(objpfx)order-cmp.out.
5449 ($(objpfx)order-cmp.out): New rule.
5450 [$(run-built-tests) = yes] (tests): Depend on
5451 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5452 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5453 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5454 $(objpfx)tst-array5-static-cmp.out.
5455 ($(objpfx)tst-array1.out): Remove rule.
5456 ($(objpfx)tst-array1-cmp.out): New rule.
5457 ($(objpfx)tst-array1-static.out): Remove rule.
5458 ($(objpfx)tst-array1-static-cmp.out): New rule.
5459 ($(objpfx)tst-array2.out): Remove rule.
5460 ($(objpfx)tst-array2-cmp.out): New rule.
5461 ($(objpfx)tst-array3.out): Remove rule.
5462 ($(objpfx)tst-array3-cmp.out): New rule.
5463 ($(objpfx)tst-array4.out): Remove rule.
5464 ($(objpfx)tst-array4-cmp.out): New rule.
5465 ($(objpfx)tst-array5.out): Remove rule.
5466 ($(objpfx)tst-array5-cmp.out): New rule.
5467 ($(objpfx)tst-array5-static.out): Remove rule.
5468 ($(objpfx)tst-array5-static-cmp.out): New rule.
5469 [$(run-built-tests) = yes] (tests): Depend on
5470 $(objpfx)order2-cmp.out.
5471 ($(objpfx)order2.out): Remove rule.
5472 ($(objpfx)order2-cmp.out): New rule.
5473 ($(objpfx)tst-initorder.out): Remove rule.
5474 [$(run-built-tests) = yes] (tests): Depend on
5475 $(objpfx)tst-initorder-cmp.out.
5476 ($(objpfx)tst-initorder-cmp.out): New rule.
5477 ($(objpfx)tst-initorder2.out): Remove rule.
5478 [$(run-built-tests) = yes] (tests): Depend on
5479 $(objpfx)tst-initorder2-cmp.out.
5480 ($(objpfx)tst-initorder2-cmp.out): New rule.
5481 [$(run-built-tests) = yes] (tests): Depend on
5482 $(objpfx)tst-unused-dep-cmp.out.
5483 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5484 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5485 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5486 on $(objpfx)tst-setvbuf1-cmp.out.
5487 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5488 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5489 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5490 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5491 ($(objpfx)tst-svc.out): Remove rule.
5492 ($(objpfx)tst-svc-cmp.out): New rule.
5493
ed9a38e2
JM
54942014-02-13 Joseph Myers <joseph@codesourcery.com>
5495
5496 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5497 * ctype/ctype.h [__USE_MISC]: Likewise.
5498 * dirent/dirent.h [__USE_MISC]: Likewise.
5499 * grp/grp.h [__USE_MISC]: Likewise.
5500 * io/fcntl.h [__USE_MISC]: Likewise.
5501 * io/sys/stat.h [__USE_MISC]: Likewise.
5502 * libio/stdio.h [__USE_MISC]: Likewise.
5503 * posix/unistd.h [__USE_MISC]: Likewise.
5504 * pwd/pwd.h [__USE_MISC]: Likewise.
5505 * stdlib.h [__USE_MISC]: Likewise.
5506 * string/bits/string2.h [__USE_MISC]: Likewise.
5507 * string/string.h [__USE_MISC]: Likewise.
5508 * time/time.h [__USE_MISC]: Likewise.
5509
d6680619
AS
55102014-02-13 Andreas Schwab <schwab@suse.de>
5511
5512 [BZ #16574]
5513 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5514 second answer buffer if it was separately allocated.
5515
ace614b8
JM
55162014-02-12 Joseph Myers <joseph@codesourcery.com>
5517
743151ae
JM
5518 * sysdeps/mips/math-tests.h: Include <features.h>.
5519 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5520 (ROUNDING_TESTS_long_double): Do not define.
5521 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5522 (EXCEPTION_TESTS_long_double): Likewise.
5523 * sysdeps/mips/mips64/libm-test-ulps: Update.
5524
498afc54
JM
5525 * include/features.h (__USE_BSD): Remove macro definitions.
5526 (__USE_SVID): Likewise.
5527 (_BSD_SOURCE): Likewise.
5528 (_SVID_SOURCE): Likewise.
5529 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5530 from definition of _DEFAULT_SOURCE.
5531 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5532 [_DEFAULT_SOURCE].
5533 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5534 * bits/mman.h [__USE_BSD]: Likewise.
5535 * bits/termios.h [__USE_BSD]: Likewise.
5536 * bits/waitstatus.h [__USE_BSD]: Likewise.
5537 * ctype/ctype.h [__USE_SVID]: Likewise.
5538 * dirent/dirent.h [__USE_BSD]: Likewise.
5539 * grp/grp.h [__USE_SVID]: Likewise.
5540 [__USE_BSD]: Likewise.
5541 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5542 * io/fcntl.h [__USE_BSD]: Likewise.
5543 * io/ftw.h [__USE_BSD]: Likewise.
5544 * io/sys/stat.h [__USE_BSD]: Likewise.
5545 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5546 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5547 * libio/stdio.h [__USE_SVID]: Likewise.
5548 [__USE_BSD]: Likewise.
5549 * math/math.h [__USE_SVID]: Likewise.
5550 [__USE_BSD]: Likewise.
5551 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5552 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5553 * misc/search.h [__USE_SVID]: Likewise.
5554 * misc/sys/mman.h [__USE_BSD]: Likewise.
5555 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5556 * misc/sys/uio.h [__USE_BSD]: Likewise.
5557 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5558 * posix/glob.h [__USE_BSD]: Likewise.
5559 * posix/regex.h [__USE_BSD]: Likewise.
5560 * posix/sys/types.h [__USE_BSD]: Likewise.
5561 [__USE_SVID]: Likewise.
5562 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5563 * posix/sys/wait.h [__USE_BSD]: Likewise.
5564 [__USE_SVID]: Likewise.
5565 * posix/unistd.h [__USE_BSD]: Likewise.
5566 [__USE_SVID]: Likewise.
5567 * pwd/pwd.h [__USE_SVID]: Likewise.
5568 * resolv/netdb.h [__USE_BSD]: Likewise.
5569 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5570 * signal/signal.h [__USE_BSD]: Likewise.
5571 [__USE_SVID]: Likewise.
5572 * socket/sys/socket.h [__USE_BSD]: Likewise.
5573 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5574 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5575 [__USE_SVID]: Likewise.
5576 * string/bits/string2.h [__USE_BSD]: Likewise.
5577 [__USE_SVID]: Likewise.
5578 * string/bits/string3.h [__USE_BSD]: Likewise.
5579 * string/endian.h [__USE_BSD]: Likewise.
5580 * string/string.h [__USE_SVID]: Likewise.
5581 [__USE_BSD]: Likewise.
5582 * string/strings.h [__USE_BSD]: Likewise.
5583 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5584 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5585 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5586 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5587 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5588 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5589 Likewise.
5590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5591 Likewise.
5592 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5593 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5594 Likewise.
5595 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5596 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5597 Likewise.
5598 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5599 Likewise.
5600 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5601 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5602 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5603 Likewise.
5604 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5605 Likewise.
5606 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5607 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5608 * termios/termios.h [__USE_BSD]: Likewise.
5609 * time/sys/time.h [__USE_BSD]: Likewise.
5610 * time/time.h [__USE_BSD]: Likewise.
5611 [__USE_SVID]: Likewise.
5612
dd7b064c
JM
5613 * Makefile (subdir_targets): Remove subdir_lint.out.
5614
a2c4c199
JM
5615 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5616 (do-tst-printf): Likewise.
5617 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5618 $(objpfx)tst-printf.out.
5619
8756f740
JM
5620 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5621
1b6dd3f1
JM
5622 * Makerules (check-abi-%): Change target to
5623 $(objpfx)check-abi-%.out.
5624 (check-abi target): Update dependencies.
5625 (check-abi-pattern variable): Redirect output of diff to $@.
5626 (check-abi variable): Likewise.
5627 * elf/Makefile (check-abi): Update dependencies.
5628
ace614b8
JM
5629 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5630 unused.
5631 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5632 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5633 subnormal range.
5634 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5635 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5636 value has largest subnormal exponent.
5637 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5638 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5639 * sysdeps/aarch64/soft-fp/sfp-machine.h
5640 (_FP_TININESS_AFTER_ROUNDING): New macro.
5641 * sysdeps/alpha/soft-fp/sfp-machine.h
5642 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5643 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5644 Likewise.
5645 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5646 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5647 * sysdeps/mips/soft-fp/sfp-machine.h
5648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5649 * sysdeps/powerpc/soft-fp/sfp-machine.h
5650 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5651 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5652 Likewise.
5653 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5654 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5655 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5656 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5657 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5658 Likewise.
5659
fbfdf9cb
DAS
56602014-02-12 Dylan Alex Simon <dylan@dylex.net>
5661
5662 [BZ #16545]
5663 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5664 model 1.
5665
68b7efaa
RH
56662014-02-12 Richard Henderson <rth@redhat.com>
5667
c70a4b1d 5668 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5669 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5670 * sysdeps/unix/sysv/linux/alpha: Move directory from
5671 ports/sysdeps/unix/sysv/linux/alpha.
5672 * README: Update listing for alpha-*-linux-gnu.
5673
cb4a2928
JM
56742014-02-11 Joseph Myers <joseph@codesourcery.com>
5675
c941736c
JM
5676 * include/features.h: Update comment documenting feature test
5677 macros.
5678 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5679 _DEFAULT_SOURCE.
5680 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5681 (_SVID_SOURCE): Likewise.
5682 (_DEFAULT_SOURCE): Update description of default features.
5683 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5684 with _GNU_SOURCE.
5685 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5686 (S_ISVTX): Likewise.
5687 * manual/math.texi (Mathematical Constants): Likewise.
5688 * manual/signal.texi (Interrupted Primitives): Likewise.
5689 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5690 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5691 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5692 Don't refer to _SVID_SOURCE in warning text.
5693
e8d8d7ec
JM
5694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5695
cb4a2928
JM
5696 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5697 already defined.
5698 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5699 * sysdeps/mips/dl-lookup.c: Remove.
5700 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5701
7e6424e3
AK
57022014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5703
5704 [BZ #16447]
5705 * math/auto-libm-test-in: Add testcase for expl.
5706 * math/auto-libm-test-out: Regenerate.
5707 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5708 calculation of unsafe.
5709 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5710
75eff3fe
MS
57112014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5712
5713 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5714 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5715 ports/sysdeps/unix/sysv/linux/aarch64.
5716 * README: Update listing for aarch64*-*-linux-gnu.
5717
d35f1e80
WN
57182014-02-11 Will Newton <will.newton@linaro.org>
5719
5720 * manual/probes.texi (Mathematical Function Probes): Use
5721 "triggered" instead of "hit".
5722
7b3436d4
WN
5723 * manual/probes.texi (Internal Probes): Add documentation
5724 of setjmp, longjmp and longjmp_target probes.
5725
b4f12ca3
WN
5726 * include/stap-probe.h: Add comment about probe argument
5727 format.
5728
c13a72b7
WN
5729 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5730 definition. (tr_where, tr_freehook, tr_mallochook,
5731 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5732
195b8165
DM
57332014-02-11 David S. Miller <davem@davemloft.net>
5734
5735 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5736 processing int_tests.
5737
2ad7600b
JM
57382014-02-10 Joseph Myers <joseph@codesourcery.com>
5739
5740 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5741 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5742 * sysdeps/unix/sysv/linux/mips: Move directory from
5743 ports/sysdeps/unix/sysv/linux/mips.
5744 * README: Update listing for mips-*-linux-gnu and
5745 mips64-*-linux-gnu.
5746
73588a72
AS
57472014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5748
5749 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5750 * sysdeps/unix/sysv/linux/m68k: Move directory from
5751 ports/sysdeps/unix/sysv/linux/m68k.
5752 * README: Update listing for m68k-*-linux-gnu.
5753
4372980f
CM
57542014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5755
5756 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5757 * sysdeps/unix/sysv/linux/generic: Move directory from
5758 ports/sysdeps/unix/sysv/linux/generic.
5759 * sysdeps/unix/sysv/linux/tile: Move directory from
5760 ports/sysdeps/unix/sysv/linux/tile.
5761 * README: Update listing for tile*-*-linux-gnu.
5762
a1ffb40e
OB
57632014-02-10 Ondřej Bílka <neleai@seznam.cz>
5764
57f41c40
AS
5765 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5766 __builtin_expect.
a1ffb40e
OB
5767 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5768 * catgets/open_catalog.c (__open_catalog): Likewise.
5769 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5770 * debug/confstr_chk.c: Likewise.
5771 * debug/fread_chk.c (__fread_chk): Likewise.
5772 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5773 * debug/getgroups_chk.c: Likewise.
5774 * debug/mbsnrtowcs_chk.c: Likewise.
5775 * debug/mbsrtowcs_chk.c: Likewise.
5776 * debug/mbstowcs_chk.c: Likewise.
5777 * debug/memcpy_chk.c: Likewise.
5778 * debug/memmove_chk.c: Likewise.
5779 * debug/mempcpy_chk.c: Likewise.
5780 * debug/memset_chk.c: Likewise.
5781 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5782 * debug/strcat_chk.c (__strcat_chk): Likewise.
5783 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5784 * debug/strncat_chk.c (__strncat_chk): Likewise.
5785 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5786 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5787 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5788 * debug/wcpncpy_chk.c: Likewise.
5789 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5790 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5791 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5792 * debug/wcsncpy_chk.c: Likewise.
5793 * debug/wcsnrtombs_chk.c: Likewise.
5794 * debug/wcsrtombs_chk.c: Likewise.
5795 * debug/wcstombs_chk.c: Likewise.
5796 * debug/wmemcpy_chk.c: Likewise.
5797 * debug/wmemmove_chk.c: Likewise.
5798 * debug/wmempcpy_chk.c: Likewise.
5799 * debug/wmemset_chk.c: Likewise.
5800 * dirent/scandirat.c (SCANDIRAT): Likewise.
5801 * dlfcn/dladdr1.c (dladdr1): Likewise.
5802 * dlfcn/dladdr.c (dladdr): Likewise.
5803 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5804 * dlfcn/dlerror.c (__dlerror): Likewise.
5805 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5806 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5807 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5808 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5809 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5810 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5811 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5812 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5813 Likewise.
5814 * elf/dl-conflict.c: Likewise.
5815 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5816 * elf/dl-dst.h: Likewise.
5817 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5818 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5819 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5820 * elf/dl-init.c (call_init, _dl_init): Likewise.
5821 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5822 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5823 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5824 Likewise.
a1ffb40e
OB
5825 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5826 Likewise.
5827 * elf/dl-minimal.c (__libc_memalign): Likewise.
5828 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5829 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5830 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5831 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5832 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5833 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5834 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5835 * elf/dl-writev.h (_dl_writev): Likewise.
5836 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5837 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5838 (dl_main): Likewise.
a1ffb40e
OB
5839 * elf/setup-vdso.h (setup_vdso): Likewise.
5840 * grp/compat-initgroups.c (compat_call): Likewise.
5841 * grp/fgetgrent.c (fgetgrent): Likewise.
5842 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5843 * grp/putgrent.c (putgrent): Likewise.
5844 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5845 Likewise.
5846 * hurd/hurdinit.c: Likewise.
5847 * iconvdata/8bit-gap.c (struct): Likewise.
5848 * iconvdata/ansi_x3.110.c : Likewise.
5849 * iconvdata/big5.c : Likewise.
5850 * iconvdata/big5hkscs.c : Likewise.
5851 * iconvdata/cp1255.c: Likewise.
5852 * iconvdata/cp1258.c : Likewise.
5853 * iconvdata/cp932.c : Likewise.
5854 * iconvdata/euc-cn.c: Likewise.
5855 * iconvdata/euc-jisx0213.c : Likewise.
5856 * iconvdata/euc-jp.c: Likewise.
5857 * iconvdata/euc-jp-ms.c : Likewise.
5858 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5859 * iconvdata/gb18030.c : Likewise.
5860 * iconvdata/gbbig5.c (const): Likewise.
5861 * iconvdata/gbgbk.c: Likewise.
5862 * iconvdata/gbk.c : Likewise.
5863 * iconvdata/ibm1364.c : Likewise.
5864 * iconvdata/ibm930.c : Likewise.
5865 * iconvdata/ibm932.c: Likewise.
5866 * iconvdata/ibm933.c : Likewise.
5867 * iconvdata/ibm935.c : Likewise.
5868 * iconvdata/ibm937.c : Likewise.
5869 * iconvdata/ibm939.c : Likewise.
5870 * iconvdata/ibm943.c: Likewise.
5871 * iconvdata/iso_11548-1.c: Likewise.
5872 * iconvdata/iso-2022-cn.c : Likewise.
5873 * iconvdata/iso-2022-cn-ext.c : Likewise.
5874 * iconvdata/iso-2022-jp-3.c: Likewise.
5875 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5876 * iconvdata/iso-2022-kr.c : Likewise.
5877 * iconvdata/iso646.c (gconv_end): Likewise.
5878 * iconvdata/iso_6937-2.c : Likewise.
5879 * iconvdata/iso_6937.c : Likewise.
5880 * iconvdata/iso8859-1.c: Likewise.
5881 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5882 * iconvdata/shift_jisx0213.c : Likewise.
5883 * iconvdata/sjis.c : Likewise.
5884 * iconvdata/t.61.c : Likewise.
5885 * iconvdata/tcvn5712-1.c : Likewise.
5886 * iconvdata/tscii.c: Likewise.
5887 * iconvdata/uhc.c : Likewise.
5888 * iconvdata/unicode.c (gconv_end): Likewise.
5889 * iconvdata/utf-16.c (gconv_end): Likewise.
5890 * iconvdata/utf-32.c (gconv_end): Likewise.
5891 * iconvdata/utf-7.c (base64): Likewise.
5892 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5893 * iconv/gconv_close.c (__gconv_close): Likewise.
5894 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5895 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5896 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5897 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5898 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5899 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5900 * iconv/iconv.c (iconv): Likewise.
5901 * iconv/iconv_close.c: Likewise.
5902 * iconv/loop.c (SINGLE): Likewise.
5903 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5904 * include/atomic.h: Likewise.
5905 * inet/inet6_option.c (option_alloc): Likewise.
5906 * intl/bindtextdom.c (set_binding_values): Likewise.
5907 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5908 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5909 * intl/localealias.c (read_alias_file): Likewise.
5910 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5911 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5912 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5913 * libio/fmemopen.c (fmemopen): Likewise.
5914 * libio/iofgets.c (_IO_fgets): Likewise.
5915 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5916 * libio/iofgetws.c (fgetws): Likewise.
5917 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5918 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5919 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5920 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5921 * locale/findlocale.c (_nl_find_locale): Likewise.
5922 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5923 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5924 Likewise.
5925 * locale/setlocale.c (setlocale): Likewise.
5926 * login/programs/pt_chown.c (main): Likewise.
5927 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5928 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5929 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5930 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5931 * math/e_exp2l.c: Likewise.
5932 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5933 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5934 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5935 * math/s_catan.c (__catan): Likewise.
5936 * math/s_catanf.c (__catanf): Likewise.
5937 * math/s_catanh.c (__catanh): Likewise.
5938 * math/s_catanhf.c (__catanhf): Likewise.
5939 * math/s_catanhl.c (__catanhl): Likewise.
5940 * math/s_catanl.c (__catanl): Likewise.
5941 * math/s_ccosh.c (__ccosh): Likewise.
5942 * math/s_ccoshf.c (__ccoshf): Likewise.
5943 * math/s_ccoshl.c (__ccoshl): Likewise.
5944 * math/s_cexp.c (__cexp): Likewise.
5945 * math/s_cexpf.c (__cexpf): Likewise.
5946 * math/s_cexpl.c (__cexpl): Likewise.
5947 * math/s_clog10.c (__clog10): Likewise.
5948 * math/s_clog10f.c (__clog10f): Likewise.
5949 * math/s_clog10l.c (__clog10l): Likewise.
5950 * math/s_clog.c (__clog): Likewise.
5951 * math/s_clogf.c (__clogf): Likewise.
5952 * math/s_clogl.c (__clogl): Likewise.
5953 * math/s_csin.c (__csin): Likewise.
5954 * math/s_csinf.c (__csinf): Likewise.
5955 * math/s_csinh.c (__csinh): Likewise.
5956 * math/s_csinhf.c (__csinhf): Likewise.
5957 * math/s_csinhl.c (__csinhl): Likewise.
5958 * math/s_csinl.c (__csinl): Likewise.
5959 * math/s_csqrt.c (__csqrt): Likewise.
5960 * math/s_csqrtf.c (__csqrtf): Likewise.
5961 * math/s_csqrtl.c (__csqrtl): Likewise.
5962 * math/s_ctan.c (__ctan): Likewise.
5963 * math/s_ctanf.c (__ctanf): Likewise.
5964 * math/s_ctanh.c (__ctanh): Likewise.
5965 * math/s_ctanhf.c (__ctanhf): Likewise.
5966 * math/s_ctanhl.c (__ctanhl): Likewise.
5967 * math/s_ctanl.c (__ctanl): Likewise.
5968 * math/w_pow.c: Likewise.
5969 * math/w_powf.c: Likewise.
5970 * math/w_powl.c: Likewise.
5971 * math/w_scalb.c (sysv_scalb): Likewise.
5972 * math/w_scalbf.c (sysv_scalbf): Likewise.
5973 * math/w_scalbl.c (sysv_scalbl): Likewise.
5974 * misc/error.c (error_tail): Likewise.
5975 * misc/pselect.c (__pselect): Likewise.
5976 * nis/nis_callback.c (__nis_create_callback): Likewise.
5977 * nis/nis_call.c (__nisfind_server): Likewise.
5978 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5979 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5980 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5981 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5982 * nis/nis_lookup.c (nis_lookup): Likewise.
5983 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5984 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5985 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5986 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5987 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5988 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5989 * nis/nss_compat/compat-initgroups.c (add_group)
5990 (internal_getgrent_r): Likewise.
5991 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5992 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5993 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5994 (internal_getspnam_r): Likewise.
5995 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5996 (_nss_nis_getaliasbyname_r): Likewise.
5997 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5998 (_nss_nis_getntohost_r): Likewise.
5999 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6000 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6001 (_nss_nis_getgrgid_r): Likewise.
6002 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6003 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6004 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6005 (_nss_nis_gethostbyname4_r): Likewise.
6006 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6007 (initgroups_netid): Likewise.
a1ffb40e 6008 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6009 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6010 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6011 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6012 (_nss_nis_getprotobynumber_r): Likewise.
6013 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6014 (_nss_nis_getsecretkey): Likewise.
6015 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6016 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6017 (_nss_nis_getpwuid_r): Likewise.
6018 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6019 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6020 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6021 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6022 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6023 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6024 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6025 Likewise.
57f41c40
AS
6026 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6027 (_nss_nisplus_getntohost_r): Likewise.
6028 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6029 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6030 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6031 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6032 Likewise.
57f41c40
AS
6033 * nis/nss_nisplus/nisplus-initgroups.c
6034 (_nss_nisplus_initgroups_dyn): Likewise.
6035 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6036 (_nss_nisplus_getnetbyaddr_r): Likewise.
6037 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6038 (_nss_nisplus_getprotobynumber_r): Likewise.
6039 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6040 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6041 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6042 Likewise.
57f41c40
AS
6043 * nis/nss_nisplus/nisplus-service.c
6044 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6045 (_nss_nisplus_getservbyport_r): Likewise.
6046 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6047 (_nss_nisplus_getspnam_r): Likewise.
6048 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6049 Likewise.
a1ffb40e
OB
6050 * nscd/aicache.c (addhstaiX): Likewise.
6051 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6052 * nscd/connections.c (register_traced_file, send_ro_fd)
6053 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6054 (main_loop_epoll): Likewise.
a1ffb40e
OB
6055 * nscd/grpcache.c (addgrbyX): Likewise.
6056 * nscd/hstcache.c (addhstbyX): Likewise.
6057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6058 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6059 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6060 (addinnetgrX): Likewise.
6061 * nscd/nscd-client.h (__nscd_acquire_maplock)
6062 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6063 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6064 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6065 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6066 Likewise.
6067 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6068 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6069 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6070 (__nscd_get_map_ref): Likewise.
a1ffb40e 6071 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6072 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6073 Likewise.
a1ffb40e
OB
6074 * nscd/pwdcache.c (addpwbyX): Likewise.
6075 * nscd/selinux.c (preserve_capabilities): Likewise.
6076 * nscd/servicescache.c (addservbyX): Likewise.
6077 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6078 * posix/fnmatch.c (fnmatch): Likewise.
6079 * posix/getopt.c (_getopt_internal_r): Likewise.
6080 * posix/glob.c (glob, glob_in_dir): Likewise.
6081 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6082 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6083 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6084 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6085 * resolv/res_init.c: Likewise.
6086 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6087 * resolv/res_query.c (__libc_res_nquery): Likewise.
6088 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6089 Likewise.
6090 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6091 * stdio-common/perror.c (perror): Likewise.
6092 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6093 * stdio-common/tmpnam.c (tmpnam): Likewise.
6094 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6095 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6096 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6097 Likewise.
a1ffb40e
OB
6098 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6099 * stdlib/putenv.c (putenv): Likewise.
6100 * stdlib/setenv.c (__add_to_environ): Likewise.
6101 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6102 * stdlib/strtol_l.c (INTERNAL): Likewise.
6103 * string/memmem.c (memmem): Likewise.
6104 * string/strerror.c (strerror): Likewise.
6105 * string/strnlen.c (__strnlen): Likewise.
6106 * string/test-memmem.c (simple_memmem): Likewise.
6107 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6108 * sunrpc/pm_getport.c (__get_socket): Likewise.
6109 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6110 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6111 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6112 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6113 Likewise.
6114 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6115 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6116 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6117 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6118 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6119 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6120 Likewise.
6121 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6122 Likewise.
a1ffb40e
OB
6123 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6124 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6126 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6127 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6129 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6130 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6131 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6132 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6133 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6134 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6135 Likewise.
6136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6137 Likewise.
6138 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6139 Likewise.
6140 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6141 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6142 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6143 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6144 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6145 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6146 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6148 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6150 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6151 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6152 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6153 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6155 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6156 Likewise.
a1ffb40e
OB
6157 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6158 Likewise.
6159 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6160 Likewise.
6161 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6162 Likewise.
6163 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6164 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6165 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6166 Likewise.
6167 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6168 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6169 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6170 * sysdeps/posix/sleep.c: Likewise.
6171 * sysdeps/posix/tempname.c: Likewise.
6172 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6173 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6174 Likewise.
57f41c40
AS
6175 * sysdeps/powerpc/powerpc32/dl-machine.h
6176 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6177 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6179 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6180 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6181 Likewise.
6182 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6184 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6186 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6187 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6188 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6189 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6190 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6191 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6193 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6194 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6196 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6197 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6198 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6199 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6200 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6201 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6202 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6203 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6204 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6205 Likewise.
6206 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6207 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6208 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6209 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6210 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6211 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6212 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6213 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6214 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6215 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6216 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6217 Likewise.
6218 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6219 (__posix_fallocate64_l64): Likewise.
6220 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6221 (posix_fallocate): Likewise.
57f41c40
AS
6222 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6223 Likewise.
a1ffb40e 6224 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6225 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6226 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6227 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6228 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6229 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6230 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6231 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6232 (__posix_fallocate64_l64): Likewise.
6233 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6234 Likewise.
6235 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6236 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6237 (__get_clockfreq): Likewise.
a1ffb40e
OB
6238 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6239 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6240 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6243 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6244 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6245 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6246 Likewise.
6247 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6248 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6249 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6250 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6251 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6252 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6253 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6254 Likewise.
6255 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6256 (posix_fallocate): Likewise.
6257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6258 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6259 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6260 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6261 (elf_machine_rela, elf_machine_rela_relative)
6262 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6263 * time/asctime.c (asctime_internal): Likewise.
6264 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6265 * time/tzset.c (__tzset_parse_tz): Likewise.
6266 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6267 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6268 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6269 * wcsmbs/wcsmbsload.h: Likewise.
6270
f3d338c9
OB
6271 [BZ #15894]
6272 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6273
57f41c40
AS
6274 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6275 (arena_get2): Remove THREAD_STATS conditionals.
6276 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6277 (__malloc_stats, int): Likewise.
bdfe308a 6278
d674667c
MF
62792014-02-08 Mike Frysinger <vapier@gentoo.org>
6280
6281 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6282 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6283
6349768c
MF
6284 * manual/setjmp.texi: Fix typos/grammar errors.
6285
0b7c7473
MF
6286 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6287 Only return early when n is <= 0. Delete unused return statement.
6288
ac8cc9e3
MF
6289 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6290 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6291 * debug/tst-longjmp_chk3.c: New file.
6292
c5bb8e23
MF
6293 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6294 (test_main): Replace code with set_fortify_handler call.
6295 * debug/test-strcpy_chk.c: Likewise.
6296 * debug/tst-chk1.c: Likewise.
6297 * debug/tst-longjmp_chk.c: Likewise.
6298 * test-skeleton.c: Include fcntl.h & paths.h
6299 (set_fortify_handler): Define.
6300
10444e42
MF
6301 * debug/tst-longjmp_chk.c: Add header comment and include
6302 ../test-skeleton.c.
6303 (do_test): Mark static.
6304 (TEST_FUNCTION): Define.
6305
1e805e8d
MF
6306 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6307 (IP_PMTUDISC_INTERFACE): Likewise.
6308 (IP_MULTICAST_IF): Likewise.
6309 (IP_MULTICAST_TTL): Likewise.
6310 (IP_MULTICAST_LOOP): Likewise.
6311 (IP_ADD_MEMBERSHIP): Likewise.
6312 (IP_DROP_MEMBERSHIP): Likewise.
6313 (IP_UNBLOCK_SOURCE): Likewise.
6314 (IP_BLOCK_SOURCE): Likewise.
6315 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6316 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6317 (IP_MSFILTER): Likewise.
6318 (MCAST_JOIN_GROUP): Likewise.
6319 (MCAST_BLOCK_SOURCE): Likewise.
6320 (MCAST_UNBLOCK_SOURCE): Likewise.
6321 (MCAST_LEAVE_GROUP): Likewise.
6322 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6323 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6324 (MCAST_MSFILTER): Likewise.
6325 (IP_MULTICAST_ALL): Likewise.
6326 (IP_UNICAST_IF): Likewise.
6327
73f79bb7
MF
6328 * timezone/Makefile: Delete $(have-ksh) check.
6329 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6330 * timezone/tzselect.ksh: Add +x mode bits.
6331
8da79b60
MF
6332 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6333 (ANON_INODE_FS_MAGIC): Likewise.
6334 (BDEVFS_MAGIC): Likewise.
6335 (BINFMTFS_MAGIC): Likewise.
6336 (BTRFS_TEST_MAGIC): Likewise.
6337 (CRAMFS_MAGIC_WEND): Likewise.
6338 (DEBUGFS_MAGIC): Likewise.
6339 (ECRYPTFS_SUPER_MAGIC): Likewise.
6340 (EXT3_SUPER_MAGIC): Likewise.
6341 (EXT4_SUPER_MAGIC): Likewise.
6342 (FUTEXFS_SUPER_MAGIC): Likewise.
6343 (HOSTFS_SUPER_MAGIC): Likewise.
6344 (HUGETLBFS_MAGIC): Likewise.
6345 (MINIX3_SUPER_MAGIC): Likewise.
6346 (MTD_INODE_FS_MAGIC): Likewise.
6347 (NILFS_SUPER_MAGIC): Likewise.
6348 (OPENPROM_SUPER_MAGIC): Likewise.
6349 (PIPEFS_MAGIC): Likewise.
6350 (PSTOREFS_MAGIC): Likewise.
6351 (QNX6_SUPER_MAGIC): Likewise.
6352 (RAMFS_MAGIC): Likewise.
6353 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6354 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6355 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6356 (SECURITYFS_MAGIC): Likewise.
6357 (SELINUX_MAGIC): Likewise.
6358 (SMACK_MAGIC): Likewise.
6359 (SOCKFS_MAGIC): Likewise.
6360 (SQUASHFS_MAGIC): Likewise.
6361 (STACK_END_MAGIC): Likewise.
6362 (TMPFS_MAGIC): Likewise.
6363 (USBDEVICE_SUPER_MAGIC): Likewise.
6364 (V9FS_MAGIC): Likewise.
6365 (XENFS_SUPER_MAGIC): Likewise.
6366 (CRAMFS_MAGIC): Fix typo in comment.
6367 (EXT2_SUPER_MAGIC): Update comment.
6368 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6369
464263cc
JM
63702014-02-08 Joseph Myers <joseph@codesourcery.com>
6371
c6bfe5c4
JM
6372 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6373 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6374 * sysdeps/unix/sysv/linux/arm: Move directory from
6375 ports/sysdeps/unix/sysv/linux/arm.
6376 * README: Update listing for arm-*-linux-gnueabi.
6377
464263cc
JM
6378 * README: Remove mention of am33.
6379
32749f6c
RM
63802014-02-07 Roland McGrath <roland@hack.frob.com>
6381
6382 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6383 than the comma operator, to avoid "rhs of comma has no effect"
6384 compiler warnings.
6385 (__sigfillset, __sigandset, __sigorset): Likewise.
6386 * include/signal.h (__sigemptyset): Likewise.
6387 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6388
d5b396c1
AM
63892014-02-07 Allan McRae <allan@archlinux.org>
6390
6391 * version.h (RELEASE): Set to "development".
6392 (VERSION): Set to "2.19.90"
6393 * NEWS: Add 2.20 section.
6394
3bfff2ed
CD
63952014-02-06 Carlos O'Donell <carlos@redhat.com>
6396
6397 [BZ #16529]
6398 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6399
ee7cc385
SP
64002014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6401
6402 * manual/contrib.texi: Update entry for Carlos O'Donell,
6403 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6404
f877c4f2
CD
64052014-02-05 Carlos O'Donell <carlos@rehdat.com>
6406
27e839f6
CD
6407 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6408
f877c4f2
CD
6409 * sysdeps/unix/sysv/linux/kernel-features.h
6410 [__LINUX_KERNEL_VERSION >= 0x020621]
6411 (__ASSUME_PROC_PID_TASK_COMM): Define.
6412
68159946
SP
64132014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6414
ba17cdbd
SP
6415 [BZ #16398]
6416 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6417 conversion when destination buffer does not have enough space.
6418 * libio/tst-ftell-partial-wide.c: New test case.
6419 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6420
68159946
SP
6421 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6422 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6423 Leonard and Allan McRae.
6424
2b528732
DM
64252014-02-04 David S. Miller <davem@davemloft.net>
6426
6427 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6428 32-bit.
6429
0ff82463
AZ
64302014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6431
57f41c40
AS
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6433 New file
c01603f7
AZ
6434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6435 New file
57f41c40
AS
6436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6437 New file.
6438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6439 New file.
c01603f7
AZ
6440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6441 New file.
57f41c40
AS
6442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6443 New file.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6445 New file.
c01603f7
AZ
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6447 New file.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6449 New file.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6451 New file.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6453 New file.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6455 New file.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6457 New file.
6458
64592014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6460
0ff82463
AZ
6461 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6462 * shlib-versions: Likewise.
6463
1695c773
AZ
64642014-02-04 Roland McGrath <roland@hack.frob.com>
6465 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6466
6467 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6468 (abilist-pattern): New variable, set to %-le.abilist.
6469
6470 * Makerules (abilist-pattern): New variable.
6471 (vpath): Use $(abilist-pattern) in place of %.abilist.
6472 (check-abi-% pattern rule): Likewise.
6473 (check-abi, update-abi): Likewise.
6474
6c0ce4b4
EW
64752014-02-04 Eric Wong <normalperson@yhbt.net>
6476
6477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6478
481e3524
CD
64792014-02-03 Carlos O'Donell <carlos@redhat.com>
6480
6481 * manual/startup.texi: Add next, previous, and top entries for
6482 the `Program Arguments' and `Environment Variables' nodes.
6483
375592d3
AO
64842014-02-03 Alexandre Oliva <aoliva@redhat.com>
6485
6486 * manual/macros.texi: Add comments before MTASC-safety macros.
6487
f54838ba
AO
6488 * manual/users.texi: Document MTASC-safety properties.
6489
57f41c40
AS
6490 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6491 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6492 @deftypefun, and add @safety note.
6493 * manual/signal.texi: Move comments that analyze the above
6494 functions to their home place.
6495
fd3daba4
AM
64962014-02-03 Allan McRae <allan@archlinux.org>
6497
6498 * po/sl.po: Update Slovenian translation from translation project.
6499
597636d7
AO
65002014-02-02 Alexandre Oliva <aoliva@redhat.com>
6501
6502 * manual/time.texi (timegm): Add missing blank after @c.
6503 Reported by Joseph Myers <joseph@codesourcery.com>.
6504
ee196e3c
AO
65052014-02-01 Alexandre Oliva <aoliva@redhat.com>
6506
6507 * manual/check-safety.sh: New.
6508 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6509
f8d529d5
AO
6510 * manual/terminal.texi: Document MTASC-safety properties.
6511
de55fdf4
AO
6512 * manual/filesys.texi: Document MTASC-safety properties.
6513
c3299c08
AO
6514 * manual/errno.texi: Document MTASC-safety properties.
6515
06e90b14
AO
6516 * manual/intro.texi: Document safety identifiers and
6517 conditionals.
6518
1acd4371
AO
6519 * manual/string.texi (wcstok): Fix prototype.
6520 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6521
23e5b8cb
AO
6522 * manual/time.texi: Document MTASC-safety properties.
6523
11087373
AO
6524 * manual/string.texi: Document MTASC-safety properties.
6525
5da2c93d
AO
6526 * manual/threads.texi: Document MTASC-safety properties.
6527
171e9210
AO
6528 * manual/stdio.texi: Document MTASC-safety properties.
6529
d9e02532
AO
6530 * manual/syslog.texi: Document MTASC-safety properties.
6531
6af8bab7
AO
6532 * manual/sysinfo.texi: Document MTASC-safety properties.
6533
663b02d7
AO
6534 * manual/startup.texi: Document MTASC-safety properties.
6535
973f180b
AO
6536 * manual/socket.texi: Document MTASC-safety properties.
6537
8f3c25c8
AO
6538 * manual/signal.texi: Document MTASC-safety properties.
6539
542210fb
AO
65402014-01-31 Alexandre Oliva <aoliva@redhat.com>
6541
6542 * manual/setjmp.texi: Document MTASC-safety properties.
6543
433c45a2
AO
6544 * manual/search.texi: Document MTASC-safety properties.
6545
c8ce789c
AO
6546 * manual/resource.texi: Document MTASC-safety properties.
6547
19f5d29c
AO
6548 * manual/process.texi: Document MTASC-safety properties.
6549
e2dfb7f4
AO
6550 * manual/platform.texi: Document MTASC-safety properties.
6551
8c1413f5
AO
6552 * manual/pipe.texi: Document MTASC-safety properties.
6553
03483ada
AO
6554 * manual/pattern.texi: Document MTASC-safety properties.
6555
29e7e2df
AO
6556 * manual/message.texi: Document MTASC-safety properties.
6557
9f529d7c
AO
6558 [BZ #12751]
6559 * manual/memory.texi: Document MTASC-safety properties.
6560
27aaa791
AO
6561 * manual/math.texi: Document MTASC-safety properties.
6562
f2d58726
AO
6563 * manual/locale.texi: Document MTASC-safety properties.
6564
2cc3615c
AO
6565 * manual/llio.texi: Document MTASC-safety properties.
6566
d9f0ec97
AO
6567 * manual/libdl.texi: New.
6568
e7c4409a
AO
6569 * manual/lang.texi: Document MTASC-safety properties.
6570
27bdc63c
AO
6571 * manual/job.texi: Document MTASC-safety properties.
6572
a7b90ea9
AO
6573 * manual/getopt.texi: Document MTASC-safety properties.
6574
c49130e3
AO
6575 * manual/ctype.texi: Document MTASC-safety properties.
6576
0d23a5c1
MR
65772014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6578
6579 [BZ #16046]
6580 * csu/libc-tls.c (static_map): Remove variable.
6581 (__libc_setup_tls): Use main executable's link map for TLS data.
6582 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6583 casing for LM_ID_BASE and GL(dl_nns).
6584 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6585 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6586 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6587 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6588 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6589 member.
6590 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6591 l_phnum members.
6592
0037bb60
AO
65932014-01-30 Alexandre Oliva <aoliva@redhat.com>
6594
6595 * manual/debug.texi: Document MTASC-safety properties.
6596
409e00bd
L
65972014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6598
6599 [BZ #16510]
6600 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6601 of __x86_64__ when disabling x87 inline functions.
6602
86e60666
AO
66032014-01-29 Alexandre Oliva <aoliva@redhat.com>
6604
6605 * manual/charset.texi: Document MTASC-safety properties.
6606
76167637
AO
6607 * manual/crypt.texi: Document MTASC-safety properties.
6608
e567f2a0
AO
6609 * manual/conf.texi: Document MTASC-safety properties.
6610
b719dafd
AO
6611 * manual/arith.texi: Document MTASC-safety properties.
6612
4a16c662
AO
6613 * manual/argp.texi: Document MTASC-safety properties.
6614
0a57b83e
AO
6615 * manual/macros.texi: Introduce macros to document multi
6616 thread, asynchronous signal and asynchronous cancellation
6617 safety properties.
6618 * manual/intro.texi: Introduce the properties themselves.
6619
feab2397
KK
66202014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6621
6622 * sysdeps/sh/sh4/Makefile: New file.
6623
1c0d11bc
AS
66242014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6625
6626 * math/gen-libm-test.pl ($srcdir): New variable.
6627 ($auto_input): Use it.
6628
af37a8a3
SP
66292014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6630
d7b00f98
SP
6631 [BZ #16506]
6632 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6633 access beyond array bounds when parsing netgroups file.
6634
af37a8a3
SP
6635 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6636 the old buffer before realloc.
6637
0c00f062
AM
66382014-01-27 Allan McRae <allan@archlinux.org>
6639
6640 * po/fr.po: Update French translation from translation project.
6641
7d69a1b0
KK
66422014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6643
6644 * sysdeps/sh/libm-test-ulps: Regenerate.
6645
6e697ff7
DM
66462014-01-24 David S. Miller <davem@davemloft.net>
6647
6648 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6649
9cadb35c
KK
66502014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6651
6652 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6653 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6654
5d41dadf
SP
66552013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6656
6657 [BZ #16474]
6658 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6659 string pointers after reallocation.
6660
0bad441c
KK
66612014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6662
6663 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6664 __SH4A__ instead of __SH_FPU_ANY__.
6665
7007c661
KK
66662014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6667
6668 * sysdeps/sh/fpu_control.h: New file.
6669 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6670 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6671 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6672 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6673 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6674 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6675 * sysdeps/sh/sys/ucontext.h: Remove.
6676 * sysdeps/sh/sys: Remove directory.
6677
0f0c35e4
AK
66782014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6679
6680 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6681 s390/sys/ucontext.h.
6682 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6683 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6684
4959e284
L
66852014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6686
6687 [BZ #15605]
6688 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6689
d98720e0
AZ
66902014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691
6692 [BZ#16431]
6693 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6694 Adjust the vDSO correctly for internal calls.
6695 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6696
91cbd0bc
AM
66972014-01-20 Allan McRae <allan@archlinux.org>
6698
6699 * po/ca.po: Update Catalan translation from translation project.
6700
7a02cfad
MF
67012014-01-16 Mike Frysinger <vapier@gentoo.org>
6702
6703 * sysdeps/s390/sotruss-lib.c: New file.
6704
736c304a
AZ
67052014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6706
6707 [BZ#16430]
6e077ee5 6708 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6709 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6710 local calls issues by not having a PLT stub required for IFUNC calls.
6711 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6712
94d0cea0
JM
67132014-01-16 Joseph Myers <joseph@codesourcery.com>
6714
6715 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6716 * math/test-fpucw-static.c: Likewise.
6717
980cb518
SP
67182013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6719
6720 [BZ #16453]
6721 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6722
2393fc01
AZ
67232014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6724
6725 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6726 implementation for powerpc.
6727
d359bcc2
OB
67282014-01-15 Ondřej Bílka <neleai@seznam.cz>
6729
6730 [BZ #14782]
6731 * sysdeps/posix/system.c (__libc_system): Do not enable
6732 asynchronous cancellation.
6733
7beb48cb
AK
67342014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6735
6736 [BZ #16427]
6737 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6738 handling only for numbers special also in the IEEE case.
6739
c20d5bf5
AK
67402014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6741
6742 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6743
e83bd4ee
AM
67442014-01-11 Allan McRae <allan@archlinux.org>
6745
76d0ea69
AM
6746 * po/bg.po: Update Bulgarian translation from translation project.
6747
e83bd4ee
AM
6748 * po/de.po: Update German translation from translation project.
6749
bc2ba20a
RM
67502014-01-10 Roland McGrath <roland@hack.frob.com>
6751
6752 * sysdeps/generic/gcc-compat.h: New file.
6753
649ecea2
SP
67542014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6755
6756 * benchtests/asin-inputs: Correct slow inputs.
6757 * benchtests/acos-inputs: Likewise.
6758
1b19c006
AM
67592014-01-10 Allan McRae <allan@archlinux.org>
6760
a46dab08
AM
6761 * po:sv.po: Update Swedish translation from translation project.
6762
421df74a
AM
6763 * po/vi.po: Update Vietnamese translation from translation project.
6764
d61c51a7
AM
6765 * po/eo.po: Update Esperanto translation from translation project.
6766
0339a319
AM
6767 * po/cs.po: Update Czech translation from translation project.
6768
94ad3e99
AM
6769 * po/nl.po: Update Dutch translation from translation project.
6770
e349ca71
AM
6771 * po/pl.po: Update Polish translation from translation project.
6772
ddf930c1
AM
6773 * po/ru.po: Update Russian translation from translation project.
6774
1b19c006
AM
6775 * po/uk.po: Update Ukrainian translation from translation project.
6776
9f236c49
BM
67772014-01-08 Brooks Moses <bmoses@google.com>
6778
6779 * elf/dl-load.c: Fix comment typo.
6780
cd6701cf
CD
67812014-01-08 Carlos O'Donell <carlos@redhat.com>
6782
6783 * po/header.pot: Rename to...
6784 * po/pot.header: ... this.
6785 * po/Makefile: Use pot.header.
6786
66671c84
YK
67872014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6788 Maxim Kuvyrkov <maxim@kugelworks.com>
6789
6790 [BZ #16394]
cd6701cf
CD
6791 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6792 SRC and DEST against LEN.
66671c84 6793
38f34581
AZ
67942014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6795
6796 [BZ #16414]
6797 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6798 implementation.
6799 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6800
68012014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6802
6803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6804
4c327f2a
JM
68052014-01-08 Joseph Myers <joseph@codesourcery.com>
6806
6807 [BZ #16408]
6808 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6809 for large positive arguments.
6810
b821f414
JM
68112014-01-07 Joseph Myers <joseph@codesourcery.com>
6812
1f0f2067
JM
6813 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6814
a5a326f6
JM
6815 * math/auto-libm-test-in: Mark various tests with
6816 xfail-rounding:ldbl-128ibm.
6817 * math/auto-libm-test-out: Regenerated.
6818
b821f414
JM
6819 [BZ #16407]
6820 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6821 Increase overflow threshold.
6822
94c8a4bc
OB
68232014-01-07 Ondřej Bílka <neleai@seznam.cz>
6824
6825 [BZ #14286]
6826 * stdio-common/vfprintf.c: Check for integer overflow.
6827
87ded0c3
AK
68282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6829
6830 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6831 the first argument and return value of __tls_get_addr_internal.
6832
c5eebdd0
AK
68332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6834
6835 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6836 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6837
05d138ef
AK
68382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6839
6840 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6841 * sysdeps/s390/rtld-global-offsets.sym: New file.
6842 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6843 GLIBC_2.19 symbol.
6844 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6845 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6846 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6847 ... this.
6848 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6849 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6850 ... this.
6851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6852 Regenerate.
6853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6854 Regenerate.
6855 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6856 halfs of GPRs for high_gprs contexts.
6857 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6858 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6859 field.
6860 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6861 uc_flags field.
6862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6863 64 bit versions:
6864 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6865 for high GPRs (uc_high_gprs) and for future extensions
6866 (__reserved).
6867 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6868 for future extensions (__reserved).
6869 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6870 64 bit versions:
6871 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6872 SC_HIGHGPRS offset definition.
6873 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6874 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6875
93a45ff1
AK
6876 * Versions.def: Add GLIBC_2.19 for libpthread.
6877 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6878 siglongjmp for libpthread with GLIBC_2.19 symver.
6879 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6880 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6881 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6882 * sysdeps/s390/__longjmp.c: New file.
6883 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6884 * sysdeps/s390/longjmp.c: New file.
6885 * sysdeps/s390/setjmp.S: New file.
6886 * sysdeps/s390/sigjmp.S: New file.
6887 * sysdeps/s390/v1-longjmp.c: New file.
6888 * sysdeps/s390/v1-setjmp.h: New file.
6889 * sysdeps/s390/v1-sigjmp.c: New file.
6890 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6891 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6892 GLIBC_2.19 version.
6893 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6894 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6895 versioned symbols for ____longjmp_chk.
6896 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6897 Likewise.
6898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6899 Regenerate.
6900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6901 Regenerate.
6902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6903 Regenerate.
6904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6905 Regenerate.
6906 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6907 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6908 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6909 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6910 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6911 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6912 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6913 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6914 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6915 * sysdeps/s390/rtld-__longjmp.c: New file.
6916 * sysdeps/s390/rtld-setjmp.S: New file.
6917
eb3fc44b
JM
69182014-01-06 Joseph Myers <joseph@codesourcery.com>
6919
6920 [BZ #16400]
6921 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6922 Return -__logl (x) for small positive arguments without evaluating
6923 a polynomial.
6924
9341dde4
MF
69252014-01-06 Mike Frysinger <vapier@gentoo.org>
6926
6927 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6928 Rename to ...
6929 (__ptrace_peeksiginfo_args): ... this.
6930 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6931 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6932 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6933
4cff0293
AM
69342014-01-06 Allan McRae <allan@archlinux.org>
6935
6936 * inet/netinet/in.h: Fix typo in comment.
6937
75595dcf
AJ
69382014-01-05 Andreas Jaeger <aj@suse.de>
6939
6940 * sysdeps/i386/fpu/libm-test-ulps: Update.
6941
79c1e109
AM
69422014-01-05 Allan McRae <allan@archlinux.org>
6943
dd804818
AM
6944 * po/libc.pot: Regenerated.
6945
79c1e109
AM
6946 * malloc/memusagestat.c: Fix gettext call formatting.
6947
0c813d1f
SK
69482014-01-04 Sami Kerola <kerolasa@iki.fi>
6949
6950 * nscd/nscd.c: Improve usage() output.
6951
20f4a8d9
MF
69522014-01-04 Mike Frysinger <vapier@gentoo.org>
6953
6954 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6955 * sysdeps/unix/sysv/linux/configure: Regenerated.
6956 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6957 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6958
22562bb2
JM
69592014-01-03 Joseph Myers <joseph@codesourcery.com>
6960
6961 [BZ #16390]
6962 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6963 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6964
d7ad2d9b
AZ
69652014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6966
6967 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6968 extra tokens at end of #undef directive.
6969 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6970 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6971 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6972
7dd009d8
JM
69732014-01-03 Joseph Myers <joseph@codesourcery.com>
6974
24db925a
JM
6975 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6976
7dd009d8
JM
6977 * math/auto-libm-test-in: Mark various tests with
6978 xfail-rounding:ldbl-128ibm.
6979 * math/auto-libm-test-out: Regenerated.
6980
396e3ecf
JM
69812014-01-02 Joseph Myers <joseph@codesourcery.com>
6982
819e5d50
JM
6983 [BZ #16386]
6984 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6985 numbers with subnormal high part when calculating exponent.
6986
90b6a1e5
JM
6987 [BZ #16385]
6988 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6989 fabs.
6990
396e3ecf
JM
6991 [BZ #16384]
6992 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6993 M_LN2l.
6994 (__ieee754_acoshl): Use __log1pl not __log1p.
6995
6c8dbf00
OB
69962013-01-02 Ondřej Bílka <neleai@seznam.cz>
6997
57f41c40
AS
6998 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6999 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7000 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7001 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7002 (reused_arena, arena_get2): Convert to GNU style.
7003 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7004 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7005 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7006 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7007 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7008 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7009 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7010 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7011 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7012 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7013 * malloc/malloc.h: Likewise.
57f41c40
AS
7014 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7015 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7016 * malloc/mcheck.h: Likewise.
57f41c40
AS
7017 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7018 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7019 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7020 * malloc/morecore.c (__default_morecore): Likewise.
7021 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7022 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7023 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7024 (print_and_abort): Likewise.
6c8dbf00
OB
7025 * malloc/obstack.h: Likewise.
7026 * malloc/set-freeres.c (__libc_freeres): Likewise.
7027 * malloc/tst-mallocstate.c (main): Likewise.
7028 * malloc/tst-mtrace.c (main): Likewise.
7029 * malloc/tst-realloc.c (do_test): Likewise.
7030
d4124212
SP
70312013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7032
9a3c6a6f
SP
7033 [BZ #16366]
7034 * nscd/netgroupcache.c (do_notfound): New function.
7035 (addgetnetgrentX): Use it.
7036
d4124212
SP
7037 [BZ # 16365]
7038 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7039 NSS_STATUS_NOTFOUND.
7040
97b9a009
JM
70412014-01-01 Joseph Myers <joseph@codesourcery.com>
7042
7043 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7045
d4697bc9
AM
70462014-01-01 Allan McRae <allan@archlinux.org>
7047
ddb3687f
AM
7048 * scripts/update-copyrights: Update configure input file suffix.
7049
88726d48
AM
7050 * NEWS: Update copyright year.
7051 * catgets/gencat.c: Likewise.
7052 * csu/version.c: Likewise.
7053 * debug/catchsegv.sh: Likewise.
7054 * debug/pcprofiledump.c: Likewise.
7055 * debug/xtrace.sh: Likewise.
7056 * elf/ldconfig.c: Likewise.
7057 * elf/ldd.bash.in: Likewise.
7058 * elf/pldd.c: Likewise.
7059 * elf/sotruss.ksh: Likewise.
7060 * elf/sprof.c: Likewise.
7061 * iconv/iconv_prog.c: Likewise.
7062 * iconv/iconvconfig.c: Likewise.
7063 * locale/programs/locale.c: Likewise.
7064 * locale/programs/localedef.c: Likewise.
7065 * login/programs/pt_chown.c: Likewise.
7066 * malloc/memusage.sh: Likewise.
7067 * malloc/memusagestat.c: Likewise.
7068 * malloc/mtrace.pl: Likewise.
7069 * manual/libc.texinfo: Likewise.
7070 * nscd/nscd.c: Likewise.
7071 * nss/getent.c: Likewise.
7072 * nss/makedb.c: Likewise.
7073 * posix/getconf.c: Likewise.
7074 * scripts/test-installation.pl: Likewise.
7075
d4697bc9
AM
7076 * All files with FSF copyright notices: Update copyright dates
7077 using scripts/update-copyrights.
7078 * intl/plural.c: Regenerated.
7079 * locale/programs/charmap-kw.h: Likewise.
7080 * locale/programs/locfile-kw.h: Likewise.
7081
c8590f9d
MF
70822013-12-31 Mike Frysinger <vapier@gentoo.org>
7083
7084 * sysdeps/unix/sysv/linux/configure: Regenerated.
7085 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7086 the linux/fanotify.h header.
7087 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7088 HAVE_LINUX_FANOTIFY_H is defined.
7089
b19221b9
SP
70902013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7091
dd1d85e5
SP
7092 * benchtests/cos-inputs: New inputs.
7093 * benchtests/sin-inputs: Likewise.
7094
1acbb90f
SP
7095 * benchtests/atan-inputs: New inputs. Fix name of multiple
7096 precision fallback inputs.
7097
4c012ed3
SP
7098 * benchtests/atanh-inputs: New inputs.
7099 * benchtests/tanh-inputs: Likewise.
7100
eff98324
SP
7101 * benchtests/acosh-inputs: New inputs.
7102 * benchtests/asinh-inputs: Likewise.
7103
ce641152
SP
7104 * benchtests/cosh-inputs: New inputs.
7105 * benchtests/sinh-inputs: Likewise.
7106
b19221b9
SP
7107 * benchtests/acos-inputs: Add more inputs.
7108 * benchtests/asin-inputs: Likewise.
7109
030a4976 71102013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7111
030a4976 7112 [BZ #16375]
9dcc8f11
VS
7113 * manual/arith.texi: Fix spelling.
7114 * manual/charset.texi: Likewise.
7115 * manual/errno.texi: Likewise.
7116 * manual/filesys.texi: Likewise.
7117 * manual/lang.texi: Likewise.
7118 * manual/llio.texi: Likewise.
7119 * manual/locale.texi: Likewise.
7120 * manual/message.texi: Likewise.
7121 * manual/resource.texi: Likewise.
7122 * manual/search.texi: Likewise.
7123 * manual/setjmp.texi: Likewise.
7124 * manual/stdio.texi: Likewise.
7125 * manual/string.texi: Likewise.
7126 * manual/sysinfo.texi: Likewise.
7127 * manual/time.texi: Likewise.
7128
11520a57
CD
71292013-12-27 Carlos O'Donell <carlos@redhat.com>
7130
7131 * po/sl.po: New file.
7132
471103ae
MF
71332013-12-27 Mike Frysinger <vapier@gentoo.org>
7134
7135 * .gitignore: Add core/.gdbinit/.gdb_history.
7136
6c9642ed
AM
71372013-12-27 Allan McRae <allan@archlinux.org>
7138
7139 [BZ #16369]
7140 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7141 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7142
3f637079
BM
71432013-12-24 Brooks Moses <bmoses@google.com>
7144
7145 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7146 all compilers that claim C++98 compliance, not just GCC.
7147 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7148 Likewise.
7149
abc26e99
MK
71502013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7151
7152 * NEWS: Restore accidentally deleted bug-fix entries.
7153
362b47fe
MK
71542013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7155 Ondřej Bílka <neleai@seznam.cz>
7156
7157 [BZ #15073]
7158 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7159 have_lock.
362b47fe 7160
b9bcbbcb
OB
71612013-12-23 Ondřej Bílka <neleai@seznam.cz>
7162
7163 [BZ #12986]
7164 * manual/stdio.texi (String Input Conversions): Clarify that character
7165 classes are not supported.
7166
fb55fcd2
AZ
71672013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7168
7169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7170
ef7344f0
JM
71712013-12-22 Joseph Myers <joseph@codesourcery.com>
7172
4f40e4b3
JM
7173 [BZ #16337]
7174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7175 Calculate results for small negative arguments directly rather
7176 than using reflection formula with special underflow handling.
7177
ef7344f0
JM
7178 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7179 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7180 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7181 (fchflags): Likewise.
7182 (revoke): Likewise.
7183 (setlogin): Likewise.
7184 (sigaltstack): Likewise.
7185 (wait4): Likewise.
7186 (sigblock): Remove.
7187 (sigsetmask): Likewise.
7188 (wait3): Likewise.
7189 (waitpid): Likewise.
7190 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7191 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7192 file.
7193 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7194 * sysdeps/unix/bsd/Makefile: ... here.
7195 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7196 * sysdeps/unix/bsd/Versions: ... here.
7197 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7198 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7199 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7200 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7201 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7202 * sysdeps/unix/bsd/sigblock.c: ... here.
7203 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7204 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7205 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7206 * sysdeps/unix/bsd/sigvec.c: ... here.
7207 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7208 * sysdeps/unix/bsd/tcdrain.c: ... here.
7209 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7210 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7211 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7212 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7213 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7214 * sysdeps/unix/bsd/wait.c: ... here.
7215 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7216 * sysdeps/unix/bsd/wait3.c: ... here.
7217 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7218 * sysdeps/unix/bsd/waitpid.c: ... here.
7219
5b0626b9
JM
72202013-12-21 Joseph Myers <joseph@codesourcery.com>
7221
7222 [BZ #16356]
7223 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7224 round-to-nearest for [!USE_AS_EXPM1L].
7225 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7226 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7227 more tests of exp and exp10. Expect some exp10 tests to miss
7228 exceptions or fail in directed rounding modes.
7229 * math/auto-libm-test-out: Regenerated.
7230 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7231 (exp10_test_tonearest): New function.
7232 (exp10_towardzero_test_data): New array.
7233 (exp10_test_towardzero): New function.
7234 (exp10_downward_test_data): New array.
7235 (exp10_test_downward): New function.
7236 (exp10_upward_test_data): New array.
7237 (exp10_test_upward): New function.
7238 (main): Call the new functions.
7239 * sysdeps/i386/fpu/libm-test-ulps: Update.
7240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7241
7fda5682
JM
72422013-12-20 Joseph Myers <joseph@codesourcery.com>
7243
31e3a405
JM
7244 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7245 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7246 * math/auto-libm-test-out: Regenerated.
7247 * math/libm-test.inc (acosh_test_data): Add more tests.
7248 (atanh_test_data): Likewise.
7249 (ceil_test_data): Likewise.
7250 (copysign_test_data): Likewise.
7251 * sysdeps/i386/fpu/libm-test-ulps: Update.
7252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7253
85bff96a
JM
7254 * timezone/checktab.awk: Update from tzcode 2013i.
7255 * timezone/private.h: Likewise.
7256 * timezone/scheck.c: Likewise.
7257 * timezone/tzfile.h: Likewise.
7258 * timezone/tzselect.ksh: Likewise.
7259 * timezone/zdump.c: Likewise.
7260 * timezone/zic.c: Likewise.
7261
b7867a3b
JM
7262 * math/auto-libm-test-in: Add tests of cpow.
7263 * math/auto-libm-test-out: Regenerated.
7264 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7265 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7266 mpc_cc_c.
7267 (func_calc_desc): Add mpc_cc_c union field.
7268 (test_functions): Add cpow.
7269 (special_fill_2pi): New function.
7270 (special_real_inputs): Add 2pi.
7271 (calc_generic_results): Handle mpc_cc_c.
7272 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7274
7fda5682
JM
7275 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7276 csqrt, ctan and ctanh.
7277 * math/auto-libm-test-out: Regenerated.
7278 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7279 (TEST_COND_x86): Likewise.
7280 (ccos_test_data): Use AUTO_TESTS_c_c.
7281 (ccosh_test_data): Likewise.
7282 (cexp_test_data): Likewise.
7283 (clog_test_data): Likewise.
7284 (csqrt_test_data): Likewise.
7285 (ctan_test_data): Likewise.
7286 (ctan_tonearest_test_data): Likewise.
7287 (ctan_towardzero_test_data): Likewise.
7288 (ctan_downward_test_data): Likewise.
7289 (ctan_upward_test_data): Likewise.
7290 (ctanh_test_data): Likewise.
7291 (ctanh_tonearest_test_data): Likewise.
7292 (ctanh_towardzero_test_data): Likewise.
7293 (ctanh_downward_test_data): Likewise.
7294 (ctanh_upward_test_data): Likewise.
7295 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7296 mpc_c_c.
7297 (func_calc_desc): Add mpc_c_c union field.
7298 (FUNC_mpc_c_c): New macro.
7299 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7300 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7301 ctanh.
7302 (special_fill_min_subnorm_p120): New function.
7303 (special_real_inputs): Add min_subnorm_p120.
7304 (calc_generic_results): Handle mpc_c_c.
7305 * sysdeps/i386/fpu/libm-test-ulps: Update.
7306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7307
5ff8d60e
SP
73082013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7309
57f41c40
AS
7310 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7311 (do_sin_slow): New functions.
7312 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7313 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7314
84ba214c
SP
7315 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7316 Use M to change sign of result instead of X. Assume X is
7317 positive.
7318 (csloww1): Likewise.
7319 (__sin): Adjust.
7320 (__cos): Adjust.
7321
975195e4
SP
7322 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7323 arguments A and DA.
7324 (__sin): Adjust.
7325 (__cos): Likewise.
7326
5ff8d60e
SP
7327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7328 (__cos): Likewise.
7329 (sloww1): Don't adjust sign of DX.
7330 (csloww1): Likewise.
7331 (sloww2): Use X directly and don't adjust sign of DX.
7332 (csloww2): Likewise.
7333
eb983568
JM
73342013-12-19 Joseph Myers <joseph@codesourcery.com>
7335
64a17f1a
JM
7336 * math/auto-libm-test-in: Add tests of cabs and carg.
7337 * math/auto-libm-test-out: Regenerated.
7338 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7339 (carg_test_data): Likewise.
7340 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7341 mpc_c_f.
7342 (func_calc_desc): Add mpc_c_f union field.
7343 (test_functions): Add cabs and carg.
7344 (calc_generic_results): Handle mpc_c_f.
7345
eb983568
JM
7346 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7347 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7348 as a macro and a compat symbol.
7349 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7350 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7351 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7352 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7353 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7354 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7355 not use .hidden.
7356 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7357 Likewise.
7358 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7359 Likewise.
7360 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7361 Likewise.
7362 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7363 Likewise.
7364 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7365 Likewise.
7366 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7367 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7368 from GLIBC_2.3.2.
7369
6eeb678a
AZ
73702013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7371
7372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7373
6f6fc482
JM
73742013-12-19 Joseph Myers <joseph@codesourcery.com>
7375
21fea2e2
JM
7376 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7377 trailing whitespace removed.
7378 * scripts/config.guess: Update to version 2013-11-29.
7379 * scripts/config.sub: Update to version 2013-10-01.
7380
6f6fc482
JM
7381 * math/auto-libm-test-in: Add tests of sincos.
7382 * math/auto-libm-test-out: Regenerated.
7383 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7384 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7385 mpfr_f_11.
7386 (func_calc_desc): Add mpfr_f_11 union field.
7387 (test_functions): Add sincos.
7388 (calc_generic_results): Handle mpfr_f_11.
7389 * sysdeps/i386/fpu/libm-test-ulps: Update.
7390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7391
83f5c32d
AS
73922013-12-19 Andreas Schwab <schwab@suse.de>
7393
7394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7395 CALL_MCOUNT.
7396 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7397 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7398 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7399
c688b419
JM
74002013-12-19 Joseph Myers <joseph@codesourcery.com>
7401
335ee092
JM
7402 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7403 * sysdeps/i386/fpu/libm-test-ulps: Update.
7404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7405
f88acd39
JM
7406 [BZ #16293]
7407 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7408 round-to-nearest mode when using frndint.
7409 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7410 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7411 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7412 Likewise.
7413 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7414 sinh test to fail.
7415 * math/auto-libm-test-out: Regenerated.
7416 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7417 (TEST_COND_x86): Likewise.
7418 (expm1_tonearest_test_data): New array.
7419 (expm1_test_tonearest): New function.
7420 (expm1_towardzero_test_data): New array.
7421 (expm1_test_towardzero): New function.
7422 (expm1_downward_test_data): New array.
7423 (expm1_test_downward): New function.
7424 (expm1_upward_test_data): New array.
7425 (expm1_test_upward): New function.
7426 (main): Run the new test functions.
7427 * sysdeps/i386/fpu/libm-test-ulps: Update.
7428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7429
c688b419
JM
7430 * include/features.h: Update comment documenting feature test
7431 macros. Mention _DEFAULT_SOURCE in comment.
7432 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7433 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7434 _BSD_SOURCE and _SVID_SOURCE.
7435 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7436 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7437 !_SVID_SOURCE]: Likewise.
7438 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7439 (__USE_POSIX_IMPLICITLY): Define.
7440 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7441 (_POSIX_SOURCE): Undefine and redefine.
7442 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7443 (_POSIX_C_SOURCE): Likewise.
7444 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7445 (Feature Test Macros): Update documentation of default features.
7446
9f6e964c
RS
74472013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7448
7449 * benchtests/Makefile: Add bench-strtok.
7450 * benchtests/bench-strtok.c: New file: strtok benchtest.
7451
ee0a148a
AM
74522013-12-19 Allan McRae <allan@archlinux.org>
7453
7454 * manual/install.texi: Suppress menu for plain text output.
7455 * INSTALL: Regenerated.
7456
b9ab448f
BM
74572013-12-18 Brooks Moses <bmoses@google.com>
7458
7459 [BZ #15846]
7460 * misc/getauxval.c: Include errno.h.
7461 (__getauxval): Set errno to ENOENT if the requested type is not
7462 found.
7463 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7464 don't declare with __attribute_const__.
7465 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7466 * manual/startup.texi: Document that getauxval sets errno.
7467
23776487
JM
74682013-12-18 Joseph Myers <joseph@codesourcery.com>
7469
f889953b
JM
7470 * math/auto-libm-test-in: Add tests of jn and yn.
7471 * math/auto-libm-test-out: Regenerated.
7472 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7473 (yn_test_data): Likewise.
7474 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7475 mpfr_if_f.
7476 (func_calc_desc): Add mpfr_if_f union field.
7477 (FUNC_mpfr_if_f): New macro.
7478 (test_functions): Add jn and yn.
7479 (calc_generic_results): Assert type of second input for
7480 mpfr_ff_f. Handle mpfr_if_f.
7481 (output_for_one_input_case): Disable all checking for arguments
7482 fitting floating-point types in case of an integer argument.
7483 * sysdeps/i386/fpu/libm-test-ulps: Update.
7484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7485
23776487
JM
7486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7487 Don't expect fegetround reference in libm.so.
7488
cb756c6d
MS
74892013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7490
7491 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7492 $(config-cflags-nofma).
7493
2dec468f
JM
74942013-12-18 Joseph Myers <joseph@codesourcery.com>
7495
5953eb3a
JM
7496 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7497 * math/auto-libm-test-out: Regenerated.
7498
2dec468f
JM
7499 [BZ #16338]
7500 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7501 to determine exponent and adjust argument to have exponent of -1.
7502 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7503 log2.
7504 * math/auto-libm-test-out: Regenerated.
7505 * sysdeps/i386/fpu/libm-test-ulps: Update.
7506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7507
4d84e6ad
OB
75082013-12-18 Ondřej Bílka <neleai@seznam.cz>
7509
7510 * manual/probes.texi: Remove cases when per-thread arenas are
7511 disabled.
7512
1818483b
AS
75132013-12-18 Andreas Schwab <schwab@suse.de>
7514
7515 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7516 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7517 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7518 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7519 * sysdeps/i386/i686/multiarch/Makefile: Update.
7520 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7521
25de95bf
JM
75222013-12-17 Joseph Myers <joseph@codesourcery.com>
7523
7524 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7525 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7526
674762d9
PE
75272013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7528
ed27ed83 7529 [BZ #15968]
0748546f
PE
7530 Support TZ transition times < 00:00:00.
7531 This is needed for version-3 tz-format files; it supports time
7532 stamps past 2037 for America/Godthab (the only entry in the tz
7533 database for which this change is relevant).
7534 * manual/time.texi (TZ Variable): Document transition times
7535 from -167:59:59 through -00:00:01.
7536 * time/tzset.c (tz_rule): Time of day is now signed.
7537 (__tzset_parse_tz): Parse negative time of day.
7538
4480e934
PE
7539 Document TZ transition times >= 25:00:00.
7540 * manual/time.texi (TZ Variable): Document transition times from
7541 25:00:00 through 167:59:59. These are already supported, and this
7542 support will help with version-3 tz-format files.
7543
69947401
PE
7544 * manual/time.texi (TZ Variable): Modernize North America example
7545 to reflect current (i.e., 2007-and-later) daylight saving rules.
7546
674762d9
PE
7547 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7548
7011c262
JM
75492013-12-17 Joseph Myers <joseph@codesourcery.com>
7550
2fc6557e
JM
7551 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7552 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7554 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7555 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7556 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7557 * sysdeps/unix/bsd/clock.c: Likewise.
7558 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7559 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7560 * sysdeps/unix/bsd/init-posix.c: Likewise.
7561 * sysdeps/unix/bsd/poll.c: Likewise.
7562 * sysdeps/unix/bsd/ptsname.c: Likewise.
7563 * sysdeps/unix/bsd/seekdir.c: Likewise.
7564 * sysdeps/unix/bsd/setegid.c: Likewise.
7565 * sysdeps/unix/bsd/seteuid.c: Likewise.
7566 * sysdeps/unix/bsd/setgid.c: Likewise.
7567 * sysdeps/unix/bsd/setrgid.c: Likewise.
7568 * sysdeps/unix/bsd/setruid.c: Likewise.
7569 * sysdeps/unix/bsd/setsid.c: Likewise.
7570 * sysdeps/unix/bsd/setuid.c: Likewise.
7571 * sysdeps/unix/bsd/sigaction.c: Likewise.
7572 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7573 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7574 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7575 * sysdeps/unix/bsd/telldir.c: Likewise.
7576 * sysdeps/unix/bsd/times.c: Likewise.
7577 * sysdeps/unix/bsd/usleep.c: Likewise.
7578
029c7b25
JM
7579 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7580 ($(objpfx)libbsd-compat.a): Remove rule.
7581
7011c262
JM
7582 * include/features.h (__FAVOR_BSD): Do not define.
7583 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7584 features conflicting with POSIX.
7585 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7586 (_BSD_SOURCE): Remove description of not being a subset of other
7587 feature test macros.
7588 * manual/job.texi (getpgrp): Do not document BSD version.
7589 (getpgid): Do not document by reference to BSD getpgrp.
7590 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7591 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7592 * signal/signal.h [__FAVOR_BSD]: Likewise.
7593 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7594 instead of making contents conditional on [__FAVOR_BSD].
7595 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7596
affb6f78
AZ
75972013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7598
7599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7600
c88769dd
JM
76012013-12-17 Joseph Myers <joseph@codesourcery.com>
7602
6432a540
JM
7603 [BZ #16314]
7604 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7605 values below 2**-450, not 2**-500.
7606 * math/auto-libm-test-in: Don't allow spurious underflow from
7607 hypot.
7608 * math/auto-libm-test-out: Regenerated.
7609
c88769dd
JM
7610 [BZ #16316]
7611 [BZ #16330]
7612 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7613 values of ha and hb and sort them after adjusting subnormal
7614 arguments.
7615 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7616 Likewise.
7617 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7618 values of ea and eb and sort them after adjusting subnormal
7619 arguments.
7620 * math/auto-libm-test-in: Do not expect some hypot tests of
7621 subnormals to fail. Add more hypot tests.
7622 * math/auto-libm-test-out: Regenerated.
7623
29618f6b
KK
76242013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7625
7626 [BZ #13304]
7627 * sysdeps/sh/s_fma.c: New file.
7628 * sysdeps/sh/s_fmaf.c: New file.
7629 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7630 version.
7631 * sysdeps/sh/Implies: Add sh/soft-fp.
7632
eacfdfbf
RM
76332013-12-16 Roland McGrath <roland@hack.frob.com>
7634
7635 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7636 level of indirection to members `objname', `errstring', `malloced'.
7637 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7638 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7639 it as the __longjmp argument (just pass 1 instead).
7640 (_dl_catch_error): Initialize C with argument pointers and address of
7641 volatile local ERRCODE rather than copying values out of C at return.
7642
ff362e5b
JM
76432013-12-16 Joseph Myers <joseph@codesourcery.com>
7644
7645 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7646 * math/auto-libm-test-out: Regenerated.
7647 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7648 (hypot_test_data): Likewise.
7649 (pow_test_data): Likewise.
7650 (pow_tonearest_test_data): Likewise.
7651 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7652 mpfr_ff_f.
7653 (func_calc_desc): Add mpfr_ff_f union field.
7654 (FUNC_mpfr_ff_f): New macro.
7655 (test_functions): Add atan2, hypot and pow.
7656 (special_fill_min): New function.
7657 (special_fill_minus_min): Likewise.
7658 (special_fill_min_subnorm): Likewise.
7659 (special_fill_minus_min_subnorm): Likewise.
7660 (special_real_inputs): Add min, -min, min_subnorm and
7661 -min_subnorm.
7662 (calc_generic_results): Handle mpfr_ff_f.
7663 * sysdeps/i386/fpu/libm-test-ulps: Update.
7664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7665
5764c27f
WN
76662013-12-16 Will Newton <will.newton@linaro.org>
7667
7668 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7669 (Aligned Memory Blocks): Add documentation for aligned_alloc
7670 and suggest it as an alternative to posix_memalign.
7671 (Hooks for Malloc): Document __memalign_hook is also called
7672 for aligned_alloc. (Summary of Malloc): Add summary for
7673 aligned alloc. Document __memalign_hook is also called
7674 for aligned_alloc.
7675
0a096e44
WN
76762013-12-16 Will Newton <will.newton@linaro.org>
7677
7678 * manual/memory.texi (Malloc Examples): Clarify default
7679 alignment documentation. Suggest posix_memalign rather
7680 than memalign or valloc.
7681 (Aligned Memory Blocks): Remove suggestion to use memalign
7682 or valloc. Remove obsolete comment about BSD.
7683 Document memalign errno values and mark the function obsolete.
7684 Document posix_memalign returned error codes. Mark valloc
7685 as obsolete. (Hooks for Malloc): __memalign_hook is also
7686 called for posix_memalign and valloc.
7687 (Summary of Malloc): Add posix_memalign to function summary.
7688 __memalign_hook is also called for posix_memalign and valloc.
7689
8d561986
SP
76902013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7691
7692 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7693 TAYLOR_SIN.
7694 (__sin): Adjust.
7695 (__cos): Likewise.
7696 (sloww): Use mynumber union. Expand ternary operator into
7697 if-else statements.
7698 (cslow): use mynumber union.
7699
73616a74
AM
77002013-12-16 Allan McRae <allan@archlinux.org>
7701
9e8ac24b
AM
7702 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7703 * configure: Regenerated.
7704
6f8e37eb
AM
7705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7706
8894bad3
AM
7707 [BZ #14120]
7708 * configure.ac: Added --enable-maintainer-mode. Check for
7709 autoconf when enabled.
7710 * configure: Regenerated.
7711
73616a74
AM
7712 * nscd/nscd.service: New file.
7713 * nscd/nscd.tmpfiles: New file.
7714
584b18eb
OB
77152013-12-14 Ondřej Bílka <neleai@seznam.cz>
7716
7717 [BZ #12100]
7718 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7719 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7720 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7721 (strstr): Add __strstr_sse2_unaligned ifunc.
7722 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7723 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7724 (strcasestr): Remove __strcasestr_sse42 ifunc.
7725 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7728
8a5c7897
KK
77292013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7730
7731 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7732 * sysdeps/sh/bits/fenv.h: ... here.
7733 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7734
fd712ef3
AZ
77352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7736
7737 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7738
42fcb46c
AZ
7739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7740 hypotf multiarch implementations.
7741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7742 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7744 multiarch hypot for PPC64.
7745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7746 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7747 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7748 multiarch hypotf for PPC64.
7749
83efded4
AZ
7750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7751 modff multiarch implementations.
7752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7755 multiarch modf for PPC64.
7756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7759 multiarch modff for PPC64.
7760
43e246d2
AZ
7761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7762 and logl multiarch implementations.
7763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7766 multiarch logb for PPC64.
7767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7770 multiarch logb for PPC64.
7771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7774 multiarch logb for PPC64.
7775
8fdad123
AZ
7776 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7777 isinff multiarch implementation.
7778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7779 file.
7780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7782 multiarch isinf for PPC64.
7783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7784 file.
7785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7786 multiarch isinff for PPC64.
7787
1481d706
AZ
7788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7789 finitef multiarch implementation.
7790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7791 file.
7792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7794 multiarch finite for PPC64.
7795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7796 file.
7797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7798 multiarch finitef for PPC64.
7799
5ccd5fc8
AZ
7800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7801 lrint multiarch implementation.
7802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7803 file.
7804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7806 multiarch llrint for PPC64.
7807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7808 multiarch lrint for PPC64.
7809
2568f3fa
AZ
7810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7811 copysignf multiarch implementation.
7812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7813 file.
7814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7815 file.
7816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7817 multiarch copysign for PPC64.
7818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7819 multiarch copysignf for PPC64.
7820
1cb341fd
AZ
7821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7822 multiarch implementation.
7823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7824 file.
7825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7826 file.
7827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7828 file.
7829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7830 file.
7831 multiarch llround for PPC64.
7832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7833 multiarch trunc for PPC64.
7834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7835 multiarch truncf for PPC64.
7836
59a3e194
AZ
7837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7838 multiarch implementation.
7839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7840 file.
7841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7842 file.
7843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7844 file.
7845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7846 file.
7847 multiarch llround for PPC64.
7848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7849 multiarch round for PPC64.
7850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7851 multiarch roundf for PPC64.
7852
357fd3b4
AZ
7853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7854 multiarch implementation.
7855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7856 file.
7857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7858 file.
7859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7860 file.
7861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7862 file.
7863 multiarch llround for PPC64.
7864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7865 multiarch floor for PPC64.
7866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7867 multiarch floorf for PPC64.
7868
96770f12
AZ
7869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7870 multiarch implementation.
7871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7872 file.
7873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7874 file.
7875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7876 file.
7877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7878 file.
7879 multiarch llround for PPC64.
7880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7881 multiarch ceil for PPC64.
7882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7883 multiarch ceilf for PPC64.
7884
c3627f6e
AZ
7885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7886 multiarch implementation.
7887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7888 file.
7889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7890 file.
7891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7892 file.
7893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7894 multiarch llround for PPC64.
7895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7896 multiarch lround for PPC64.
7897
b2284ad7
AZ
7898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7899 multiarch implementation.
7900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7903 file.
7904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7907 multiarch isnan for PPC64.
7908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7909 multiarch isnanf for PPC64.
7910
69bbc63d
AZ
7911 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7912 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7913 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7914 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7915 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7917
c24517c9
AZ
7918 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7919 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7922
a52374e8
AZ
7923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7924 multiarch implementations.
7925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7926 (__libc_ifunc_impl_list): Likewise.
7927 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7928 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7929 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7930 multiarch stpcpy for PPC64.
7931
7f5ec113
AZ
7932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7933 multiarch implementations.
7934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7935 (__libc_ifunc_impl_list): Likewise.
7936 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7937 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7938 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7939 multiarch strcpy for PPC64.
7940
e28bcd42
AZ
7941 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7942 redefine function name.
7943 (_wordcopy_fwd_dest_aligned): Likewise.
7944 (_wordcopy_bwd_aligned): Likewise.
7945 (_wordcopy_bwd_dest_aligned): Likewise.
7946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7947 multiarch implementations.
7948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7949 (__libc_ifunc_impl_list): Likewise.
7950 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7951 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7952 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7953 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7954 multiarch wcscpy for PPC64.
7955
92cacfce
AZ
7956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7957 multiarch implementations.
7958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7959 (__libc_ifunc_impl_list): Likewise.
7960 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7961 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7962 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7963 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7964 multiarch wcscpy for PPC64.
7965
7b714620
AZ
7966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7967 multiarch implementations.
7968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7969 (__libc_ifunc_impl_list): Likewise.
7970 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7971 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7972 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7973 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7974 multiarch wcsrchr for PPC64.
7975
16fd2ae3
AZ
7976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7977 multiarch implementations.
7978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7979 (__libc_ifunc_impl_list): Likewise.
7980 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7981 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7982 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7983 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7984 multiarch wcschr for PPC64.
7985
9ee2969b
AZ
7986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7987 multiarch implementations.
7988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7989 (__libc_ifunc_impl_list): Likewise.
7990 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7991 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7992 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7993 multiarch strchrnul for PPC64.
7994
372dc060
AZ
7995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7996 implementations.
7997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7998 (__libc_ifunc_impl_list): Likewise.
7999 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8000 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8001 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8002 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8003 strchr for PPC64.
8004
24c2c3b9
AZ
8005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8006 implementations.
8007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8008 (__libc_ifunc_impl_list): Likewise.
8009 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8010 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8011 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8012 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8013 strncmp for PPC64.
8014
1c92d9a0
AZ
8015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8016 multiarch implementations.
8017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8018 (__libc_ifunc_impl_list): Likewise.
8019 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8020 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8021 strncasecmp for PPC64.
8022 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8023 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8024 multiarch strncasecmp_l for PPC64.
8025
17de3ee3
AZ
8026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8027 multiarch implementations.
8028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8029 (__libc_ifunc_impl_list): Likewise.
8030 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8032 multiarch strcasecmp for PPC64.
8033 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8034 file.
8035 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8036 multiarch strcasecmp_l for PPC64.
8037
62982bf9
AZ
8038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8039 implementations.
8040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8041 (__libc_ifunc_impl_list): Likewise.
8042 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8043 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8044 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8045 strnlen for PPC64.
8046
a65f4904
AZ
8047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8048 implementations.
8049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8050 (__libc_ifunc_impl_list): Likewise.
8051 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8052 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8053 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8054 strlen for PPC64.
8055
1fd005ad
AZ
8056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8057 implementations.
8058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8059 (__libc_ifunc_impl_list): Likewise.
8060 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8061 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8062 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8063 rawmemrchr for PPC64.
8064
cd05ba91
AZ
8065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8066 implementation.
8067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8068 (__libc_ifunc_impl_list): Likewise.
8069 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8070 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8071 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8072 memrchr for PPC64.
8073
870f8676
AZ
8074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8075 implementation.
8076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8077 (__libc_ifunc_impl_list): Likewise.
8078 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8079 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8080 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8081 memchr for PPC64.
8082
f00be62b
AZ
8083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8084 implementation.
8085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8086 (__libc_ifunc_impl_list): Likewise.
8087 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8088 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8089 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8090 mempcpy for PPC64.
8091
8a29a3d0
AZ
8092 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8093 avoid cretion of __bzero symbol.
8094 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8095 Likewise.
8096 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8097 Likewise.
8098 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8099 Likewise.
8100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8101 multiarch implementations.
8102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8103 (__libc_ifunc_impl_list): Likewise.
8104 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8105 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8106 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8107 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8108 bzero for PPC32.
8109 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8110 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8111 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8112 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8113 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8114 memset for PPC64.
8115 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8116
07253fcf
AZ
8117 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8119 implementations.
8120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8121 (__libc_ifunc_impl_list): Likewise.
8122 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8123 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8124 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8125 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8126 memcmp for PPC64.
8127
b5beafbc
AZ
8128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8129 multiarch for POWER/PPC64.
8130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8131 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8132 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8133 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8134 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8135 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8136 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8137 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8138 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8139 memcpy for PPC64.
8140
5e6a4d4b
AZ
8141 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8142 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8143 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8144 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8145 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8146 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8147 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8148 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8149 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8150 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8151 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8152 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8153 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8154 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8155 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8163
ddfab6dc
KK
81642013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8165
8166 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8167
19b5525e
SP
81682013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8169
8170 * benchtests/Makefile (bench): Add exp2 and log2.
8171 (LDLIBS-bench-exp2): Add -lm.
8172 (LDLIBS-bench-log2): Likewise.
8173 * benchtests/exp2-inputs: New inputs file.
8174 * benchtests/log2-inputs: New inputs file.
8175 * benchtests/log-inputs: Add new inputs.
8176 * benchtests/tan-inputs: Likewise.
8177
196f7f5d
SP
81782013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8179
7a74607f
SP
8180 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8181 definition...
57f41c40
AS
8182 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8183 (csloww2): ... from here.
7a74607f 8184
196f7f5d
SP
8185 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8186 instead of structures.
8187 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8188 (POLYNOMIAL): Likewise.
8189 (TAYLOR_SLOW): Likewise.
8190 (__sin): Likewise.
8191 (__cos): Likewise.
8192 (slow1): Likewise.
8193 (slow2): Likewise.
8194 (sloww): Likewise.
8195 (sloww1); Likewise.
8196 (sloww2): Likewise.
8197 (bsloww1): Likewise.
8198 (bsloww2): Likewise.
8199 (cslow2): Likewise.
8200 (csloww): Likewise.
8201 (csloww1): Likewise.
8202 (csloww2): Likewise.
8203
0dfa665c
OB
82042013-12-10 Ondřej Bílka <neleai@seznam.cz>
8205
8206 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8207 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8208 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8209 * malloc/hooks.c (realloc_check): Likewise.
8210
5782a80f
OB
8211 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8212 * malloc/arena.c: Remove PER_THREAD conditional.
8213 [!PER_THREAD]: Remove code.
8214 (ptmalloc_unlock_all2): Likewise.
8215 (ptmalloc_init): Likewise.
8216 (_int_new_arena): Likewise.
8217 (arena_get2): Likewise.
8218 * malloc/hooks.c (__malloc_get_state): Likewise.
8219 (__malloc_set_state): Likewise.
8220 * malloc/malloc.c: Likewise.
8221 (struct malloc_state): Likewise.
8222 (struct malloc_par): Likewise.
8223 (__libc_realloc): Likewise.
8224 (__libc_mallopt): Likewise.
8225
aeb95445
AZ
82262013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8227
8228 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8229
e8349efd
OB
82302013-12-09 Ondřej Bílka <neleai@seznam.cz>
8231
8232 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8233 macro to a function. Check for zero perturb_byte.
8234 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8235
f3eeb3fc 8236 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8237 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8238 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8239 force_reg by atomic_forced_read.
8240 * malloc/arena.c (ptmalloc_init): Likewise.
8241 * malloc/hooks.c (top_check): Likewise.
8242
be2f9009
AZ
82432013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8244
8245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8246
e7b914bd
MT
82472013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8248
8249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8250
9f0be4f8
JM
82512013-12-08 Joseph Myers <joseph@codesourcery.com>
8252
8253 * math/auto-libm-test-in: Add tests of lgamma.
8254 * math/auto-libm-test-out: Regenerated.
8255 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8256 (M_LOG_2_SQRT_PIl): Likewise.
8257 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8258 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8259 mpfr_f_f1.
8260 (func_calc_desc): Add mpfr_f_f1 union field.
8261 (ARGS1): New macro.
8262 (ARGS2): Likewise.
8263 (ARGS3): Likewise.
8264 (ARGS4): Likewise.
8265 (RET1): Likewise.
8266 (RET2): Likewise.
8267 (CALC): Likewise.
8268 (FUNC): Likewise.
8269 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8270 (test_functions): Add lgamma.
8271 (calc_generic_results): Handle mpfr_f_f1.
8272 * sysdeps/i386/fpu/libm-test-ulps: Update.
8273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8274
24eeafdb
AZ
82752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8276
8277 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8278 __mpn_add_n for PowerPC64/POWER7.
8279 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8280 __mpn_sub_n for PowerPC64/POWER7.
8281
4a2c0fd4
AZ
8282 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8283 __mpn_addmul_1 for PowerPC64.
8284 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8285 __mpn_submul_1 for PowerPC64.
8286 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8287 for PowerPC64.
8288 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8289 for PowerPC64.
8290
4b5b548c
FS
82912013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8292
8293 [BZ #15089]
8294 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8295
0a3ac0aa
AZ
82962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8297
8298 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8299
ccdc8438
AZ
8300 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8301 add multiarch folders.
8302 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8303 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8304 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8305 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8306 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8307 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8308 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8309 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8310 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8311 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8312 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8319
2e973d99
AZ
8320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8321 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8323 New file.
8324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8325 New file.
8326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8327 multiarch __ieee754_hypot for PowerPC32.
8328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8329 New file.
8330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8331 New file.
8332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8333 multiarch __ieee754_hypotf for PowerPC32.
8334
2d9470b2
AZ
8335 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8336 long_double_symbol only if __logbl is defined.
8337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8338 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8340 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8342 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8343 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8344 path for implementation.
8345 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8346 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8348 logb, and logbl multiarch implementations for PowerPC32.
8349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8350 file.
8351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8352 file.
8353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8354 multiarch logb for PowerPC32.
8355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8356 file.
8357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8358 file.
8359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8360 multiarch logbf for PowerPC32.
8361 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8363 file.
8364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8365 multiarch logbl implementation for PowerPC32.
8366
5212ffce
AZ
8367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8368 and modff multiarch implementations.
8369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8370 New file.
8371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8372 New file.
8373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8374 multiarch modf for PowerPC32.
8375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8376 New file.
8377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8378 New file.
8379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8380 multiarch modff for PowerPC32.
8381
79dccf31
AZ
8382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8383 and lrintf multiarch implementations.
8384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8385 New file.
8386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8387 New file.
8388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8389 multiarch lrint for PowerPC32.
8390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8391 file: multiarch lrintf for PowerPC32.
8392
deb66480
AZ
8393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8394 and lroundf multiarch implementations.
8395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8396 New file.
8397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8398 New file.
8399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8400 New file.
8401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8402 multiarch lround for PowerPC32.
8403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8404 file: multiarch lroundf for PowerPC32.
8405
264b036b
AZ
8406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8407 copysign and copysignf multiarch implementations.
8408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8409 New file.
8410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8411 New file.
8412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8413 file: multiarch copysign for PowerPC32.
8414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8415 file: multiarch copysignf for PowerPC32.
8416
d47db6c9
AZ
8417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8418 and truncf multiarch implementations.
8419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8420 New file.
8421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8422 file.
8423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8424 multiarch trunc for PowerPC32.
8425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8426 New file.
8427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8428 New file.
8429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8430 multiarch truncf for PowerPC32.
8431
ddb60b5a
AZ
8432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8433 and roundf multiarch implementations.
8434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8435 New file.
8436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8437 file.
8438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8439 multiarch round for PowerPC32.
8440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8441 New file.
8442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8443 New file.
8444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8445 multiarch roundf for PowerPC32.
8446
bedcf49b
AZ
8447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8448 and floorf multiarch implementations.
8449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8450 New file.
8451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8452 file.
8453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8454 multiarch floor for PowerPC32.
8455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8456 New file.
8457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8458 New file.
8459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8460 multiarch floorf for PowerPC32.
8461
35ae5b40
AZ
8462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8463 and ceilf multiarch implementations.
8464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8465 New file.
8466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8467 file.
8468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8469 multiarch ceil for PowerPC32.
8470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8471 New file.
8472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8473 file.
8474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8475 multiarch ceilf for PowerPC32.
8476
ae1a4cd9
AZ
8477 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8478 is defined.
8479 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8480 FINITEF is defined.
8481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8482 and finitef multiarch implementations.
8483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8484 New file.
8485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8486 file.
8487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8488 multiarch finite for PowerPC32.
8489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8490 New file.
8491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8492 file: multiarch finitef for PowerPC32.
8493
64fffd65
AZ
8494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8495 and isinff multiarch implementations.
8496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8497 file.
8498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8499 file.
8500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8501 multiarch isinf for PowerPC32.
8502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8503 New file.
8504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8505 multiarch isinff for PowerPC32.
8506
8e4e7ba2
AZ
8507 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8508 alias when __isnan is defined.
8509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8510 and isnanf multiarch implementations.
8511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8512 file.
8513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8514 file.
8515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8516 file.
8517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8518 file.
8519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8520 multiarch isnan for PowerPC32.
8521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8522 New file.
8523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8524 New file.
8525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8526 multiarch isnanf for PowerPC32.
8527
ddba588e
AZ
8528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8529 and sqrtf multiarch implementations.
8530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8531 file.
8532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8533 file.
8534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8535 multiarch sqrt for PowerPC32.
8536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8537 file.
8538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8539 file.
8540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8541 multiarch sqrtf for PowerPC32.
8542
0f96a2f0
AZ
8543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8544 and llroundf multiarch implementations.
8545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8546 New file.
8547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8548 New file.
8549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8550 New file.
8551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8552 file: multiarch llround for PowerPC32.
8553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8554 file: multiarch llroundf for PowerPC32.
8555
c9b5d79e
AZ
8556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8557 multiarch PowerPC32 fpu implementations.
8558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8559 New file.
8560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8561 New file.
8562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8563 multiarch llrint for PowerPC32.
8564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8565 New file.
8566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8567 New file.
8568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8569 file.
8570
9cbb3aab
AZ
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8572
ea5a72f8
AZ
8573 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8574 file.
8575 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8576 file.
8577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8578 file.
8579 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8580 multiarch wordcopy for PPC32.
8581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8582 wordcopy objects.
8583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8584 (__libc_ifunc_impl_list): Likewise.
8585 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8586 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8587 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8588 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8589 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8590 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8591
93be09e7
AZ
8592 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8594 file.
8595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8596 file.
8597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8598 file.
8599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8600 multiarch wcscpy for PPC32.
8601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8602 multiarch objects.
8603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8604 (__libc_ifunc_impl_list): Likewise.
8605 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8606 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8607 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8608 sysdeps/powerpc/power6/wcscpy.c.
8609
bb04e529
AZ
8610 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8612 file.
8613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8614 file.
8615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8616 file.
8617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8618 multiarch wcsrchr for PPC32.
8619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8620 multiarch objects.
8621 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8622 (__libc_ifunc_impl_list): Likewise.
8623 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8624 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8625 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8626 sysdeps/powerpc/power6/wcsrchr.c.
8627
05b5cd1c
AZ
8628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8629 file.
8630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8631 file.
8632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8634 multiarch wcschr for PPc32.
8635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8636 multiarch objects.
8637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8638 (__libc_ifunc_impl_list): Likewise.
8639 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8640 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8641 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8642 sysdeps/powerpc/power6/wcschr.c.
8643
ba964147
AZ
8644 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8645 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8646 file.
8647 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8648 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8649 file: multiarch strchr for PPC32.
8650 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8651 multiarch objects.
8652 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8653 (__libc_ifunc_impl_list): Likewise.
8654
31c81aaa
AZ
8655 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8656 name.
8657 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8658 file.
8659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8660 file.
8661 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8662 multiarch strchrnul for PPC32.
8663 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8664 multiarch objects.
8665 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8666 (__libc_ifunc_impl_list): Likewise.
8667
0d0607d9
AZ
8668 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8669 file.
8670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8671 multiarch strncasecmp for PPC32.
8672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8673 file.
8674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8675 multiarch strncasecmp_l for PPC32.
8676 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8677 strncasecmp multiarch objects.
8678 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8679 (__libc_ifunc_impl_list): Likewise.
8680
4dfd5c86
AZ
8681 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8682 file.
8683 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8684 multiarch strncasecmp for PPC32.
8685 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8686 New file.
8687 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8688 multiarch strcasecmp_l for PPC32.
8689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8690 multiarch objects.
8691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8692 (__libc_ifunc_impl_list): Likewise.
8693
a19e01a3
AZ
8694 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8695 file.
8696 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8697 file.
8698 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8699 multiarch strncmp for PPC32.
8700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8701 multiarch objects.
8702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8703 (__libc_ifunc_impl_list): Likewise.
8704
ae9cf7a2
AZ
8705 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8706 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8707 file.
8708 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8709 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8711 multiarch objects.
8712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8713 (__libc_ifunc_impl_list): Likewise.
8714
3148bb7d
AZ
8715 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8716 file.
8717 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8718 file.
8719 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8721 multiarch objects.
8722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8723 (__libc_ifunc_impl_list): Likewise.
8724
7af8b946
AZ
8725 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8726 file.
8727 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8728 file.
8729 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8730 multiarch rawmemchr for PPC32.
8731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8732 multiarch objects.
8733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8734 (__libc_ifunc_impl_list): Likewise.
8735
03a6aa6a
AZ
8736 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8737 file.
8738 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8739 file.
8740 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8741 file: memrchr multiarch for PPC32.
8742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8743 multiarch objects.
8744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8745 (__libc_ifunc_impl_list): Likewise.
8746
1c62e6d9
AZ
8747 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8748 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8749 file.
8750 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8751 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8752 multiarch memchr for PPC32.
8753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8754 multiarch objects.
8755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8756 (__libc_ifunc_impl_list): Likewise.
8757
87da8bdb
AZ
8758 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8759 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8760 file.
8761 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8762 file.
8763 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8764 file: multiarch mempcpy for PPC32.
8765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8766 multiarch objects.
8767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8768 (__libc_ifunc_impl_list): Likewise.
8769
20ed4714
AZ
8770 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8771 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8772 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8773 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8774 multiarch bzero for PPC32.
8775 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8776 file.
8777 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8778 file.
8779 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8780 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8781 file: multiarch memset for PPC32.
8782 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8784 memset multiarch objects.
8785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8786 (__libc_ifunc_impl_list): Likewise.
8787
ab3e3a46
AZ
8788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8789 file.
8790 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8792 memcmp for PPC32.
8793 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8795 multiarch objects.
8796 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8797 (__libc_ifunc_impl_list): Likewise.
8798
930de6f0
AZ
8799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8800 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8802 file.
8803 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8804 file.
8805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8806 file.
8807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8808 multiarch memcpy for PPC32.
8809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8810 multiarch objects.
8811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8812 (__libc_ifunc_impl_list): Likewise.
8813
4c628e00
AZ
8814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8815 support multiarch for POWER/PPC32.
8816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8817 Likewise.
8818 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8820 Implies file to make multiarch folder appers before the fpu and
8821 default folder for power4 configuration.
8822
f4479220
SP
88232013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8824
8825 * scripts/bench.pl: Append volatile keyword to type.
8826
8517800f
KK
88272013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8828
8829 * sysdeps/sh/sotruss-lib.c: New file.
8830 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8831
180138f1
AZ
88322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8833
8834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8835
bbf37bdc
JM
88362013-12-05 Joseph Myers <joseph@codesourcery.com>
8837
e47cc4e0
JM
8838 [BZ #6810]
8839 * math/w_tgamma.c: Include <errno.h>.
8840 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8841 * math/w_tgammaf.c: Include <errno.h>.
8842 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8843 * math/w_tgammal.c: Include <errno.h>.
8844 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8845 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8846 underflow. Add more tgamma tests.
8847 * math/auto-libm-test-out: Regenerated.
8848 * sysdeps/i386/fpu/libm-test-ulps: Update.
8849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8850
bbf37bdc
JM
8851 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8852 sin, sinh, tan, tanh, tgamma, y0 and y1.
8853 * math/auto-libm-test-out: Regenerated.
8854 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8855 (TEST_COND_x86): Likewise.
8856 (M_E2l): Remove macro.
8857 (M_E3l): Likewise.
8858 (M_2_SQRT_PIl): Likewise.
8859 (M_SQRT_PIl): Likewise.
8860 (M_1_DIV_El): Likewise.
8861 (log_test_data): Use AUTO_TESTS_f_f.
8862 (log10_test_data): Likewise.
8863 (log1p_test_data): Likewise.
8864 (log2_test_data): Likewise.
8865 (sin_test_data): Likewise.
8866 (sin_tonearest_test_data): Likewise.
8867 (sin_towardzero_test_data): Likewise.
8868 (sin_downward_test_data): Likewise.
8869 (sin_upward_test_data): Likewise.
8870 (sinh_test_data): Likewise.
8871 (sinh_tonearest_test_data): Likewise.
8872 (sinh_towardzero_test_data): Likewise.
8873 (sinh_downward_test_data): Likewise.
8874 (sinh_upward_test_data): Likewise.
8875 (tan_test_data): Likewise.
8876 (tan_tonearest_test_data): Likewise.
8877 (tan_towardzero_test_data): Likewise.
8878 (tan_downward_test_data): Likewise.
8879 (tan_upward_test_data): Likewise.
8880 (tanh_test_data): Likewise.
8881 (tgamma_test_data): Likewise.
8882 (y0_test_data): Likewise.
8883 (y1_test_data): Likewise.
8884 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8885 (special_real_inputs): Add pi/4.
8886 * sysdeps/i386/fpu/libm-test-ulps: Update.
8887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8888
eb5ad6b9
AZ
88892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8890
8891 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8892 "longjmp_target" static probes.
8893 (__longjmp): Rename to __longjmp_symbol.
8894 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8895 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8896 on which longjmp to generate.
8897 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8898 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8899 probe.
8900 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8901 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8902 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8903 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8904 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8905 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8907 __longjmp_symbol based on which __longjmp to generate.
8908 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8909 probe.
8910 (setjmp): Rename to setjmp_symbol.
8911 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8912 (_setjmp): Rename to _setjmp_symbol.
8913 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8914 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8915 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8916 which setjmp to generate.
8917 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8918 "longjmp_target" static probes.
8919
d136c6dc
SP
89202013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8921
9298ecba
SP
8922 * benchtests/README: Add note about output arguments.
8923 * benchtests/bench-sincos.c: Remove file.
8924 * benchtests/sincos-inputs: New file.
8925 * scripts/bench.pl: Identify output arguments and define
8926 static variables for them.
8927
232983e9
SP
8928 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8929
d136c6dc
SP
8930 [BZ #15941]
8931 * Makefile (INSTALL): Add install-plain.texi as the primary
8932 dependency.
8933 * manual/install-plain.texi: New file.
8934 * manual/install.texi: Include node directive only for
8935 non-plaintext output.
8936
699ff837
JM
89372013-12-04 Joseph Myers <joseph@codesourcery.com>
8938
ab07cea8
JM
8939 * stdlib/longlong.h: Update from GCC.
8940
699ff837
JM
8941 [BZ #6807]
8942 [BZ #15901]
8943 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8944 * math/w_j0f.c (y0f): Likewise.
8945 * math/w_j0l.c (__y0l): Likewise.
8946 * math/w_j1.c (y1): Likewise.
8947 * math/w_j1f.c (y1f): Likewise.
8948 * math/w_j1l.c (__y1l): Likewise
8949 * math/w_jn.c (yn): Likewise.
8950 * math/w_jnf.c (ynf): Likewise.
8951 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8952 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8953 value for Bessel function domain errors outside _SVID_ mode.
8954 Adjust sign of return value for yn (negative integer, 0).
8955 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8956 by zero in return for negative x and set sign appropriately for
8957 negative n.
8958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8959 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8960 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8961 expectations in error cases.
8962 (y1_test_data): Likewise.
8963 (yn_test_data): Likewise.
8964 * sysdeps/i386/fpu/libm-test-ulps: Update.
8965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8966
5b118558
UW
89672013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8968
8969 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8970 "64" to "64-v1". Add "64-v2".
8971 (abi-64-options): Rename to ...
8972 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8973 (abi-64-condition): Rename to ...
8974 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8975 (abi-64-ld-soname): Rename to ...
8976 (abi-64-v1-ld-soname): ... this.
8977 (abi-64-v2-options): Define.
8978 (abi-64-v2-condition): Likewise.
8979 (abi-64-v2-ld-soname): Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8981 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8985
61cd8fe4
UW
89862013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8987 Alan Modra <amodra@gmail.com>
8988
8989 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8990 New versions for use with the ELFv2 ABI.
8991 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8992 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8993 declaration.
8994 (struct La_ppc64v2_retval): Likewise.
8995 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8996 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8997 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8998 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8999 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9000 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9001 Do not save or restore CR.
9002 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9003 (_dl_profile_resolve): Do no save or restore CR. Support extended
9004 return values for ELFv2 ABI. Fix location of FPR return registers.
9005 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9006 updated values for _CALL_ELF == 2.
9007 (La_regs, La_retval, int_retval): Likewise.
9008
8b8a692c
UW
90092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9010
9011 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9012 (FRAME_MIN_SIZE_PARM): Likewise.
9013 (FRAME_BACKCHAIN): Likewise.
9014 (FRAME_CR_SAVE): Likewise.
9015 (FRAME_LR_SAVE): Likewise.
9016 (FRAME_TOC_SAVE): Likewise.
9017 (FRAME_PARM_SAVE): Likewise.
9018 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9019 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9020 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9021 (call_mcount_parm_offset): New macro.
9022 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9023 (PROF): Use symbolic stack frame offsets.
9024 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9025 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9026 Redefine in terms of FRAME_MIN_SIZE.
9027 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9028 (_dl_profile_resolve): Likewise. Update comment.
9029 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9030 symbols stack frame offsets.
9031 (__sigsetjmp): Likewise.
9032 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9033 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9034 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9035 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9036
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9038 (FRAME_BACKCHAIN): Remove.
9039 (FRAME_CR_SAVE): Likewise.
9040 (FRAME_LR_SAVE): Likewise.
9041 (FRAME_COMPILER_DW): Likewise.
9042 (FRAME_LINKER_DW): Likewise.
9043 (FRAME_TOC_SAVE): Likewise.
9044 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9045 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9046 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9047 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9049 (CHECK_SP): Use symbolic stack frame offsets.
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9051 zone" instead of caller's parameter save area for temp storage.
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9053 Likewise. Also, use symbolic stack frame offsets.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9055 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9056 our own stack frame instead of the caller's.
9057 (__socket): Use symbolic stack frame offsets.
9058
122b66de
UW
90592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9060 Alan Modra <amodra@gmail.com>
9061
9062 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9063 Define.
57f41c40
AS
9064 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9065 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9066 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9067 New function.
9068 (elf_machine_fixup_plt): Call it.
9069 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9070 reloc arguments.
9071 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9072 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9073 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9074 r2 before calling target.
9075
696caf1d
UW
90762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9077 Alan Modra <amodra@gmail.com>
9078
9079 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9080 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9081 versions of macros to support ELFv2 ABI.
9082 (LOCALENTRY): New macro.
9083 (ENTRY, EALIGN): Use it.
9084 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9085 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9086 fall through into ENTRY entry point.
9087 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9088 Only define if _CALL_ELF != 2.
9089
9090 (elf_machine_matches_host): Verify ABI version matches.
9091 (RTLD_START): Use LOCALENTRY.
9092 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9093 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9094 (PLT_ENTRY_WORDS): New macro.
9095 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9096 (elf_machine_runtime_setup): Support ELFv2 ABI.
9097 (elf_machine_fixup_plt): Likewise.
9098 (elf_machine_plt_conflict): Likewise.
9099 (resolve_ifunc): Likewise.
9100 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9102 Likewise.
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9104 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9106 (makecontext): Support ELFv2 ABI.
9107 * elf/elf.h (EF_PPC64_ABI): Define.
9108
d31beafa
UW
91092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9110
57f41c40
AS
9111 * sysdeps/powerpc/powerpc64/sysdep.h
9112 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9113 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9114 (ENTRY) [ASSEMBLER]: ... but instead here ...
9115 (EALIGN) [ASSEMBLER]: ... and here.
9116 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9117 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9118 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9119 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9120 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9121 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9122 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9123 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9125 Use PPC64_LOAD_FUNCPTR.
9126
b525166b
UW
9127 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9128
7ec07d9a
AM
91292013-12-04 Alan Modra <amodra@gmail.com>
9130
9131 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9132 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9133 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9134 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9135
9136 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9137 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9138 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9139 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9140 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9141 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9142
5162e7dd
UW
91432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9144
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9146 (__makecontext): Fix incorrect CFI when backtracing out of
9147 context created via makecontext.
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9149 (__setcontext): Fix incorrect CFI during switch to new context.
9150 (__novec_setcontext): Likewise.
9151
19e3372b
OB
91522013-12-04 Ondřej Bílka <neleai@seznam.cz>
9153
9154 [BZ #4772]
9155 * time/strptime_l.c (__strptime_internal): Allow modifiers
9156 in strptime.
9157 * time/tst-strptime.c (day_tests): Add testcase.
9158
ecaf142d
SP
91592013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9160
9161 * scripts/bench.pl: Skip over blank lines.
9162
fbf964ae
PE
91632013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9164
9165 [BZ #926]
9166 * manual/time.texi (Calendar Time): Clarify what timezone functions
9167 use.
9168
fa60a674
AZ
91692013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9170
9171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9172
d674f0ef
OB
91732013-12-04 Ondřej Bílka <neleai@seznam.cz>
9174
9175 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9176 implementation.
9177 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9178 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9179 * debug/memset_chk.c (__memset_chk): Likewise.
9180 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9181 * debug/strncpy_chk.c: Likewise.
9182
17dea188
JM
91832013-12-03 Joseph Myers <joseph@codesourcery.com>
9184
749008ff
JM
9185 [BZ #15268]
9186 [BZ #15425]
9187 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9188 (__ieee754_exp): For possibly underflowing results, check size of
9189 result and force underflow exception if required.
9190 * math/auto-libm-test-in: Add more tests of exp.
9191 * math/auto-libm-test-out: Regenerated.
9192 * sysdeps/i386/fpu/libm-test-ulps: Update.
9193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9194
17dea188
JM
9195 [BZ #16283]
9196 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9197 * math/w_exp2f.c (__exp2f): Likewise.
9198 * math/w_exp2l.c (__exp2l): Likewise.
9199 * math/auto-libm-test-in: Do not allow missing errno on exp2
9200 underflow.
9201 * math/auto-libm-test-out: Regenerated.
9202
b20de2c3
OB
92032013-12-03 Ondřej Bílka <neleai@seznam.cz>
9204
9205 [BZ #16274]
9206 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9207 handle filename validation.
9208 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9209 (do_open): Delete.
9210
d8e2dbe3
JM
92112013-12-03 Joseph Myers <joseph@codesourcery.com>
9212
34e16df5
JM
9213 [BZ #6786]
9214 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9215 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9216 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9217 <float.h>.
9218 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9219 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9220 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9222 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9224 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9225 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9226 Add more erfc tests.
9227 * math/auto-libm-test-out: Regenerated.
9228 * sysdeps/i386/fpu/libm-test-ulps: Update.
9229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9230
d8e2dbe3
JM
9231 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9232 exp2, expm1, j0 and j1.
9233 * math/auto-libm-test-out: Regenerated.
9234 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9235 (erfc_test_data): Likewise.
9236 (exp_test_data): Likewise.
9237 (exp_tonearest_test_data): Likewise.
9238 (exp_towardzero_test_data): Likewise.
9239 (exp_downward_test_data): Likewise.
9240 (exp_upward_test_data): Likewise.
9241 (exp10_test_data): Likewise.
9242 (exp2_test_data): Likewise.
9243 (expm1_test_data): Likewise.
9244 (j0_test_data): Likewise.
9245 (j1_test_data): Likewise.
9246 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9247 (input_flag_type): Add flag_xfail_rounding.
9248 (input_flags): Add xfail-rounding.
9249 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9250 (output_for_one_input_case): Handle flag_xfail_rounding.
9251 * sysdeps/i386/fpu/libm-test-ulps: Update.
9252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9253
18d14251
AJ
92542013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9255
3d2e6075 9256 [BZ #16289]
18d14251
AJ
9257 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9258 division by 0.
9259
520d437b
SP
92602013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9261
9262 [BZ #16195]
9263 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9264 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9265 (STAP_PROBE0): New macro.
9266 (STAP_PROBE1): Likewise.
9267 (STAP_PROBE2): Likewise.
9268 (STAP_PROBE3): Likewise.
9269 (STAP_PROBE4): Likewise.
9270
416e0145
OB
92712013-12-02 Ondřej Bílka <neleai@seznam.cz>
9272
9273 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9274
9d17796a
SE
92752013-12-02 Steve Ellcey <sellcey@mips.com>
9276
9277 * benchtests/Makefile (bench): Add sqrt.
9278 (LDLIBS-bench-sqrt): New.
9279 * benchtests/sqrt-input: New.
9280
f524d6a8
PS
92812013-12-02 Pavel Simerda <psimerda@redhat.com>
9282
639a0ef8
PS
9283 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9284 (GAIH_EAI): Likewise.
9285 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9286 (gaih_inet): Likewise.
9287 (getaddrinfo): Don't use GAIH_EAI.
9288
f524d6a8
PS
9289 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9290 (struct gaih): Remove definition.
9291
df3aedaf
SP
92922013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9293
9294 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9295 Use HERRNOP directly.
9296
1ab19dec
AZ
92972013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9298
b42ad38d 9299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9300
176b0c79
JM
93012013-11-30 Joseph Myers <joseph@codesourcery.com>
9302
9303 * math/gen-auto-libm-tests.c (test_functions): Add more
9304 single-argument functions.
9305 (special_fill_pi_2): New function.
9306 (special_fill_minus_pi_2): Likewise.
9307 (special_fill_pi_6): Likewise.
9308 (special_fill_minus_pi_6): Likewise.
9309 (special_fill_pi_3): Likewise.
9310 (special_fill_2pi_3): Likewise.
9311 (special_fill_e): Likewise.
9312 (special_fill_1_e): Likewise.
9313 (special_fill_e_minus_1): Likewise.
9314 (special_real_inputs): Add more special inputs.
9315 (output_for_one_input_case): Do not require ERANGE on underflow to
9316 zero if round-to-nearest result does not underflow to zero, unless
9317 exact results required.
9318 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9319 atan, atanh, cbrt, cos and cosh.
9320 * math/auto-libm-test-out: Regenerated.
9321 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9322 (acos_tonearest_test_data): Likewise.
9323 (acos_towardzero_test_data): Likewise.
9324 (acos_downward_test_data): Likewise.
9325 (acos_upward_test_data): Likewise.
9326 (acosh_test_data): Likewise.
9327 (asin_test_data): Likewise.
9328 (asin_tonearest_test_data): Likewise.
9329 (asin_towardzero_test_data): Likewise.
9330 (asin_upward_test_data): Likewise.
9331 (asinh_test_data): Likewise.
9332 (atan_test_data): Likewise.
9333 (atanh_test_data): Likewise.
9334 (cbrt_test_data): Likewise.
9335 (cos_test_data): Likewise.
9336 (cos_tonearest_test_data): Likewise.
9337 (cos_towardzero_test_data): Likewise.
9338 (cos_downward_test_data): Likewise.
9339 (cos_upward_test_data): Likewise.
9340 (cosh_test_data): Likewise.
9341 (cosh_tonearest_test_data): Likewise.
9342 (cosh_towardzero_test_data): Likewise.
9343 (cosh_downward_test_data): Likewise.
9344 (cosh_upward_test_data): Likewise.
9345 * sysdeps/i386/fpu/libm-test-ulps: Update.
9346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9347
ffb536d0
JM
93482013-11-29 Joseph Myers <joseph@codesourcery.com>
9349
2a77a467
JM
9350 [BZ #6787]
9351 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9352 * math/w_exp10f.c (__exp10f): Likewise.
9353 * math/w_exp10l.c (__exp10l): Likewise.
9354 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9355 errno settings in existing tests.
9356
ea3bc4e8
JM
9357 [BZ #14032]
9358 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9359 precision control set to double precision.
9360 * sysdeps/i386/fpu/w_sqrt.c: New file.
9361 * math/auto-libm-test-in: Add more tests.
9362 * math/auto-libm-test-out: Update.
9363
0712c9d8
JM
9364 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9365 (sqrt_test_tonearest): New function.
9366 (sqrt_towardzero_test_data): New variable.
9367 (sqrt_test_towardzero): New function.
9368 (sqrt_downward_test_data): New variable.
9369 (sqrt_test_downward): New function.
9370 (sqrt_upward_test_data): New variable.
9371 (sqrt_test_upward): New function.
9372 (main): Call the new functions.
9373
ffb536d0
JM
9374 * math/gen-auto-libm-tests.c: New file.
9375 * math/auto-libm-test-in: Likewise.
9376 * math/auto-libm-test-out: New generated file.
9377 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9378 variables.
9379 (%beautify): Add generated representations of zero.
9380 (top level): Set $auto_input and call parse_auto_input.
9381 (beautify): Remove trailing "f" from hex float constants.
9382 (parse_args): Handle XFAIL_TEST.
9383 (convert_condition): New function.
9384 (or_value): Likewise.
9385 (or_cond_value): Likewise.
9386 (generate_testfile): Handle AUTO_TESTS_* lines.
9387 (parse_auto_input): New function.
9388 * math/libm-test.inc (XFAIL_TEST): New macro.
9389 (ERRNO_UNCHANGED): Update value.
9390 (ERRNO_EDOM): Likewise.
9391 (ERRNO_ERANGE): Likewise.
9392 (IGNORE_RESULT): Likewise.
9393 (TEST_COND_flt_32): New macro.
9394 (TEST_COND_dbl_64): Likewise.
9395 (TEST_COND_ldbl_96_intel): Likewise.
9396 (TEST_COND_ldbl_96_m68k): Likewise.
9397 (TEST_COND_ldbl_128): Likewise.
9398 (TEST_COND_ldbl_128ibm): Likewise.
9399 (TEST_COND_long32): Likewise.
9400 (TEST_COND_long64): Likewise.
9401 (TEST_COND_before_rounding): Likewise.
9402 (TEST_COND_after_rounding): Likewise.
9403 (enable_test): Handle XFAIL_TEST flag.
9404 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9405 with finite results.
9406 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9407 auto-libm-test-out.
9408
acd98a8e
AK
94092013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9410 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9411
9412 [BZ #16214]
9413 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9414 __tls_get_addr_internal instead of __tls_get_offset in order to
9415 avoid GOT pointer dependency. Make rtld export
9416 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9417 __tls_get_addr since we are a __tls_get_offset platform.
9418 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9419 GOT pointer being set up before.
9420 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9421
3c1c46a6
JM
94222013-11-28 Joseph Myers <joseph@codesourcery.com>
9423
7475aef5
JM
9424 * manual/math.texi (Errors in Math Functions): Document accuracy
9425 goals.
9426
8bca7cd8
JM
9427 [BZ #15004]
9428 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9429 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9430 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9432 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9433 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9434 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9435 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9436 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9443 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9444
91a1f3fe
JM
9445 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9446 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9447 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9448 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9449 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9450 Likewise.
9451 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9452 Likewise.
9453 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9454 Likewise.
9455 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9456 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9457 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9458 atomic-feupdateenv and flt-rounds.
9459 * sysdeps/powerpc/nofpu/Versions (libc): Add
9460 __atomic_feholdexcept, __atomic_feclearexcept,
9461 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9462 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9463 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9464 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9465 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9466 here.
9467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9468 Update.
9469
c5df7609
JM
9470 * manual/arith.texi (FP Exceptions): Document that exceptions may
9471 not be raised when matherr is used.
9472 (Math Error Reporting): Document overflow in directed rounding
9473 modes. Document that errno may not be set when finite values are
9474 returned on overflow. Document intent to set errno on underflow
9475 only for underflow to zero.
9476
3c1c46a6
JM
9477 [BZ #16271]
9478 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9479 round-to-nearest then adjust result for other rounding modes.
9480 * include/fenv.h (fegetround): Use libm_hidden_proto.
9481 * math/fegetround.c (fegetround): Use libm_hidden_def.
9482 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9483 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9484 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9485 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9486 Likewise.
9487 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9488 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9489 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9490 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9491
5a4c6d53
SP
94922013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9493
9494 [BZ #16077]
9495 * nss/Versions (libnss_files): Add
9496 _nss_files_gethostbyname3_r.
9497 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9498 New function.
9499 (HOST_DB_LOOKUP): Remove macro.
9500 (_nss_files_gethostbyname_r): Implement function without the
9501 HOST_DB_LOOKUP macro.
9502 (_nss_files_gethostbyname2_r): Likewise.
9503
897b98ba
OB
95042013-11-28 Ondřej Bílka <neleai@seznam.cz>
9505
9506 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9507
6f476861
UB
95082013-11-26 Uros Bizjak <ubizjak@gmail.com>
9509
9510 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9511 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9512 warning.
9513
bd12ab55
AZ
95142013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9515
9516 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9517 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9518 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9519 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9520 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9521 __fe_nomask_env_priv and attribute_hidden.
9522 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9523 (libc_feupdateenv_test_ppc): Likewise.
9524 (libc_feresetround_ppc): Likewise.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9526 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9527 compat_symbol macro.
9528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9529 (__fe_nomask_env): Likewise.
9530 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9531
52bb6543
OB
95322013-11-26 Ondřej Bílka <neleai@seznam.cz>
9533
9534 * string/Makefile: Remove ifunc tests.
9535 * string/test-string.h: Define TEST_IFUNC.
9536 * string/test-bcopy-ifunc.c: Remove.
9537 * string/test-bzero-ifunc.c: Likewise.
9538 * string/test-memccpy-ifunc.c: Likewise.
9539 * string/test-memchr-ifunc.c: Likewise.
9540 * string/test-memcmp-ifunc.c: Likewise.
9541 * string/test-memcpy-ifunc.c: Likewise.
9542 * string/test-memmem-ifunc.c: Likewise.
9543 * string/test-memmove-ifunc.c: Likewise.
9544 * string/test-mempcpy-ifunc.c: Likewise.
9545 * string/test-memrchr-ifunc.c: Likewise.
9546 * string/test-memset-ifunc.c: Likewise.
9547 * string/test-rawmemchr-ifunc.c: Likewise.
9548 * string/test-stpcpy-ifunc.c: Likewise.
9549 * string/test-stpncpy-ifunc.c: Likewise.
9550 * string/test-strcasecmp-ifunc.c: Likewise.
9551 * string/test-strcasestr-ifunc.c: Likewise.
9552 * string/test-strcat-ifunc.c: Likewise.
9553 * string/test-strchr-ifunc.c: Likewise.
9554 * string/test-strchrnul-ifunc.c: Likewise.
9555 * string/test-strcmp-ifunc.c: Likewise.
9556 * string/test-strcpy-ifunc.c: Likewise.
9557 * string/test-strcspn-ifunc.c: Likewise.
9558 * string/test-strlen-ifunc.c: Likewise.
9559 * string/test-strncasecmp-ifunc.c: Likewise.
9560 * string/test-strncat-ifunc.c: Likewise.
9561 * string/test-strncmp-ifunc.c: Likewise.
9562 * string/test-strncpy-ifunc.c: Likewise.
9563 * string/test-strnlen-ifunc.c: Likewise.
9564 * string/test-strpbrk-ifunc.c: Likewise.
9565 * string/test-strrchr-ifunc.c: Likewise.
9566 * string/test-strspn-ifunc.c: Likewise.
9567 * string/test-strstr-ifunc.c: Likewise.
9568
ab260039 95692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9570
9571 * benchtests/Makefile: Remove ifunc tests.
9572 * benchtests/bench-string.h: Define TEST_IFUNC.
9573 * benchtests/bench-bcopy-ifunc.c: Remove.
9574 * benchtests/bench-bzero-ifunc.c: Likewise.
9575 * benchtests/bench-memccpy-ifunc.c: Likewise.
9576 * benchtests/bench-memchr-ifunc.c: Likewise.
9577 * benchtests/bench-memcmp-ifunc.c: Likewise.
9578 * benchtests/bench-memcpy-ifunc.c: Likewise.
9579 * benchtests/bench-memmem-ifunc.c: Likewise.
9580 * benchtests/bench-memmove-ifunc.c: Likewise.
9581 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9582 * benchtests/bench-memrchr-ifunc.c: Likewise.
9583 * benchtests/bench-memset-ifunc.c: Likewise.
9584 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9585 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9586 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9587 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9588 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9589 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9590 * benchtests/bench-strcat-ifunc.c: Likewise.
9591 * benchtests/bench-strchr-ifunc.c: Likewise.
9592 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9593 * benchtests/bench-strcmp-ifunc.c: Likewise.
9594 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9595 * benchtests/bench-strcpy-ifunc.c: Likewise.
9596 * benchtests/bench-strcspn-ifunc.c: Likewise.
9597 * benchtests/bench-strlen-ifunc.c: Likewise.
9598 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9599 * benchtests/bench-strncat-ifunc.c: Likewise.
9600 * benchtests/bench-strncmp-ifunc.c: Likewise.
9601 * benchtests/bench-strncpy-ifunc.c: Likewise.
9602 * benchtests/bench-strnlen-ifunc.c: Likewise.
9603 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9604 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9605 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9606 * benchtests/bench-strspn-ifunc.c: Likewise.
9607 * benchtests/bench-strstr-ifunc.c: Likewise.
9608
96092013-11-26 Ondřej Bílka <neleai@seznam.cz>
9610
ab260039
OB
9611 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9612
d1d9eaf4 96132013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9614
d1d9eaf4
OB
9615 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9616 * rt/aio.h: Likewise.
9617 * sysdeps/gnu/bits/utmp.h: Likewise.
9618 * sysdeps/gnu/bits/utmpx.h: Likewise.
9619 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9620 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9621 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9622 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9623 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9624 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9625 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9626 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9627 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9628 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9629 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9630 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9631 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9633 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9634 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9635 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9636 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9637 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9638 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9639 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9640 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9641 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9642 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9643 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9645 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9646 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9648 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9649 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9650 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9651 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9652 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9653 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9654 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9655 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9656 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9657 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9658 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9659 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9660 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9661
a7624ed9
CD
96622013-11-25 Carlos O'Donell <carlos@redhat.com>
9663
9664 [BZ #16245]
9665 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9666 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9667
63cfe52b
JM
96682013-11-25 Joseph Myers <joseph@codesourcery.com>
9669
9670 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9671 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9672 Likewise.
9673
41e8926a
AZ
96742013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9675
9676 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9677 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9678 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9679 (__fesetround): Remove define.
9680 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9681 rounding and exceptions handling.
9682 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9683 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9684 (__fe_nomask_env): Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9686 __fegetround instead of fegetround.
9687 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9689
6851bd4d
RM
96902013-11-21 Roland McGrath <roland@hack.frob.com>
9691
070906ff
RM
9692 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9693 it's there.
9694
6851bd4d
RM
9695 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9696
84ae135d
MI
96972013-11-21 Meador Inge <meadori@codesourcery.com>
9698
9699 [BZ #11157]
9700 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9701 (encrypt_r): Likewise.
9702 * malloc/obstack.h (obstack_free): Likewise.
9703 * posix/unistd.h (encrypt): Likewise.
9704
daf75146
GM
97052013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9706
9707 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9708 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9709 DL_CALL_DT_FINI() that call the functions directly.
9710 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9711 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9712 * elf/dl-fini.c: Likewise.
9713
10ad46bc
OB
97142013-11-20 Ondřej Bílka <neleai@seznam.cz>
9715
9716 * malloc/hooks.c (memalign_check): Add alignment rounding.
9717 * malloc/malloc.c (_mid_memalign): New function.
9718 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9719 Implement by calling _mid_memalign.
9720 * manual/probes.texi (Memory Allocation Probes): Remove
9721 memory_valloc_retry and memory_pvalloc_retry.
9722
f3fd2628
SP
97232013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9724
4712799f
SP
9725 * locale/programs/locarchive.c (open_archive): Add const
9726 qualifier to ARCHIVEFNAME and copy default fname to
9727 DEFAULT_FNAME.
9728
0417b20f
SP
9729 [BZ #15601]
9730 * libio/tst-widetext.input: Rename Oriya to Odia.
9731 * locale/iso-639.def: Likewise.
9732
f3fd2628
SP
9733 * manual/probes.texi (Mathematical Function Probes): Add
9734 documentation for sin, cos, asin and acos probes.
9735 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9736 (__sin32): Add slowasin probe.
9737 (__cos32): Add slowacos probe.
9738 (__mpsin): Add slowsin probe.
9739 (__mpcos): Add slowcos probe.
9740
73c1ce4f
JM
97412013-11-19 Joseph Myers <joseph@codesourcery.com>
9742
9743 [BZ #15483]
9744 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9745 thread-local __sim_exceptions_thread and global
9746 __sim_exceptions_global.
9747 (__sim_disabled_exceptions): Change to thread-local
9748 __sim_disabled_exceptions_thread and global
9749 __sim_disabled_exceptions_global.
9750 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9751 and global __sim_round_mode_global.
9752 (__simulate_exceptions): Use thread-local floating-point state and
9753 set global state from it as needed.
9754 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9755 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9756 __sim_round_mode_thread.
9757 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9758 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9759 and global __sim_exceptions_global.
9760 (__sim_disabled_exceptions): Change to thread-local
9761 __sim_disabled_exceptions_thread and global
9762 __sim_disabled_exceptions_global.
9763 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9764 and global __sim_round_mode_global.
9765 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9766 (SIM_SET_GLOBAL): Likewise.
9767 * sysdeps/powerpc/soft-fp/sfp-machine.h
9768 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9769 __sim_round_mode_thread.
9770 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9771 __sim_disabled_exceptions_thread.
9772 (__sim_exceptions): Change to __sim_exceptions_thread.
9773 (__sim_disabled_exceptions): Change to
9774 __sim_disabled_exceptions_thread.
9775 (__sim_round_mode): Change to __sim_round_mode_thread.
9776 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9777 thread-local floating-point state and set global state from it as
9778 needed.
9779 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9780 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9781 (__sim_disabled_exceptions): Remove extern declaration.
9782 (feenableexcept): Use thread-local floating-point state and set
9783 global state from it as needed.
9784 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9785 extern declaration.
9786 (__sim_disabled_exceptions): Likewise.
9787 (__sim_round_mode): Likewise.
9788 (__fegetenv): Use thread-local floating-point state.
9789 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9790 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9791 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9792 floating-point state and set global state from it as needed.
9793 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9794 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9795 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9796 Likewise.
9797 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9798 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9799 Likewise.
9800 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9801 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9802 Use __sim_round_mode_thread.
9803 * math/test-fenv-tls.c: New file.
9804 * math/Makefile (tests): Add test-fenv-tls.
9805 ($(objpfx)test-fenv-tls): Depend on
9806 $(common-objpfx)nptl/libpthread.so.
9807
b5449b12
AS
98082013-11-19 Andreas Schwab <schwab@suse.de>
9809
9810 * locale/programs/locale.c (show_info): Decode wordarray elements.
9811 * locale/categories.def (LC_MONETARY): Add element for
9812 _NL_MONETARY_CRNCYSTR.
9813 * locale/C-monetary.c (conversion_rate): New variable.
9814 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9815 element.
9816
e186536b
CM
98172013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9818
9819 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9820 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9821
5c349950
PP
98222013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9823
9824 * elf/Makefile (tst-auxv): New test.
9825 * elf/tst-auxv.c: New
9826 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9827
699df45b
JM
98282013-11-18 Joseph Myers <joseph@codesourcery.com>
9829
9830 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9831 (hidden_proto): Caller changed.
9832 (hidden_tls_proto): New macro.
9833 (libc_hidden_tls_proto): Likewise.
9834 (rtld_hidden_tls_proto): Likewise.
9835 (libm_hidden_tls_proto): Likewise.
9836 (libresolv_hidden_tls_proto): Likewise.
9837 (librt_hidden_tls_proto): Likewise.
9838 (libdl_hidden_tls_proto): Likewise.
9839 (libnss_files_hidden_tls_proto): Likewise.
9840 (libnsl_hidden_tls_proto): Likewise.
9841 (libnss_nisplus_hidden_tls_proto): Likewise.
9842 (libutil_hidden_tls_proto): Likewise.
9843
b7589107
OB
98442013-11-18 Ondřej Bílka <neleai@seznam.cz>
9845
9846 [BZ #10253]
9847 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9848 (decompose_rpath): Defer expansion to fillin_rpath.
9849 (_dl_init_paths): Pass linkmap to fillin_rpath.
9850
250c23bd
RS
98512013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9852
9853 * benchtests/Makefile: Add strsep.
9854 * benchtests/bench-strsep.c: New file: strsep benchtest.
9855 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9856
a7931fcf
AS
98572013-11-18 Andreas Schwab <schwab@suse.de>
9858
9859 * locale/programs/locale.c (show_info) [case byte]: Check for
9860 '\377' instead of '\177'.
9861 * locale/C-monetary.c (not_available): Always use "\377".
9862 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9863 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9864 detect unavailable sign_posn locale elements.
9865 * locale/localeconv.c (__localeconv): For grouping and
9866 mon_grouping handle "\177" and "\377" like no grouping.
9867 (INT_ELEM): New macro. Use it to set all numeric members.
9868 * locale/programs/ld-monetary.c (monetary_read)
9869 <tok_mon_grouping>: Normalize single -1 to the empty string.
9870 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9871 Likewise.
9872
728dab0e
OB
98732013-11-07 Ondřej Bílka <neleai@seznam.cz>
9874
9875 [BZ #16055]
9876 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9877 when we match (nil).
9878 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9879
66294491
JM
98802013-11-16 Joseph Myers <joseph@codesourcery.com>
9881
ce665817
JM
9882 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9883 (NO_TEST_INLINE): Update value.
9884 (ERRNO_UNCHANGED): Likewise.
9885 (ERRNO_EDOM): Likewise.
9886 (ERRNO_ERANGE): Likewise.
9887 (IGNORE_RESULT): Likewise.
9888 (check_float_internal): Check signs of NaN results if
9889 TEST_NAN_SIGN used.
9890 (check_complex): Pass TEST_NAN_SIGN flag through to second
9891 check_float_internal call.
9892 (copysign_test_data): Add tests with quiet NaNs as second
9893 argument. Use TEST_NAN_SIGN.
9894 (fabs_test_data): Add test of negative quiet NaN argument. Use
9895 TEST_NAN_SIGN.
9896 (signbit_test_data): Add tests of quiet NaN argument.
9897 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9898
ee1466a9
JM
9899 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9900 $ignore_result.
9901 (parse_args): Handle function results specified as IGNORE.
9902 * math/libm-test.inc (IGNORE_RESULT): New macro.
9903 (check_float_internal): Do not check numerical result if flag
9904 IGNORE_RESULT set.
9905 (check_complex): Pass through IGNORE_RESULT to second
9906 check_float_internal call.
9907 (check_int): Do not check numerical result if flag IGNORE_RESULT
9908 set.
9909 (check_long): Likewise.
9910 (check_bool): Likewise.
9911 (check_longlong): Likewise.
9912 (lrint_test_data): Add tests of infinite and NaN arguments.
9913 (lrint_tonearest_test_data): Likewise.
9914 (lrint_towardzero_test_data): Likewise.
9915 (lrint_downward_test_data): Likewise.
9916 (lrint_upward_test_data): Likewise.
9917 (llrint_test_data): Likewise.
9918 (llrint_tonearest_test_data): Likewise.
9919 (llrint_towardzero_test_data): Likewise.
9920 (llrint_downward_test_data): Likewise.
9921 (llrint_upward_test_data): Likewise.
9922 (lround_test_data): Likewise.
9923 (llround_test_data): Likewise.
9924
14407b7e
JM
9925 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9926 (ERRNO_UNCHANGED): Update value.
9927 (ERRNO_EDOM): Likewise.
9928 (ERRNO_ERANGE): Likewise.
9929 (NO_TEST_INLINE_FLOAT): New macro.
9930 (NO_TEST_INLINE_DOUBLE): Likewise.
9931 (enable_test): New function.
9932 (RUN_TEST_f_f): Check enable_test before running test.
9933 (RUN_TEST_2_f): Likewise.
9934 (RUN_TEST_fff_f): Likewise.
9935 (RUN_TEST_c_f): Likewise.
9936 (RUN_TEST_f_f1): Likewise.
9937 (RUN_TEST_fF_f1): Likewise.
9938 (RUN_TEST_fI_f1): Likewise.
9939 (RUN_TEST_ffI_f1): Likewise.
9940 (RUN_TEST_c_c): Likewise.
9941 (RUN_TEST_cc_c): Likewise.
9942 (RUN_TEST_f_i): Likewise.
9943 (RUN_TEST_f_i_tg): Likewise.
9944 (RUN_TEST_ff_i_tg): Likewise.
9945 (RUN_TEST_f_b): Likewise.
9946 (RUN_TEST_f_b_tg): Likewise.
9947 (RUN_TEST_f_l): Likewise.
9948 (RUN_TEST_f_L): Likewise.
9949 (RUN_TEST_fFF_11): Likewise.
9950 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9951 conditionals.
9952 (cosh_test_data): Likewise.
9953 (exp_test_data): Likewise.
9954 (expm1_test_data): Likewise.
9955 (hypot_test_data): Likewise.
9956 (pow_test_data): Likewise.
9957 (sinh_test_data): Likewise.
9958 (tanh_test_data): Likewise.
9959 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9960 flags argument.
9961
ca07f197
JM
9962 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9963 tests with quiet NaN input and output.
9964 (acosh_test_data): Likewise.
9965 (asin_test_data): Likewise.
9966 (asinh_test_data): Likewise.
9967 (atan_test_data): Likewise.
9968 (atanh_test_data): Likewise.
9969 (atan2_test_data): Likewise.
9970 (cbrt_test_data): Likewise.
9971 (cos_test_data): Likewise.
9972 (cosh_test_data): Likewise.
9973 (erf_test_data): Likewise.
9974 (erfc_test_data): Likewise.
9975 (exp_test_data): Likewise.
9976 (exp10_test_data): Likewise.
9977 (exp2_test_data): Likewise.
9978 (expm1_test_data): Likewise.
9979 (hypot_test_data): Likewise.
9980 (j0_test_data): Likewise.
9981 (j1_test_data): Likewise.
9982 (jn_test_data): Likewise.
9983 (lgamma_test_data): Likewise.
9984 (log_test_data): Likewise.
9985 (log10_test_data): Likewise.
9986 (log1p_test_data): Likewise.
9987 (log2_test_data): Likewise.
9988 (pow_test_data): Likewise.
9989 (scalb_test_data): Likewise.
9990 (sin_test_data): Likewise.
9991 (sincos_test_data): Likewise.
9992 (sinh_test_data): Likewise.
9993 (tan_test_data): Likewise.
9994 (tanh_test_data): Likewise.
9995 (tgamma_test_data): Likewise.
9996 (y0_test_data): Likewise.
9997 (y1_test_data): Likewise.
9998 (yn_test_data): Likewise.
9999
66294491
JM
10000 [BZ #16167]
10001 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10002 argument being NaN and avoid computations with second argument in
10003 that case.
10004 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10005 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10006 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10007
1820b143
CL
100082013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10009
10010 * locale/iso-639.def: Add Chitwani Tharu (the).
10011
714bd261
AS
100122013-11-14 Andreas Schwab <schwab@suse.de>
10013
10014 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10015 word instead of empty string.
10016
7ab44563
AZ
100172013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10018
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10020 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10022 (__fe_nomask_env): Likewise.
10023
e8470ea2
SE
100242013-11-13 Steve Ellcey <sellcey@mips.com>
10025
10026 * benchtests/bench-timing.h: Include time.h.
10027
17c1d9f0
L
100282013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10029
10030 [BZ #15997]
10031 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10032 to 3.4.0 for x32.
10033 * sysdeps/unix/sysv/linux/configure: Regenerated.
10034
9310c284
JM
100352013-11-13 Joseph Myers <joseph@codesourcery.com>
10036
10037 [BZ #16151]
10038 * stdlib/strtod_l.c (round_and_return): Do not consider
10039 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10040 exponent one less than half the least subnormal exponent.
10041 * stdlib/test-strtod-round-data: Add more tests.
10042 * stdlib/tst-strtod-round.c (tests): Regenerated.
10043
7a2ad8cf
AZ
100442013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10045
10046 [BZ #14143]
10047 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10048 (__fe_mask_env): Likewise.
10049 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10050 libm_hidden_proto and add function prototype.
10051 (__fe_mask_env): Add function prototype.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10053 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10055 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10057 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10058
50727aa7
MS
100592013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10060
b2f386c1 10061 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10062 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10063
a615be46
MS
100642013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10065
10066 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10067 of htab_find_slot().
10068
7ddace62
DM
100692013-11-11 David S. Miller <davem@davemloft.net>
10070
10071 [BZ #16150]
10072 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10073 symbol in the non-vis3 case in static builds.
10074 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10075 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10076 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10077 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10078
9182aa67
JK
100792013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10080
10081 [BZ #387]
10082 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10083 it is empty.
10084
450a2e2d
AZ
100852013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10086
b2f386c1
SP
10087 * benchtests/Makefile: Add bench-strtod.
10088 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10089
8ec3f656
AS
100902013-11-11 Andreas Schwab <schwab@suse.de>
10091
10092 [BZ #16153]
10093 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10094 terminating NUL in key length.
10095
76a9b998
AZ
100962013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10097
10098 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10099 Add artificial ODP entry for vDSO symbol for PPC64.
10100 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10101 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10102
e4368156
OB
101032013-11-07 Ondřej Bílka <neleai@seznam.cz>
10104
10105 [BZ #15374]
10106 * nss/getent.c (services_keys): Recognize services starting with digit.
10107
8d6bb57c
DM
101082013-11-06 David S. Miller <davem@davemloft.net>
10109
10110 [BZ #15985]
10111 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10112 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10113
e256c421
WN
101142013-11-06 Will Newton <will.newton@linaro.org>
10115
10116 * manual/memory.texi (Malloc Examples): Remove register
10117 keyword from examples.
10118
f6e12daa 101192013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10120
f6e12daa 10121 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10122
9d880655
AS
101232013-11-04 Joseph Myers <joseph@codesourcery.com>
10124
fd2f9486 10125 [BZ #6981]
9d880655
AS
10126 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10127 depending on [__GCC_IEC_559 > 0].
10128 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10129 depending on [__GCC_IEC_559_COMPLEX > 0].
10130
ae129d3c
CL
101312013-11-03 Chris Leonard <cjl@sugarlabs.org>
10132
10133 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10134 to iso-639.def.
10135
4a15c2a4 101362013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10137
10138 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10139
8b35e35d
OB
101402013-11-01 Ondřej Bílka <neleai@seznam.cz>
10141
10142 [BZ #16112]
10143 * malloc/malloc (malloc_info): Do not handle first bin as
10144 special case.
10145
1d70fd6c
CL
101462013-11-01 Chris Leonard <cjl@sugarlabs.org>
10147
10148 * locale/iso-639.def: Add Central Nahuatl (nhn).
10149
8c5c2600
BH
101502013-11-01 Bruno Haible <bruno@clisp.org>
10151
10152 [BZ #7003]
10153 * manual/math.texi (BSD Random): Specify range upper bound as
10154 in POSIX.
10155
da5579c2
CL
101562013-10-31 Chris Leonard <cjl@sugarlabs.org>
10157
10158 * locale/iso-639.def: Add Meadow Mari (mhr).
10159
5d30d853
OB
101602013-10-31 Ondřej Bílka <neleai@seznam.cz>
10161
10162 [BZ #14752], [BZ #15763]
10163 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10164 Validate name.
10165 * rt/tst_shm.c: Add test for escaping directory.
10166
a4966c61
AS
101672013-10-31 Andreas Schwab <schwab@suse.de>
10168
8a43e768 10169 [BZ #15917]
a4966c61
AS
10170 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10171 followed by 'x' as part of digit sequence.
10172 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10173
28d708c4
MAP
101742013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10175
10176 [BZ #16037]
10177 * configure.ac: allow GNU Make 4.0 and greater.
10178 * configure: Regenerated.
10179
a56ee40b
WN
101802013-10-30 Will Newton <will.newton@linaro.org>
10181
10182 [BZ #16038]
10183 * malloc/hooks.c (memalign_check): Limit alignment to the
10184 maximum representable power of two.
10185 * malloc/malloc.c (__libc_memalign): Likewise.
10186 * malloc/tst-memalign.c (do_test): Add test for very
10187 large alignment values.
10188 * malloc/tst-posix_memalign.c (do_test): Likewise.
10189
c6e4925d
OB
101902013-10-30 Ondřej Bílka <neleai@seznam.cz>
10191
10192 [BZ #11087]
10193 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10194 (munmap_chunk): Likewise.
10195 (mremap_chunk): Likewise.
10196
101972013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10198
8a43e768 10199 [BZ #15799]
bbea82f7
OB
10200 * stdlib/div.c (div): Remove obsolete code.
10201 * stdlib/ldiv.c (ldiv): Likewise.
10202 * stdlib/lldiv.c (lldiv): Likewise.
10203
977f4b31
SP
102042013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10205
10206 [BZ #16071]
10207 * nss/nss_files/files-XXX.c (get_contents_ret): New
10208 enumerator.
10209 (get_contents): New function.
10210 (internal_getent): Use it. Expand size of LINEBUFLEN.
10211
cb8a6dbd
MF
102122013-10-30 Mike Frysinger <vapier@gentoo.org>
10213
10214 * configure.in: Moved to ...
10215 * configure.ac: ... here. Change reference to configure.in
10216 to configure.ac.
10217 * sysdeps/arm/preconfigure.ac: ... here.
10218 configure.in to configure.ac.
10219 * sysdeps/gnu/configure.in: Moved to ...
10220 * sysdeps/gnu/configure.ac: ... here.
10221 * sysdeps/i386/configure.in: Moved to ...
10222 * sysdeps/i386/configure.ac: ... here.
10223 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10224 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10225 * sysdeps/mach/configure.in: Moved to ...
10226 * sysdeps/mach/configure.ac: ... here.
10227 * sysdeps/mach/hurd/configure.in: Moved to ...
10228 * sysdeps/mach/hurd/configure.ac: ... here.
10229 * sysdeps/powerpc/configure.in: Moved to ...
10230 * sysdeps/powerpc/configure.ac: ... here.
10231 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10232 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10233 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10234 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10235 * sysdeps/s390/s390-32/configure.in: Moved to ...
10236 * sysdeps/s390/s390-32/configure.ac: ... here.
10237 * sysdeps/s390/s390-64/configure.in: Moved to ...
10238 * sysdeps/s390/s390-64/configure.ac: ... here.
10239 * sysdeps/sh/configure.in: Moved to ...
10240 * sysdeps/sh/configure.ac: ... here.
10241 * sysdeps/sparc/configure.in: Moved to ...
10242 * sysdeps/sparc/configure.ac: ... here.
10243 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10244 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10245 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10246 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10247 * sysdeps/x86_64/configure.in: Moved to ...
10248 * sysdeps/x86_64/configure.ac: ... here.
10249 * sysdeps/x86_64/preconfigure.in: Moved to ...
10250 * sysdeps/x86_64/preconfigure.ac: ... here.
10251 * aclocal.m4: Change reference to configure.in to configure.ac.
10252 * config.h.in: Likewise.
10253 * manual/install.texi: Likewise.
10254 * manual/maint.texi: Likewise.
10255 * Makefile: Likewise.
10256 * malloc/Makefile: Likewise.
10257 * nscd/Makefile: Likewise.
10258 * Makeconfig: Change reference to configure.in and
10259 preconfigure.in to configure.ac and preconfigure.ac
10260 respectively.
10261 * INSTALL: Regenerated.
10262 * configure: Likewise.
10263 * sysdeps/gnu/configure: Likewise.
10264 * sysdeps/i386/configure: Likewise.
10265 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10266 * sysdeps/mach/configure: Likewise.
10267 * sysdeps/mach/hurd/configure: Likewise.
10268 * sysdeps/powerpc/configure: Likewise.
10269 * sysdeps/powerpc/powerpc32/configure: Likewise.
10270 * sysdeps/powerpc/powerpc64/configure: Likewise.
10271 * sysdeps/s390/s390-32/configure: Likewise.
10272 * sysdeps/s390/s390-64/configure: Likewise.
10273 * sysdeps/sh/configure: Likewise.
10274 * sysdeps/sparc/configure: Likewise.
10275 * sysdeps/unix/sysv/linux/configure: Likewise.
10276 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10277 * sysdeps/x86_64/configure: Likewise.
10278 * sysdeps/x86_64/preconfigure: Likewise.
10279
36a4953a
AS
102802013-10-29 Andreas Schwab <schwab@suse.de>
10281
10282 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10283
c79a1204
SP
102842013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10285
dfa1b402
SP
10286 * benchtests/pow-inputs: Add new inputs.
10287
54f73d9c
SP
10288 * benchtests/exp-inputs: Add new inputs.
10289
c79a1204
SP
10290 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10291 conditional check for return value.
10292 (__cos32): Likewise.
10293
67beb545 102942013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10295
10296 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10297 to provide a boost for large inputs with word alignment.
10298 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10299 implementation based on optimized PPC64 strcpy.
10300 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10301 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10302 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10303 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10304
151659f6
OB
103052013-10-25 Ondřej Bílka <neleai@seznam.cz>
10306
482a077e 10307 [BZ #2801]
151659f6
OB
10308 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10309
10b0f26b
OB
103102013-10-25 Ondřej Bílka <neleai@seznam.cz>
10311
10312 [BZ #14876]
10313 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10314 * time/tst-strptime.c (day_tests): Add testcase.
10315
ca42d35e
OB
103162013-10-25 Ondřej Bílka <neleai@seznam.cz>
10317
482a077e 10318 [BZ #14029]
ca42d35e
OB
10319 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10320
52e6d801
FB
103212013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10322
10323 [BZ #16074]
10324 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10325 MAP_FAILED on error.
10326
7cbcdb36
SP
103272013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10328
10329 [BZ #16072]
10330 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10331 heap for large requests.
10332
894f3f10
AM
103332013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10334
10335 [BZ #9954]
10336 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10337 result if the result has no associated interface.
10338 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10339 interface for all 127.X.Y.Z addresses.
10340
b85545a6
CL
103412013-10-24 Chris Leonard <cjl@sugarlabs.org>
10342
10343 * locale/iso-639.def: Add Ligurian (lij)
10344
d1f23d46
OB
103452013-10-21 Ondřej Bílka <neleai@seznam.cz>
10346
10347 [BZ #15825]
10348 * sunrpc/rpc_main.c: Document rpcgen -5.
10349
4db5b08f
MS
103502013-10-19 Michael Stahl <mstahl@redhat.com>
10351
10352 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10353
a471e96a
OB
103542013-10-19 Ondřej Bílka <neleai@seznam.cz>
10355
d1f23d46 10356 [BZ #10278]
a471e96a
OB
10357 * posix/glob.c: Match only directories when trailing slash is present.
10358 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10359 (main): Add testcase.
10360
45c30c61
OB
103612013-10-19 Ondřej Bílka <neleai@seznam.cz>
10362
10363 [BZ #15670]
10364 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10365
484c12fb
CD
103662013-10-18 Carlos O'Donell <carlos@redhat.com>
10367
3d7dc513
CD
10368 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10369 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10370 AUTH_DES and cindex for FIPS 140-2.
10371 (DES Encryption): Add cindex FIPS 46-3.
10372
484c12fb
CD
10373 * locale/locarchive.h (struct locarhandle): Add fname.
10374 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10375 if an optional argument was specified to --list-archive,
10376 otherwise NULL.
10377 * locale/programs/locarchive.c (show_archive_content): Take new
10378 argument fname and pass it via ah.fname to open_archive.
10379 * locale/programs/localedef.h: Update decl.
10380 (open_archive): If AH->fname is non-null, open that file
10381 rather than the default file name, and don't ignore ENOENT.
10382 (create_archive): Set AH.fname to NULL.
10383 (delete_locales_from_archive): Likewise.
10384 (add_locales_to_archive): Likewise.
10385 * locale/programs/locfile.c (write_all_categories): Likewise.
10386
3c8325fb
JM
103872013-10-18 Joseph Myers <joseph@codesourcery.com>
10388 Aldy Hernandez <aldyh@redhat.com>
10389
10390 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10391 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10392 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10393 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10394 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10395 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10396 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10397 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10398 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10399 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10400 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10401 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10402 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10403 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10404 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10405 Likewise.
10406 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10407 Likewise.
10408 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10409 Likewise.
10410 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10411 Likewise.
10412 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10413 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10414 Likewise.
10415 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10416 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10417 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10418 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10419 Likewise.
10420 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10421 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10422 * sysdeps/powerpc/preconfigure: Likewise.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10424 Likewise.
10425 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10426 Replace contents of file by #include of <fenv_libc.h>.
10427 * sysdeps/powerpc/soft-fp/sfp-machine.h
10428 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10429 and <sys/prctl.h>.
10430 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10432 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10443 Allow copysignl PLT reference to be missing.
10444
5abe0682
RS
104452013-10-18 Richard Sandiford <richard@codesourcery.com>
10446 Joseph Myers <joseph@codesourcery.com
10447
10448 [BZ #15948]
10449 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10450 single character.
10451 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10452
c7738d08
SP
104532013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10454
10455 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10456 * elf/tst-tls1.c: Likewise.
10457 * elf/tst-tls10.h: Likewise.
10458 * elf/tst-tls14.c: Likewise.
10459 * elf/tst-tls2.c: Likewise.
10460 * elf/tst-tls3.c: Likewise.
10461 * elf/tst-tls4.c: Likewise.
10462 * elf/tst-tls5.c: Likewise.
10463 * elf/tst-tls6.c: Likewise.
10464 * elf/tst-tls7.c: Likewise.
10465 * elf/tst-tls8.c: Likewise.
10466 * elf/tst-tls9.c: Likewise.
10467 * elf/tst-tlsmod1.c: Likewise.
10468 * elf/tst-tlsmod13.c: Likewise.
10469 * elf/tst-tlsmod13a.c: Likewise.
10470 * elf/tst-tlsmod14a.c: Likewise.
10471 * elf/tst-tlsmod16a.c: Likewise.
10472 * elf/tst-tlsmod16b.c: Likewise.
10473 * elf/tst-tlsmod2.c: Likewise.
10474 * elf/tst-tlsmod3.c: Likewise.
10475 * elf/tst-tlsmod4.c: Likewise.
10476 * elf/tst-tlsmod5.c: Likewise.
10477 * elf/tst-tlsmod6.c: Likewise.
10478
0bfcf2c7
OB
104792013-10-18 Ondřej Bílka <neleai@seznam.cz>
10480
10481 [BZ #12486]
10482 * malloc/malloc.c: remove checks for statistics.
10483
264aad1e
OB
104842013-10-17 Ondřej Bílka <neleai@seznam.cz>
10485
10486 [BZ #15277]
10487 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10488 * inet/tst-network.c: Add testcase.
10489
b957ced8
AS
104902013-10-17 Andreas Schwab <schwab@suse.de>
10491
10492 [BZ #15218]
10493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10494 to determine canonical name.
10495
c5d5d574
OB
104962013-10-17 Ondřej Bílka <neleai@seznam.cz>
10497
10498 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10499 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10503 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10504 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10508 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10509 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10510 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10515 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10516 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10522 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10523 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10526 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10527 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10528 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10529 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10530 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10531 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10532 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10533 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10534 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10535 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10536 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10537 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10550 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10551 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10552 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10556
e5c2c2d0
JM
105572013-10-17 Joseph Myers <joseph@codesourcery.com>
10558
10559 [BZ #16041]
10560 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10561 make result into a quiet NaN.
10562
51ca9e29
JM
105632013-10-16 Joseph Myers <joseph@codesourcery.com>
10564
10565 * soft-fp/adddf3.c: Fix horizontal whitespace.
10566 * soft-fp/addsf3.c: Likewise.
10567 * soft-fp/addtf3.c: Likewise.
10568 * soft-fp/divdf3.c: Likewise.
10569 * soft-fp/divsf3.c: Likewise.
10570 * soft-fp/divtf3.c: Likewise.
10571 * soft-fp/double.h: Likewise.
10572 * soft-fp/eqdf2.c: Likewise.
10573 * soft-fp/eqsf2.c: Likewise.
10574 * soft-fp/eqtf2.c: Likewise.
10575 * soft-fp/extenddftf2.c: Likewise.
10576 * soft-fp/extended.h: Likewise.
10577 * soft-fp/extendsfdf2.c: Likewise.
10578 * soft-fp/extendsftf2.c: Likewise.
10579 * soft-fp/extendxftf2.c: Likewise.
10580 * soft-fp/fixdfdi.c: Likewise.
10581 * soft-fp/fixdfsi.c: Likewise.
10582 * soft-fp/fixdfti.c: Likewise.
10583 * soft-fp/fixsfdi.c: Likewise.
10584 * soft-fp/fixsfsi.c: Likewise.
10585 * soft-fp/fixsfti.c: Likewise.
10586 * soft-fp/fixtfdi.c: Likewise.
10587 * soft-fp/fixtfsi.c: Likewise.
10588 * soft-fp/fixtfti.c: Likewise.
10589 * soft-fp/fixunsdfdi.c: Likewise.
10590 * soft-fp/fixunsdfsi.c: Likewise.
10591 * soft-fp/fixunsdfti.c: Likewise.
10592 * soft-fp/fixunssfdi.c: Likewise.
10593 * soft-fp/fixunssfsi.c: Likewise.
10594 * soft-fp/fixunssfti.c: Likewise.
10595 * soft-fp/fixunstfdi.c: Likewise.
10596 * soft-fp/fixunstfsi.c: Likewise.
10597 * soft-fp/fixunstfti.c: Likewise.
10598 * soft-fp/floatdidf.c: Likewise.
10599 * soft-fp/floatdisf.c: Likewise.
10600 * soft-fp/floatditf.c: Likewise.
10601 * soft-fp/floatsidf.c: Likewise.
10602 * soft-fp/floatsisf.c: Likewise.
10603 * soft-fp/floatsitf.c: Likewise.
10604 * soft-fp/floattidf.c: Likewise.
10605 * soft-fp/floattisf.c: Likewise.
10606 * soft-fp/floattitf.c: Likewise.
10607 * soft-fp/floatundidf.c: Likewise.
10608 * soft-fp/floatundisf.c: Likewise.
10609 * soft-fp/floatunditf.c: Likewise.
10610 * soft-fp/floatunsidf.c: Likewise.
10611 * soft-fp/floatunsisf.c: Likewise.
10612 * soft-fp/floatunsitf.c: Likewise.
10613 * soft-fp/floatuntidf.c: Likewise.
10614 * soft-fp/floatuntisf.c: Likewise.
10615 * soft-fp/floatuntitf.c: Likewise.
10616 * soft-fp/fmadf4.c: Likewise.
10617 * soft-fp/fmasf4.c: Likewise.
10618 * soft-fp/fmatf4.c: Likewise.
10619 * soft-fp/gedf2.c: Likewise.
10620 * soft-fp/gesf2.c: Likewise.
10621 * soft-fp/getf2.c: Likewise.
10622 * soft-fp/ledf2.c: Likewise.
10623 * soft-fp/lesf2.c: Likewise.
10624 * soft-fp/letf2.c: Likewise.
10625 * soft-fp/muldf3.c: Likewise.
10626 * soft-fp/mulsf3.c: Likewise.
10627 * soft-fp/multf3.c: Likewise.
10628 * soft-fp/negdf2.c: Likewise.
10629 * soft-fp/negsf2.c: Likewise.
10630 * soft-fp/negtf2.c: Likewise.
10631 * soft-fp/op-1.h: Likewise.
10632 * soft-fp/op-2.h: Likewise.
10633 * soft-fp/op-4.h: Likewise.
10634 * soft-fp/op-8.h: Likewise.
10635 * soft-fp/op-common.h: Likewise.
10636 * soft-fp/quad.h: Likewise.
10637 * soft-fp/single.h: Likewise.
10638 * soft-fp/soft-fp.h: Likewise.
10639 * soft-fp/sqrtdf2.c: Likewise.
10640 * soft-fp/sqrtsf2.c: Likewise.
10641 * soft-fp/sqrttf2.c: Likewise.
10642 * soft-fp/subdf3.c: Likewise.
10643 * soft-fp/subsf3.c: Likewise.
10644 * soft-fp/subtf3.c: Likewise.
10645 * soft-fp/truncdfsf2.c: Likewise.
10646 * soft-fp/trunctfdf2.c: Likewise.
10647 * soft-fp/trunctfsf2.c: Likewise.
10648 * soft-fp/trunctfxf2.c: Likewise.
10649 * soft-fp/unorddf2.c: Likewise.
10650 * soft-fp/unordsf2.c: Likewise.
10651 * soft-fp/unordtf2.c: Likewise.
10652
9ebb0332
JM
106532013-10-15 Joseph Myers <joseph@codesourcery.com>
10654
10655 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10656 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10657
4b1a6d8b
OB
106582013-10-15 Ondřej Bílka <neleai@seznam.cz>
10659
10660 * elf/dl-libc.c: Clear initfini list after freeing.
10661
1e145589
JM
106622013-10-14 Joseph Myers <joseph@codesourcery.com>
10663
10664 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10665 * soft-fp/addsf3.c: Likewise.
10666 * soft-fp/addtf3.c: Likewise.
10667 * soft-fp/divdf3.c: Likewise.
10668 * soft-fp/divsf3.c: Likewise.
10669 * soft-fp/divtf3.c: Likewise.
10670 * soft-fp/double.h: Likewise.
10671 * soft-fp/eqdf2.c: Likewise.
10672 * soft-fp/eqsf2.c: Likewise.
10673 * soft-fp/eqtf2.c: Likewise.
10674 * soft-fp/extenddftf2.c: Likewise.
10675 * soft-fp/extended.h: Likewise.
10676 * soft-fp/extendsfdf2.c: Likewise.
10677 * soft-fp/extendsftf2.c: Likewise.
10678 * soft-fp/extendxftf2.c: Likewise.
10679 * soft-fp/fixdfdi.c: Likewise.
10680 * soft-fp/fixdfsi.c: Likewise.
10681 * soft-fp/fixdfti.c: Likewise.
10682 * soft-fp/fixsfdi.c: Likewise.
10683 * soft-fp/fixsfsi.c: Likewise.
10684 * soft-fp/fixsfti.c: Likewise.
10685 * soft-fp/fixtfdi.c: Likewise.
10686 * soft-fp/fixtfsi.c: Likewise.
10687 * soft-fp/fixtfti.c: Likewise.
10688 * soft-fp/fixunsdfdi.c: Likewise.
10689 * soft-fp/fixunsdfsi.c: Likewise.
10690 * soft-fp/fixunsdfti.c: Likewise.
10691 * soft-fp/fixunssfdi.c: Likewise.
10692 * soft-fp/fixunssfsi.c: Likewise.
10693 * soft-fp/fixunssfti.c: Likewise.
10694 * soft-fp/fixunstfdi.c: Likewise.
10695 * soft-fp/fixunstfsi.c: Likewise.
10696 * soft-fp/fixunstfti.c: Likewise.
10697 * soft-fp/floatdidf.c: Likewise.
10698 * soft-fp/floatdisf.c: Likewise.
10699 * soft-fp/floatditf.c: Likewise.
10700 * soft-fp/floatsidf.c: Likewise.
10701 * soft-fp/floatsisf.c: Likewise.
10702 * soft-fp/floatsitf.c: Likewise.
10703 * soft-fp/floattidf.c: Likewise.
10704 * soft-fp/floattisf.c: Likewise.
10705 * soft-fp/floattitf.c: Likewise.
10706 * soft-fp/floatundidf.c: Likewise.
10707 * soft-fp/floatundisf.c: Likewise.
10708 * soft-fp/floatunsidf.c: Likewise.
10709 * soft-fp/floatunsisf.c: Likewise.
10710 * soft-fp/floatuntidf.c: Likewise.
10711 * soft-fp/floatuntisf.c: Likewise.
10712 * soft-fp/floatuntitf.c: Likewise.
10713 * soft-fp/fmadf4.c: Likewise.
10714 * soft-fp/fmasf4.c: Likewise.
10715 * soft-fp/fmatf4.c: Likewise.
10716 * soft-fp/gedf2.c: Likewise.
10717 * soft-fp/gesf2.c: Likewise.
10718 * soft-fp/getf2.c: Likewise.
10719 * soft-fp/ledf2.c: Likewise.
10720 * soft-fp/lesf2.c: Likewise.
10721 * soft-fp/letf2.c: Likewise.
10722 * soft-fp/muldf3.c: Likewise.
10723 * soft-fp/mulsf3.c: Likewise.
10724 * soft-fp/multf3.c: Likewise.
10725 * soft-fp/negdf2.c: Likewise.
10726 * soft-fp/negsf2.c: Likewise.
10727 * soft-fp/negtf2.c: Likewise.
10728 * soft-fp/op-1.h: Likewise.
10729 * soft-fp/op-2.h: Likewise.
10730 * soft-fp/op-4.h: Likewise.
10731 * soft-fp/op-8.h: Likewise.
10732 * soft-fp/op-common.h: Likewise.
10733 * soft-fp/quad.h: Likewise.
10734 * soft-fp/single.h: Likewise.
10735 * soft-fp/soft-fp.h: Likewise.
10736 * soft-fp/sqrtdf2.c: Likewise.
10737 * soft-fp/sqrtsf2.c: Likewise.
10738 * soft-fp/sqrttf2.c: Likewise.
10739 * soft-fp/subdf3.c: Likewise.
10740 * soft-fp/subsf3.c: Likewise.
10741 * soft-fp/subtf3.c: Likewise.
10742 * soft-fp/truncdfsf2.c: Likewise.
10743 * soft-fp/trunctfdf2.c: Likewise.
10744 * soft-fp/trunctfsf2.c: Likewise.
10745 * soft-fp/trunctfxf2.c: Likewise.
10746 * soft-fp/unorddf2.c: Likewise.
10747 * soft-fp/unordsf2.c: Likewise.
10748 * soft-fp/unordtf2.c: Likewise.
10749
17c48a60
OB
107502013-10-14 Ondřej Bílka <neleai@seznam.cz>
10751
10752 [BZ #15672]
10753 * misc/error.c (error_tail): Fix possible buffer overflow.
10754
cabba934
OB
107552013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10756
10757 [BZ #13028]
10758 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10759 address.
10760
94bf958a
PM
107612013-10-14 P. J. McDermott <pj@pehjota.net>
10762
10763 [BZ #832]
10764 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10765 testing pipefail option.
10766
71b4dea7
JM
107672013-10-12 Joseph Myers <joseph@codesourcery.com>
10768
10769 * soft-fp/double.h: Indent preprocessor directives inside #if.
10770 * soft-fp/extended.h: Likewise.
10771 * soft-fp/op-2.h: Likewise.
10772 * soft-fp/op-4.h: Likewise.
10773 * soft-fp/op-common.h: Likewise.
10774 * soft-fp/quad.h: Likewise.
10775 * soft-fp/single.h: Likewise.
10776 * soft-fp/soft-fp.h: Likewise.
10777
55602758
YC
107782013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10779
10780 * iconv/iconv_prog.c: Fix typos.
10781 * stdio-common/psiginfo-data.h: Likewise.
10782
9cd83302
RT
107832013-10-12 Reuben Thomas <rrt@sc3d.org>
10784
10785 [BZ #15764]
10786 * locale/setlocale.c: Fix typo.
10787
99fd9f47
JM
107882013-10-12 Joseph Myers <joseph@codesourcery.com>
10789
b7ea74f0
JM
10790 [BZ #16036]
10791 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10792 signaling NaN arguments.
10793 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10794 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10795
8a509447
JM
10796 [BZ #14910]
10797 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10798 unordered operands.
10799 * soft-fp/gesf2.c (__gesf2): Likewise.
10800 * soft-fp/getf2.c (__getf2): Likewise.
10801 * soft-fp/ledf2.c (__ledf2): Likewise.
10802 * soft-fp/lesf2.c (__lesf2): Likewise.
10803 * soft-fp/letf2.c (__letf2): Likewise.
10804
98998e9f
JM
10805 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10806 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10807 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10808 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10809 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10810 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10811 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10812 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10813 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10814 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10815 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10816 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10817 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10818 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10819 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10820 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10821 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10822 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10823 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10824 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10825 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10826 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10827 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10828 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10829 * soft-fp/floattidf.c (__floattidf): Likewise.
10830 * soft-fp/floattisf.c (__floattisf): Likewise.
10831 * soft-fp/floattitf.c (__floattitf): Likewise.
10832 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10833 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10834 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10835 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10836 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10837 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10838 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10839 * soft-fp/gesf2.c (__gesf2): Likewise.
10840 * soft-fp/getf2.c (__getf2): Likewise.
10841 * soft-fp/ledf2.c (__ledf2): Likewise.
10842 * soft-fp/lesf2.c (__lesf2): Likewise.
10843 * soft-fp/letf2.c (__letf2): Likewise.
10844
8edc4a11
JM
10845 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10846 Undefine and redefine.
10847 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10848 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10849 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10850 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10851 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10852 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10853 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10854 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10855 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10856 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10857 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10858 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10859 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10860 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10861 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10862
8399acaf
JM
10863 [BZ #16032]
10864 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10865 without decrementing exponent if mantissa >= that for the
10866 denominator, not >.
10867 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10868 denominator, not >. Decrement exponent in < case instead of
10869 incrementing in >= case.
10870 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10871 without decrementing exponent if mantissa >= that for the
10872 denominator, not >.
10873
99fd9f47
JM
10874 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10875 computing saturated result for unsigned overflow.
10876
10e1cf6b
SP
108772013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10878 Jeff Law <law@redhat.com>
10879
10880 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10881 (atan2Mp): Add systemtap probe marker.
10882 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10883 (__ieee754_log): Add systemtap probe marker.
10884 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10885 (atanMp): Add systemtap probe marker.
10886 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10887 (tanMp): Add systemtap probe marker.
10888 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10889 (__slowexp): Add systemtap probe marker.
10890 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10891 (__slowpow): Add systemtap probe marker.
10892 * manual/probes.texi: Document probes.
10893
3d110c7c
EB
108942013-10-11 Eric Biggers <ebiggers3@gmail.com>
10895
10896 [BZ #15362]
10897 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10898 written.
10899 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10900 written.
10901 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10902 written to buffer but not flushed.
10903 * libio/iofwrite_u.c: Likewise.
10904 * libio/iopadn.c: Return bytes returned even if EOF was
10905 encountered.
10906 * libio/iowpadn.c: Likewise.
10907 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10908 if _IO_padn does not write the whole buffer.
10909 [!COMPILE_WPRINTF] (PAD): Likewise.
10910
75b4202a
DM
109112013-10-10 David S. Miller <davem@davemloft.net>
10912
10913 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10914 directory block.
10915
6c6352e6
JM
109162013-10-10 Joseph Myers <joseph@codesourcery.com>
10917
33b853c3
JM
10918 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10919 instead of FSF address.
10920 * soft-fp/fixdfti.c: Likewise.
10921 * soft-fp/fixsfti.c: Likewise.
10922 * soft-fp/fixtfti.c: Likewise.
10923 * soft-fp/fixunsdfti.c: Likewise.
10924 * soft-fp/fixunssfti.c: Likewise.
10925 * soft-fp/fixunstfti.c: Likewise.
10926 * soft-fp/floattidf.c: Likewise.
10927 * soft-fp/floattisf.c: Likewise.
10928 * soft-fp/floattitf.c: Likewise.
10929 * soft-fp/floatuntidf.c: Likewise.
10930 * soft-fp/floatuntisf.c: Likewise.
10931 * soft-fp/floatuntitf.c: Likewise.
10932 * soft-fp/trunctfxf2.c: Likewise.
10933
6c6352e6
JM
10934 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10935 * soft-fp/fixdfti.c: Likewise.
10936 * soft-fp/fixsfti.c: Likewise.
10937 * soft-fp/fixtfti.c: Likewise.
10938 * soft-fp/fixunsdfti.c: Likewise.
10939 * soft-fp/fixunssfti.c: Likewise.
10940 * soft-fp/fixunstfti.c: Likewise.
10941 * soft-fp/floattidf.c: Likewise.
10942 * soft-fp/floattisf.c: Likewise.
10943 * soft-fp/floattitf.c: Likewise.
10944 * soft-fp/floatuntidf.c: Likewise.
10945 * soft-fp/floatuntisf.c: Likewise.
10946 * soft-fp/floatuntitf.c: Likewise.
10947 * soft-fp/trunctfxf2.c: Likewise.
10948
3bf78b71
DM
109492013-10-10 David S. Miller <davem@davemloft.net>
10950
10951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10952
6f10289e
JM
109532013-10-10 Joseph Myers <joseph@codsourcery.com>
10954
bd878fc0
JM
10955 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10956 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10957 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10958 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10959 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10960 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10961 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10962
6f10289e
JM
10963 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10964 for NaNs before doing comparisons on argument.
10965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10966 Likewise.
10967
321e2684
WN
109682013-10-10 Will Newton <will.newton@linaro.org>
10969
10970 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10971 passed to _int_memalign does not overflow.
10972
40fefba1
TR
109732013-10-10 Torvald Riegel <triegel@redhat.com>
10974
10975 * scripts/bench.pl: Add include-sources directive.
10976 * benchtests/README: Update documentation.
10977
2ae21ed2
JM
109782013-10-10 Joseph Myers <joseph@codesourcery.com>
10979
dcc2dd3f
JM
10980 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10981 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10982 instead of FP_INIT_ROUNDMODE.
10983 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10984 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10985
2ae21ed2
JM
10986 [BZ #16034]
10987 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10988 copy class of input value.
10989 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10990 not handle exceptions.
10991 * soft-fp/negsf2.c (__negsf2): Likewise.
10992 * soft-fp/negtf2.c (__negtf2): Likewise.
10993 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10994
cb8f9562
JM
109952013-10-09 Joseph Myers <joseph@codesourcery.com>
10996
10997 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10998 semicolon. From Linux kernel.
10999
5b60c59d
AB
110002013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11001
11002 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11003
b86835ca
YC
110042013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11005
11006 [BZ #156]
11007 * manual/socket.texi: Added statement about buffer
11008 for gethostbyname2_r.
11009
e7044ea7
OB
110102013-10-08 Ondřej Bílka <neleai@seznam.cz>
11011
11012 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11013 Use .p2align directive instead, throughout.
11014 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11015 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11016 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11018 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11019 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11020 * sysdeps/x86_64/strchr.S: Likewise.
11021 * sysdeps/x86_64/strrchr.S: Likewise.
11022
09544cbc
SP
110232013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11024
88576635
SP
11025 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11026
e7b2d1dd
SP
11027 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11028
09544cbc
SP
11029 * sysdeps/generic/math_private.h (__mpsin1): Remove
11030 declaration.
11031 (__mpcos1): Likewise.
11032 (__mpsin): New argument __range_reduce.
11033 (__mpcos): Likewise.
11034 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11035 (slow): Use __mpsin and __mpcos.
11036 (slow1): Likewise.
11037 (slow2): Likewise.
11038 (sloww): Likewise.
11039 (sloww1): Likewise.
11040 (sloww2): Likewise.
11041 (bsloww): Likewise.
11042 (bsloww1): Likewise.
11043 (bsloww2): Likewise.
11044 (cslow2): Likewise.
11045 (csloww): Likewise.
11046 (csloww1): Likewise.
11047 (csloww2): Likewise.
11048 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11049 range_reduce. Merge in __mpsin1.
11050 (__mpcos): Likewise.
11051 (__mpsin1): Remove.
11052 (__mpcos1): Likewise.
11053
7602d070
JM
110542013-10-07 Joseph Myers <joseph@codesourcery.com>
11055
11056 * locale/loadlocale.c (_nl_intern_locale_data): Use
11057 LOCFILE_ALIGNED_P.
11058 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11059 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11060 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11061 obstack data is appropriately aligned.
11062 (obstack_int32_grow_fast): Likewise.
11063 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11064 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11065 (add_locale_uint32_array): Likewise.
11066
a357259b
SP
110672013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11068
11069 * benchtests/Makefile: Remove ARGLIST and RET variables.
11070 ($(objpfx)bench-%.c): Pass only function name to the script.
11071 * benchtests/README: Update documentation.
11072 * benchtests/acos-inputs: Add new directives.
11073 * benchtests/acosh-inputs: Likewise.
11074 * benchtests/asin-inputs: Likewise.
11075 * benchtests/asinh-inputs: Likewise.
11076 * benchtests/atan-inputs: Likewise.
11077 * benchtests/atanh-inputs: Likewise.
11078 * benchtests/cos-inputs: Likewise.
11079 * benchtests/cosh-inputs: Likewise.
11080 * benchtests/exp-inputs: Likewise.
11081 * benchtests/log-inputs: Likewise.
11082 * benchtests/pow-inputs: Likewise.
11083 * benchtests/rint-inputs: Likewise.
11084 * benchtests/sin-inputs: Likewise.
11085 * benchtests/sinh-inputs: Likewise.
11086 * benchtests/tan-inputs: Likewise.
11087 * benchtests/tanh-inputs: Likewise.
11088 * scripts/bench.pl: Add support for new directives.
11089
9ec1b13d
AM
110902013-10-07 Alan Modra <amodra@gmail.com>
11091
11092 * README: Fix careless merge.
11093
8b7d57cd
AM
110942013-10-05 Alan Modra <amodra@gmail.com>
11095
11096 * NEWS: Mention powerpc64le support and bugs fixed.
11097 * README: Both big-endian and little-endian powerpc64 supported.
11098
7b7bab13
ST
110992013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11100
57f41c40
AS
11101 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11102 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11103 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11104 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11105
d39baad1
RA
111062013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11107
11108 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11109 match prototype.
11110
cd78f7e7
JM
111112013-10-04 Joseph Myers <joseph@codesourcery.com>
11112
29d73d86
JM
11113 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11114 Move -mhard-float appending from
11115 ports/sysdeps/powerpc/powerpc32/Makefile.
11116 [$(with-fp) = yes] (ASFLAGS): Likewise.
11117 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11118 * sysdeps/powerpc/nofpu: Move directory from
11119 ports/sysdeps/powerpc/nofpu.
11120 * sysdeps/powerpc/soft-fp: Move directory from
11121 ports/sysdeps/powerpc/soft-fp.
11122 * sysdeps/powerpc/powerpc32/405: Move directory from
11123 ports/sysdeps/powerpc/powerpc32/405.
11124 * sysdeps/powerpc/powerpc32/440: Move directory from
11125 ports/sysdeps/powerpc/powerpc32/440.
11126 * sysdeps/powerpc/powerpc32/464: Move directory from
11127 ports/sysdeps/powerpc/powerpc32/464.
11128 * sysdeps/powerpc/powerpc32/476: Move directory from
11129 ports/sysdeps/powerpc/powerpc32/476.
11130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11131 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11133 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11139 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11140 * README: Update for powerpc-*-linux-gnu software floating point
11141 support in libc.
11142
e246b347
JM
11143 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11144 case to powerpc/powerpc32*.
11145 * sysdeps/unix/sysv/linux/configure: Regenerated.
11146
89c2003e
JM
11147 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11148 (_FPU_MASK_OM): Define as 0x04.
11149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11151 0x00c10080.
11152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11153 0x0000003c.
11154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11155
cd78f7e7
JM
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11157 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11158 getcontext_e500.
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11160 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11161 setcontext_e500.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11163 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11164 and setcontext_e500.
11165
c755294d
CL
111662013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11167
11168 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11169
e16d221c
SP
111702013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11171
11172 * manual/threads.texi (Default Thread Attributes): Fix typo.
11173
215c7d43
WN
111742013-10-04 Will Newton <will.newton@linaro.org>
11175
11176 * malloc/Makefile: Add tst-memalign.
11177 * malloc/tst-memalign.c: New file.
11178
27d0461b
WN
11179 * malloc/tst-posix_memalign.c: Add comments.
11180 (do_test): Add comments and call free on all potentially
11181 allocated pointers. Add space after cast.
11182
1bc92709
WN
11183 * malloc/tst-pvalloc.c: Add comments.
11184 (do_test): Add comments and call free on all potentially
11185 allocated pointers. Remove duplicate check for NULL pointer.
11186 Add space after cast.
11187
66a9be9d
WN
11188 * malloc/tst-valloc.c: Add comments.
11189 (do_test): Add comments and call free on all potentially
11190 allocated pointers. Remove duplicate check for NULL pointer.
11191 Add space after cast.
11192
4cb81307
AM
111932013-10-04 Alan Modra <amodra@gmail.com>
11194
11195 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11196 Use stdint types in rather than __attribute__((mode())).
11197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11198
f8e3e9f3
AM
111992013-10-04 Alan Modra <amodra@gmail.com>
11200
11201 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11202 Correct handling of unaligned relocs for little-endian.
11203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11204
8f9ebb08
AM
112052013-10-04 Alan Modra <amodra@gmail.com>
11206
11207 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11208 * configure: Regenerate.
11209 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11210 * shlib-versions: Likewise.
11211
0edf96c2
AM
112122013-10-04 Alan Modra <amodra@gmail.com>
11213
11214 * string/tester.c (test_memrchr): Increment reported test cycle.
11215
e0f7a380
AM
112162013-10-04 Alan Modra <amodra@gmail.com>
11217
11218 * string/test-memcpy.c (do_one_test): When reporting errors, print
11219 string address and don't overrun end of string.
11220
466b0393
AM
112212013-10-04 Alan Modra <amodra@gmail.com>
11222
11223 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11224 insrdi. Make better use of reg selection to speed exit slightly.
11225 Schedule entry path a little better. Remove useless "are we done"
11226 checks on entry to main loop. Handle wrapping around zero address.
11227 Correct main loop count. Handle single left-over word from main
11228 loop inline rather than by using loop_small. Remove extra word
11229 case in loop_small caused by wrong loop count. Add little-endian
11230 support.
11231 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11232 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11233 cache hint.
11234 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11235 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11236 support. Avoid rlwimi.
11237 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11238
3be87c77
AM
112392013-10-04 Alan Modra <amodra@gmail.com>
11240
11241 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11242 insrdi. Formatting.
3be87c77
AM
11243 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11244 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11245 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11246 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11247 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11248 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11249
759cfef3
AM
112502013-10-04 Alan Modra <amodra@gmail.com>
11251
11252 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11253 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11254 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11255 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11256 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11257 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11258 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11259 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11260 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11261 use of regs. Use power7 mtocrf. Tidy function tails.
11262
fe6e95d7
AM
112632013-10-04 Alan Modra <amodra@gmail.com>
11264
11265 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11266 Formatting. Consistently use rXXX register defines or rN defines.
11267 Use early exit labels that avoid restoring unused non-volatile regs.
11268 Make cr field use more consistent with rWORDn compares. Rename
11269 regs used as shift registers for unaligned loop, using rN defines
11270 for short lifetime/multiple use regs.
11271 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11272 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11273 addi 1,1,64 to pop stack frame. Simplify return value code.
11274 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11275
664318c3
AM
112762013-10-04 Alan Modra <amodra@gmail.com>
11277
11278 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11279 support. Correct typos, formatting. Optimize tail. Use insrdi
11280 rather than rlwimi.
11281 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11282 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11283 little-endian support. Correct typos.
11284 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11285 rather than rlwimi.
11286 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11287 in loop and entry code to keep "and." results.
11288 (strchr): Add little-endian support. Comment. Move cntlzd
11289 earlier in tail.
11290 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11291
43b84013
AM
112922013-10-04 Alan Modra <amodra@gmail.com>
11293
11294 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11295 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11296 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11297 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11298
8a7413f9
AM
112992013-10-04 Alan Modra <amodra@gmail.com>
11300
11301 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11302 (rTMP): Define as r11.
11303 (strcmp): Add little-endian support. Optimise tail.
11304 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11305 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11306 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11307 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11308 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11309 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11311
33ee81de
AM
113122013-10-04 Alan Modra <amodra@gmail.com>
11313
11314 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11315 little-endian support. Remove unnecessary "are we done" tests.
11316 Handle "s" wrapping around zero and extremely large "size".
11317 Correct main loop count. Handle single left-over word from main
11318 loop inline rather than by using small_loop. Correct comments.
11319 Delete "zero" tail, use "end_max" instead.
11320 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11321
db9b4570
AM
113222013-10-04 Alan Modra <amodra@gmail.com>
11323
11324 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11325 support. Don't branch over align.
11326 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11327 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11328 support. Rearrange tmp reg use to suit. Comment.
11329 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11330
f7c399cf
AM
113312013-10-04 Alan Modra <amodra@gmail.com>
11332
11333 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11334
0b2c2ace
AM
113352013-10-04 Alan Modra <amodra@gmail.com>
11336
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11338 conditional form of branch and link when obtaining pc.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11340
02f04a6c
AM
113412013-10-04 Alan Modra <amodra@gmail.com>
11342
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11344 HIWORD/LOWORD.
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11347
9b874b2f
AM
113482013-10-04 Alan Modra <amodra@gmail.com>
11349
11350 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11351 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11352 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11353 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11354 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11355 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11356 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11357 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11358 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11359 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11360
be1e5d31
AB
113612013-10-04 Anton Blanchard <anton@au1.ibm.com>
11362 Alistair Popple <alistair@ozlabs.au.ibm.com>
11363 Alan Modra <amodra@gmail.com>
11364
11365 [BZ #15723]
11366 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11367 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11368 _dl_hwcap access for little-endian.
11369 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11370 destroy vmx regs when saving unaligned.
11371 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11372 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11373 destroy vmx regs when saving unaligned.
11374
fef13a78
AM
113752013-10-04 Alan Modra <amodra@gmail.com>
11376
11377 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11378 Don't use a union to pack hi/low value.
11379
76a66d51
AB
113802013-10-04 Anton Blanchard <anton@au1.ibm.com>
11381
11382 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11383 for little-endian.
11384 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11385 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11386 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11387 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11388 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11389
6a31fe7f
AM
113902013-10-04 Alan Modra <amodra@gmail.com>
11391
11392 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11393 constants to usual value for .cst8 section, and remove redundant
11394 high address load.
11395 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11396 constant for 0x1p52. Load little-endian words of double from
11397 correct stack offsets.
11398
7b88401f
AM
113992013-10-04 Alan Modra <amodra@gmail.com>
11400
11401 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11402 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11403 words of double from correct stack offsets.
11404 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11405 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11406 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11407 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11408 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11409 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11410 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11411 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11412 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11414 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11415 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11416 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11417 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11418 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11419 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11420 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11421
9c008155
AM
114222013-10-04 Alan Modra <amodra@gmail.com>
11423
11424 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11425 64-bit int/double union.
11426 (_FPU_SETCW): Likewise.
11427 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11428 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11429
da13146d
AM
114302013-10-04 Alan Modra <amodra@gmail.com>
11431
11432 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11433 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11434
603e8410
AM
114352013-10-04 Alan Modra <amodra@gmail.com>
11436
11437 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11438 use vector int constants.
11439 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11440
4a28b3ca
AB
114412013-10-04 Anton Blanchard <anton@au1.ibm.com>
11442
11443 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11444 array with long long.
11445 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11446 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11447 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11448 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11449 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11450 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11451 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11452 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11453 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11454 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11455 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11456 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11457 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11458
2ca85d2b
AB
114592013-10-04 Anton Blanchard <anton@au1.ibm.com>
11460
11461 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11462 (__signbit): Likewise. Correct for little-endian.
11463 (__signbitl): Call __signbit.
11464 (lrint): Correct for little-endian.
11465 (lrintf): Call lrint.
11466
62a728ae
AM
114672013-10-04 Alan Modra <amodra@gmail.com>
11468
11469 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11470 union 32-bit int array member with 64-bit int array.
11471 (t515, tm256): Double rather than long double.
11472 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11473
32c301df
AM
114742013-10-04 Alan Modra <amodra@gmail.com>
11475
11476 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11477 Delete.
11478 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11480 version of math_ldbl.h.
11481
650ef4bd
AM
114822013-10-04 Alan Modra <amodra@gmail.com>
11483
11484 [BZ #15734], [BZ #15735]
11485 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11486 all uses of ieee875 long double macros and unions. Simplify test
11487 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11488 ldbl_extract_mantissa value for ix,iy exponents. Properly
11489 normalize after ldbl_extract_mantissa, and don't add hidden bit
11490 already handled. Don't treat low word of ieee854 mantissa like
11491 low word of IBM long double and mask off bit when testing for
11492 zero.
11493 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11494 all uses of ieee875 long double macros and unions. Simplify tests
11495 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11496 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11497 two1022, instead use their values. Recognise that tests for large
11498 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11499 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11500 Rewrite all uses of ieee875 long double macros and unions. Simplify
11501 test for 0.0L and nan. Correct negation.
11502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11503 ieee875 long double macros and unions. Correct output for large
11504 magnitude x. Correct absolute value calculation.
11505 (__erfcl): Likewise.
11506 * math/libm-test.inc: Add tests for errors discovered in IBM long
11507 double versions of fmodl, remainderl, erfl and erfcl.
11508
765714ca
AM
115092013-10-04 Alan Modra <amodra@gmail.com>
11510
11511 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11512 all uses of ieee854 long double macros and unions. Simplify tests
11513 for long doubles that are fully specified by the high double.
11514 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11515 Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11517 Remove dead code too.
11518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11519 (__ieee754_ynl): Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11523 Remove dead code too.
11524 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11525 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11526 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11527 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11528 Simplify.
11529 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11530 Simplify.
11531 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11532 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11533 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11534 Comment on variable precision.
11535 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11536 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11537 Likewise.
11538 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11539 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11540 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11541 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11542 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11543
4ebd120c
AM
115442013-10-04 Alan Modra <amodra@gmail.com>
11545
11546 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11548 all uses of ieee854 long double macros and unions.
11549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11552 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11554 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11555 Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11558 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11561 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11562 Simplify sign and nan test too.
11563 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11567 Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11570 Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11575 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11577
1b6adf88
AM
115782013-10-04 Alan Modra <amodra@gmail.com>
11579
11580 * stdio-common/printf_size.c (__printf_size): Don't use
11581 union ieee854_long_double in fpnum union.
11582 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11583 signbit macro to retrieve sign from long double.
11584 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11585 retrieve sign from long double.
11586 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11587 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11588 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11589 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11590 * math/test-misc.c (main): Don't use union ieee854_long_double.
11591
4cf69995
AM
115922013-10-04 Alan Modra <amodra@gmail.com>
11593
11594 [BZ #15680]
11595 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11596 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11597 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11598 calculation. Remove unnecessary test for denormal exponent.
11599 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11600 Correct handling of denormals. Avoid undefined shift behaviour.
11601 Correct normalisation of low mantissa when low double is denormal.
11602 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11603 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11604 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11605 Correct normalisation of low mantissa. Test for overflow of high
11606 mantissa and normalise.
11607 (ldbl_nearbyint): Use more readable constant for two52.
11608 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11609 (__mpn_construct_long_double): Fix test for overflow of high
11610 mantissa and correct normalisation. Avoid undefined shift.
11611
9605ca6c
AM
116122013-10-04 Alan Modra <amodra@gmail.com>
11613
11614 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11615 (union ibm_extended_long_double): Define as an array of ieee754_double.
11616 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11617 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11618 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11619 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11623 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11627
975569d0
JM
116282013-10-03 Joseph Myers <joseph@codesourcery.com>
11629
d3d23756
JM
11630 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11631 page size instead of calling getpagesize.
11632
975569d0
JM
11633 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11634 (LOCFILE_ALIGN_MASK): Likewise.
11635 (LOCFILE_ALIGN_UP): Likewise.
11636 (LOCFILE_ALIGNED_P): Likewise.
11637 * locale/programs/ld-collate.c (collate_output): Use the new
11638 macros instead of __alignof__ (int32_t).
11639 * locale/weight.h (findidx): Likewise.
11640
b1fe1f2b
OB
116412013-10-03 Ondřej Bílka <neleai@seznam.cz>
11642
11643 [BZ #431]
11644 * manual/string.texi: Fix strncat and wcsncat.
11645
5f855e35
BM
116462013-10-03 Brooks Moses <bmoses@google.com>
11647
11648 [BZ #15915]
11649 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11650 * Makerules: ...here, and adjust associated comments.
11651
3cef6009
WN
116522013-10-02 Will Newton <will.newton@linaro.org>
11653
11654 * malloc/Makefile: Add tst-pvalloc.
11655 * malloc/tst-pvalloc.c: New file.
11656
7815420b
WN
116572013-10-02 Will Newton <will.newton@linaro.org>
11658
11659 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11660 improve test coverage.
11661
4868b204
WN
116622013-10-02 Will Newton <will.newton@linaro.org>
11663
11664 * malloc/Makefile: Add tst-posix_memalign.
11665 * malloc/tst-posix_memalign.c: New file.
11666
29c793b3
EB
116672013-10-01 Eric Blake <eblake@redhat.com>
11668
11669 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11670 Use __THROWNL rather than __THROW on static functions.
11671
fd967522
PM
116722013-09-30 Petr Machata <pmachata@redhat.com>
11673
11674 * elf/elf.h (R_AARCH64_ABS16): New macro.
11675 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11676 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11677 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11678 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11679 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11680 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11681 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11682 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11683 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11684 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11685 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11686 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11687 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11688 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11689 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11690 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11691 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11692 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11693 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11694 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11695 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11696 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11697 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11698 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11699 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11700 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11701 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11702 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11703 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11704 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11705 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11706 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11707 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11708 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11709 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11710 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11711 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11712 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11713 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11714 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11715 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11716 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11717 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11718 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11719 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11720 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11721 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11722 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11723 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11724 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11725 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11726 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11727 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11728 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11729 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11730 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11731 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11732 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11733 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11734 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11735 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11736 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11737 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11738 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11739 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11740 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11741 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11742 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11743 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11744 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11745 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11746 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11747 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11748 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11749 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11750 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11751 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11752 (R_AARCH64_TLSDESC_LDR): Likewise.
11753 (R_AARCH64_TLSDESC_ADD): Likewise.
11754 (R_AARCH64_TLSDESC_CALL): Likewise.
11755
b2179107
AS
117562013-09-30 Andreas Schwab <schwab@suse.de>
11757
11758 [BZ #15048]
11759 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11760 the nss database lookup.
11761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11763
47f28d0a
MF
117642013-09-28 Mike Frysinger <vapier@gentoo.org>
11765
11766 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11767
117682013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11769
11770 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11771 ${Bash-specific parameter/pattern/string} parameter expansion.
11772 * sysdeps/unix/make-syscalls.sh: Likewise.
11773
f4518a17
KK
117742013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11775
11776 * sysdeps/sh/stackguard-macros.h: New file.
11777
dc1a95c7
OB
117782013-09-26 Ondřej Bílka <neleai@seznam.cz>
11779
11780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11782 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11783 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11784 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11785 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11786
5ebbff8f
AZ
117872013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11788
11789 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11790 Fix thread ID register.
11791
4fd2cf9f
JM
117922013-09-25 Joseph Myers <joseph@codesourcery.com>
11793
11794 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11795 [POSIX || UNIX98]: Require rather than permitting all symbols from
11796 <time.h>.
11797 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11798 element of struct sched_param.
11799 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11800 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11801 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11802 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11803 constant.
11804
12c22bc4
OL
118052013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11806
11807 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11808 argument calculation.
11809
a03d8ea7
JM
118102013-09-24 Joseph Myers <joseph@codesourcery.com>
11811
11812 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11813 Expect macro.
11814 [POSIX] (pthread_attr_t): Do not require type.
11815 [POSIX] (pthread_cond_t): Likewise.
11816 [POSIX] (pthread_condattr_t): Likewise.
11817 [POSIX] (pthread_key_t): Likewise.
11818 [POSIX] (pthread_mutex_t): Likewise.
11819 [POSIX] (pthread_mutexattr_t): Likewise.
11820 [POSIX] (pthread_once_t): Likewise.
11821 [POSIX] (pthread_t): Likewise.
11822 [POSIX-based standards] (pthread_atfork): Expect function.
11823
6055173a
JM
118242013-09-24 Joseph Myers <joseph@codesourcery.com>
11825 Richard Sandiford <richard@codesourcery.com>
11826
11827 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11828 (swap_endianness_p): New extern variable.
11829 (set_big_endian): New inline function.
11830 (maybe_swap_uint32): Likewise.
11831 (maybe_swap_uint32_array): Likewise.
11832 (maybe_swap_uint32_obstack): Likewise.
11833 * locale/programs/locfile.c: Include <stdbool.h>.
11834 (swap_endianness_p): New variable.
11835 (add_locale_uint32): Call maybe_swap_uint32.
11836 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11837 (write_locale_data): Call maybe_swap_uint32_array.
11838 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11839 maybe_swap_uint32.
11840 (obstack_int32_grow_fast): Likewise.
11841 (output_weightwc): Call maybe_swap_uint32_obstack.
11842 (collate_output): Likewise.
11843 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11844 (OPT_LITTLE_ENDIAN): Likewise.
11845 (options): Add --little-endian and --big-endian options.
11846 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11847 * locale/programs/locarchive.c: Include "locfile.h".
11848 (GET): New macro.
11849 (SET): Likewise.
11850 (INC): Likewise.
11851 (create_archive): Use the new macros to access fields of
11852 structures directly mapped from or written to locale archives.
11853 (oldlocrecentcmp): Likewise.
11854 (enlarge_archive): Likewise.
11855 (insert_name): Likewise.
11856 (add_alias): Likewise.
11857 (add_locale): Likewise.
11858 (delete_locales_from_archive): Likewise.
11859 (show_archive_content): Likewise.
11860 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11861 locale data.
11862
39bf0bb4
RM
118632013-09-24 Roland McGrath <roland@hack.frob.com>
11864
11865 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11866 http://www.gnu.org/doc/freemanuals.texi.
11867 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11868
f02eed10
WN
118692013-09-24 Will Newton <will.newton@linaro.org>
11870
11871 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11872 macro.
11873
a3a6c312
JM
118742013-09-23 Joseph Myers <joseph@codesourcery.com>
11875
11876 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11877 unsigned char.
11878
107375ac
MR
118792013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11880
11881 * manual/threads.texi (POSIX Threads): Fix a typo.
11882
141f3a77
SP
118832013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11884
303e567a
SP
11885 [BZ #14547]
11886 * string/tst-strcoll-overflow.c: New test case.
11887 * string/Makefile (xtests): Add tst-strcoll-overflow.
11888 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11889 cache if string sizes may cause integer overflow.
11890
141f3a77
SP
11891 [BZ #14547]
11892 * string/strcoll_l.c (coll_seq): New members rule, idx,
11893 save_idx and back_us.
11894 (get_next_seq_nocache): New function.
11895 (do_compare_nocache): New function.
11896 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11897 when malloc fails.
11898
c61b4d41
CD
118992013-09-23 Carlos O'Donell <carlos@redhat.com>
11900
0b1f8e35
CD
11901 [BZ #15754]
11902 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11903 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11904 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11905
c61b4d41
CD
11906 [BZ #15754]
11907 * elf/Makefile (tests): Add tst-ptrguard1.
11908 (tests-static): Add tst-ptrguard1-static.
11909 (tst-ptrguard1-ARGS): Define.
11910 (tst-ptrguard1-static-ARGS): Define.
11911 * elf/tst-ptrguard1.c: New file.
11912 * elf/tst-ptrguard1-static.c: New file.
11913 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11914 * sysdeps/i386/stackguard-macros.h: Likewise.
11915 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11916 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11917 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11918 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11919 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11920 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11921
119222013-09-23 Hector Marco <hecmargi@upv.es>
11923 Ismael Ripoll <iripoll@disca.upv.es>
11924 Carlos O'Donell <carlos@redhat.com>
11925
11926 [BZ #15754]
11927 * sysdeps/generic/stackguard-macros.h: Define
11928 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11929 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11930 Define __pointer_chk_guard_local.
11931 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11932 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11933
f5f4e7b4
VV
119342013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11935
11936 [BZ #15859]
11937 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11938
5bb43a43
AS
119392013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11940
11941 * include/string.h (__ffs): Declare as hidden.
11942 * string/ffs.c (__ffs): Define as hidden.
11943 * sysdeps/i386/ffs.c (__ffs): Likewise.
11944 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11945 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11946 * sysdeps/s390/ffs.c (__ffs): Likewise.
11947 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11948
3ea5be54
AO
119492013-09-20 Alexandre Oliva <aoliva@redhat.com>
11950
ffb89e53
AO
11951 * NEWS: Mention malloc probes.
11952
322dea08
AO
11953 * malloc/arena.c (new_heap): New memory_heap_new probe.
11954 (grow_heap): New memory_heap_more probe.
11955 (shrink_heap): New memory_heap_less probe.
11956 (heap_trim): New memory_heap_free probe.
11957 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11958 (systrim): New memory_sbrk_less probe.
11959 * manual/probes.texi: Document them.
11960
655673f3
AO
11961 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11962 * manual/probes.texi: Document it.
11963
35fed6f1
AO
11964 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11965 (__libc_realloc): Add memory_realloc_retry probe.
11966 (__libc_memalign): Add memory_memalign_retry probe.
11967 (__libc_valloc): Add memory_valloc_retry probe.
11968 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11969 (__libc_calloc): Add memory_calloc_retry probe.
11970 * manual/probes.texi: Document them.
11971
6999d38c
AO
11972 * malloc/arena.c (get_free_list): Add probe
11973 memory_arena_reuse_free_list.
11974 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11975 and memory_arena_reuse.
11976 (arena_get2) [!PER_THREAD]: Likewise.
11977 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11978 memory_arena_reuse_realloc.
11979 * manual/probes.texi: Document them.
11980
0653427f
AO
11981 * malloc/malloc.c (__libc_free): Add
11982 memory_mallopt_free_dyn_thresholds probe.
11983 (__libc_mallopt): Add multiple memory_mallopt probes.
11984 * manual/probes.texi: Document them.
11985
3ea5be54
AO
11986 * malloc/malloc.c: Include stap-probe.h.
11987 (__libc_mallopt): Add memory_mallopt probe.
11988 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11989 * manual/probes.texi: New.
11990 * manual/Makefile (chapters): Add probes.
11991 * manual/threads.texi: Set next node.
11992
e35696c3 119932013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11994
e35696c3
CL
11995 [BZ #15963, #13985]
11996 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11997 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11998 Add `Chinese' to `nan' entry name.
11999
4aafb73c
SP
120002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12001
12002 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12003 (POLYNOMIAL): Likewise.
12004 (TAYLOR_SINCOS): Likewise.
12005 (TAYLOR_SLOW): Likewise.
12006 (__sin): Use TAYLOR_SINCOS.
12007 (__cos): Likewise.
12008 (slow): Use TAYLOR_SLOW.
12009 (sloww): Likewise.
12010 (bsloww): Likewise.
12011 (csloww): Likewise.
12012
d84f25c7
LD
120132013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12014
12015 * stdlib/strtod_l.c: Fix buffer overrun.
12016
5eea0404
SP
120172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12018
7849ff93
SP
12019 * benchtests/Makefile (bench): Add sincos.
12020 * benchtests/bench-sincos.c: New file.
12021
cfa3c886
SP
12022 * math/libm-test.inc (cos_test_data): New test inputs.
12023 (sin_test_data): Likewise.
12024
b348e1e3
SP
12025 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12026 macro.
12027 (__sin): Use it.
12028 (__cos): Likewise.
12029 (slow1): Likewise.
12030 (slow2): Likewise.
12031 (sloww1): Likewise.
12032 (sloww2): Likewise.
12033 (bsloww1): Likewise.
12034 (bsloww2): Likewise.
12035 (cslow2): Likewise.
12036 (csloww1): Likewise.
12037 (csloww2): Likewise.
12038
6cce25f8
SP
12039 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12040 function.
12041 (__sin): Use it.
12042 (__cos): Likewise.
12043
5eea0404
SP
12044 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12045 gotos.
12046 (__cos): Likewise.
12047
9c21573c
MR
120482013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12049
12050 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12051 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12052 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12053 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12054 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12055 * elf/cache.c (print_entry): Handle the new cache flags.
12056
24d22e65
JM
120572013-09-18 Joseph Myers <joseph@codesourcery.com>
12058 Aldy Hernandez <aldyh@redhat.com>
12059
12060 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12061 Change condition to [_SOFT_FLOAT].
12062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12074 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12077 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12078 declaration.
12079
d13ef066
JM
120802013-09-18 Joseph Myers <joseph@codesourcery.com>
12081
2e071de0
JM
12082 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12083 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12084 (__longjmp): Use LOAD_GP to load saved GPRs.
12085 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12086 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12087 (__sigsetjmp): Use SAVE_GP to save GPRs.
12088
d13ef066
JM
12089 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12090 Do not append -msoft-float.
12091 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12092
97a0650b
SP
120932013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12094
12095 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12096
11ca09e9
JM
120972013-09-17 Joseph Myers <joseph@codesourcery.com>
12098
12099 [BZ #15966]
12100 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12101 (_FPU_GETCW): Use initial "__" on variable and field names but not
12102 on macro parameter name.
12103 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12104 parentheses around reference to macro parameter.
12105
08ffcf34
RS
121062013-09-13 Richard Sandiford <richard@codesourcery.com>
12107
12108 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12109 prototype.
12110 (ctype_startup): Use uint32_t in cast and sizeof for
12111 ctype->charnames.
12112
ae7080d3
JL
121132013-09-11 Jia Liu <proljc@gmail.com>
12114
12115 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12116 __daddr_t_defined.
12117 [__FreeBSD__]: Likewise.
12118
5905e7b3
OB
121192013-09-11 Ondřej Bílka <neleai@seznam.cz>
12120
12121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12122 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12123 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12124 (strchr): Remove __strchr_sse42 ifunc selection.
12125 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12126 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12127
b987c776
WN
121282013-09-11 Will Newton <will.newton@linaro.org>
12129
12130 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12131 parameter to RES. Remove hardcoded 1000 value.
12132 * benchtests/bench-skeleton.c (main): Pass RES parameter
12133 to TIMING_INIT and multiply result by 1000.
12134
ddf985af
AZ
121352013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12136
12137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12138
ffdd3181
AS
121392013-09-11 Andreas Schwab <schwab@suse.de>
12140
12141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12142 if not defined.
12143 (O_TMPFILE) [__USE_GNU]: Define.
12144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12145 Define.
12146
b73ed247
WN
121472013-09-11 Will Newton <will.newton@linaro.org>
12148
12149 [BZ #15857]
12150 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12151 does not overflow.
12152
55e17aad
WN
121532013-09-11 Will Newton <will.newton@linaro.org>
12154
12155 [BZ #15856]
12156 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12157 does not overflow.
12158
1159a193
WN
121592013-09-11 Will Newton <will.newton@linaro.org>
12160
12161 [BZ #15855]
12162 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12163 does not overflow.
12164
5905e7b3 121652013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12166
12167 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12169 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12170 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12171 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12172
cdfc721b
AM
121732013-09-10 Allan McRae <allan@archlinux.org>
12174
aa04af00
AM
12175 [BZ #15748]
12176 * manual/arith.texi (Parsing of Floats): Clarify
12177 cross-reference.
12178
cdfc721b
AM
12179 [BZ #15849]
12180 * manual/install.texi (Running make install): Mention
12181 --enable-pt-chown.
12182 * INSTALL: Regenerated.
12183
95e7cf29
MR
121842013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12185
12186 * csu/init-first.c (_init): Remove the !SHARED condition around
12187 FPU control word initialization.
12188 * elf/dl-support.c (_dl_fpu_control): New variable.
12189 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12190 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12191 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12192 * math/test-fpucw-static.c: New file.
12193 * math/test-fpucw-ieee.c: New file.
12194 * math/test-fpucw-ieee-static.c: New file.
12195 * math/Makefile (tests): Add `test-fpucw-ieee' and
12196 `$(tests-static)'.
12197 (tests-static): New variable.
12198 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12199 dependency to...
12200 [($(build-shared),yes)]
12201 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12202 ... this.
12203 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12204 New dependency.
12205
83e43bf0
AM
122062013-09-09 Allan McRae <allan@archlinux.org>
12207
a9f5ce09
AM
12208 [BZ #15939]
12209 * manual/string.texi (Collation Functions): Fix typo in
12210 strcoll example.
12211 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12212
34829bc2
AM
12213 [BZ #15893]
12214 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12215
3932737d
AM
12216 [BZ #15892]
12217 * libio/memstream.c (open_memstream): Fix memory leak.
12218 * libio/wmemstream.c (open_wmemstream): Likewise.
12219
83e43bf0
AM
12220 [BZ #15895]
12221 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12222
0c66b8e9
WN
122232013-09-09 Will Newton <will.newton@linaro.org>
12224
12225 * malloc/Makefile: Add tst-realloc to tests.
12226 * malloc/tst-realloc.c: New file.
12227
f6b00fd1
AM
122282013-09-09 Allan McRae <allan@archlinux.org>
12229
12230 [BZ #15844]
12231 * COPYING: Update from GNU website to fix FSF address.
12232 * COPYING.LIB: Likewise.
12233
eec55e16
DM
122342013-09-06 David S. Miller <davem@davemloft.net>
12235
12236 * po/zh_TW.po: Update Chinese (traditional) translation from
12237 translation project.
12238
1ecbb381
RS
122392013-09-06 Richard Sandiford <richard@codesourcery.com>
12240 Joseph Myers <joseph@codesourcery.com>
12241
12242 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12243 "localeinfo.h".
12244 (obstack_chunk_alloc): New macro.
12245 (obstack_chunk_free): Likewise.
12246 (record_offset): New function.
12247 (init_locale_data): Likewise.
12248 (align_locale_data): Likewise.
12249 (add_locale_empty): Likewise.
12250 (add_locale_raw_data): Likewise.
12251 (add_locale_raw_obstack): Likewise.
12252 (add_locale_string): Likewise.
12253 (add_locale_wstring): Likewise.
12254 (add_locale_uint32): Likewise.
12255 (add_locale_uint32_array): Likewise.
12256 (add_locale_char): Likewise.
12257 (start_locale_structure): Likewise.
12258 (end_locale_structure): Likewise.
12259 (start_locale_prelude): Likewise.
12260 (end_locale_prelude): Likewise.
12261 (write_locale_data): Take locale_file structure rather than an
12262 iovec.
12263 * locale/programs/locfile.h: Include "obstack.h".
12264 (struct locale_file): Change to store locale file contents instead
12265 of header.
12266 (init_locale_data): New prototype.
12267 (align_locale_data): Likewise.
12268 (add_locale_empty): Likewise.
12269 (add_locale_raw_data): Likewise.
12270 (add_locale_raw_obstack): Likewise.
12271 (add_locale_string): Likewise.
12272 (add_locale_wstring): Likewise.
12273 (add_locale_uint32): Likewise.
12274 (add_locale_uint32_array): Likewise.
12275 (add_locale_char): Likewise.
12276 (start_locale_structure): Likewise.
12277 (end_locale_structure): Likewise.
12278 (start_locale_prelude): Likewise.
12279 (end_locale_prelude): Likewise.
12280 (write_locale_data): Update prototype.
12281 * locale/programs/3level.h (struct TABLE): Remove result field.
12282 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12283 Use new locale_file interface.
12284 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12285 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12286 * locale/programs/ld-address.c (address_output): Use new
12287 locale_file interface.
12288 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12289 NO_ADD_LOCALE.
12290 (collate_finish): Don't call collseq_table_finalize.
12291 (collate_output): Use new locale_file interface.
12292 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12293 in file.
12294 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12295 (TABLE): Move defines earlier in file.
12296 (ELEMENT): Likewise.
12297 (DEFAULT): Likewise.
12298 (wctrans_table_add): Move macro and inline function earlier in
12299 file.
12300 (struct wctype_table): Move type earlier in file.
12301 (add_locale_wctype_table): New static prototype.
12302 (struct locale_ctype_t): Use logical types instead of struct iovec
12303 pointers for members.
12304 (ctype_output): Use new locale_file interface.
12305 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12306 new locale_file interface.
12307 (allocate_arrays): Update for use of new locale_file interface.
12308 * locale/programs/ld-identification.c (identification_output): Use
12309 new locale_file interface.
12310 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12311 * locale/programs/ld-messages.c (messages_output): Likewise.
12312 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12313 * locale/programs/ld-name.c (name_output): Likewise.
12314 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12315 * locale/programs/ld-paper.c (paper_output): Likewise.
12316 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12317 * locale/programs/ld-time.c (time_output): Likewise.
12318
e029e2e5
AZ
123192013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12320
12321 * benchtests/Makefile: Add memrchr benchmark.
12322 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12323 benchmark as memrchr.
12324 * benchtests/bench-memrchr-ifunc.c: New file.
12325 * benchtests/bench-memrchr.c: New file.
12326
bbf6e8e4
WN
123272013-09-06 Will Newton <will.newton@linaro.org>
12328
12329 * benchtests/Makefile (string-bench): Add memcpy.
12330
6c82a2f8
CD
123312013-09-05 Carlos O'Donell <carlos@redhat.com>
12332 Cong Wang <amwang@redhat.com>
12333
e732c5f0 12334 [BZ #15850]
6c82a2f8
CD
12335 * sysdeps/unix/sysv/linux/bits/in.h
12336 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12337 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12338 before __USE_KERNEL_IPV6_DEFS uses.
12339 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12340 IPPROTO_BEETPH.
12341 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12342 sockaddr_in6, or ipv6_mreq.
12343
5430fc65
AZ
123442013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12345
12346 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12347 memory access for final bytes in some large inputs.
12348 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12349
4660856c
AZ
123502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12351
12352 * string/test-memrchr.c: New file.
12353 * string/test-memrchr-ifunc.c: New file.
12354 * string/Makefile: Add new memrchr testcase.
12355
bb8ea713
MF
123562013-09-05 Mike Frysinger <vapier@gentoo.org>
12357
12358 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12359 fanotify_init returns EPERM.
12360
b92a20b5
JM
123612013-09-04 Joseph Myers <joseph@codesourcery.com>
12362
12363 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12364 errors.
12365 (top level): Treat second token from macro or constant entries for
12366 allowed headers as allowed.
12367 * include/complex.h: Condition internal declarations on
12368 [!_ISOMAC].
12369 * include/fenv.h: Condition include of <stdbool.h> and internal
12370 declarations on [!_ISOMAC].
7447ccd9
CL
12371
123722013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12373
3e181dda 12374 [BZ #15923]
7447ccd9
CL
12375 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12376
3f2e46a4
JM
123772013-09-04 Joseph Myers <joseph@codesourcery.com>
12378
12379 * configure.in (--enable-versioning): Remove configure option.
12380 (libc_cv_asm_symver_directive): Remove configure test.
12381 (libc_cv_ld_version_script_option): Likewise.
12382 (VERSIONING): Remove variable and AC_SUBST.
12383 (DO_VERSIONING): Remove AC_DEFINE.
12384 * configure: Regenerated.
12385 * config.h.in (DO_VERSIONING): Remove macro.
12386 * Makerules [$(versioning) = yes]: Change conditionals to
12387 [$(build-shared) = yes].
12388 * config.make.in (versioning): Remove variable.
12389 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12390 [$(build-shared) = yes].
12391 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12392 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12393 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12394 [$(build-shared) = yes].
12395 * extra-lib.mk [$(versioning) = yes]: Likewise.
12396 * hurd/Makefile [$(versioning) = yes]: Likewise.
12397 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12398 [SHARED].
12399 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12400 [SHARED].
12401 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12402 [SHARED && !NO_HIDDEN].
12403 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12404 [SHARED].
12405 [SHARED && DO_VERSIONING]: Likewise..
12406 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12407 [$(build-shared) = yes].
12408 * manual/install.texi (--disable-versioning): Remove
12409 documentation.
12410 * INSTALL: Regenerated.
12411 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12412 to [SHARED].
12413 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12414 [$(build-shared) = yes].
12415 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12416 * sysdeps/i386/i686/multiarch/strstr-c.c
12417 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12418 [SHARED && !NO_HIDDEN].
12419 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12420 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12421 * sysdeps/powerpc/powerpc32/dl-machine.c
12422 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12423 * sysdeps/powerpc/powerpc32/sysdep.h
12424 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12425 to [SHARED && PIC && !NO_HIDDEN].
12426 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12427 conditional to [SHARED].
12428
44558701
WN
124292013-09-04 Will Newton <will.newton@linaro.org>
12430
12431 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12432 * benchtests/bench-string.h: Include bench-timing.h instead
12433 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12434 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12435 call to HP_TIMING_DIFF_INIT.
12436 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12437 instead of hp-timing.h macros.
12438 * benchtests/bench-memchr.c: Likewise.
12439 * benchtests/bench-memcmp.c: Likewise.
12440 * benchtests/bench-memcpy.c: Likewise.
12441 * benchtests/bench-memmem.c: Likewise.
12442 * benchtests/bench-memmove.c: Likewise.
12443 * benchtests/bench-memset.c: Likewise.
12444 * benchtests/bench-rawmemchr.c: Likewise.
12445 * benchtests/bench-strcasecmp.c: Likewise.
12446 * benchtests/bench-strcasestr.c: Likewise.
12447 * benchtests/bench-strcat.c: Likewise.
12448 * benchtests/bench-strchr.c: Likewise.
12449 * benchtests/bench-strcmp.c: Likewise.
12450 * benchtests/bench-strcpy.c: Likewise.
12451 * benchtests/bench-strcpy_chk.c: Likewise.
12452 * benchtests/bench-strlen.c: Likewise.
12453 * benchtests/bench-strncasecmp.c: Likewise.
12454 * benchtests/bench-strncat.c: Likewise.
12455 * benchtests/bench-strncmp.c: Likewise.
12456 * benchtests/bench-strncpy.c: Likewise.
12457 * benchtests/bench-strnlen.c: Likewise.
12458 * benchtests/bench-strpbrk.c: Likewise.
12459 * benchtests/bench-strrchr.c: Likewise.
12460 * benchtests/bench-strspn.c: Likewise.
12461 * benchtests/bench-strstr.c: Likewise.
12462
cae16d66
WN
124632013-09-04 Will Newton <will.newton@linaro.org>
12464
12465 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12466
ffa3cd7f
JM
124672013-09-03 Joseph Myers <joseph@codesourcery.com>
12468
12469 [BZ #15427]
12470 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12471 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12472 * math/libm-test.inc (lgamma_test_data): Add more tests.
12473 * sysdeps/i386/fpu/libm-test-ulps: Update.
12474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12475
8f02859f
OB
124762013-09-03 Ondřej Bílka <neleai@seznam.cz>
12477
12478 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12480 Add ifunc.
12481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12482 Add strcmp-sse2-unaligned
12483 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12484
18d43716
MF
124852013-09-02 Mike Frysinger <vapier@gentoo.org>
12486
12487 * Versions.def (libc): Add GLIBC_2.19.
12488
ac444012
MF
124892013-09-02 Mike Frysinger <vapier@gentoo.org>
12490
12491 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12492 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12493
b7835e32
JM
124942013-09-02 Joseph Myers <joseph@codesourcery.com>
12495
12496 [BZ #14155]
12497 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12498 intermediate calculations in recurrence.
12499 (__ieee754_ynf): Likewise.
12500 * math/libm-test.inc (jn_test_data): Do not allow spurious
12501 underflow exception. Add more tests.
12502 (yn_test_data): Add more tests.
12503 * sysdeps/i386/fpu/libm-test-ulps: Update.
12504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12505
8220f4f0
OB
125062013-09-02 Ondřej Bílka <neleai@seznam.cz>
12507
12508 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12509
f24a6d08
OB
125102013-08-30 Ondřej Bílka <neleai@seznam.cz>
12511
12512 * csu/init-first.c: Fix then/than typos.
12513 * locale/programs/ld-collate.c: Likewise.
12514 * locale/programs/linereader.h: Likewise.
12515 * manual/charset.texi: Likewise.
12516 * manual/filesys.texi: Likewise.
12517 * manual/stdio.texi: Likewise.
12518 * manual/string.texi: Likewise.
12519 * stdlib/fmtmsg.c: Likewise.
12520 * sysdeps/i386/stpncpy.S: Likewise.
12521 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12522 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12523 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12524 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12525
382466e0
OB
125262013-08-30 Ondřej Bílka <neleai@seznam.cz>
12527
12528 * elf/dl-open.c: Fix typos.
12529 * iconvdata/gbbig5.c: Likewise.
12530 * iconvdata/iso-2022-jp.c: Likewise.
12531 * iconv/gconv_int.h: Likewise.
12532 * iconv/loop.c: Likewise.
12533 * nis/rpcsvc/nis.h: Likewise.
12534 * resolv/ns_name.c: Likewise.
12535 * stdio-common/vfscanf.c: Likewise.
12536 * streams/stropts.h: Likewise.
12537 * sunrpc/rpc_thread.c: Likewise.
12538 * sysdeps/i386/strpbrk.S: Likewise.
12539 * sysdeps/ieee754/k_standard.c: Likewise.
12540 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12542 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12543 * sysdeps/mach/hurd/profil.c: Likewise.
12544 * sysdeps/s390/dl-procinfo.h: Likewise.
12545 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12546 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12547 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12548 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12549 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12550
0186c6e9
OB
125512013-08-30 Ondřej Bílka <neleai@seznam.cz>
12552
12553 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12555
d4e16af1
OB
125562013-08-29 Ondřej Bílka <neleai@seznam.cz>
12557
12558 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12559 aix specific files.
12560 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12561 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12562 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12563 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12564 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12565 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12566 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12567 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12568
88335980
TS
125692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12570 Roland McGrath <roland@hack.frob.com>
12571
12572 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12573 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12574
ed479b02
ST
125752013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12576
12577 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12578 __executable_start symbol instead of _start.
12579
f1cc4c86
TS
125802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12581
d821f07c
TS
12582 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12583 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12584 Move macros to...
12585 * sysdeps/gnu/ldsodefs.h: ... this new file.
12586
c54290cf
TS
12587 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12588 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12589 instead of ELFOSABI_LINUX.
12590
0007fc9b 12591 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12592 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12593 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12594 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12595 Likewise.
12596 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12597 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12598 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12599 Likewise.
12600 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12601 (ibm_extended_long_double): Add ieee_nan member.
12602 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12603 (do_test): New function.
12604
f1cc4c86
TS
12605 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12606 TEST_TRUNC.
12607 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12608 functions, renamed from truncdfsf_test, trunctfsf_test,
12609 trunctfdf_test.
12610 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12611 functions.
12612 (do_test): Run all these.
12613
6f65e668
OB
126142013-08-29 Ondřej Bílka <neleai@seznam.cz>
12615
12616 * argp/argp-help.c: Fix typos.
12617 * argp/argp-parse.c: Likewise.
12618 * debug/backtracesyms.c: Likewise.
12619 * elf/elf.h: Likewise.
12620 * malloc/malloc.c: Likewise.
12621 * nis/nis_print.c: Likewise.
12622 * resolv/res_comp.c: Likewise.
12623 * stdlib/stdlib.h: Likewise.
12624 * sunrpc/clnt_tcp.c: Likewise.
12625 * sunrpc/clnt_udp.c: Likewise.
12626 * sunrpc/clnt_unix.c: Likewise.
12627 * sysdeps/unix/bsd/ptsname.c: Likewise.
12628 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12629 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12631 Likewise.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12633 Likewise.
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12635 Likewise.
6f65e668
OB
12636 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12637
3a309239
SP
126382013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12639
12640 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12642
3b813b29
MF
126432013-08-27 Mike Frysinger <vapier@gentoo.org>
12644
12645 [BZ #15897]
12646 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12647 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12648 ($(objpfx)bug-dl-leaf): New rule.
12649 ($(objpfx)bug-dl-leaf.so): Likewise.
12650 ($(objpfx)bug-dl-leaf.out): Likewise.
12651 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12652 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12653 * dlfcn/bug-dl-leaf.c: New test.
12654 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12655 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12656 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12657 (dlclose): Likewise.
12658 (dlmopen): Likewise.
12659
8cc3269f
RM
126602013-08-27 Roland McGrath <roland@hack.frob.com>
12661
7f9d0034
RM
12662 * include/netdb.h [!_ISOMAC]:
12663 Don't include <tls.h>.
12664 (h_errno, __libc_h_errno): Move declaration and macros out of
12665 [_LIBC_REENTRANT].
12666
fb431262
RM
12667 * include/resolv.h [_RESOLV_H_]:
12668 Don't include <tls.h>.
12669 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12670 * resolv/res_libc.c: Don't include <tls.h>.
12671 (_res): Use __attribute__ ((nocommon)) in place of
12672 __attribute__ ((section (".bss"))).
12673
bd81123a
RM
12674 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12675 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12676
c4e42566
RM
12677 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12678
f890a59b
RM
12679 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12680 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12681
12682 * resolv/res_mkquery.c: Include <sys/time.h>.
12683
5d1f0a09
RM
12684 * inet/ifreq.c: Moved to ...
12685 * sysdeps/unix/ifreq.c: ... here.
12686 * inet/ifreq.c: New file, true stub version.
12687
6fcf28b3
RM
12688 * socket/sa_len.c: New file.
12689 * socket/Makefile (aux): Add it.
12690 * sysdeps/unix/sysv/linux/Makefile
12691 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12692 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12693 and #include <socket/sa_len.c>.
12694 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12695 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12696
e041fb8b
RM
12697 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12698 * bits/socket.h: ... here.
12699
8cc3269f
RM
12700 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12701 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12702 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12703
5d228a43
AS
127042013-08-27 Andreas Schwab <schwab@suse.de>
12705
45b8accc
AS
12706 [BZ #15736]
12707 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12708 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12709 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12710 * string/test-strcasecmp.c (test_main): Run tests in several
12711 locales.
12712 * string/test-strncasecmp.c (test_main): Likewise.
12713
5d228a43
AS
12714 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12715 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12716 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12718 (__strncasecmp_ssse3) [PIC]: Likewise.
12719
59d112a4
RM
127202013-08-26 Roland McGrath <roland@hack.frob.com>
12721
53234cc3
RM
12722 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12723
59d112a4
RM
12724 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12725 instead of explicitly declaring xdecrypt.
12726 * nis/nss_nis/nis-publickey.c: Likewise.
12727
595aba70
SP
127282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12729
12730 [BZ #15890]
12731 * nscd/aicache.c: Include res_hconf.h.
12732 (addhstaiX): Initialize res_hconf.
12733
ffabd393
AS
127342013-08-26 Andreas Schwab <schwab@suse.de>
12735
12736 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12737 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12738
e0a69f5c
SP
127392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12740
12741 * nscd/aicache.c (addhstaiX): Fix indentation.
12742
8c12f01d
MF
127432013-08-25 Mike Frysinger <vapier@gentoo.org>
12744
12745 * configure.ac: Quote $build_pt_chown test.
12746 * configure: Regenerated.
12747
8fe89494
JM
127482013-08-23 Joseph Myers <joseph@codesourcery.com>
12749
12750 [BZ #15532]
12751 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12752 * math/s_cexpf.c (__cexpf): Likewise.
12753 * math/s_cexpl.c (__cexpl): Likewise.
12754 * math/libm-test.inc (cexp_test_data): Correct expected return
12755 value for NaN + i0. Add another test.
12756
75b181d6
DM
127572013-08-22 David S. Miller <davem@davemloft.net>
12758
12759 * po/ca.po: Update Catalan translation from translation project.
936241e4 12760 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12761
acd06bb1
JM
127622013-08-21 Joseph Myers <joseph@codesourcery.com>
12763
12764 [BZ #15797]
12765 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12766 is infinite, not alongside NaN test.
12767 * math/s_fdimf.c (__fdimf): Likewise.
12768 * math/s_fdiml.c (__fdiml): Likewise.
12769 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12770 errno is unchanged.
12771
c0c3f78a
OB
127722013-08-21 Ondřej Bílka <neleai@seznam.cz>
12773
12774 * argp/argp-help.c: Fix typos.
12775 * crypt/speeds.c: Likewise.
12776 * csu/check_fds.c: Likewise.
12777 * elf/dl-load.c: Likewise.
12778 * elf/dl-open.c: Likewise.
12779 * elf/reldep3.c: Likewise.
12780 * elf/reldep.c: Likewise.
12781 * elf/sprof.c: Likewise.
12782 * iconv/iconv_charmap.c: Likewise.
12783 * iconv/skeleton.c: Likewise.
12784 * iconv/strtab.c: Likewise.
12785 * io/lockf64.c: Likewise.
12786 * libio/libioP.h: Likewise.
12787 * resolv/gai_notify.c: Likewise.
12788 * resolv/ns_name.c: Likewise.
12789 * resolv/ns_samedomain.c: Likewise.
12790 * resolv/res_send.c: Likewise.
12791 * stdlib/random.c: Likewise.
12792 * sunrpc/rpc/xdr.h: Likewise.
12793 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12794 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12795 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12796 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12798 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12800 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12801 * sysdeps/mach/hurd/check_fds.c: Likewise.
12802 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12803 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12805 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12806 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12807 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12808 * sysdeps/pthread/aio_notify.c: Likewise.
12809 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12810 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12811 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12812 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12813 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12814
46ed1038
LD
128152013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12816
12817 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12818 version if bit_Slow_SSE4_2 is set.
12819 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12821
d400dcac
AZ
128222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12823
12824 [BZ #15867]
12825 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12826 trampoline stack frame information.
12827 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12828 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12829 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12830 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12831 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12832 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12833 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12834 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12835 sa_flags value.
12836 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12837 interrupting a syscall and set with option SA_SIGINFO.
12838
42c8fdd8
JM
128392013-08-20 Joseph Myers <joseph@codesourcery.com>
12840
c980f2f4
JM
12841 [BZ #15531]
12842 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12843 argument is infinite.
12844 * math/s_cprojf.c (__cprojf): Likewise.
12845 * math/s_cprojl.c (__cprojl): Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12847 * math/libm-test.inc (cproj_test_data): Add more tests.
12848
0716c4fc
JM
12849 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12850
42c8fdd8
JM
12851 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12852 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12853 size. Use __ffs to determine corresponding shift.
12854
b31469d0
JM
128552013-08-20 Joseph Myers <joseph@codesourcery.com>
12856 Roland McGrath <roland@hack.frob.com>
12857
12858 * Makefile (INSTALL): Remove trailing blank lines from output of
12859 makeinfo.
12860
4e39af6e
AK
128612013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12862
12863 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12864 Align 32 bit compat elf_greg to 8 bytes.
12865
f315524e
AA
128662013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12867
12868 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12869
1326ba1a
SP
128702013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12871
12872 * string/strcoll_l.c (coll_seq): New structure.
12873 (get_next_seq_cached): New function.
12874 (get_next_seq): New function.
12875 (do_compare): New function.
12876 (STRCOLL): Use GNU style definition. Simplify implementation
12877 by using get_next_seq, get_next_seq_cached and do_compare.
12878
91ce4085
FW
128792013-08-16 Florian Weimer <fweimer@redhat.com>
12880
12881 [BZ #14699]
12882 CVE-2013-4237
12883 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12884 member.
12885 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12886 member.
12887 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12888 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12889 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12890 conditional.
12891 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12892 GETDENTS_64BIT_ALIGNED.
12893 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12894 * manual/filesys.texi (Reading/Closing Directory): Document
12895 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12896 strongly.
12897 * manual/conf.texi (Limits for Files): Add portability note to
12898 NAME_MAX, PATH_MAX.
12899 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12900
ca0a6bc4
AS
129012013-08-13 Andreas Schwab <schwab@suse.de>
12902
12903 [BZ #15749]
12904 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12905 of fabs.
12906 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12907 LDBL_MAX_EXP >= 16384]: Add tests for it.
12908
6c1fd795
DM
129092013-08-12 David S. Miller <davem@davemloft.net>
12910
12911 * version.h (RELEASE): Set to "development".
12912 (VERSION): Set to "2.18.90".
12913 * NEWS: Add 2.19 section.
12914
31ad488d
DM
129152013-08-03 David S. Miller <davem@davemloft.net>
12916
12917 * po/ko.po: Update Korean translation from translation project.
12918
db24e684
DM
129192013-08-01 David S. Miller <davem@davemloft.net>
12920
12921 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12922 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12923 Bilka.
12924
f723285b
DM
129252013-07-30 David S. Miller <davem@davemloft.net>
12926
12927 * po/fr.po: Update French translation from translation project.
12928
3cbc52db
DM
129292013-07-28 David S. Miller <davem@davemloft.net>
12930
30bbc0cc
DM
12931 * po/cs.po: Update Czech translation from translation project.
12932
3cbc52db
DM
12933 * po/sv.po: Update Swedish translation from translation project.
12934
d492e6d0
DM
129352013-07-27 David S. Miller <davem@davemloft.net>
12936
f1a7f492
DM
12937 * po/eo.po: Update Esperanto translation from translation project.
12938
90e62a4a
DM
12939 * po/vi.po: Update Vietnamese translation from translation project.
12940
d492e6d0
DM
12941 * po/de.po: Update German translation from translation project.
12942
d4baa62d
DM
129432013-07-26 David S. Miller <davem@davemloft.net>
12944
641aa7b4
DM
12945 * po/bg.po: Update Bulgarian translation from translation project.
12946
d4baa62d
DM
12947 * po/nl.po: Update Dutch translation from translation project.
12948 * po/pl.po: Update Polish translation from translation project.
12949 * po/ru.po: Update Russian translation from translation project.
12950
61a9dcb9
DM
129512013-07-24 David S. Miller <davem@davemloft.net>
12952
12953 * po/libc.pot: Update.
12954
7b1f8b58
AZ
129552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12956
12957 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12958 variable page size.
12959 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12960 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12961 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12962
a8fc7a03
AK
129632013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12964
12965 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12966
e4608715
CD
129672013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12968 Andreas Schwab <schwab@suse.de>
12969 Roland McGrath <roland@hack.frob.com>
12970 Joseph Myers <joseph@codesourcery.com>
12971 Carlos O'Donell <carlos@redhat.com>
12972
12973 [BZ #15755]
12974 * config.h.in: Define HAVE_PT_CHOWN.
12975 * config.make.in (build-pt-chown): New variable.
12976 * configure.in (--enable-pt_chown): New configure option.
12977 * configure: Regenerate.
12978 * login/Makefile: Include Makeconfig. Build pt_chown only if
12979 build-pt-chown is enabled.
12980 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12981 pt_chown to fix pty ownership.
12982 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12983 CLOSE_ALL_FDS.
12984 * manual/install.texi (Configuring and compiling): Mention
12985 --enable-pt_chown. Add @findex for grantpt.
12986 * INSTALL: Regenerate.
12987
da2d62df
DM
129882013-07-20 David S. Miller <davem@davemloft.net>
12989
12990 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12991 difference between 32-bit and 64-bit.
12992
d7e06450
CD
129932013-07-15 Carlos O'Donell <carlos@redhat.com>
12994
12995 [BZ #15711]
12996 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12997 Avoid system header dependency with -ffreestanding.
12998 ($(objpfx)bits/syscall%d): Likewise.
12999
f959cfd7
DM
130002013-07-13 David S. Miller <davem@davemloft.net>
13001
13002 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13003 underflows from atanl/atan2l due to bug 15319.
13004 (casinh_test_data): Likewise.
13005
c61f8513
DM
130062013-07-07 David S. Miller <davem@davemloft.net>
13007
13008 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13009
72c90ed0
JA
130102013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13011
13012 * sysdeps/i386/fpu/libm-test-ulps: Update.
13013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13014
52dfbe13
SP
130152013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13016
13017 * configure.in (--enable-lock-elision): Fix message text.
13018 * INSTALL: Regenerate.
13019 * configure: Regenerate.
13020
3f169543
AZ
130212013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13022
13023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13024
521c6785
AJ
130252013-07-03 Andreas Jaeger <aj@suse.de>
13026
13027 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13028 define.
13029 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13030 (ptrace_peeksiginfo_args): Add.
13031 (__ptrace_peeksiginfo_flags): Add.
13032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13035
d2cc15cb
AM
130362013-07-03 Allan McRae <allan@archlinux.org>
13037
13038 * sysdeps/i386/fpu/libm-test-ulps: Update.
13039
3aaeeca7
DM
130402013-07-02 David S. Miller <davem@davemloft.net>
13041
13042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13043
5314ed1a
MT
130442013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13045
13046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13047
67338156
JM
130482013-07-02 Joseph Myers <joseph@codesourcery.com>
13049
13050 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13052
1717da59
AK
130532013-07-02 Andi Kleen <ak@linux.intel.com>
13054
13055 * config.h.in (ENABLE_LOCK_ELISION): Add.
13056 * configure.in (--enable-lock-elision): Add option.
13057 * manual/install.texi: Document --enable lock elision.
13058 * configure: Regenerate
13059 * INSTALL: Regenerate.
13060
1c81621c
L
130612013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13062
13063 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13064 SSE4.2 strcasecmp for libc.a.
13065 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13066
77f01ab5
JM
130672013-07-02 Joseph Myers <joseph@codesourcery.com>
13068
13069 [BZ #13304]
13070 * soft-fp/op-common.h (_FP_FMA): New macro.
13071 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13072 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13073 (_FP_MUL_MEAT_1_imm): ... here.
13074 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13075 (_FP_MUL_MEAT_1_wide): ... here.
13076 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13077 (_FP_MUL_MEAT_1_hard): ... here.
13078 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13079 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13080 (_FP_MUL_MEAT_2_wide): ... here.
13081 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13082 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13083 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13084 (_FP_MUL_MEAT_2_gmp): ... here.
13085 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13086 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13087 (_FP_MUL_MEAT_4_wide): ... here.
13088 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13089 (_FP_MUL_MEAT_4_gmp): ... here.
13090 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13091 (_FP_WFRACBITS_DW_S): Likewise.
13092 (_FP_WFRACXBITS_DW_S): Likewise.
13093 (_FP_HIGHBIT_DW_S): Likewise.
13094 (FP_FMA_S): Likewise.
13095 (_FP_FRAC_HIGH_DW_S): Likewise.
13096 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13097 (_FP_WFRACBITS_DW_D): Likewise.
13098 (_FP_WFRACXBITS_DW_D): Likewise.
13099 (_FP_HIGHBIT_DW_D): Likewise.
13100 (FP_FMA_D): Likewise.
13101 (_FP_FRAC_HIGH_DW_D): Likewise.
13102 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13103 (_FP_WFRACBITS_DW_E): Likewise.
13104 (_FP_WFRACXBITS_DW_E): Likewise.
13105 (_FP_HIGHBIT_DW_E): Likewise.
13106 (FP_FMA_E): Likewise.
13107 (_FP_FRAC_HIGH_DW_E): Likewise.
13108 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13109 (_FP_WFRACBITS_DW_Q): Likewise.
13110 (_FP_WFRACXBITS_DW_Q): Likewise.
13111 (_FP_HIGHBIT_DW_Q): Likewise.
13112 (FP_FMA_Q): Likewise.
13113 (_FP_FRAC_HIGH_DW_Q): Likewise.
13114 * soft-fp/fmasf4.c: New file.
13115 * soft-fp/fmadf4.c: Likewise.
13116 * soft-fp/fmatf4.c: Likewise.
13117
6308fd9a
LD
131182013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13119
13120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13121 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13122 Silvermont.
13123 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13124 macro.
13125 (index_Slow_SSE4_2): Likewise.
13126 (index_Prefer_PMINUB_for_stringop): Likewise.
13127 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13128 bit_Slow_SSE4_2 is set.
13129 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13130 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13131
89cd9569
RA
131322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13133
13134 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13135 rtld_global._dl_hwcap2.
13136 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13137 POWER8.
13138 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13139 POWER8 feature descriptions defined in _dl_hwcap2.
13140 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13141 string handling for POWER8 feature bits.
13142 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13143 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13144 _dl_powerpc_cap_flags.
13145 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13146 * sysdeps/powerpc/rtld-global-offsets.sym
13147 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13148 _dl_hwcap2 in the rtld_global_ro structure.
13149
1ae8bfe0
RA
131502013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13151
13152 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13153 hardware capabilities in support of AT_HWCAP2.
13154 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13155 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13156 GLRO(dl_hwcap2).
13157 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13158 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13159 explicitly the unknown a_type display mechanism is used.
13160 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13161 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13162 struct member.
13163 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13164 to macro prototype for AT_HWCAP2 support.
13165 * sysdeps/i386/dl-procinfo.h: Likewise.
13166 * sysdeps/s390/dl-procinfo.h: Likewise.
13167 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13168 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13169 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13170 return -1 for unknown a_type display fallback.
13171 * sysdeps/sparc/dl-procinfo.h: Likewise.
13172 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13173 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13174
8fbec010
JM
131752013-06-28 Joseph Myers <joseph@codesourcery.com>
13176
13177 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13178 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13179
0432680e
PY
131802013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13181
13182 [BZ #12492]
13183 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13184 mprotect making __stack_prot writable.
13185
ce61a2ad
NF
131862013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13187 Joseph Myers <joseph@codesourcery.com>
13188
13189 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13190 as being properly aligned.
13191
f91f1c0f
MR
131922013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13193
3d0f5d0c
MR
13194 * dlfcn/modstatic5.c: New file.
13195 * dlfcn/tststatic5.c: New file.
13196 * dlfcn/Makefile (tests): Add tststatic5.
13197 (tests-static): Likewise.
13198 (modules-names): Add modstatic5.
13199 (tststatic5-ENV): New variable.
13200 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13201
f91f1c0f
MR
13202 [BZ #15022]
13203 * elf/dl-support.c (_dl_main_map): New variable.
13204 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13205 (_dl_nns, _dl_load_adds): Set to 1.
13206 (_dl_initial_searchlist): Refer to _dl_main_map.
13207 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13208 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13209 call to _dl_get_origin.
13210 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13211 around call_map.
13212 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13213 * dlfcn/modstatic3.c: New file.
13214 * dlfcn/tststatic3.c: New file.
13215 * dlfcn/tststatic4.c: New file.
13216 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13217 (tests-static): Likewise.
13218 (modules-names): Add modstatic3.
13219 (tststatic3-ENV, tststatic4-ENV): New variables.
13220 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13221 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13222
cbe7d24b
JM
132232013-06-26 Joseph Myers <joseph@codesourcery.com>
13224
13225 * configure.in (CC): Require GCC version 4.4 or later.
13226 * configure: Regenerated.
13227 * manual/install.texi (Tools for Compilation): Update GCC version
13228 requirement.
13229 * INSTALL: Regenerated.
13230
11b8a0e1
LD
132312013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13232
13233 [BZ #15674]
bb5bb87c
L
13234 * string/test-memcmp.c (check2): New.
13235 (main): Call check2.
13236
11b8a0e1
LD
13237 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13238
b0037103
MR
132392013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13240
13241 [BZ #15022]
13242 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13243 over to...
13244 (dl_open_worker) [!SHARED]: ... here.
13245
c18c701d
RA
132462013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13247
13248 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13249
1d17fa5f
RH
132502013-06-25 Richard Henderson <rth@redhat.com>
13251
13252 * locale/programs/locarchive.c: Include <libc-internal.h>
13253
8fcb833a
JM
132542013-06-25 Joseph Myers <joseph@codesourcery.com>
13255
13256 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13257 trailing whitespace removed.
13258
17db6e8d
MF
132592013-06-24 Mike Frysinger <vapier@gentoo.org>
13260
13261 [BZ #10283]
17db6e8d
MF
13262 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13263 * locale/programs/locarchive.c: Include libc-mmap.h.
13264 (prepare_address_space): Take two new outputs (the mmap base and len).
13265 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13266 values.
13267 (create_archive): Declare new mmap base and len values for
13268 prepare_address_space, and store the result in ah.
13269 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13270 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13271 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13272 Declare new mmap base and len values for
13273 prepare_address_space, and store the result in new_ah.
13274 (open_archive): Declare new mmap base and len values for
13275 prepare_address_space, and store the result in ah.
13276 (close_archive): If ah->mmap_base is not NULL, use that and
13277 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13278 * sysdeps/generic/libc-mmap.h: New file.
13279
d605071e
MF
132802013-06-24 Mike Frysinger <vapier@gentoo.org>
13281
13282 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13283 (ALIGN_UP): Likewise.
13284 (PTR_ALIGN_DOWN): Likewise.
13285 (PTR_ALIGN_UP): Likewise.
13286
2f063a6e
RA
132872013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13288
13289 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13290 entry mapped to PPC_PLATFORM_POWER8.
13291 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13292 POWER8.
13293 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13294 (_dl_string_platform): Add case for exporting platform position for
13295 POWER8.
13296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13297 search path to sysdeps/powerpc/powerpc32/power8 directory.
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13299 search path to sysdeps/powerpc/powerpc64/power8 directory.
13300 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13301 power7 directories.
13302 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13303 power7 directories.
13304
a31ee4b3
SP
133052013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13306
a74ca98f
SP
13307 * INSTALL: Regenerate.
13308
a31ee4b3
SP
13309 * nscd/connections.c (nscd_init): Fix comment.
13310
695c378f
JM
133112013-06-22 Joseph Myers <joseph@codesourcery.com>
13312
d8412221
JM
13313 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13314
695c378f
JM
13315 [BZ #15667]
13316 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13317 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13318
d1d54715
MR
133192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13320
13321 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13322 DL_DST_REQ_STATIC.
13323 (DL_DST_REQ_STATIC): Remove macro.
13324
8fdda7af
JM
133252013-06-21 Joseph Myers <joseph@codesourcery.com>
13326
13327 [BZ #7006]
13328 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13329 with a shift of 0 bits.
13330
f3bc5e5a
MR
133312013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13332
13333 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13334 $(tststatic-ENV).
13335
be09e8c9
KK
133362013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13337
13338 [BZ #15655]
13339 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13340
85c2e611
AZ
133412013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13342
13343 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13344 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13345 accepts -fno-tree-loop-distribute-patterns.
13346 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13347 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13348 recursive call.
13349 * string/memset.c (memset): Likewise.
13350 * string/test-memmove.c (simple_memmove): Disable loop transformation
13351 to library calls.
13352 * string/test-memset.c (simple_memset): Likewise.
13353 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13354 * benchtests/bench-memset.c (simple_memset): Likewise.
13355 * configure: Regenerated.
13356
c91e0825
JM
133572013-06-20 Joseph Myers <joseph@codesourcery.com>
13358
b8c792af
JM
13359 * math/test-misc.c (main): Ignore fesetround failure when failures
13360 of subsequent rounding tests would be ignored.
13361
c91e0825
JM
13362 [BZ #15654]
13363 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13364 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13365 * math/fegetenv.c (__fegetenv): Return 0.
13366 * math/fegetexcept.c (fegetexcept): Return 0.
13367 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13368 FE_TONEAREST.
13369 * math/feholdexcpt.c (feholdexcept): Return 0.
13370 * math/fesetenv.c (__fesetenv): Return 0.
13371 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13372 argument FE_TONEAREST.
13373 * math/feupdateenv.c (__feupdateenv): Return 0.
13374 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13375
bfcacbde
RM
133762013-06-18 Roland McGrath <roland@hack.frob.com>
13377
13378 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13379 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13380 ($(objpfx)rtld-%.os rules): Use them.
13381
e55a9b25
AZ
133822013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13383
13384 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13385 fields.
13386
346d65b3
RM
133872013-06-17 Roland McGrath <roland@hack.frob.com>
13388
12086fb4
RM
13389 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13390 length of target pattern, then descending length of dependency pattern.
13391 * configure.in (AWK): Require gawk 3.1.2 or newer.
13392 * manual/install.texi (Tools for Compilation): Say that we do.
13393 * configure: Regenerated.
13394
346d65b3
RM
13395 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13396 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13397 * scripts/sysd-rules.awk: ... this new script.
13398 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13399 than a glob-style pattern.
13400
1a846317
JM
134012013-06-17 Joseph Myers <joseph@codesourcery.com>
13402
13403 * math/test-misc.c (main): Do not treat incorrectly rounded
13404 conversions as failure unless ROUNDING_TESTS passes.
13405
8fc75e6f
JM
134062013-06-15 Joseph Myers <joseph@codesourcery.com>
13407
3711a167
JM
13408 [BZ #15631]
13409 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13410 restore exception state around main square root computation, then
13411 check for inexactness explicitly.
13412
8fc75e6f
JM
13413 * math/libm-test.inc (fma_test_data): Add another test.
13414
61dd6208
SP
134152013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13416
adf23d2c
SP
13417 * manual/threads.texi (Non-POSIX Extensions): New document
13418 node. Document pthread_getattr_default_np and
13419 pthread_setattr_default_np.
13420
61dd6208
SP
13421 * Versions.def (libpthread): Add GLIBC_2.18.
13422 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13424 Likewise.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13426 Likewise.
13427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13428 Likewise.
13429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13430 Likewise.
13431 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13432 Likewise.
13433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13434 Likewise.
13435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13436 Likewise.
13437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13438 Likewise.
13439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13440 Likewise.
13441
d086fc7b
LD
134422013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13443
13444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13445 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13446
747ef469
SP
134472013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13448 H.J. Lu <hjl.tools@gmail.com>
13449
13450 [BZ #15627]
13451 * sysdeps/x86_64/rtld-memset.c: Remove file.
13452 * sysdeps/x86_64/rtld-memset.S: New file.
13453
1b2feed2
JM
134542013-06-14 Joseph Myers <joseph@codesourcery.com>
13455
13456 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13457 (test_in_one_mode): Take arguments for whether the rounding mode
13458 is supported for each floating-point type.
13459 (do_test): Pass new arguments to test_in_one_mode using
13460 ROUNDING_TESTS.
13461
a58ad3f8
RM
134622013-06-13 Roland McGrath <roland@hack.frob.com>
13463
13464 * posix/tst-waitid.c (do_test): Distinguish different instances of
13465 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13466 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13467 before entering the kernel for waitpid.
13468
c204ab28
SP
134692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13470
13471 * NEWS: Fix note on clock function precision. Text by Roland
13472 McGrath.
13473
f4a29fba
RM
134742013-06-13 Roland McGrath <roland@hack.frob.com>
13475
13476 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13477 it into place only when and if the sanity check passes.
13478
1f24b9ad
JM
134792013-06-13 Joseph Myers <joseph@codesourcery.com>
13480
13481 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13482 output for whether conversion result is exact. Take argument
13483 indicating whether type is IBM long double.
13484 (round_for_all): Change need_exact field to ibm_ld.
13485 * stdlib/tst-strtod-round.c (struct exactness): New type.
13486 (struct test): Change bool ld_ok field to struct exactness exact.
13487 (TEST): Update all definitions for change to field.
13488 (tests): Regenerate array contents.
13489 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13490 field value. Check for IBM long double here.
13491 (do_test): Update calls to test_in_one_mode.
13492
58206c68
SP
134932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13494
13495 [BZ #12515]
13496 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13497 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13498
2d6f4c5b 134992013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13500
13501 [BZ #15605]
13502 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13503 generated by the compiler on loop optimizations.
13504 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13505 general definitions.
13506
94f2c076
JM
135072013-06-12 Joseph Myers <joseph@codesourcery.com>
13508
13509 * math/bug-nextafter.c: Include <math-tests.h>.
13510 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13511 the relevant type.
13512 * math/bug-nexttoward.c: Include <math-tests.h>.
13513 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13514 the relevant type.
13515 * math/test-misc.c: Include <math-tests.h>.
13516 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13517 the relevant type.
13518
e0e50a0a
AJ
135192013-06-12 Andreas Jaeger <aj@suse.de>
13520
13521 * po/ia.po: Update Interlingua translation from translation
13522 project.
13523
25061094
SP
135242013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13525
13526 * include/fenv.h: Include stdbool.h.
13527 (struct rm_ctx): New structure.
13528 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13529 Define macro.
13530 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13531 (SET_RESTORE_ROUNDF): Likewise.
13532 (SET_RESTORE_ROUNDL): Likewise.
13533 (SET_RESTORE_ROUND_NOEX): Likewise.
13534 (SET_RESTORE_ROUND_NOEXF): Likewise.
13535 (SET_RESTORE_ROUND_NOEXL): Likewise.
13536 (SET_RESTORE_ROUND_53BIT): Likewise.
13537 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13538 (libc_feresetround_noexf_ctx): Likewise.
13539 (libc_feresetround_noexl_ctx): Likewise.
13540 (libc_feholdsetround_53bit_ctx): Likewise.
13541 (libc_feresetround_53bit_ctx): Likewise.
13542 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13543 (libc_feholdexcept_setround_sse_ctx): New function.
13544 (libc_fesetenv_sse_ctx): Likewise.
13545 (libc_feupdateenv_sse_ctx): Likewise.
13546 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13547 (libc_feholdexcept_setround_387_ctx): Likewise.
13548 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13549 (libc_feholdsetround_387_prec_ctx): Likewise.
13550 (libc_feholdsetround_387_ctx): Likewise.
13551 (libc_feholdsetround_387_53bit_ctx): Likewise.
13552 (libc_feholdsetround_sse_ctx): Likewise.
13553 (libc_feresetround_sse_ctx): Likewise.
13554 (libc_feresetround_387_ctx): Likewise.
13555 (libc_feupdateenv_387_ctx): Likewise.
13556 (libc_feholdexcept_setroundf_ctx): Define macro.
13557 (libc_fesetenvf_ctx): Likewise.
13558 (libc_feupdateenvf_ctx): Likewise.
13559 (libc_feholdsetroundf_ctx): Likewise.
13560 (libc_feresetroundf_ctx): Likewise.
13561 (libc_feholdexcept_setround_ctx): Likewise.
13562 (libc_fesetenv_ctx): Likewise.
13563 (libc_feupdateenv_ctx): Likewise.
13564 (libc_feholdsetround_ctx): Likewise.
13565 (libc_feresetround_ctx): Likewise.
13566 (libc_feholdexcept_setroundl_ctx): Likewise.
13567 (libc_feupdateenvl_ctx): Likewise.
13568 (libc_feholdsetroundl_ctx): Likewise.
13569 (libc_feresetroundl_ctx): Likewise.
13570 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13571 (libc_feresetround_53bit_ctx): Likewise.
13572
59b30555
SP
135732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13574
13575 * locale/iso-639.def: Convert to UTF-8.
13576
f1d73d30
JM
135772013-06-11 Joseph Myers <joseph@codesourcery.com>
13578
13579 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13580 (EXCEPTION_TESTS_double): Likewise.
13581 (EXCEPTION_TESTS_long_double): Likewise.
13582 (EXCEPTION_TESTS): Likewise.
13583 * math/libm-test.inc (test_exceptions): Only test exceptions if
13584 EXCEPTION_TESTS (FLOAT).
13585
94aca5e7
SP
135862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13587
13588 * benchtests/Makefile (string-bench): Add strcpy_chk and
13589 stpcpy_chk.
13590 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13591 * benchtests/bench-stpcpy_chk.c: New file.
13592 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13593 * benchtests/bench-strcpy_chk.c: New file.
13594 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13595 code.
13596 (do_test): Likewise.
13597
fac0c5f2
RA
135982013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13599
13600 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13601 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13602 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13603 with tabs where appropriate.
13604 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13605 dl-procinfo.h.
13606 [PPC_PLATFORM_PPC440]: Likewise.
13607 [PPC_PLATFORM_PPC464]: Likewise.
13608 [PPC_PLATFORM_PPC476]: Likewise.
13609 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13610 ppc464, and ppc476 platform strings merging from ports/
13611 dl-procinfo.h.
13612
f22bc486
AS
136132013-06-11 Andreas Schwab <schwab@suse.de>
13614
13615 [BZ #14991]
13616 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13617 (from_ucs4_idx): Regenerate.
13618 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13619 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13620 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13621 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13622 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13623 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13624 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13625 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13626 from FROM_LOOP and TO_LOOP specific macros.
13627 (BODY): Handle combining characters.
13628 * iconvdata/BIG5HKSCS.irreversible: Update.
13629 * iconvdata/BIG5HKSCS.precomposed: New file.
13630 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13631 characters.
13632 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13633
c1f75dc3
SP
136342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13635
4eacded2
SP
13636 * include/sys/time.h: Fix indentation and add copyright header.
13637
fec799f8
SP
13638 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13639 (do_test): Likewise.
13640 * string/test-memchr.c (do_one_test): Likewise.
13641 (do_test): Likewise.
13642 * string/test-memcmp.c (do_one_test): Likewise.
13643 (do_test): Likewise.
13644 * string/test-memcpy.c (do_one_test): Likewise.
13645 (do_test): Likewise.
13646 * string/test-memmem.c (do_one_test): Likewise.
13647 (do_test): Likewise.
13648 (do_random_tests): Likewise.
13649 * string/test-memmove.c (do_one_test): Likewise.
13650 (do_test): Likewise.
13651 * string/test-memset.c (do_one_test): Likewise.
13652 (do_test): Likewise.
13653 * string/test-rawmemchr.c (do_one_test): Likewise.
13654 (do_test): Likewise.
13655 * string/test-strcasecmp.c (do_one_test): Likewise.
13656 (do_test): Likewise.
13657 * string/test-strcasestr.c (do_one_test): Likewise.
13658 (do_test): Likewise.
13659 * string/test-strcat.c (do_one_test): Likewise.
13660 (do_test): Likewise.
13661 * string/test-strchr.c (do_one_test): Likewise.
13662 (do_test): Likewise.
13663 * string/test-strcmp.c (do_one_test): Likewise.
13664 (do_test): Likewise.
13665 * string/test-strcpy.c (do_one_test): Likewise.
13666 (do_test): Likewise.
13667 * string/test-string.h: Likewise.
13668 (test_init): Likewise.
13669 * string/test-strlen.c (do_one_test): Likewise.
13670 (do_test): Likewise.
13671 * string/test-strncasecmp.c (do_one_test): Likewise.
13672 (do_test): Likewise.
13673 * string/test-strncat.c (do_one_test): Likewise.
13674 (do_test): Likewise.
13675 * string/test-strncmp.c (do_one_test): Likewise.
13676 (do_test_limit): Likewise.
13677 (do_test): Likewise.
13678 * string/test-strncpy.c (do_one_test): Likewise.
13679 (do_test): Likewise.
13680 * string/test-strnlen.c (do_one_test): Likewise.
13681 (do_test): Likewise.
13682 * string/test-strpbrk.c (do_one_test): Likewise.
13683 (do_test): Likewise.
13684 * string/test-strrchr.c (do_one_test): Likewise.
13685 (do_test): Likewise.
13686 * string/test-strspn.c (do_one_test): Likewise.
13687 (do_test): Likewise.
13688 * string/test-strstr.c (do_one_test): Likewise.
13689 (do_test): Likewise.
13690
97020474
SP
13691 * benchtests/Makefile (string-bench): Add string benchmarks.
13692 * benchtests/bench-bcopy-ifunc.c: New file.
13693 * benchtests/bench-bcopy.c: New file.
13694 * benchtests/bench-bzero-ifunc.c: New file.
13695 * benchtests/bench-bzero.c: New file.
13696 * benchtests/bench-memccpy-ifunc.c: New file.
13697 * benchtests/bench-memccpy.c: New file.
13698 * benchtests/bench-memchr-ifunc.c: New file.
13699 * benchtests/bench-memchr.c: New file.
13700 * benchtests/bench-memcmp-ifunc.c: New file.
13701 * benchtests/bench-memcmp.c: New file.
13702 * benchtests/bench-memmem-ifunc.c: New file.
13703 * benchtests/bench-memmem.c: New file.
13704 * benchtests/bench-memmove-ifunc.c: New file.
13705 * benchtests/bench-memmove.c: New file.
13706 * benchtests/bench-mempcpy-ifunc.c: New file.
13707 * benchtests/bench-mempcpy.c: New file.
13708 * benchtests/bench-memset-ifunc.c: New file.
13709 * benchtests/bench-memset.c: New file.
13710 * benchtests/bench-rawmemchr-ifunc.c: New file.
13711 * benchtests/bench-rawmemchr.c: New file.
13712 * benchtests/bench-stpcpy-ifunc.c: New file.
13713 * benchtests/bench-stpcpy.c: New file.
13714 * benchtests/bench-stpncpy-ifunc.c: New file.
13715 * benchtests/bench-stpncpy.c: New file.
13716 * benchtests/bench-strcasecmp-ifunc.c: New file.
13717 * benchtests/bench-strcasecmp.c: New file.
13718 * benchtests/bench-strcasestr-ifunc.c: New file.
13719 * benchtests/bench-strcasestr.c: New file.
13720 * benchtests/bench-strcat-ifunc.c: New file.
13721 * benchtests/bench-strcat.c: New file.
13722 * benchtests/bench-strchr-ifunc.c: New file.
13723 * benchtests/bench-strchr.c: New file.
13724 * benchtests/bench-strchrnul-ifunc.c: New file.
13725 * benchtests/bench-strchrnul.c: New file.
13726 * benchtests/bench-strcmp-ifunc.c: New file.
13727 * benchtests/bench-strcmp.c: New file.
13728 * benchtests/bench-strcpy-ifunc.c: New file.
13729 * benchtests/bench-strcpy.c: New file.
13730 * benchtests/bench-strcspn-ifunc.c: New file.
13731 * benchtests/bench-strcspn.c: New file.
13732 * benchtests/bench-strlen-ifunc.c: New file.
13733 * benchtests/bench-strlen.c: New file.
13734 * benchtests/bench-strncasecmp-ifunc.c: New file.
13735 * benchtests/bench-strncasecmp.c: New file.
13736 * benchtests/bench-strncat-ifunc.c: New file.
13737 * benchtests/bench-strncat.c: New file.
13738 * benchtests/bench-strncmp-ifunc.c: New file.
13739 * benchtests/bench-strncmp.c: New file.
13740 * benchtests/bench-strncpy-ifunc.c: New file.
13741 * benchtests/bench-strncpy.c: New file.
13742 * benchtests/bench-strnlen-ifunc.c: New file.
13743 * benchtests/bench-strnlen.c: New file.
13744 * benchtests/bench-strpbrk-ifunc.c: New file.
13745 * benchtests/bench-strpbrk.c: New file.
13746 * benchtests/bench-strrchr-ifunc.c: New file.
13747 * benchtests/bench-strrchr.c: New file.
13748 * benchtests/bench-strspn-ifunc.c: New file.
13749 * benchtests/bench-strspn.c: New file.
13750 * benchtests/bench-strstr-ifunc.c: New file.
13751 * benchtests/bench-strstr.c: New file.
13752
c1f75dc3
SP
13753 * benchtests/Makefile: Disable parallel execution of targets.
13754 (string-bench): Add memcpy.
13755 (benchset): New variable to store a list of benchmark sets.
13756 (bench-func): Renamed from bench.
13757 (bench-set): New target.
13758 (bench): Depend on bench-func and bench-set.
13759 * benchtests/README: Add section on benchmark sets.
13760 * benchtests/bench-memcpy-ifunc.c: New file.
13761 * benchtests/bench-memcpy.c: New file.
13762 * benchtests/bench-string.h: New file.
13763
50fd745b
AS
137642013-06-11 Andreas Schwab <schwab@suse.de>
13765
13766 [BZ #15577]
13767 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13768 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13769 values in the triple.
13770 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13771 terminator in the group key.
13772
3ee7e9fe
AJ
137732013-06-11 Andreas Jaeger <aj@suse.de>
13774
13775 * po/zh_TW.po: Update Chinese (traditional) translation from
13776 translation project.
13777
89fb6835
SP
137782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13779
13780 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13781 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13782 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13783 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13784 (clock_getcpuclockid): Likewise.
13785 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13786 Add weak_alias and libc_hidden_def.
13787 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13788 * rt/clock_gettime.c (clock_gettime): Rename to
13789 __clock_gettime. Add weak_alias and libc_hidden_def.
13790 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13791 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13792 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13793 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13794 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13795 Likewise.
13796 * rt/clock_settime.c (clock_settime): Rename to
13797 __clock_settime. Add weak_alias and libc_hidden_def.
13798 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13799
0efa6f8b
JM
138002013-06-10 Joseph Myers <joseph@codesourcery.com>
13801
b8c61b4b
JM
13802 * mach/err_boot.sub: Remove trailing whitespace.
13803 * mach/err_ipc.sub: Likewise.
13804 * mach/err_mach.sub: Likewise.
13805
0efa6f8b
JM
13806 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13807 (ROUNDING_TESTS_double): Likewise.
13808 (ROUNDING_TESTS_long_double): Likewise.
13809 (ROUNDING_TESTS): Likewise.
13810 * math/libm-test.inc: Include <math-tests.h>.
13811 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13812 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13813 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13814 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13815
50b818bf
SP
138162013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13817
13818 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13819 of assigning.
13820
60d2f8f3
JM
138212013-06-08 Joseph Myers <joseph@codesourcery.com>
13822
4902d2c3
JM
13823 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13824 otherwise empty TRANS lines.
13825 * sysdeps/gnu/errlist.c: Regenerated.
13826
60d2f8f3
JM
13827 * catgets/gencat.c (error_print): Use (void) in function
13828 definition.
13829 * crypt/crypt_util.c (__init_des): Likewise.
13830 * crypt/speeds.c (Stop): Likewise.
13831 (main): Likewise.
13832 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13833 * inet/ruserpass.c (token): Likewise.
13834 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13835 * intl/localealias.c (extend_alias_table): Likewise.
13836 * intl/plural-exp.c (init_germanic_plural): Likewise.
13837 * libio/fcloseall.c (__fcloseall): Likewise.
13838 * libio/genops.c (_IO_flush_all): Likewise.
13839 (_IO_flush_all_linebuffered): Likewise.
13840 (_IO_cleanup): Likewise.
13841 (_IO_iter_begin): Likewise.
13842 (_IO_iter_end): Likewise.
13843 (_IO_list_lock): Likewise.
13844 (_IO_list_unlock): Likewise.
13845 (_IO_list_resetlock): Likewise.
13846 * libio/getchar.c (getchar): Likewise.
13847 * libio/getchar_u.c (getchar_unlocked): Likewise.
13848 * libio/getwchar.c (getwchar): Likewise.
13849 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13850 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13851 * login/getpt.c (__getpt): Likewise.
13852 * login/tst-utmp.c (main): Likewise.
13853 * malloc/hooks.c (__malloc_check_init): Likewise.
13854 * malloc/malloc.c (__malloc_stats): Likewise.
13855 * malloc/mtrace.c (tr_break): Likewise.
13856 (mtrace): Likewise.
13857 (muntrace): Likewise.
13858 * misc/fstab.c (endfsent): Likewise.
13859 * misc/getclktck.c (__getclktck): Likewise.
13860 * misc/getdtsz.c (__getdtablesize): Likewise.
13861 * misc/gethostid.c (gethostid): Likewise.
13862 * misc/getpagesize.c (__getpagesize): Likewise.
13863 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13864 (__get_nprocs): Likewise.
13865 (__get_phys_pages): Likewise.
13866 (__get_avphys_pages): Likewise.
13867 * misc/getttyent.c (getttyent): Likewise.
13868 (setttyent): Likewise.
13869 (endttyent): Likewise.
13870 * misc/getusershell.c (getusershell): Likewise.
13871 (endusershell): Likewise.
13872 (setusershell): Likewise.
13873 (initshells): Likewise.
13874 * misc/hsearch.c (__hdestroy): Likewise.
13875 * misc/sync.c (sync): Likewise.
13876 * misc/syslog.c (closelog_internal): Likewise.
13877 (closelog): Likewise.
13878 * misc/ttyslot.c (ttyslot): Likewise.
13879 * misc/vhangup.c (vhangup): Likewise.
13880 * posix/fork.c (__fork): Likewise.
13881 * posix/getegid.c (__getegid): Likewise.
13882 * posix/geteuid.c (__geteuid): Likewise.
13883 * posix/getgid.c (__getgid): Likewise.
13884 * posix/getpid.c (__getpid): Likewise.
13885 * posix/getppid.c (__getppid): Likewise.
13886 * posix/getuid.c (__getuid): Likewise.
13887 * posix/pause.c (pause): Likewise.
13888 * posix/setpgrp.c (setpgrp): Likewise.
13889 * posix/setsid.c (__setsid): Likewise.
13890 * posix/test-vfork.c (noop): Likewise.
13891 * resolv/gethnamaddr.c (_endhtent): Likewise.
13892 (_gethtent): Likewise.
13893 (ht_endhostent): Likewise.
13894 (gethostent): Likewise.
13895 (dns_service): Likewise.
13896 * stdlib/drand48.c (drand48): Likewise.
13897 * stdlib/lrand48.c (lrand48): Likewise.
13898 * stdlib/mrand48.c (mrand48): Likewise.
13899 * stdlib/rand.c (rand): Likewise.
13900 * stdlib/random.c (__random): Likewise.
13901 * stdlib/setenv.c (clearenv): Likewise.
13902 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13903 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13904 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13905 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13906 (__get_nprocs): Likewise.
13907 (__get_phys_pages): Likewise.
13908 (__get_avphys_pages): Likewise.
13909 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13910 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13911 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13912 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13913 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13914 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13915 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13916 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13917 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13918 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13919 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13920 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13921 * sysdeps/posix/clock.c (clock): Likewise.
13922 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13923 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13924 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13925 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13926 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13927 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13928 (__get_nprocs_conf): Likewise.
13929 (__get_phys_pages): Likewise.
13930 (__get_avphys_pages): Likewise.
13931 * time/clock.c (clock): Likewise.
13932 * time/tzset.c (__tzname_max): Likewise.
13933
2e09a79a
JM
139342013-06-07 Joseph Myers <joseph@codesourcery.com>
13935
13936 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13937 (__bswap_32): Do not use "register".
13938 * crypt/crypt.c (_ufc_doit_r): Likewise.
13939 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13940 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13941 * gmon/gmon.c (__monstartup): Likewise.
13942 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13943 * hurd/hurdmalloc.c (more_memory): Likewise.
13944 (malloc): Likewise.
13945 (free): Likewise.
13946 (realloc): Likewise.
13947 (malloc_fork_prepare): Likewise.
13948 (malloc_fork_parent): Likewise.
13949 (malloc_fork_child): Likewise.
13950 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13951 (_svcauth_des): Likewise.
13952 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13953 * inet/inet_net.c (inet_network): Likewise.
13954 * inet/inet_netof.c (inet_netof): Likewise.
13955 * inet/rcmd.c (__validuser2_sa): Likewise.
13956 * io/fts.c (fts_open): Likewise.
13957 (fts_load): Likewise.
13958 (fts_close): Likewise.
13959 (fts_read): Likewise.
13960 (fts_children): Likewise.
13961 (fts_build): Likewise.
13962 (fts_stat): Likewise.
13963 (fts_sort): Likewise.
13964 (fts_alloc): Likewise.
13965 (fts_lfree): Likewise.
13966 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13967 (_IO_file_xsgetn): Likewise.
13968 (_IO_file_xsgetn_mmap): Likewise.
13969 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13970 (_IO_cookie_write): Likewise.
13971 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13972 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13973 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13974 * malloc/obstack.c (_obstack_begin): Likewise.
13975 (_obstack_begin_1): Likewise.
13976 (_obstack_newchunk): Likewise.
13977 (_obstack_allocated_p): Likewise.
13978 (obstack_free): Likewise.
13979 (_obstack_memory_used): Likewise.
13980 * misc/getttyent.c (getttynam): Likewise.
13981 (getttyent): Likewise.
13982 (skip): Likewise.
13983 (value): Likewise.
13984 * misc/getusershell.c (initshells): Likewise.
13985 * misc/syslog.c (__vsyslog_chk): Likewise.
13986 * misc/ttyslot.c (ttyslot): Likewise.
13987 * nis/nis_hash.c (__nis_hash): Likewise.
13988 * posix/fnmatch_loop.c (FCT): Likewise.
13989 * posix/getconf.c (print_all): Likewise.
13990 (main): Likewise.
13991 * posix/getopt.c (exchange): Likewise.
13992 * posix/glob.c (globfree): Likewise.
13993 (prefix_array): Likewise.
13994 (__glob_pattern_type): Likewise.
13995 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13996 (NS_GET32): Likewise.
13997 (NS_PUT16): Likewise.
13998 (NS_PUT32): Likewise.
13999 * resolv/gethnamaddr.c (getanswer): Likewise.
14000 (gethostbyname2): Likewise.
14001 (gethostbyaddr): Likewise.
14002 (_gethtent): Likewise.
14003 (_gethtbyname2): Likewise.
14004 (_gethtbyaddr): Likewise.
14005 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14006 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14007 * resolv/res_init.c (__res_vinit): Likewise.
14008 (net_mask): Likewise.
14009 * resolv/res_mkquery.c (outchar): Likewise.
14010 (PRINT): Likewise.
14011 * stdio-common/printf_fp.c (outchar): Likewise.
14012 (PRINT): Likewise.
14013 * stdio-common/printf_fphex.c (outchar): Likewise.
14014 (PRINT): Likewise.
14015 * stdio-common/printf_size.c (outchar): Likewise.
14016 (PRINT): Likewise.
14017 * stdio-common/test_rdwr.c (main): Likewise.
14018 * stdio-common/tfformat.c (matches): Likewise.
14019 * stdio-common/vfprintf.c (outchar): Likewise.
14020 (printf_unknown): Likewise.
14021 (buffered_vfprintf): Likewise.
14022 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14023 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14024 (ReadFile): Likewise.
14025 * stdlib/qsort.c (SWAP): Likewise.
14026 (_quicksort): Likewise.
14027 * stdlib/setenv.c (__add_to_environ): Likewise.
14028 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14029 * stdlib/strtol_l.c (__strtol_l): Likewise.
14030 * stdlib/tst-strtod.c (main): Likewise.
14031 * stdlib/tst-strtol.c (main): Likewise.
14032 * stdlib/tst-strtoll.c (main): Likewise.
14033 * string/bits/string2.h (__strcmp_cc): Likewise.
14034 (__strcmp_cg): Likewise.
14035 (__strcspn_c1): Likewise.
14036 (__strcspn_c2): Likewise.
14037 (__strcspn_c3): Likewise.
14038 (__strspn_c1): Likewise.
14039 (__strspn_c2): Likewise.
14040 (__strspn_c3): Likewise.
14041 (__strsep_1c): Likewise.
14042 (__strsep_2c): Likewise.
14043 (__strsep_3c): Likewise.
14044 * string/memccpy.c (__memccpy): Likewise.
14045 * string/stpcpy.c (__stpcpy): Likewise.
14046 * string/strcmp.c (strcmp): Likewise.
14047 * string/strrchr.c (strrchr): Likewise.
14048 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14049 Likewise.
14050 * sysdeps/mach/hurd/getcwd.c
14051 (_hurd_canonicalize_directory_name_internal): Likewise.
14052 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14053 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14054 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14055 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14056 Likewise, in both definitions.
14057 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14058 definitions.
14059 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14060 64] (__bswap_64): Likewise.
14061 * time/test_time.c (main): Likewise.
14062 * time/tzfile.c (__tzfile_read): Likewise.
14063 (__tzfile_compute): Likewise.
14064 * time/tzset.c (__tzset_parse_tz): Likewise.
14065 (tzset_internal): Likewise.
14066 (compute_change): Likewise.
14067 * wcsmbs/wcscat.c (__wcscat): Likewise.
14068 * wcsmbs/wcschr.c (wcschr): Likewise.
14069 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14070 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14071 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14072 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14073 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14074 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14075 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14076 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14077 * wcsmbs/wmemset.c (wmemset): Likewise.
14078
9e54314b
JM
140792013-06-06 Joseph Myers <joseph@codesourcery.com>
14080
14081 * scripts/config.guess: Update to version 2013-05-16.
14082 * scripts/config.sub: Update to version 2013-04-24.
14083 * scripts/install-sh: Update to version 2011-11-20.07.
14084 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14085 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14086
350635a5
OB
140872013-06-06 Ondřej Bílka <neleai@seznam.cz>
14088
14089 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14090 * elf/sln.c: Likewise.
14091 * hurd/hurd/ioctl.h: Likewise.
14092 * hurd/hurdmalloc.c: Likewise.
14093 * hurd/xattr.c: Likewise.
14094 * include/shlib-compat.h: Likewise.
14095 * inet/ruserpass.c: Likewise.
14096 * libio/iofgets_u.c: Likewise.
14097 * libio/iofgetws_u.c: Likewise.
14098 * locale/programs/ld-identification.c: Likewise.
14099 * locale/programs/ld-time.c: Likewise.
14100 * mach/msg-destroy.c: Likewise.
14101 * nss/nss_files/files-netgrp.c: Likewise.
14102 * resolv/res_data.c: Likewise.
14103 * soft-fp/op-1.h: Likewise.
14104 * soft-fp/op-2.h: Likewise.
14105 * soft-fp/op-4.h: Likewise.
14106 * soft-fp/op-common.h: Likewise.
14107 * stdio-common/printf_fphex.c: Likewise.
14108 * stdlib/strtod_l.c: Likewise.
14109 * sunrpc/rpc/clnt.h: Likewise.
14110 * sysdeps/generic/framestate.c: Likewise.
14111 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14112 * sysdeps/i386/bsd-setjmp.S: Likewise.
14113 * sysdeps/i386/__longjmp.S: Likewise.
14114 * sysdeps/i386/setjmp.S: Likewise.
14115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14116 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14117 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14118 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14119 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14121 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14122 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14123 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14124 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14125 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14126 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14127 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14128 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14129 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14130 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14131 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14133 * sysdeps/ieee754/support.c: Likewise.
14134 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14135 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14136 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14137 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14138 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14139 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14140 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14141 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14142 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14143 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14144 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14145 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14146 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14147 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14148 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14149 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14150 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14152
44a988af
OB
141532013-06-05 Ondřej Bílka <neleai@seznam.cz>
14154
25506f09 14155 * posix/transbug.c: Remove executable mode.
44a988af 14156
9c84384c
JM
141572013-06-05 Joseph Myers <joseph@codesourcery.com>
14158
14159 * crypt/speeds.c: Remove trailing whitespace.
14160 * dlfcn/default.c: Likewise.
14161 * elf/ifuncdep2.c: Likewise.
14162 * elf/ifuncmain1.c: Likewise.
14163 * elf/ifuncmain1vis.c: Likewise.
14164 * elf/testobj.h: Likewise.
14165 * elf/tst-stackguard1.c: Likewise.
14166 * gmon/sys/gmon.h: Likewise.
14167 * hurd/hurdmsg.c: Likewise.
14168 * hurd/new-fd.c: Likewise.
14169 * hurd/ports-get.c: Likewise.
14170 * iconvdata/ibm1008_420.c: Likewise.
14171 * inet/tst-getni1.c: Likewise.
14172 * inet/tst-getni2.c: Likewise.
14173 * libio/ioungetc.c: Likewise.
14174 * libio/wfiledoalloc.c: Likewise.
14175 * manual/libm-err-tab.pl: Likewise.
14176 * math/w_dremf.c: Likewise.
14177 * misc/ftruncate.c: Likewise.
14178 * posix/bug-glob2.c: Likewise.
14179 * posix/tst-pcre.c: Likewise.
14180 * posix/wait4.c: Likewise.
14181 * resolv/README: Likewise.
14182 * resolv/res_debug.h: Likewise.
14183 * resolv/tst-inet_ntop.c: Likewise.
14184 * setjmp/bug269-setjmp.c: Likewise.
14185 * soft-fp/extended.h: Likewise.
14186 * soft-fp/op-1.h: Likewise.
14187 * soft-fp/op-2.h: Likewise.
14188 * soft-fp/op-4.h: Likewise.
14189 * soft-fp/op-8.h: Likewise.
14190 * soft-fp/testit.c: Likewise.
14191 * stdio-common/bug16.c: Likewise.
14192 * stdlib/random.c: Likewise.
14193 * sunrpc/rpcsvc/rquota.x: Likewise.
14194 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14195 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14196 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14197 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14198 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14199 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14200 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14201 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14202 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14203 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14204 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14210 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14212 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14215 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14216 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14217 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14218 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14219 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14220 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14223 * sysdeps/ieee754/s_lib_version.c: Likewise.
14224 * sysdeps/mach/hurd/check_fds.c: Likewise.
14225 * sysdeps/mach/hurd/getsockname.c: Likewise.
14226 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14227 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14228 * sysdeps/powerpc/bits/link.h: Likewise.
14229 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14230 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14231 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14232 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14233 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14234 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14235 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14236 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14237 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14238 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14239 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14240 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14241 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14242 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14243 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14244 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14247 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14248 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14249 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14250 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14252 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14253 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14254 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14255 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14256 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14257 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14259 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14261 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14262 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14263 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14264 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14265 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14266 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14267 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14268 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14269 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14270 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14271 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14272 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14273 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14274 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14275 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14276 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14277 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14278 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14281 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14282 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14283 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14284 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14285 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14286 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14287 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14288 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14289 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14290 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14291 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14292 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14293 * sysdeps/powerpc/sysdep.h: Likewise.
14294 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14295 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14296 * sysdeps/sh/dl-trampoline.S: Likewise.
14297 * sysdeps/sh/memset.S: Likewise.
14298 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14299 * sysdeps/sh/strlen.S: Likewise.
14300 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14301 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14302 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14303 * sysdeps/sparc/sparc32/rem.S: Likewise.
14304 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14305 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14306 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14307 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14308 * sysdeps/sparc/sparc32/urem.S: Likewise.
14309 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14310 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14311 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14312 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14313 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14314 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14315 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14316 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14317 * sysdeps/unix/bsd/times.c: Likewise.
14318 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14319 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14325 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14326 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14327 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14328 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14329 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14330 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14331 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14332 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14333 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14334 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14335 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14336 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14337 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14338 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14339 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14340 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14341 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14342 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14343 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14344 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14345 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14346 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14347 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14348 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14349 * sysdeps/x86_64/strcspn.S: Likewise.
14350
869378a5
RA
143512013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14352
14353 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14354 generated file. Regenerate properly from gen-translit.pl.
14355 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14356 locale/C-translit.h.
14357
840e2943
AS
143582013-06-05 Andreas Schwab <schwab@suse.de>
14359
14360 [BZ #15100]
14361 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14362 week as 6 instead of -1.
14363 * time/tst-strptime.c (day_tests): Add test case.
14364
4c60cb0c
SP
143652013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14366
14367 * sysdeps/generic/math_private.h
14368 (libc_feholdexcept_setround_53bit): Replace with
14369 libc_feholdsetround_53bit.
14370 (libc_feupdateenv_53bit): Replace with
14371 libc_feresetround_53bit.
14372 (SET_RESTORE_ROUND_53BIT): Adjust.
14373
d180203e
SP
143742013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14375
96df079a
SP
14376 * string/test-strchrnul.c: Add copyright header.
14377
d180203e
SP
14378 * posix/tst-getaddrinfo4.c: Increase test timeout.
14379
8b0ccb2d
CD
143802013-06-03 Carlos O'Donell <carlos@redhat.com>
14381
14382 [BZ #15536]
14383 * math/libm-test.inc (MAX_EXP): Remove
14384 (MIN_EXP): Define.
14385 (ulp): Use MIN_EXP - MANT_DIG.
14386 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14387
3b3c4d40
CD
143882013-05-31 Carlos O'Donell <carlos@redhat.com>
14389
14390 * po/be.po: Revert last change.
14391 * po/zh_CN.po: Likewise.
14392 * po/header.pot: Likewise.
14393
fab7ce3f
JM
143942013-05-31 Joseph Myers <joseph@codesourcery.com>
14395
14396 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14397 link-libc-deps to empty as target-specific variable.
14398 * Makerules (link-libc-args): New variable.
14399 (libc-for-link): Likewise.
14400 (link-libc-deps): Likewise.
14401 (lib%.so): Depend on $(link-libc-deps). Link with
14402 $(link-libc-args).
14403 (build-module): Link with $(link-libc-args).
14404 (build-module-asneeded): Likewise.
14405 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14406 list of objects.
14407 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14408 target-specific variable.
14409 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14410 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14411 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14412 libc.
14413 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14414 libc and ld.so.
14415 ($(objpfx)libpcprofile.so): Likewise.
14416 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14417 libc_nonshared.a.
14418 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14419 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14420 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14421 $(link-libc-deps).
14422 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14423 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14424 * login/Makefile ($(objpfx)libutil.so): Likewise.
14425 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14426 * math/Makefile ($(objpfx)libm.so): Likewise.
14427 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14428 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14429 variable instead of depending directly on libc.
14430 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14431 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14432 $(link-libc-deps).
14433 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14434 libc.
14435 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14436 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14437 ($(objpfx)libanl.so): Likewise.
14438 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14439 ld.so.
14440 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14441 $(link-libc-deps).
14442 * sysdeps/i386/fpu/Makefile: Remove file.
14443 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14444 ($(objpfx)libm.so): Remove dependency on ld.so.
14445
eca5920c
PF
144462013-05-30 Patsy Franklin <pfrankli@redhat.com>
14447
14448 [BZ # 15553]
14449 * nis/yp_xdr.c (XDRMAXNAME): Define.
14450 (XDRMAXRECORD): Define.
14451 (xdr_domainname): Use XDRMAXNAME.
14452 (xdr_mapname): Likewise.
14453 (xdr_peername): Likewise.
14454 (xdr_keydat): Use XDRMAXRECORD.
14455 (xdr_valdat): Likewise.
14456
144572013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14458
14459 [BZ #14256]
14460 * manual/errno.texi (ESTALE): Update to account for more than
14461 just NFS file systems.
14462 * sysdeps/gnu/errlist.c: Regenerated.
14463
b9375348
SP
144642013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14465
14466 [BZ #15465]
14467 * elf/Makefile (tests): Add tst-null-argv.
14468 (modules-names): Add tst-null-argv-lib.
14469 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14470 (tst-null-argv-ENV): Set environment for tst-null-argv.
14471 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14472 (RTLD_PROGNAME): New macro.
14473 * elf/tst-null-argv.c: New test case.
14474 * elf/tst-null-argv-lib.c: Library for test case.
14475 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14476 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14477 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14478 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14479 * elf/dl-init.c (call_init): Likewise.
14480 (_dl_init): Likewise.
14481 * elf/dl-load.c (print_search_path): Likewise.
14482 (_dl_map_object): Likewise.
14483 * elf/dl-lookup.c (do_lookup_x): Likewise.
14484 (add_dependency): Likewise.
14485 (_dl_lookup_symbol_x): Likewise.
14486 (_dl_debug_bindings): Likewise.
14487 * elf/dl-open.c (_dl_show_scope): Likewise.
14488 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14489 * elf/dl-version.c (match_symbol): Likewise.
14490 (_dl_check_map_versions): Likewise.
14491 * elf/rtld.c (dl_main): Likewise.
14492 (print_unresolved): Use RTLD_PROGNAME.
14493 (print_missing_version): Likewise.
14494 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14495 (elf_machine_rela): Likewise.
14496 * sysdeps/powerpc/powerpc32/dl-machine.c
14497 (__process_machine_rela): Likewise.
14498 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14499 Likewise.
14500 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14501 Likewise.
14502 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14503 Likewise.
14504 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14506 Likewise.
14507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14508 Likewise.
14509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14510
8a9f20c8
CD
145112013-05-28 Carlos O'Donell <carlos@redhat.com>
14512
14513 * po/be.po: Add descriptive title.
14514 * po/zh_CN.po: Likewise.
14515 * po/header.pot: Likewise.
14516
0e60d68e
MF
145172013-05-28 Mike Frysinger <vapier@gentoo.org>
14518
14519 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14520 error message.
14521 (enlarge_archive): Likewise.
14522
56b672e9
BN
145232013-05-28 Ben North <ben@redfrontdoor.org>
14524
14525 * manual/arith.texi (frexp): It is the magnitude of the return
14526 value which lies in [0.5, 1), not the return value itself.
14527
5e056687
AZ
145282013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14529
14530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14531
2b66ef5d
TS
145322013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14533
528c2405
TS
14534 * stdio-common/bug26.c (main): Correct fscanf template.
14535
07b4c13d
TS
14536 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14537 declare _dl_skip_args.
14538
ec9dd97c
TS
14539 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14540 Don't declare.
14541
2b66ef5d
TS
14542 * manual/platform.texi: Add missing @end deftypefun.
14543
4f8dfe27
JM
145442013-05-24 Joseph Myers <joseph@codesourcery.com>
14545
0323d086
JM
14546 [BZ #15529]
14547 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14548 bit of mantissa of 2^16382.
14549 * math/libm-test.inc (hypot_test_data): Add more tests.
14550
dd4259b9
JM
14551 * math/libm-test.inc: Add drem and pow10 to list of tested
14552 functions.
14553 (pow10_test): New function.
14554 (drem_test): Likewise.
14555 (drem_test_tonearest): Likewise.
14556 (drem_test_towardzero): Likewise.
14557 (drem_test_downward): Likewise.
14558 (drem_test_upward): Likewise.
14559 (main): Call the new functions.
14560
4f8dfe27
JM
14561 * math/libm-test.inc (finite_test_data): Remove.
14562 (finite_test): Run tests from isfinite_test_data.
14563 (gamma_test_data): Remove.
14564 (gamma_test): Run tests from lgamma_test_data.
14565 * sysdeps/i386/fpu/libm-test-ulps: Update.
14566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14567
d116b7c4
AZ
145682013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14569
14570 * manual/platform.texi: Add PowerPC PPR function set documentation.
14571 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14572 implementation.
14573
e96e3767
CD
145742013-05-24 Carlos O'Donell <carlos@redhat.com>
14575
14576 * math/libm-test.inc (MAX_EXP): Define.
14577 (ULPDIFF): Define.
14578 (ulp): New function.
14579 (check_float_internal): Use ULPDIFF.
14580 (cpow_test): Disable failing test.
14581 (check_ulp): Test ulp() implemetnation.
14582 (main): Call check_ulp before starting tests.
14583
b679a606
JM
145842013-05-24 Joseph Myers <joseph@codesourcery.com>
14585
e8bdba36
JM
14586 * math/gen-libm-test.pl (generate_testfile): Do not handle
14587 START_DATA and END_DATA.
14588 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14589 END_DATA.
14590 (acos_tonearest_test_data): Likewise.
14591 (acos_towardzero_test_data): Likewise.
14592 (acos_downward_test_data): Likewise.
14593 (acos_upward_test_data): Likewise.
14594 (acosh_test_data): Likewise.
14595 (asin_test_data): Likewise.
14596 (asin_tonearest_test_data): Likewise.
14597 (asin_towardzero_test_data): Likewise.
14598 (asin_downward_test_data): Likewise.
14599 (asin_upward_test_data): Likewise.
14600 (asinh_test_data): Likewise.
14601 (atan_test_data): Likewise.
14602 (atanh_test_data): Likewise.
14603 (atan2_test_data): Likewise.
14604 (cabs_test_data): Likewise.
14605 (cacos_test_data): Likewise.
14606 (cacosh_test_data): Likewise.
14607 (carg_test_data): Likewise.
14608 (casin_test_data): Likewise.
14609 (casinh_test_data): Likewise.
14610 (catan_test_data): Likewise.
14611 (catanh_test_data): Likewise.
14612 (cbrt_test_data): Likewise.
14613 (ccos_test_data): Likewise.
14614 (ccosh_test_data): Likewise.
14615 (ceil_test_data): Likewise.
14616 (cexp_test_data): Likewise.
14617 (cimag_test_data): Likewise.
14618 (clog_test_data): Likewise.
14619 (clog10_test_data): Likewise.
14620 (conj_test_data): Likewise.
14621 (copysign_test_data): Likewise.
14622 (cos_test_data): Likewise.
14623 (cos_tonearest_test_data): Likewise.
14624 (cos_towardzero_test_data): Likewise.
14625 (cos_downward_test_data): Likewise.
14626 (cos_upward_test_data): Likewise.
14627 (cosh_test_data): Likewise.
14628 (cosh_tonearest_test_data): Likewise.
14629 (cosh_towardzero_test_data): Likewise.
14630 (cosh_downward_test_data): Likewise.
14631 (cosh_upward_test_data): Likewise.
14632 (cpow_test_data): Likewise.
14633 (cproj_test_data): Likewise.
14634 (creal_test_data): Likewise.
14635 (csin_test_data): Likewise.
14636 (csinh_test_data): Likewise.
14637 (csqrt_test_data): Likewise.
14638 (ctan_test_data): Likewise.
14639 (ctan_tonearest_test_data): Likewise.
14640 (ctan_towardzero_test_data): Likewise.
14641 (ctan_downward_test_data): Likewise.
14642 (ctan_upward_test_data): Likewise.
14643 (ctanh_test_data): Likewise.
14644 (ctanh_tonearest_test_data): Likewise.
14645 (ctanh_towardzero_test_data): Likewise.
14646 (ctanh_downward_test_data): Likewise.
14647 (ctanh_upward_test_data): Likewise.
14648 (erf_test_data): Likewise.
14649 (erfc_test_data): Likewise.
14650 (exp_test_data): Likewise.
14651 (exp_tonearest_test_data): Likewise.
14652 (exp_towardzero_test_data): Likewise.
14653 (exp_downward_test_data): Likewise.
14654 (exp_upward_test_data): Likewise.
14655 (exp10_test_data): Likewise.
14656 (exp2_test_data): Likewise.
14657 (expm1_test_data): Likewise.
14658 (fabs_test_data): Likewise.
14659 (fdim_test_data): Likewise.
14660 (finite_test_data): Likewise.
14661 (floor_test_data): Likewise.
14662 (fma_test_data): Likewise.
14663 (fma_towardzero_test_data): Likewise.
14664 (fma_downward_test_data): Likewise.
14665 (fma_upward_test_data): Likewise.
14666 (fmax_test_data): Likewise.
14667 (fmin_test_data): Likewise.
14668 (fmod_test_data): Likewise.
14669 (fpclassify_test_data): Likewise.
14670 (frexp_test_data): Likewise.
14671 (gamma_test_data): Likewise.
14672 (hypot_test_data): Likewise.
14673 (ilogb_test_data): Likewise.
14674 (isfinite_test_data): Likewise.
14675 (isgreater_test_data): Likewise.
14676 (isgreaterequal_test_data): Likewise.
14677 (isinf_test_data): Likewise.
14678 (isless_test_data): Likewise.
14679 (islessequal_test_data): Likewise.
14680 (islessgreater_test_data): Likewise.
14681 (isnan_test_data): Likewise.
14682 (isnormal_test_data): Likewise.
14683 (issignaling_test_data): Likewise.
14684 (isunordered_test_data): Likewise.
14685 (j0_test_data): Likewise.
14686 (j1_test_data): Likewise.
14687 (jn_test_data): Likewise.
14688 (ldexp_test_data): Likewise.
14689 (lgamma_test_data): Likewise.
14690 (lrint_test_data): Likewise.
14691 (lrint_tonearest_test_data): Likewise.
14692 (lrint_towardzero_test_data): Likewise.
14693 (lrint_downward_test_data): Likewise.
14694 (lrint_upward_test_data): Likewise.
14695 (llrint_test_data): Likewise.
14696 (llrint_tonearest_test_data): Likewise.
14697 (llrint_towardzero_test_data): Likewise.
14698 (llrint_downward_test_data): Likewise.
14699 (llrint_upward_test_data): Likewise.
14700 (log_test_data): Likewise.
14701 (log10_test_data): Likewise.
14702 (log1p_test_data): Likewise.
14703 (log2_test_data): Likewise.
14704 (logb_test_data): Likewise.
14705 (logb_downward_test_data): Likewise.
14706 (lround_test_data): Likewise.
14707 (llround_test_data): Likewise.
14708 (modf_test_data): Likewise.
14709 (nearbyint_test_data): Likewise.
14710 (nextafter_test_data): Likewise.
14711 (nexttoward_test_data): Likewise.
14712 (pow_test_data): Likewise.
14713 (pow_tonearest_test_data): Likewise.
14714 (pow_towardzero_test_data): Likewise.
14715 (pow_downward_test_data): Likewise.
14716 (pow_upward_test_data): Likewise.
14717 (remainder_test_data): Likewise.
14718 (remainder_tonearest_test_data): Likewise.
14719 (remainder_towardzero_test_data): Likewise.
14720 (remainder_downward_test_data): Likewise.
14721 (remainder_upward_test_data): Likewise.
14722 (remquo_test_data): Likewise.
14723 (rint_test_data): Likewise.
14724 (rint_tonearest_test_data): Likewise.
14725 (rint_towardzero_test_data): Likewise.
14726 (rint_downward_test_data): Likewise.
14727 (rint_upward_test_data): Likewise.
14728 (round_test_data): Likewise.
14729 (scalb_test_data): Likewise.
14730 (scalbn_test_data): Likewise.
14731 (scalbln_test_data): Likewise.
14732 (signbit_test_data): Likewise.
14733 (sin_test_data): Likewise.
14734 (sin_tonearest_test_data): Likewise.
14735 (sin_towardzero_test_data): Likewise.
14736 (sin_downward_test_data): Likewise.
14737 (sin_upward_test_data): Likewise.
14738 (sincos_test_data): Likewise.
14739 (sinh_test_data): Likewise.
14740 (sinh_tonearest_test_data): Likewise.
14741 (sinh_towardzero_test_data): Likewise.
14742 (sinh_downward_test_data): Likewise.
14743 (sinh_upward_test_data): Likewise.
14744 (sqrt_test_data): Likewise.
14745 (tan_test_data): Likewise.
14746 (tan_tonearest_test_data): Likewise.
14747 (tan_towardzero_test_data): Likewise.
14748 (tan_downward_test_data): Likewise.
14749 (tan_upward_test_data): Likewise.
14750 (tanh_test_data): Likewise.
14751 (tgamma_test_data): Likewise.
14752 (trunc_test_data): Likewise.
14753 (y0_test_data): Likewise.
14754 (y1_test_data): Likewise.
14755 (yn_test_data): Likewise.
14756 (significand_test_data): Likewise.
14757
b679a606
JM
14758 * math/gen-libm-test.pl (@functions): Remove variable.
14759 (generate_testfile): Don't handle START and END lines.
14760 * math/libm-test.inc (START): New macro.
14761 (END): Likewise.
14762 (END_COMPLEX): Likewise.
14763 (acos_test): Use END macro without arguments.
14764 (acos_test_tonearest): Likewise.
14765 (acos_test_towardzero): Likewise.
14766 (acos_test_downward): Likewise.
14767 (acos_test_upward): Likewise.
14768 (acosh_test): Likewise.
14769 (asin_test): Likewise.
14770 (asin_test_tonearest): Likewise.
14771 (asin_test_towardzero): Likewise.
14772 (asin_test_downward): Likewise.
14773 (asin_test_upward): Likewise.
14774 (asinh_test): Likewise.
14775 (atan_test): Likewise.
14776 (atanh_test): Likewise.
14777 (atan2_test): Likewise.
14778 (cabs_test): Likewise.
14779 (cacos_test): Use END_COMPLEX macro without arguments.
14780 (cacosh_test): Likewise.
14781 (carg_test): Use END macro without arguments.
14782 (casin_test): Use END_COMPLEX macro without arguments.
14783 (casinh_test): Likewise.
14784 (catan_test): Likewise.
14785 (catanh_test): Likewise.
14786 (cbrt_test): Use END macro without arguments.
14787 (ccos_test): Use END_COMPLEX macro without arguments.
14788 (ccosh_test): Likewise.
14789 (ceil_test): Use END macro without arguments.
14790 (cexp_test): Use END_COMPLEX macro without arguments.
14791 (cimag_test): Use END macro without arguments.
14792 (clog_test): Use END_COMPLEX macro without arguments.
14793 (clog10_test): Likewise.
14794 (conj_test): Likewise.
14795 (copysign_test): Use END macro without arguments.
14796 (cos_test): Likewise.
14797 (cos_test_tonearest): Likewise.
14798 (cos_test_towardzero): Likewise.
14799 (cos_test_downward): Likewise.
14800 (cos_test_upward): Likewise.
14801 (cosh_test): Likewise.
14802 (cosh_test_tonearest): Likewise.
14803 (cosh_test_towardzero): Likewise.
14804 (cosh_test_downward): Likewise.
14805 (cosh_test_upward): Likewise.
14806 (cpow_test): Use END_COMPLEX macro without arguments.
14807 (cproj_test): Likewise.
14808 (creal_test): Use END macro without arguments.
14809 (csin_test): Use END_COMPLEX macro without arguments.
14810 (csinh_test): Likewise.
14811 (csqrt_test): Likewise.
14812 (ctan_test): Likewise.
14813 (ctan_test_tonearest): Likewise.
14814 (ctan_test_towardzero): Likewise.
14815 (ctan_test_downward): Likewise.
14816 (ctan_test_upward): Likewise.
14817 (ctanh_test): Likewise.
14818 (ctanh_test_tonearest): Likewise.
14819 (ctanh_test_towardzero): Likewise.
14820 (ctanh_test_downward): Likewise.
14821 (ctanh_test_upward): Likewise.
14822 (erf_test): Use END macro without arguments.
14823 (erfc_test): Likewise.
14824 (exp_test): Likewise.
14825 (exp_test_tonearest): Likewise.
14826 (exp_test_towardzero): Likewise.
14827 (exp_test_downward): Likewise.
14828 (exp_test_upward): Likewise.
14829 (exp10_test): Likewise.
14830 (exp2_test): Likewise.
14831 (expm1_test): Likewise.
14832 (fabs_test): Likewise.
14833 (fdim_test): Likewise.
14834 (finite_test): Likewise.
14835 (floor_test): Likewise.
14836 (fma_test): Likewise.
14837 (fma_test_towardzero): Likewise.
14838 (fma_test_downward): Likewise.
14839 (fma_test_upward): Likewise.
14840 (fmax_test): Likewise.
14841 (fmin_test): Likewise.
14842 (fmod_test): Likewise.
14843 (fpclassify_test): Likewise.
14844 (frexp_test): Likewise.
14845 (gamma_test): Likewise.
14846 (hypot_test): Likewise.
14847 (ilogb_test): Likewise.
14848 (isfinite_test): Likewise.
14849 (isgreater_test): Likewise.
14850 (isgreaterequal_test): Likewise.
14851 (isinf_test): Likewise.
14852 (isless_test): Likewise.
14853 (islessequal_test): Likewise.
14854 (islessgreater_test): Likewise.
14855 (isnan_test): Likewise.
14856 (isnormal_test): Likewise.
14857 (issignaling_test): Likewise.
14858 (isunordered_test): Likewise.
14859 (j0_test): Likewise.
14860 (j1_test): Likewise.
14861 (jn_test): Likewise.
14862 (ldexp_test): Likewise.
14863 (lgamma_test): Likewise.
14864 (lrint_test): Likewise.
14865 (lrint_test_tonearest): Likewise.
14866 (lrint_test_towardzero): Likewise.
14867 (lrint_test_downward): Likewise.
14868 (lrint_test_upward): Likewise.
14869 (llrint_test): Likewise.
14870 (llrint_test_tonearest): Likewise.
14871 (llrint_test_towardzero): Likewise.
14872 (llrint_test_downward): Likewise.
14873 (llrint_test_upward): Likewise.
14874 (log_test): Likewise.
14875 (log10_test): Likewise.
14876 (log1p_test): Likewise.
14877 (log2_test): Likewise.
14878 (logb_test): Likewise.
14879 (logb_test_downward): Likewise.
14880 (lround_test): Likewise.
14881 (llround_test): Likewise.
14882 (modf_test): Likewise.
14883 (nearbyint_test): Likewise.
14884 (nextafter_test): Likewise.
14885 (nexttoward_test): Likewise.
14886 (pow_test): Likewise.
14887 (pow_test_tonearest): Likewise.
14888 (pow_test_towardzero): Likewise.
14889 (pow_test_downward): Likewise.
14890 (pow_test_upward): Likewise.
14891 (remainder_test): Likewise.
14892 (remainder_test_tonearest): Likewise.
14893 (remainder_test_towardzero): Likewise.
14894 (remainder_test_downward): Likewise.
14895 (remainder_test_upward): Likewise.
14896 (remquo_test): Likewise.
14897 (rint_test): Likewise.
14898 (rint_test_tonearest): Likewise.
14899 (rint_test_towardzero): Likewise.
14900 (rint_test_downward): Likewise.
14901 (rint_test_upward): Likewise.
14902 (round_test): Likewise.
14903 (scalb_test): Likewise.
14904 (scalbn_test): Likewise.
14905 (scalbln_test): Likewise.
14906 (signbit_test): Likewise.
14907 (sin_test): Likewise.
14908 (sin_test_tonearest): Likewise.
14909 (sin_test_towardzero): Likewise.
14910 (sin_test_downward): Likewise.
14911 (sin_test_upward): Likewise.
14912 (sincos_test): Likewise.
14913 (sinh_test): Likewise.
14914 (sinh_test_tonearest): Likewise.
14915 (sinh_test_towardzero): Likewise.
14916 (sinh_test_downward): Likewise.
14917 (sinh_test_upward): Likewise.
14918 (sqrt_test): Likewise.
14919 (tan_test): Likewise.
14920 (tan_test_tonearest): Likewise.
14921 (tan_test_towardzero): Likewise.
14922 (tan_test_downward): Likewise.
14923 (tan_test_upward): Likewise.
14924 (tanh_test): Likewise.
14925 (tgamma_test): Likewise.
14926 (trunc_test): Likewise.
14927 (y0_test): Likewise.
14928 (y1_test): Likewise.
14929 (yn_test): Likewise.
14930 (significand_test): Likewise.
14931
bae143d2
OB
149322013-05-24 Ondřej Bílka <neleai@seznam.cz>
14933
14934 [BZ #15381]
14935 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14936
9323d39b
EM
149372013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14938
d4ea44a0 14939 [BZ #14894]
9323d39b
EM
14940 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14941 __ppc_mdoio and __ppc_mdoom.
14942 * manual/platform.texi: Document new functions __ppc_yield,
14943 __ppc_mdoio and __ppc_mdoom.
14944
13e23af7
CD
149452013-05-22 Carlos O'Donell <carlos@redhat.com>
14946
14947 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14948 (main): Mention "tls" pseudo-hwcap is legacy.
14949 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14950
351fe550
JM
149512013-05-22 Joseph Myers <joseph@codesourcery.com>
14952
14953 * math/gen-libm-test.pl (parse_args): Output only string of
14954 arguments as text for test name, not full call or descriptions of
14955 tests for extra outputs.
14956 (generate_testfile): Do not pass function name to parse_args.
14957 Generate this_func variable from START.
14958 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14959 field to arg_str.
14960 (struct test_ff_f_data): Likewise.
14961 (test_ff_f_data_nexttoward): Likewise.
14962 (struct test_fi_f_data): Likewise.
14963 (struct test_fl_f_data): Likewise.
14964 (struct test_if_f_data): Likewise.
14965 (struct test_fff_f_data): Likewise.
14966 (struct test_c_f_data): Likewise.
14967 (struct test_f_f1_data): Likewise. Remove field extra_name.
14968 (struct test_fF_f1_data): Likewise.
14969 (struct test_ffI_f1_data): Likewise.
14970 (struct test_c_c_data): Rename test_name field to arg_str.
14971 (struct test_cc_c_data): Likewise.
14972 (struct test_f_i_data): Likewise.
14973 (struct test_ff_i_data): Likewise.
14974 (struct test_f_l_data): Likewise.
14975 (struct test_f_L_data): Likewise.
14976 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14977 and extra2_name.
14978 (COMMON_TEST_SETUP): New macro.
14979 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14980 (COMMON_TEST_CLEANUP): Likewise.
14981 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14982 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14983 macros.
14984 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14985 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14986 macros.
14987 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14988 (RUN_TEST_fff_f): Take argument string. Call new setup and
14989 cleanup macros.
14990 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14991 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14992 macros.
14993 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14994 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14995 macros.
14996 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14997 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14998 cleanup macros.
14999 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15000 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15001 cleanup macros.
15002 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15003 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15004 cleanup macros.
15005 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15006 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15007 macros.
15008 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15009 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15010 macros.
15011 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15012 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15013 macros.
15014 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15015 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15016 cleanup macros.
15017 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15018 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15019 cleanup macros.
15020 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15021 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15022 macros.
15023 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15024 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15025 cleanup macros.
15026 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15027 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15028 macros.
15029 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15030 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15031 macros.
15032 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15033 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15034 cleanup macros.
15035 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15036
85118d4d
EBM
150372013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15038
15039 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15040 to _sifields.sigfault.
15041 (si_addr_lsb): Define new macro.
15042 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15043 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15044 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15045
7a44c18f
CD
150462013-05-03 Carlos O'Donell <carlos at redhat.com>
15047
15048 [BZ #15441]
15049 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15050 returns -1.
15051 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15052 null return -1.
15053 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15054 loading the domain.
15055
b50a7181
JM
150562013-05-22 Joseph Myers <joseph@codesourcery.com>
15057
15058 * math/gen-libm-test.pl (parse_args): Do not include expected
15059 result in test name.
15060 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15061 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15062 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15063 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15064 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15066
051063c8
SP
150672013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15068
3ce9e010
SP
15069 * benchtests/Makefile: Sort function entries.
15070
051063c8
SP
15071 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15072 tanh, asinh, acosh, atanh.
15073 * benchtests/acos-inputs: New file.
15074 * benchtests/acosh-inputs: New file.
15075 * benchtests/asin-inputs: New file.
15076 * benchtests/asinh-inputs: New file.
15077 * benchtests/atanh-inputs: New file.
15078 * benchtests/cosh-inputs: New file.
15079 * benchtests/log-inputs: New file.
15080 * benchtests/sinh-inputs: New file.
15081 * benchtests/tanh-inputs: New file.
15082
47c22455
DL
150832013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15084
15085 [BZ #15339]
15086 * posix/tst-getaddrinfo4.c: New test.
15087 * posix/Makefile (tests): Add it.
15088
3d04f5db
SP
150892013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15090
15091 [BZ #15339]
15092 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15093 when no services were used.
15094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15095 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15096
d5dd6189
AS
150972013-05-21 Andreas Schwab <schwab@suse.de>
15098
15099 [BZ #15014]
15100 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15101 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15102 successful.
15103 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15104 redundant variable declarations and reallocation of buffer when
15105 parsing as IPv6 address. Always set NSS status when called from
15106 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15107 buffer too small. Correct computation of needed size.
15108 * nss/Makefile (tests): Add test-digits-dots.
15109 * nss/test-digits-dots.c: New test.
15110
fef94eab
SP
151112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15112
15113 * benchtests/Makefile: Remove instructions for adding
15114 benchmark tests.
15115 * benchtests/README: New file to explain how to execute and
15116 enhance the benchmark tests.
15117
e39adf43
AS
151182013-05-21 Andreas Schwab <schwab@suse.de>
15119
15120 [BZ #15493]
15121 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15122 * setjmp/tst-sigsetjmp.c: New test.
15123
b2b671b6
OB
151242013-05-20 Ondřej Bílka <neleai@seznam.cz>
15125
15126 * sysdeps/x86_64/memset.S (memset): New implementation.
15127 (__bzero): Likewise.
15128 (__memset_tail): New function.
15129
2d48b41c
OB
151302013-05-20 Ondřej Bílka <neleai@seznam.cz>
15131
15132 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15133 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15134 __memcpy_sse2_unaligned ifunc selection.
15135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15136 Add memcpy-sse2-unaligned.S.
15137 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15138 Add: __memcpy_sse2_unaligned.
15139
f16cc3eb
JM
151402013-05-19 Joseph Myers <joseph@codesourcery.com>
15141
3e694268
JM
15142 [BZ #15490]
15143 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15144 math_force_eval before restoring floating-point envrionment.
15145 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15146 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15147 Likewise.
15148 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15149 <math_private.h>.
15150 (__nearbyintl): Use math_force_eval before restoring
15151 floating-point environment.
15152 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15153
db62a907
JM
15154 * math/gen-libm-test.pl (special_functions): Remove.
15155 (parse_args): Don't handle TEST_extra. Handle functions with no
15156 return value.
15157 * math/libm-test.inc (struct test_sincos_data): Replace with
15158 struct test_fFF_11_data.
15159 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15160 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15161 (sincos_test_data): Change element type to struct
15162 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15163 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15164 RUN_TEST_LOOP_sincos.
15165 * math/README.libm-test: Don't mention special handling of
15166 individual functions.
15167 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15169 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15170 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15171 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15173
f16cc3eb
JM
15174 * math/gen-libm-test.pl (get_variable): Remove function.
15175 (parse_args): Don't show pointer parameters to call in test
15176 names. Use "extra output N" in test names for extra outputs
15177 rather than naming variables.
15178
3779b5b6
JM
151792013-05-18 Joseph Myers <joseph@codesourcery.com>
15180
2ee094ff
JM
15181 [BZ #15488]
15182 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15183 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15184 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15185 double tests.
15186 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15187 disable.
15188 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15189 check_long_double.
15190
3779b5b6
JM
15191 * math/gen-libm-test.pl (@tests): Remove variable.
15192 ($count): Likewise.
15193 (new_test): Remove function.
15194 (show_exceptions): New function.
15195 (special_functions): Use show_exceptions instead of new_test.
15196 (parse_args): Likewise.
15197 (generate_testfile): Pass only function name in generated call to
15198 print_max_error or print_complex_max_error.
15199 (get_ulps): Do not handle complex tests specially.
15200 (output_test): Rename to ...
15201 (get_all_ulps_for_test): ... this. Return a string rather than
15202 printing to a file. Require ulps to be present.
15203 (output_ulps): Generate arrays rather than #defines.
15204 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15205 (struct ulp_data): New type.
15206 (BUILD_COMPLEX_ULP): Remove macro.
15207 (compare_ulp_data): New function.
15208 (find_ulps): Likewise.
15209 (find_test_ulps): Likewise.
15210 (find_function_ulps): Likewise.
15211 (find_complex_function_ulps): Likewise.
15212 (print_max_error): Determine allowed ulps using
15213 find_function_ulps.
15214 (print_complex_max_error): Determine allowed ulps using
15215 find_complex_function_ulps.
15216 (check_float_internal): Determine max ulps using find_test_ulps.
15217 (check_float): Do not take max_ulp parameter. Update call to
15218 check_float_internal.
15219 (check_complex): Likewise.
15220 (check_int): Do not take max_ulp parameter.
15221 (check_long): Likewise.
15222 (check_bool): Likewise.
15223 (check_longlong): Likewise.
15224 (struct test_f_f_data): Remove max_ulp field.
15225 (struct test_ff_f_data): Likewise.
15226 (struct test_ff_f_data_nexttoward): Likewise.
15227 (struct test_fi_f_data): Likewise.
15228 (struct test_fl_f_data): Likewise.
15229 (struct test_if_f_data): Likewise.
15230 (struct test_fff_f_data): Likewise.
15231 (struct test_c_f_data): Likewise.
15232 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15233 (struct test_fF_f1_data): Likewise.
15234 (struct test_ffI_f1_data): Likewise.
15235 (struct test_c_c_data): Remove max_ulp field.
15236 (struct test_cc_c_data): Likewise.
15237 (struct test_f_i_data): Likewise.
15238 (struct test_ff_i_data): Likewise.
15239 (struct test_f_l_data): Likewise.
15240 (struct test_f_L_data): Likewise.
15241 (struct test_sincos_data): Likewise.
15242 (RUN_TEST_f_f): Do not handle ulps.
15243 (RUN_TEST_LOOP_f_f): Likewise.
15244 (RUN_TEST_2_f): Likewise.
15245 (RUN_TEST_LOOP_2_f): Likewise.
15246 (RUN_TEST_fff_f): Likewise.
15247 (RUN_TEST_LOOP_fff_f): Likewise.
15248 (RUN_TEST_c_f): Likewise.
15249 (RUN_TEST_LOOP_c_f): Likewise.
15250 (RUN_TEST_f_f1): Likewise.
15251 (RUN_TEST_LOOP_f_f1): Likewise.
15252 (RUN_TEST_fF_f1): Likewise.
15253 (RUN_TEST_LOOP_fF_f1): Likewise.
15254 (RUN_TEST_fI_f1): Likewise.
15255 (RUN_TEST_LOOP_fI_f1): Likewise.
15256 (RUN_TEST_ffI_f1): Likewise.
15257 (RUN_TEST_LOOP_ffI_f1): Likewise.
15258 (RUN_TEST_c_c): Likewise.
15259 (RUN_TEST_LOOP_c_c): Likewise.
15260 (RUN_TEST_cc_c): Likewise.
15261 (RUN_TEST_LOOP_cc_c): Likewise.
15262 (RUN_TEST_f_i): Likewise.
15263 (RUN_TEST_LOOP_f_i): Likewise.
15264 (RUN_TEST_f_i_tg): Likewise.
15265 (RUN_TEST_LOOP_f_i_tg): Likewise.
15266 (RUN_TEST_ff_i_tg): Likewise.
15267 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15268 (RUN_TEST_f_b): Likewise.
15269 (RUN_TEST_LOOP_f_b): Likewise.
15270 (RUN_TEST_f_b_tg): Likewise.
15271 (RUN_TEST_LOOP_f_b_tg): Likewise.
15272 (RUN_TEST_f_l): Likewise.
15273 (RUN_TEST_LOOP_f_l): Likewise.
15274 (RUN_TEST_f_L): Likewise.
15275 (RUN_TEST_LOOP_f_L): Likewise.
15276 (RUN_TEST_sincos): Likewise.
15277 (RUN_TEST_LOOP_sincos): Likewise.
15278
8269107f
JM
152792013-05-17 Joseph Myers <joseph@codesourcery.com>
15280
bb38759d
JM
15281 [BZ #15480]
15282 [BZ #15485]
15283 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15284 main case of finite arguments, set rounding mode to FE_TONEAREST
15285 and discard exceptions.
15286 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15287 exceptions.
15288 (remainder_tonearest_test_data): New variable.
15289 (remainder_test_tonearest): New function.
15290 (remainder_towardzero_test_data): New variable.
15291 (remainder_test_towardzero): New function.
15292 (remainder_downward_test_data): New variable.
15293 (remainder_test_downward): New function.
15294 (remainder_upward_test_data): New variable.
15295 (remainder_test_upward): New function.
15296 (main): Call the new test functions.
15297
a00bdcf0
JM
15298 * math/libm-test.inc (struct test_f_f1_data): Remove field
15299 extra_init.
15300 (struct test_fF_f1_data): Likewise.
15301 (struct test_ffI_f1_data): Likewise.
15302 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15303 based on value of EXTRA_EXPECTED.
15304 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15305 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15306 EXTRA_VAR based on value of EXTRA_EXPECTED.
15307 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15308 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15309 EXTRA_VAR based on value of EXTRA_EXPECTED.
15310 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15311 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15312 EXTRA_VAR based on value of EXTRA_EXPECTED.
15313 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15314 * math/gen-libm-test.pl (parse_args): Don't output initializers
15315 for extra output values.
15316
de407f79
JM
15317 * math/libm-test.inc (check_int): Expect result to be exactly
15318 equal to expected value and do not handle ulps.
15319 (check_long): Likewise.
15320 (check_longlong): Likewise.
15321
8269107f
JM
15322 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15323 exceptions.
15324 (cimag_test_data): Likewise.
15325 (conj_test_data): Likewise.
15326 (copysign_test_data): Likewise.
15327 (cproj_test_data): Likewise.
15328 (creal_test_data): Likewise.
15329 (fabs_test_data): Likewise.
15330 (fdim_test_data): Likewise.
15331 (finite_test_data): Likewise.
15332 (floor_test_data): Likewise.
15333 (fmax_test_data): Likewise.
15334 (fmin_test_data): Likewise.
15335 (fmod_test_data): Likewise.
15336 (fpclassify_test_data): Likewise.
15337 (frexp_test_data): Likewise.
15338 (ilogb_test_data): Likewise.
15339 (isfinite_test_data): Likewise.
15340 (isgreater_test_data): Likewise.
15341 (isgreaterequal_test_data): Likewise.
15342 (isinf_test_data): Likewise.
15343 (isless_test_data): Likewise.
15344 (islessequal_test_data): Likewise.
15345 (islessgreater_test_data): Likewise.
15346 (isnan_test_data): Likewise.
15347 (isnormal_test_data): Likewise.
15348 (issignaling_test_data): Likewise.
15349 (isunordered_test_data): Likewise.
15350 (ldexp_test_data): Likewise.
15351 (lrint_test_data): Likewise.
15352 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15353 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15354 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15355 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15356 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15357 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15358 test input.
15359 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15360 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15361 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15362 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15363 that test input.
15364 (lrint_downward_test_data): Test for "inexact" exceptions.
15365 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15366 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15367 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15368 test input.
15369 (lrint_upward_test_data): Test for "inexact" exceptions.
15370 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15371 test input.
15372 (llrint_test_data): Test for "inexact" exceptions.
15373 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15374 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15375 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15376 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15377 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15378 (llrint_downward_test_data): Test for "inexact" exceptions.
15379 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15380 (llrint_upward_test_data): Test for "inexact" exceptions.
15381 (logb_test_data): Likewise.
15382 (logb_downward_test_data): Likewise.
15383 (nextafter_test_data): Likewise.
15384 (nexttoward_test_data): Likewise.
15385 (remainder_test_data): Likewise.
15386 (remquo_test_data): Likewise.
15387 (scalbn_test_data): Likewise.
15388 (scalbln_test_data): Likewise.
15389 (signbit_test_data): Likewise.
15390 (sqrt_test_data): Likewise.
15391 (significand_test_data): Likewise.
15392
48a18de1
SP
153932013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15394
15395 [BZ #15424]
15396 * benchtests/bench-modf.c (struct args): Mark arg0 as
15397 volatile.
15398 * scripts/bench.pl: Mark members of struct args as volatile.
15399
13d3b41a
AZ
154002013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15401
68191c1d 15402 [BZ # 15497]
13d3b41a
AZ
15403 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15404 negative infinity on POWER6 or lower.
15405 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15406
2848b105
MR
154072013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15408
15409 [BZ #15442]
15410 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15411 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15412 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15413 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15414 (_FP_SETQNAN): New macro.
15415 (_FP_SETQNAN_SEMIRAW): Likewise.
15416 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15417 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15418 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15419 (FP_EXTEND): Use _FP_FRAC_SNANP.
15420 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15421 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15422 into account.
15423 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15424 New macro.
15425 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15426 Likewise.
15427
323e5cb7
JM
154282013-05-16 Joseph Myers <joseph@codesourcery.com>
15429
c58b274f
JM
15430 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15431 with DIVIDE_BY_ZERO_EXCEPTION.
15432 (gamma_test_data): Likewise.
15433 (lgamma_test_data): Likewise.
15434 (log_test_data): Likewise.
15435 (log10_test_data): Likewise.
15436 (log2_test_data): Likewise.
15437 (tgamma_test_data): Likewise.
15438
0ab34904
JM
15439 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15440 (acos_test_tonearest): Likewise.
15441 (acos_test_towardzero): Likewise.
15442 (acos_test_downward): Likewise.
15443 (acos_test_upward): Likewise.
15444 (acosh_test): Likewise.
15445 (asin_test): Likewise.
15446 (asin_test_tonearest): Likewise.
15447 (asin_test_towardzero): Likewise.
15448 (asin_test_downward): Likewise.
15449 (asin_test_upward): Likewise.
15450 (asinh_test): Likewise.
15451 (atan_test): Likewise.
15452 (atanh_test): Likewise.
15453 (atan2_test): Likewise.
15454 (cabs_test): Likewise.
15455 (cacos_test): Likewise.
15456 (cacosh_test): Likewise.
15457 (casin_test): Likewise.
15458 (casinh_test): Likewise.
15459 (catan_test): Likewise.
15460 (catanh_test): Likewise.
15461 (cbrt_test): Likewise.
15462 (ccos_test): Likewise.
15463 (ccosh_test): Likewise.
15464 (cexp_test): Likewise.
15465 (clog_test): Likewise.
15466 (clog10_test): Likewise.
15467 (cos_test): Likewise.
15468 (cos_test_tonearest): Likewise.
15469 (cos_test_towardzero): Likewise.
15470 (cos_test_downward): Likewise.
15471 (cos_test_upward): Likewise.
15472 (cosh_test): Likewise.
15473 (cosh_test_tonearest): Likewise.
15474 (cosh_test_towardzero): Likewise.
15475 (cosh_test_downward): Likewise.
15476 (cosh_test_upward): Likewise.
15477 (cpow_test): Likewise.
15478 (csin_test): Likewise.
15479 (csinh_test): Likewise.
15480 (csqrt_test): Likewise.
15481 (ctan_test): Likewise.
15482 (ctan_test_tonearest): Likewise.
15483 (ctan_test_towardzero): Likewise.
15484 (ctan_test_downward): Likewise.
15485 (ctan_test_upward): Likewise.
15486 (ctanh_test): Likewise.
15487 (ctanh_test_tonearest): Likewise.
15488 (ctanh_test_towardzero): Likewise.
15489 (ctanh_test_downward): Likewise.
15490 (ctanh_test_upward): Likewise.
15491 (erf_test): Likewise.
15492 (erfc_test): Likewise.
15493 (exp_test): Likewise.
15494 (exp_test_tonearest): Likewise.
15495 (exp_test_towardzero): Likewise.
15496 (exp_test_downward): Likewise.
15497 (exp_test_upward): Likewise.
15498 (exp10_test): Likewise.
15499 (exp2_test): Likewise.
15500 (expm1_test): Likewise.
15501 (fmod_test): Likewise.
15502 (gamma_test): Likewise.
15503 (hypot_test): Likewise.
15504 (j0_test): Likewise.
15505 (j1_test): Likewise.
15506 (jn_test): Likewise.
15507 (lgamma_test): Likewise.
15508 (log_test): Likewise.
15509 (log10_test): Likewise.
15510 (log1p_test): Likewise.
15511 (log2_test): Likewise.
15512 (logb_test_downward): Likewise.
15513 (pow_test): Likewise.
15514 (pow_test_tonearest): Likewise.
15515 (pow_test_towardzero): Likewise.
15516 (pow_test_downward): Likewise.
15517 (pow_test_upward): Likewise.
15518 (remainder_test): Likewise.
15519 (remquo_test): Likewise.
15520 (sin_test): Likewise.
15521 (sin_test_tonearest): Likewise.
15522 (sin_test_towardzero): Likewise.
15523 (sin_test_downward): Likewise.
15524 (sin_test_upward): Likewise.
15525 (sincos_test): Likewise.
15526 (sinh_test): Likewise.
15527 (sinh_test_tonearest): Likewise.
15528 (sinh_test_towardzero): Likewise.
15529 (sinh_test_downward): Likewise.
15530 (sinh_test_upward): Likewise.
15531 (sqrt_test): Likewise.
15532 (tan_test): Likewise.
15533 (tan_test_tonearest): Likewise.
15534 (tan_test_towardzero): Likewise.
15535 (tan_test_downward): Likewise.
15536 (tan_test_upward): Likewise.
15537 (tanh_test): Likewise.
15538 (tgamma_test): Likewise.
15539 (y0_test): Likewise.
15540 (y1_test): Likewise.
15541 (yn_test): Likewise.
15542
323e5cb7
JM
15543 * math/gen-libm-test.pl (adjust_arg): Remove function.
15544 (special_function): Remove argument $in_func. Only handle
15545 generating output for tables of tests, not inside functions.
15546 (parse_args): Likewise.
15547 (generate_testfile): Remove variable $in_func. Update call to
15548 parse_args.
15549 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15550 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15551 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15552 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15553 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15554 (MAX_VALUE_INIT): Rename macro to max_value.
15555 (MIN_VALUE_INIT): Rename macro to min_value.
15556 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15557 (plus_zero): Remove variable.
15558 (minus_zero): Likewise.
15559 (plus_infty): Likewise.
15560 (minus_infty): Likewise.
15561 (qnan_value): Likewise.
15562 (max_value): Likewise.
15563 (min_value): Likewise.
15564 (min_subnorm_value): Likewise.
15565
e054f494
RA
155662013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15567
15568 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15569 uint64_t or uint32_t usage.
15570 * crypt/sha256-block.c: Likewise.
15571 * crypt/sha256-crypt.c: Likewise.
15572 * crypt/sha256.c: Likewise.
15573 * crypt/sha512-block.c: Likewise.
15574 * crypt/sha512-crypt.c: Likewise.
15575 * crypt/sha512.c: Likewise.
15576 * debug/backtrace-tst.c: Likewise.
15577 * debug/pcprofiledump.c: Likewise.
15578 * elf/cache.c: Likewise.
15579 * elf/dl-cache.c: Likewise.
15580 * elf/dl-misc.c: Likewise.
15581 * elf/dl-profile.c: Likewise.
15582 * elf/dl-support.c: Likewise.
15583 * elf/ldconfig.c: Likewise.
15584 * elf/sprof.c: Likewise.
15585 * iconv/dummy-repertoire.c: Likewise.
15586 * iconv/iconv_charmap.c: Likewise.
15587 * iconv/skeleton.c: Likewise.
15588 * iconvdata/8bit-generic.c: Likewise.
15589 * iconvdata/cp737.h: Likewise.
15590 * iconvdata/cp775.h: Likewise.
15591 * iconvdata/ibm1008.h: Likewise.
15592 * iconvdata/ibm1025.h: Likewise.
15593 * iconvdata/ibm1046.h: Likewise.
15594 * iconvdata/ibm1097.h: Likewise.
15595 * iconvdata/ibm1112.h: Likewise.
15596 * iconvdata/ibm1122.h: Likewise.
15597 * iconvdata/ibm1123.h: Likewise.
15598 * iconvdata/ibm1124.h: Likewise.
15599 * iconvdata/ibm1129.h: Likewise.
15600 * iconvdata/ibm1130.h: Likewise.
15601 * iconvdata/ibm1132.h: Likewise.
15602 * iconvdata/ibm1133.h: Likewise.
15603 * iconvdata/ibm1137.h: Likewise.
15604 * iconvdata/ibm1140.h: Likewise.
15605 * iconvdata/ibm1141.h: Likewise.
15606 * iconvdata/ibm1142.h: Likewise.
15607 * iconvdata/ibm1143.h: Likewise.
15608 * iconvdata/ibm1144.h: Likewise.
15609 * iconvdata/ibm1145.h: Likewise.
15610 * iconvdata/ibm1146.h: Likewise.
15611 * iconvdata/ibm1147.h: Likewise.
15612 * iconvdata/ibm1148.h: Likewise.
15613 * iconvdata/ibm1149.h: Likewise.
15614 * iconvdata/ibm1153.h: Likewise.
15615 * iconvdata/ibm1154.h: Likewise.
15616 * iconvdata/ibm1155.h: Likewise.
15617 * iconvdata/ibm1156.h: Likewise.
15618 * iconvdata/ibm1157.h: Likewise.
15619 * iconvdata/ibm1158.h: Likewise.
15620 * iconvdata/ibm1160.h: Likewise.
15621 * iconvdata/ibm1161.h: Likewise.
15622 * iconvdata/ibm1162.h: Likewise.
15623 * iconvdata/ibm1163.h: Likewise.
15624 * iconvdata/ibm1164.h: Likewise.
15625 * iconvdata/ibm1166.h: Likewise.
15626 * iconvdata/ibm1167.h: Likewise.
15627 * iconvdata/ibm12712.h: Likewise.
15628 * iconvdata/ibm1390.h: Likewise.
15629 * iconvdata/ibm1399.h: Likewise.
15630 * iconvdata/ibm16804.h: Likewise.
15631 * iconvdata/ibm4517.h: Likewise.
15632 * iconvdata/ibm4899.h: Likewise.
15633 * iconvdata/ibm4909.h: Likewise.
15634 * iconvdata/ibm4971.h: Likewise.
15635 * iconvdata/ibm5347.h: Likewise.
15636 * iconvdata/ibm803.h: Likewise.
15637 * iconvdata/ibm856.h: Likewise.
15638 * iconvdata/ibm901.h: Likewise.
15639 * iconvdata/ibm902.h: Likewise.
15640 * iconvdata/ibm9030.h: Likewise.
15641 * iconvdata/ibm9066.h: Likewise.
15642 * iconvdata/ibm921.h: Likewise.
15643 * iconvdata/ibm922.h: Likewise.
15644 * iconvdata/ibm9448.h: Likewise.
15645 * iconvdata/isiri-3342.h: Likewise.
15646 * iconvdata/jis0201.h: Likewise.
15647 * include/link.h: Likewise.
15648 * include/netdb.h: Likewise.
15649 * inet/check_native.c: Likewise.
15650 * inet/check_pf.c: Likewise.
15651 * inet/getipv4sourcefilter.c: Likewise.
15652 * inet/getnameinfo.c: Likewise.
15653 * inet/getsourcefilter.c: Likewise.
15654 * inet/htonl.c: Likewise.
15655 * inet/setipv4sourcefilter.c: Likewise.
15656 * inet/setsourcefilter.c: Likewise.
15657 * inet/test-inet6_opt.c: Likewise.
15658 * inet/tst-network.c: Likewise.
15659 * locale/C-collate.c: Likewise.
15660 * locale/C-ctype.c: Likewise.
15661 * locale/C-time.c: Likewise.
15662 * locale/C-translit.h: Likewise.
15663 * locale/loadarchive.c: Likewise.
15664 * locale/programs/3level.h: Likewise.
15665 * locale/programs/charmap.c: Likewise.
15666 * locale/programs/charmap.h: Likewise.
15667 * locale/programs/ld-address.c: Likewise.
15668 * locale/programs/ld-collate.c: Likewise.
15669 * locale/programs/ld-ctype.c: Likewise.
15670 * locale/programs/ld-identification.c: Likewise.
15671 * locale/programs/ld-measurement.c: Likewise.
15672 * locale/programs/ld-messages.c: Likewise.
15673 * locale/programs/ld-monetary.c: Likewise.
15674 * locale/programs/ld-name.c: Likewise.
15675 * locale/programs/ld-numeric.c: Likewise.
15676 * locale/programs/ld-paper.c: Likewise.
15677 * locale/programs/ld-telephone.c: Likewise.
15678 * locale/programs/ld-time.c: Likewise.
15679 * locale/programs/linereader.c: Likewise.
15680 * locale/programs/locale.c: Likewise.
15681 * locale/programs/locarchive.c: Likewise.
15682 * locale/programs/locfile.h: Likewise.
15683 * locale/programs/repertoire.c: Likewise.
15684 * locale/programs/simple-hash.c: Likewise.
15685 * locale/programs/simple-hash.h: Likewise.
15686 * malloc/memusage.c: Likewise.
15687 * malloc/memusagestat.c: Likewise.
15688 * nis/nis_defaults.c: Likewise.
15689 * nis/nis_hash.c: Likewise.
15690 * nis/nis_print.c: Likewise.
15691 * nis/nis_xdr.c: Likewise.
15692 * nscd/connections.c: Likewise.
15693 * nscd/hstcache.c: Likewise.
15694 * nscd/nscd_gethst_r.c: Likewise.
15695 * nscd/nscd_getserv_r.c: Likewise.
15696 * nscd/nscd_helper.c: Likewise.
15697 * nscd/servicescache.c: Likewise.
15698 * nss/makedb.c: Likewise.
15699 * nss/nss_db/db-XXX.c: Likewise.
15700 * nss/nss_db/db-initgroups.c: Likewise.
15701 * nss/nss_db/db-netgrp.c: Likewise.
15702 * nss/nss_files/files-network.c: Likewise.
15703 * nss/nss_files/files-parse.c: Likewise.
15704 * posix/bug-regex5.c: Likewise.
15705 * posix/fnmatch_loop.c: Likewise.
15706 * posix/regcomp.c: Likewise.
15707 * posix/regexec.c: Likewise.
15708 * posix/tst-rfc3484-2.c: Likewise.
15709 * posix/tst-rfc3484-3.c: Likewise.
15710 * posix/tst-rfc3484.c: Likewise.
15711 * resolv/nss_dns/dns-canon.c: Likewise.
15712 * resolv/nss_dns/dns-network.c: Likewise.
15713 * resolv/res_init.c: Likewise.
15714 * resolv/res_mkquery.c: Likewise.
15715 * resolv/tst-aton.c: Likewise.
15716 * stdlib/cxa_atexit.c: Likewise.
15717 * stdlib/cxa_finalize.c: Likewise.
15718 * stdlib/gen-fpioconst.c: Likewise.
15719 * stdlib/strtol_l.c: Likewise.
15720 * string/tst-endian.c: Likewise.
15721 * sunrpc/auth_des.c: Likewise.
15722 * sunrpc/clnt_udp.c: Likewise.
15723 * sunrpc/rtime.c: Likewise.
15724 * sunrpc/svcauth_des.c: Likewise.
15725 * sunrpc/xdr.c: Likewise.
15726 * sunrpc/xdr_intXX_t.c: Likewise.
15727 * sunrpc/xdr_rec.c: Likewise.
15728 * sysdeps/generic/ldconfig.h: Likewise.
15729 * sysdeps/generic/ldsodefs.h: Likewise.
15730 * sysdeps/generic/memusage.h: Likewise.
15731 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15733 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15734 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15736 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15737 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15738 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15739 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15741 * sysdeps/posix/getaddrinfo.c: Likewise.
15742 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15743 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15744 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15745 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15746 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15747 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15748 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15749 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15750 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15751 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15752 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15753 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15754 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15755 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15756 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15757 * sysdeps/x86_64/dl-tls.h: Likewise.
15758 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15759 * time/alt_digit.c: Likewise.
15760 * time/era.c: Likewise.
15761 * wcsmbs/tst-c16c32-1.c: Likewise.
15762
8c75f674
JM
157632013-05-16 Joseph Myers <joseph@codesourcery.com>
15764
15765 * math/libm-test.inc (struct test_sincos_data): New type.
15766 (RUN_TEST_LOOP_sincos): New macro.
15767 (sincos_test_data): New variable.
15768 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15769
e6e49e59
RH
157702013-05-16 Richard Henderson <rth@redhat.com>
15771
15772 * math/atest-exp2.c (LIMB64): New macro.
15773 (CONSTSZ): New macro.
15774 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15775 (hexdig): Move ...
15776 (print_mpn_fp): ... to function scope.
15777 (read_mpn_hex): Remove.
15778 (get_log2): Remove.
15779 (exp2_mpn): Use mp_log2.
15780 (main): Use mp_exp1.
15781
15c7c18d
JM
157822013-05-16 Joseph Myers <joseph@codesourcery.com>
15783
105a07df
JM
15784 * math/libm-test.inc: Remove comment about not testing "inexact"
15785 exceptions.
15786 (INEXACT_EXCEPTION): New macro.
15787 (NO_INEXACT_EXCEPTION): Likewise.
15788 (INVALID_EXCEPTION_OK): Update value.
15789 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15790 (OVERFLOW_EXCEPTION_OK): Likewise.
15791 (UNDERFLOW_EXCEPTION_OK): Likewise.
15792 (IGNORE_ZERO_INF_SIGN): Likewise.
15793 (ERRNO_UNCHANGED): Likewise.
15794 (ERRNO_EDOM): Likewise.
15795 (ERRNO_ERANGE): Likewise.
15796 (test_exceptions): Handle testing "inexact" exceptions.
15797 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15798 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15799 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15800 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15801 INEXACT_EXCEPTION.
15802 (rint_towardzero_test_data): Likewise.
15803 (rint_downward_test_data): Likewise.
15804 (rint_upward_test_data): Likewise.
15805
e9eee333
JM
15806 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15807 with OVERFLOW_EXCEPTION.
15808 (exp10_test_data): Likewise.
15809 (exp2_test_data): Likewise.
15810 (expm1_test_data): Likewise.
15811 (lgamma_test_data): Likewise.
15812 (pow_test_data): Likewise.
15813 (tgamma_test_data): Likewise.
15814 (yn_test_data): Remove duplicate test of overflow.
15815
1c38ff73
JM
15816 * math/libm-test.inc (struct test_cc_c_data): New type.
15817 (RUN_TEST_LOOP_cc_c): New macro.
15818 (cpow_test_data): New variable.
15819 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15820
15c7c18d
JM
15821 * math/libm-test.inc (struct test_f_L_data): New type.
15822 (RUN_TEST_LOOP_f_L): New macro.
15823 (llrint_test_data): New variable.
15824 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15825 (llrint_tonearest_test_data): New variable.
15826 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15827 (llrint_towardzero_test_data): New variable.
15828 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15829 (llrint_downward_test_data): New variable.
15830 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15831 (llrint_upward_test_data): New variable.
15832 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15833 (llround_test_data): New variable.
15834 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15835
f137ff13
PC
158362013-05-13 Peter Collingbourne <pcc@google.com>
15837
15838 * math/atest-exp2.c (get_log2): Remove const attribute.
15839
3608cb24
JM
158402013-05-15 Joseph Myers <joseph@codesourcery.com>
15841
15842 * math/libm-test.inc (struct test_f_l_data): New type.
15843 (RUN_TEST_LOOP_f_l): New macro.
15844 (lrint_test_data): New variable.
15845 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15846 (lrint_tonearest_test_data): New variable.
15847 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15848 (lrint_towardzero_test_data): New variable.
15849 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15850 (lrint_downward_test_data): New variable.
15851 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15852 (lrint_upward_test_data): New variable.
15853 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15854 (lround_test_data): New variable.
15855 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15856
39b1f617
PC
158572013-05-15 Peter Collingbourne <pcc@google.com>
15858
1deff3dc
PC
15859 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15860 (EXTRACT_WORDS64) Use where appropriate.
15861 (INSERT_WORDS64) Likewise.
15862
791f3ba0
PC
15863 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15864 constraints with x constraints.
15865 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15866
39b1f617
PC
15867 * malloc/obstack.c (_obstack_compat): Add initializer.
15868
12fba011
EM
158692013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15870
15871 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15872 si_trapno and add si_addr_lsb to _sifields.sigfault.
15873 (si_trapno): Remove macro.
15874 (si_addr_lsb): Define new macro.
15875 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15876
d369f531
JM
158772013-05-15 Joseph Myers <joseph@codesourcery.com>
15878
b861c6c4
JM
15879 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15880 instead of TEST_f_l.
15881 (llrint_test_tonearest): Likewise.
15882 (llrint_test_towardzero): Likewise.
15883 (llrint_test_downward): Likewise.
15884 (llrint_test_upward): Likewise.
15885 (llround_test): Likewise.
15886
7abeee12
JM
15887 * math/libm-test.inc (struct test_f_i_data): Add comment.
15888 (RUN_TEST_LOOP_f_b): New macro.
15889 (RUN_TEST_LOOP_f_b_tg): Likewise.
15890 (finite_test_data): New variable.
15891 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15892 (isfinite_test_data): New variable.
15893 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15894 (isinf_test_data): New variable.
15895 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15896 (isnan_test_data): New variable.
15897 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15898 (isnormal_test_data): New variable.
15899 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15900 (issignaling_test_data): New variable.
15901 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15902 (signbit_test_data): New variable.
15903 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15904
cbe8c4d3
JM
15905 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15906 with INVALID_EXCEPTION.
15907 (acosh_test_data): Likewise.
15908 (asin_test_data): Likewise.
15909 (atanh_test_data): Likewise.
15910 (fmod_test_data): Likewise.
15911 (log_test_data): Likewise.
15912 (log10_test_data): Likewise.
15913 (log2_test_data): Likewise.
15914 (pow_test_data): Likewise.
15915 (sqrt_test_data): Likewise.
15916 (y0_test_data): Likewise.
15917 (y1_test_data): Likewise.
15918 (yn_test_data): Likewise.
15919
5575c0e5
JM
15920 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15921 function contents.
15922
d369f531
JM
15923 * math/libm-test.inc (struct test_ff_i_data): New type.
15924 (RUN_TEST_LOOP_ff_i_tg): New macro.
15925 (isgreater_test_data): New variable.
15926 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15927 (isgreaterequal_test_data): New variable.
15928 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15929 (isless_test_data): New variable.
15930 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15931 (islessequal_test_data): New variable.
15932 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15933 (islessgreater_test_data): New variable.
15934 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15935 (isunordered_test_data): New variable.
15936 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15937
781fd748
DM
159382013-05-14 David S. Miller <davem@davemloft.net>
15939
15940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15941
87aa21df
JM
159422013-05-14 Joseph Myers <joseph@codesourcery.com>
15943
5e908270
JM
15944 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15945
f71172e5
JM
15946 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15947 extra_test to int.
15948 (struct test_f_i_data): Change type of max_ulp to int.
15949
8cfa635a
JM
15950 * math/libm-test.inc (test_ffI_f1_data): New type.
15951 (RUN_TEST_LOOP_ffI_f1): New macro.
15952 (remquo_test_data): New variable.
15953 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15954
2bcb36b2
JM
15955 * setjmp/tst-setjmp-fp.c: New file.
15956 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15957 (link-libm): New variable.
15958 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15959
acbd839a
JM
15960 * math/libm-test.inc (struct test_f_i_data): New type.
15961 (RUN_TEST_LOOP_f_i): New macro.
15962 (RUN_TEST_LOOP_f_i_tg): Likewise.
15963 (fpclassify_test_data): New variable.
15964 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15965 (ilogb_test_data): New variable.
15966 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15967
e414d745
JM
15968 * math/libm-test.inc (scalbln_test): Correct function name in END
15969 call.
15970
d9c2a0fd
JM
15971 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15972 (RUN_TEST_LOOP_fI_f1): New macro.
15973 (frexp_test_data): New variable.
15974 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15975
9dc9095d
JM
15976 * math/libm-test.inc (struct test_fF_f1_data): New type.
15977 (RUN_TEST_LOOP_fF_f1): New macro.
15978 (modf_test_data): New variable.
15979 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15980
87aa21df
JM
15981 * math/libm-test.inc (struct test_f_f1_data): New type.
15982 (RUN_TEST_LOOP_f_f1): New macro.
15983 (gamma_test_data): New variable.
15984 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15985 (lgamma_test_data): New variable.
15986 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15987
141af660
CD
159882013-05-13 Carlos O'Donell <carlos@redhat.com>
15989
15990 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15991 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15992 (main): Comment "tls" pseudo-hwcap.
15993
6d33265c
JM
159942013-05-13 Joseph Myers <joseph@codesourcery.com>
15995
68fc074c
JM
15996 * math/libm-test.inc (struct test_fl_f_data): New type.
15997 (RUN_TEST_LOOP_fl_f): New variable.
15998 (scalbln_test_data): New variable.
15999 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16000
243216e1
JM
16001 * math/libm-test.inc (struct test_fi_f_data): New type.
16002 (RUN_TEST_LOOP_fi_f): New macro.
16003 (ldexp_test_data): New variable.
16004 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16005 (scalbn_test_data): New variable.
16006 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16007
6a1992e2
JM
16008 * math/libm-test.inc (struct test_c_f_data): New type.
16009 (RUN_TEST_LOOP_c_f): New macro.
16010 (cabs_test_data): New variable.
16011 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16012 (carg_test_data): New variable.
16013 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16014 (cimag_test_data): New variable.
16015 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16016 (creal_test_data): New variable.
16017 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16018
0e400df5
JM
16019 * math/libm-test.inc (struct test_if_f_data): New type.
16020 (RUN_TEST_LOOP_if_f): New macro.
16021 (jn_test_data): New variable.
16022 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16023 (yn_test_data): New variable.
16024 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16025
6d33265c
JM
16026 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16027
f98ece5f
AZ
160282013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16029
16030 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16031 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16032
0f7d347b
SP
160332013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16034
43fe811b
SP
16035 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16036 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16037 (bench-deps): Add bench-timing.h.
16038 * benchtests-bench-skeleton.c: Include bench-timing.h.
16039 (main): Use TIMING_* macros instead of clock_gettime.
16040 * benchtests/bench-timing.h: New file.
16041
0f7d347b
SP
16042 [BZ #14582]
16043 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16044 Renamed from _LIB_VERSION.
16045 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16046
601a3a5f
JM
160472013-05-12 Joseph Myers <joseph@codesourcery.com>
16048
4f184d30
JM
16049 * math/libm-test.inc (struct test_fff_f_data): New type.
16050 (RUN_TEST_LOOP_fff_f): New macro.
16051 (fma_test_data): New variable.
16052 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16053 (fma_towardzero_test_data): New variable.
16054 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16055 (fma_downward_test_data): New variable.
16056 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16057 (fma_upward_test_data): New variable.
16058 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16059
08198877
JM
16060 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16061 (struct test_c_c_data): New type.
16062 (RUN_TEST_LOOP_c_c): New macro.
16063 (cacos_test_data): New variable.
16064 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16065 (cacosh_test_data): New variable.
16066 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16067 (casin_test_data): New variable.
16068 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16069 (casinh_test_data): New variable.
16070 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16071 (catan_test_data): New variable.
16072 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16073 (catanh_test_data): New variable.
16074 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16075 (ccos_test_data): New variable.
16076 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16077 (ccosh_test_data): New variable.
16078 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16079 (cexp_test_data): New variable.
16080 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16081 (clog_test_data): New variable.
16082 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16083 (clog10_test_data): New variable.
16084 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16085 (conj_test_data): New variable.
16086 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16087 (cproj_test_data): New variable.
16088 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16089 (csin_test_data): New variable.
16090 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16091 (csinh_test_data): New variable.
16092 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16093 (csqrt_test_data): New variable.
16094 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16095 (ctan_test_data): New variable.
16096 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16097 (ctan_tonearest_test_data): New variable.
16098 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16099 (ctan_towardzero_test_data): New variable.
16100 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16101 (ctan_downward_test_data): New variable.
16102 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16103 (ctan_upward_test_data): New variable.
16104 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16105 (ctanh_test_data): New variable.
16106 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16107 (ctanh_tonearest_test_data): New variable.
16108 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16109 (ctanh_towardzero_test_data): New variable.
16110 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16111 (ctanh_downward_test_data): New variable.
16112 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16113 (ctanh_upward_test_data): New variable.
16114 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16115 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16116 of BUILD_COMPLEX.
16117
601a3a5f
JM
16118 * math/libm-test.inc (struct test_ff_f_data): New type.
16119 (struct test_ff_f_data_nexttoward): Likewise.
16120 (RUN_TEST_LOOP_2_f): New macro.
16121 (RUN_TEST_LOOP_ff_f): Likewise.
16122 (atan2_test_data): New variable.
16123 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16124 (copysign_test_data): New variable.
16125 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16126 (fdim_test_data): New variable.
16127 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16128 (fmax_test_data): New variable.
16129 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16130 (fmin_test_data): New variable.
16131 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16132 (fmod_test_data): New variable.
16133 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16134 (hypot_test_data): New variable.
16135 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16136 (nextafter_test_data): New variable.
16137 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16138 (nexttoward_test_data): New variable.
16139 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16140 (pow_test_data): New variable.
16141 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16142 (pow_tonearest_test_data): New variable.
16143 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16144 (pow_towardzero_test_data): New variable.
16145 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16146 (pow_downward_test_data): New variable.
16147 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16148 (pow_upward_test_data): New variable.
16149 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16150 (remainder_test_data): New variable.
16151 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16152 (scalb_test_data): New variable.
16153 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16154 * sysdeps/i386/fpu/libm-test-ulps: Update.
16155
74c57478
JM
161562013-05-11 Joseph Myers <joseph@codesourcery.com>
16157
8329e4da
JM
16158 * math/libm-test.inc (fma_test): Use max_value instead of local
16159 variable fltmax.
16160 (nextafter_test): Likewise.
16161
74c57478
JM
16162 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16163 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16164 (acos_downward_test_data): New variable.
16165 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16166 (acos_upward_test_data): New variable.
16167 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16168 (acosh_test_data): New variable.
16169 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16170 (asin_test_data): New variable.
16171 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16172 (asin_tonearest_test_data): New variable.
16173 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16174 (asin_towardzero_test_data): New variable.
16175 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16176 (asin_downward_test_data): New variable.
16177 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16178 (asin_upward_test_data): New variable.
16179 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16180 (asinh_test_data): New variable.
16181 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16182 (atan_test_data): New variable.
16183 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16184 (atanh_test_data): New variable.
16185 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16186 (cbrt_test_data): New variable.
16187 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16188 (ceil_test_data): New variable.
16189 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16190 (cos_test_data): New variable.
16191 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16192 (cos_tonearest_test_data): New variable.
16193 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16194 (cos_towardzero_test_data): New variable.
16195 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16196 (cos_downward_test_data): New variable.
16197 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16198 (cos_upward_test_data): New variable.
16199 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16200 (cosh_test_data): New variable.
16201 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16202 (cosh_tonearest_test_data): New variable.
16203 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16204 (cosh_towardzero_test_data): New variable.
16205 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16206 (cosh_downward_test_data): New variable.
16207 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16208 (cosh_upward_test_data): New variable.
16209 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16210 (erf_test_data): New variable.
16211 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16212 (erfc_test_data): New variable.
16213 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16214 (exp_test_data): New variable.
16215 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16216 (exp_tonearest_test_data): New variable.
16217 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16218 (exp_towardzero_test_data): New variable.
16219 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16220 (exp_downward_test_data): New variable.
16221 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16222 (exp_upward_test_data): New variable.
16223 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16224 (exp10_test_data): New variable.
16225 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16226 (exp2_test_data): New variable.
16227 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16228 (expm1_test_data): New variable.
16229 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16230 (fabs_test_data): New variable.
16231 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16232 (floor_test_data): New variable.
16233 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16234 (j0_test_data): New variable.
16235 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16236 (j1_test_data): New variable.
16237 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16238 (log_test_data): New variable.
16239 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16240 (log10_test_data): New variable.
16241 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16242 (log1p_test_data): New variable.
16243 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16244 (log2_test_data): New variable.
16245 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16246 (logb_test_data): New variable.
16247 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16248 (logb_downward_test_data): New variable.
16249 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16250 (nearbyint_test_data): New variable.
16251 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16252 (rint_test_data): New variable.
16253 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16254 (rint_tonearest_test_data): New variable.
16255 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16256 (rint_towardzero_test_data): New variable.
16257 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16258 (rint_downward_test_data): New variable.
16259 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16260 (rint_upward_test_data): New variable.
16261 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16262 (round_test_data): New variable.
16263 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16264 (sin_test_data): New variable.
16265 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16266 (sin_tonearest_test_data): New variable.
16267 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16268 (sin_towardzero_test_data): New variable.
16269 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16270 (sin_downward_test_data): New variable.
16271 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16272 (sin_upward_test_data): New variable.
16273 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16274 (sinh_test_data): New variable.
16275 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16276 (sinh_tonearest_test_data): New variable.
16277 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16278 (sinh_towardzero_test_data): New variable.
16279 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16280 (sinh_downward_test_data): New variable.
16281 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16282 (sinh_upward_test_data): New variable.
16283 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16284 (sqrt_test_data): New variable.
16285 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16286 (tan_test_data): New variable.
16287 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16288 (tan_tonearest_test_data): New variable.
16289 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16290 (tan_towardzero_test_data): New variable.
16291 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16292 (tan_downward_test_data): New variable.
16293 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16294 (tan_upward_test_data): New variable.
16295 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16296 (tanh_test_data): New variable.
16297 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16298 (tgamma_test_data): New variable.
16299 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16300 (trunc_test_data): New variable.
16301 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16302 (y0_test_data): New variable.
16303 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16304 (y1_test_data): New variable.
16305 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16306 (significand_test_data): New variable.
16307 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16308
7187d844
CG
163092013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16310
16311 [BZ #12387]
16312 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16313
f63fae73
PT
163142013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16315
16316 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16317
8a67a4b3
AJ
163182013-05-10 Andreas Jaeger <aj@suse.de>
16319
16320 [BZ #15448]
16321 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16322 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16323
51df539d
JM
163242013-05-10 Joseph Myers <joseph@codesourcery.com>
16325
16326 * math/gen-libm-test.pl (adjust_arg): New function.
16327 (special_functions): Handle generating output in both functions
16328 and arrays.
16329 (parse_args): Likewise.
16330 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16331 $in_func argument to parse_args.
16332 * math/libm-test.inc (struct test_f_f_data): New type.
16333 (IF_ROUND_INIT_): New macro.
16334 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16335 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16336 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16337 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16338 (ROUND_RESTORE_): Likewise.
16339 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16340 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16341 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16342 (ROUND_RESTORE_FE_UPWARD): Likewise.
16343 (RUN_TEST_LOOP_f_f): New macro.
16344 (acos_test_data): New variable.
16345 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16346 (acos_tonearest_test_data): New variable.
16347 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16348
5c637fe5
SP
163492013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16350
16351 * benchtests/bench-skeleton.c (startup): Fix coding style.
16352
ab2b9461
JM
163532013-05-10 Joseph Myers <joseph@codesourcery.com>
16354
16355 [BZ #6809]
16356 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16357 negative infinity argument.
16358 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16359 negative infinity argument.
16360 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16361 negative infinity argument.
16362 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16363 domain errors.
16364
4c0fe6fe
FW
163652013-05-10 Florian Weimer <fweimer@redhat.com>
16366
16367 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16368 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16369 * iconv/iconv_prog.c (main): Likewise.
16370 * locale/programs/charmap-dir.c (charmap_readdir)
16371 (fopen_uncompressed): Likewise.
16372 * locale/programs/locfile.c (siblings_uncached)
16373 (write_locale_data): Use lstat64 instead of lstat.
16374 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16375 stat.
16376
a3375d29
AJ
163772013-05-10 Andreas Jaeger <aj@suse.de>
16378
16379 [BZ #15395]
16380 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16381 localization.
16382 Include <locale.h>.
16383
36129722
CD
163842013-05-09 Carlos O'Donell <carlos@redhat.com>
16385
16386 * elf/dl-close.c (_dl_close_worker): Add comments.
16387
faa7f811
JM
163882013-05-09 Joseph Myers <joseph@codesourcery.com>
16389
ed41ffef
JM
16390 [BZ #15359]
16391 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16392 high part of pi/2.
16393 (__ieee754_rem_pio2l): Update comments.
16394
d0213cd0
JM
16395 [BZ #15429]
16396 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16397 high part of pi/2.
16398 (__ieee754_rem_pio2l): Update comments.
16399
0d3e777a
JM
16400 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16401 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16402
24f56066
JM
16403 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16404 M_PI_4l.
16405
faa7f811
JM
16406 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16407 (M_PI_34_LOG10El): Likewise.
16408 (M_PI2_LOG10El): Likewise.
16409 (M_PI4_LOG10El): Likewise.
16410 (M_PI_LOG10El): Likewise.
16411
e9a5e0fd
AZ
164122013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16413
16414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16415
d8cd06db
JM
164162013-05-08 Joseph Myers <joseph@codesourcery.com>
16417
a0d9f9d7
JM
16418 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16419 (MINUS_ZERO_INIT): Likewise.
16420 (PLUS_INFTY_INIT): Likewise.
16421 (MINUS_INFTY_INIT): Likewise.
16422 (QNAN_VALUE_INIT): Likewise.
16423 (MAX_VALUE_INIT): Likewise.
16424 (MIN_VALUE_INIT): Likewise.
16425 (MIN_SUBNORM_VALUE_INIT): Likewise.
16426 (plus_zero): Initialize with PLUS_ZERO_INIT.
16427 (minus_zero): Initialize with MINUS_ZERO_INIT.
16428 (plus_infty): Initialize with PLUS_INFTY_INIT.
16429 (minus_infty): Initialize with MINUS_INFTY_INIT.
16430 (qnan_value): Initialize with QNAN_VALUE_INIT.
16431 (max_value): Initialize with MAX_VALUE_INIT.
16432 (min_value): Initialize with MIN_VALUE_INIT.
16433 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16434
ae08db3b
JM
16435 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16436 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16437 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16438 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16439
f44bf14a
JM
16440 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16441 (RUN_TEST_2_f): Likewise.
16442 (RUN_TEST_ff_f): Likewise.
16443 (RUN_TEST_fi_f): Likewise.
16444 (RUN_TEST_fl_f): Likewise.
16445 (RUN_TEST_fff_f): Likewise.
16446 (RUN_TEST_c_f): Likewise.
16447 (RUN_TEST_f_f1): Likewise.
16448 (RUN_TEST_fF_f1): Likewise.
16449 (RUN_TEST_fI_f1): Likewise.
16450 (RUN_TEST_ffI_f1): Likewise.
16451 (RUN_TEST_c_c): Likewise.
16452 (RUN_TEST_cc_c): Likewise.
16453 (RUN_TEST_f_i): Likewise.
16454 (RUN_TEST_f_i_tg): Likewise.
16455 (RUN_TEST_ff_i_tg): Likewise.
16456 (RUN_TEST_f_b): Likewise.
16457 (RUN_TEST_f_b_tg): Likewise.
16458 (RUN_TEST_f_l): Likewise.
16459 (RUN_TEST_f_L): Likewise.
16460 (RUN_TEST_sincos): Likewise.
16461 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16462 whether to show exceptions. Do not include ");\n" in return
16463 value.
16464 (special_functions): Output call to RUN_TEST_sincos instead of
16465 check_float calls. Update calls to new_test.
16466 (parse_args): Output call to single RUN_TEST_* macro instead of
16467 check_* calls and other assignments. Update calls to new_test.
16468
d8cd06db
JM
16469 [BZ #2546]
16470 [BZ #2560]
16471 [BZ #5159]
16472 [BZ #15426]
16473 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16474 input to result for tgamma overflow.
16475 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16476 (gamma_coeff): New variable.
16477 (NCOEFF): New macro.
16478 (gamma_positive): New function.
16479 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16480 underflow here. Use gamma_positive instead of exp (lgamma) for
16481 other arguments.
16482 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16483 (gamma_coeff): New variable.
16484 (NCOEFF): New macro.
16485 (gammaf_positive): New function.
16486 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16487 underflow here. Use gamma_positive instead of exp (lgamma) for
16488 other arguments.
16489 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16490 (gamma_coeff): New variable.
16491 (NCOEFF): New macro.
16492 (gammal_positive): New function.
16493 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16494 underflow here. Use gamma_positive instead of exp (lgamma) for
16495 other arguments.
16496 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16497 (gamma_coeff): New variable.
16498 (NCOEFF): New macro.
16499 (gammal_positive): New function.
16500 (__ieee754_gammal_r): Handle positive infinity, overflow and
16501 underflow here. Handle NaN the same as positive infinity. Remove
16502 check x < 0xffffffff for negative integers. Use gamma_positive
16503 instead of exp (lgamma) for other arguments.
16504 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16505 (gamma_coeff): New variable.
16506 (NCOEFF): New macro.
16507 (gammal_positive): New function.
16508 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16509 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16510 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16511 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16513 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16514 * sysdeps/generic/math_private.h (__gamma_productf): New
16515 prototype.
16516 (__gamma_product): Likewise.
16517 (__gamma_productl): Likewise.
16518 * math/Makefile (libm-calls): Add gamma_product.
16519 * math/libm-test.inc (tgamma_test): Add more tests.
16520 * sysdeps/i386/fpu/libm-test-ulps: Update.
16521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16522
bb7cf681
OB
165232013-05-08 Ondřej Bílka <neleai@seznam.cz>
16524
16525 * benchtests/bench-skeleton.c (main): Preheat CPU.
16526
ba853947
AJ
165272013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16528
16529 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16530
8347c74c
RM
165312013-05-07 Roland McGrath <roland@hack.frob.com>
16532
16533 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16534 and _dl_skip_args_internal.
16535
e8dd4791
CD
165362013-05-07 Carlos O'Donell <carlos@redhat.com>
16537
16538 * manual/message.texi (Message Translation): Talk about users.
16539 Message to key mapping impacts design.
16540
c7405830
RM
165412013-05-06 Roland McGrath <roland@hack.frob.com>
16542
a9173057
RM
16543 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16544
976e2f03
RM
16545 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16546
9723ffc5
RM
16547 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16548 * sysdeps/wordsize-64/glob64.c: ... here.
16549
962e6658
RM
16550 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16551 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16552 New macros.
16553
ee586a6d
RM
16554 * debug/getlogin_r_chk.c: Moved to ...
16555 * login/getlogin_r_chk.c: ... here.
16556 * debug/Makefile (routines): Move getlogin_r_chk to ...
16557 * login/Makefile (routines): ... here.
16558 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16559 * login/Versions (libc: GLIBC_2.4): ... here.
16560
355f9165
RM
16561 * io/poll.c (__poll): Renamed from poll.
16562 Add libc_hidden_def.
16563 (poll): Define as weak alias.
16564
bd9ffde6
RM
16565 * debug/ptsname_r_chk.c: Moved to ...
16566 * login/ptsname_r_chk.c: ... here.
16567 * debug/Makefile (routines): Move ptsname_r_chk to ...
16568 * login/Makefile (routines): ... here.
16569 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16570 * login/Versions (libc: GLIBC_2.4): ... here.
16571
8fb16a04
RM
16572 * posix/getlogin.c: Moved to ...
16573 * login/getlogin.c: ... here.
16574 * posix/getlogin_r.c: Moved to ...
16575 * login/getlogin_r.c: ... here.
16576 * posix/getlogin_r.c: Moved to ...
16577 * login/getlogin_r.c: ... here.
16578 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16579 * login/Makefile (routines): ... here.
16580 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16581 * login/Versions (libc: GLIBC_2.0): ... here.
16582
b99b892f
RM
16583 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16584 (setrlimit): Define as weak alias.
16585
c7405830
RM
16586 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16587 Call __ names for open, ftruncate, and close.
16588 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16589 (truncate): Define as weak alias.
16590
5bf96de5
JM
165912013-05-06 Joseph Myers <joseph@codesourcery.com>
16592
9ea3513c
JM
16593 * math/gen-libm-test.pl (parse_args): Initialize x before each
16594 test of frexp, modf and remquo.
16595
5bf96de5
JM
16596 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16597 test signgam value.
16598
16e616a7
AZ
165992013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16600
16601 [BZ #15418]
16602 [BZ #15419]
16603 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16604 internal tests.
16605 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16606
d5e82754
RM
166072013-05-06 Roland McGrath <roland@hack.frob.com>
16608
16609 * elf/dl-writev.h: New file.
16610 * elf/dl-misc.c: Include it.
16611 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16612 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16613
a7548d41
JM
166142013-05-04 Joseph Myers <joseph@codesourcery.com>
16615
b7dab1e4
JM
16616 * math/libm-test.inc (noXFails): Remove variable.
16617 (noXPasses): Likewise.
16618 (BUILD_COMPLEX_INT): Remove macro.
16619 (print_screen): Remove xfail argument.
16620 (print_screen_max_error): Likewise.
16621 (update_stats): Likewise.
16622 (print_max_error): Likewise. Update calls to other affected
16623 functions.
16624 (print_complex_max_error): Likewise.
16625 (test_single_exception): Update calls to print_screen.
16626 (test_single_errno): Likewise.
16627 (check_float_internal): Remove xfail argument. Update calls to
16628 other affected functions.
16629 (check_float): Likewise.
16630 (check_complex): Likewise.
16631 (check_int): Likewise.
16632 (check_long): Likewise.
16633 (check_bool): Likewise.
16634 (check_longlong): Likewise.
16635 (main): Don't print noXFails and noXPasses.
16636 * math/gen-libm-test.pl (top level): Don't mention expected
16637 failure handling in comment.
16638 (new_test): Don't handle expected failures.
16639 (parse_args): Don't mention expected failure handling in comment.
16640 (generate_testfile): Don't handle expected failures.
16641 (parse_ulps): Likewise.
16642 (print_ulps_file): Likewise.
16643 (get_failure): Remove function.
16644 (output_test): Don't handle expected failures.
16645 * make/README.libm-test: Don't mention expected failure handling.
16646
a7548d41
JM
16647 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16648 (minus_zero): Likewise.
16649 (plus_infty): Likewise.
16650 (minus_infty): Likewise.
16651 (qnan_value): Likewise.
16652 (max_value): Likewise.
16653 (min_value): Likewise.
16654 (min_subnorm_value): Likewise.
16655 (initialize): Do not initialize those variables dynamically.
16656
60bfd54c
RM
166572013-05-03 Roland McGrath <roland@hack.frob.com>
16658
cc0e6ed8
RM
16659 * io/open.c (__open_2): Moved to ...
16660 * io/open_2.c: ... this new file.
16661 * io/open64.c (__open64_2): Moved to ...
16662 * io/open64_2.c: ... this new file.
16663 * io/openat.c (__openat_2): Moved to ...
16664 * io/openat_2.c: ... this new file.
16665 * io/openat64.c (__openat64_2): Moved to ...
16666 * io/openat64_2.c: ... this new file.
16667 * io/Makefile (routines): Add them.
16668 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16669 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16670 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16671 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16672 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16673 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16674 (__openat64): Add hidden_ver.
16675 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16676 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16677
60bfd54c
RM
16678 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16679 Separately conditionalize setting of GLRO(dl_sysinfo) so
16680 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16681 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16682
83e7640f
AZ
166832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16684
16685 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16686 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16687 definition.
16688 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16689 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16690 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16691 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16692 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16693
d5dc2af3
JM
166942013-05-03 Joseph Myers <joseph@codesourcery.com>
16695
c31a5b1e
JM
16696 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16697 test signgam value.
16698
d5dc2af3
JM
16699 * math/libm-test.inc (hypot_test): Do not use
16700 IGNORE_ZERO_INF_SIGN.
16701
164fd39d
AJ
167022013-05-03 Andreas Jaeger <aj@suse.de>
16703
16704 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16705 Linux 3.9.
16706 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16707 (PF_MAX): Adjust for VSOCK change.
16708
8237f48c
AZ
167092013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16710
16711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16712
9df02941
CD
167132013-05-02 Carlos O'Donell <carlos@redhat.com>
16714
16715 [BZ #15264]
16716 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16717 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16718 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16719
d422395e
DM
167202013-05-02 David S. Miller <davem@davemloft.net>
16721
16722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16723
a07c5731
OB
167242013-05-01 Ondřej Bílka <neleai@seznam.cz>
16725
16726 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16727
1324e37f
RM
167282013-05-01 Roland McGrath <roland@hack.frob.com>
16729
16730 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16731
0695940b
RS
167322013-05-01 Richard Smith <richard@metafoo.co.uk>
16733
bb5f27ad 16734 [BZ #14952]
0695940b
RS
16735 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16736 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16737 Use __attribute__ ((__gnu_inline__)).
16738 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16739 Don't use __attribute__ ((__gnu_inline__)).
16740
10de07f5
JM
167412013-05-01 Joseph Myers <joseph@codesourcery.com>
16742
16743 [BZ #15423]
16744 * math/s_catan.c (__catan): Handle small real or imaginary part of
16745 input specially to avoid spurious underflow.
16746 * math/s_catanf.c (__catanf): Likewise.
16747 * math/s_catanh.c (__catanh): Likewise.
16748 * math/s_catanhf.c (__catanhf): Likewise.
16749 * math/s_catanhl.c (__catanhl): Likewise.
16750 * math/s_catanl.c (__catanl): Likewise.
16751 * math/libm-test.inc (catan_test): Add more tests.
16752 (catanh_test): Likewise.
16753 * sysdeps/i386/fpu/libm-test-ulps: Update.
16754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16755
cb4d5414
AZ
167562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16757
16758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16759
caf84319
JM
167602013-04-30 Joseph Myers <joseph@codesourcery.com>
16761
16762 [BZ #15416]
16763 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16764 accurately for denominator in atan2.
16765 * math/s_catanf.c (__catanf): Likewise.
16766 * math/s_catanh.c (__catanh): Likewise.
16767 * math/s_catanhf.c (__catanhf): Likewise.
16768 * math/s_catanhl.c (__catanhl): Likewise.
16769 * math/s_catanl.c (__catanl): Likewise.
16770 * math/libm-test.inc (catan_test): Add more tests.
16771 (catanh_test): Likewise.
16772 * sysdeps/i386/fpu/libm-test-ulps: Update.
16773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16774
d569c6ee
SP
167752013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16776
6dbe713d
SP
16777 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16778
f0ee064b
SP
16779 * benchtests/Makefile (bench): Remove slow benchmarks.
16780 * benchtests/atan-inputs: Add slow benchmark inputs.
16781 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16782 (BENCH_FUNC): Accept variant offset.
16783 (VARIANT): Define.
16784 * benchtests/bench-skeleton.c (main): Run benchmark for each
16785 variant.
16786 * benchtests/cos-inputs: Add slow benchmark inputs.
16787 * benchtests/exp-inputs: Likewise.
16788 * benchtests/pow-inputs: Likewise.
16789 * benchtests/sin-inputs: Likewise.
16790 * benchtests/slowatan-inputs: Remove.
16791 * benchtests/slowatan.c: Remove.
16792 * benchtests/slowcos-inputs: Remove.
16793 * benchtests/slowcos.c: Remove.
16794 * benchtests/slowexp-inputs: Remove.
16795 * benchtests/slowexp.c: Remove.
16796 * benchtests/slowpow-inputs: Remove.
16797 * benchtests/slowpow.c: Remove.
16798 * benchtests/slowsin-inputs: Remove.
16799 * benchtests/slowsin.c: Remove.
16800 * benchtests/slowtan-inputs: Remove.
16801 * benchtests/slowtan.c: Remove.
16802 * benchtests/tan-inputs: Add slow benchmark inputs.
16803 * scripts/bench.pl: Parse comments and directives.
16804
d569c6ee
SP
16805 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16806 in CPPFLAGS.
16807 ($(objpfx)bench-%.c): Remove *-ITER.
16808 * benchtests/bench-modf.c: Remove definition of ITER.
16809 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16810 (main): Loop for DURATION seconds instead of fixed number of
16811 iterations.
16812 * scripts/bench.pl: Don't expect iterations in parameters.
16813
a6a242fe
RM
168142013-04-29 Roland McGrath <roland@hack.frob.com>
16815
16816 * io/fchdir.c (__fchdir): Renamed from fchdir.
16817 (fchdir): Define as weak alias.
16818
f2da7793
JM
168192013-04-29 Joseph Myers <joseph@codesourcery.com>
16820
16821 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16822 (ERRNO_EDOM): Likewise.
16823 (ERRNO_ERANGE): Likewise.
16824 (noErrnoTests): New variable.
16825 (init_max_error): Set errno to 0.
16826 (test_single_errno): New function.
16827 (test_errno): Likewise.
16828 (check_float_internal): Call test_errno. Set errno to 0.
16829 (check_complex): Refer to errno tests in comment.
16830 (check_int): Call test_errno. Set errno to 0.
16831 (check_long): Likewise.
16832 (check_bool): Likewise.
16833 (check_longlong): Likewise.
16834 (cos_test): Use ERRNO_* flags for errno tests instead of
16835 check_int.
16836 (expm1_test): Likewise.
16837 (fmod_test): Likewise.
16838 (ilogb_test): Likewise.
16839 (lgamma_test): Likewise.
16840 (pow_test): Likewise.
16841 (remainder_test): Likewise.
16842 (sin_test): Likewise.
16843 (tan_test): Likewise.
16844 (yn_test): Likewise.
16845 (initialize): Set errno to 0.
16846 (main): Print number of errno tests.
16847 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16848
b1a36ceb
AJ
168492013-04-29 Andreas Jaeger <aj@suse.de>
16850
c3ed8088
AJ
16851 [BZ #15084]
16852 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16853 and RES_USEVC.
16854
f1a24198
AJ
16855 [BZ #15085]
16856 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16857 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16858 unimplemented.
16859
9ce3b2cb
AJ
16860 [BZ #15380]
16861 * stdlib/random.c (__initstate): Return NULL if
16862 __initstate fails.
16863
f1a24198 16864 [BZ #15086]
b1a36ceb
AJ
16865 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16866 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16867 RES_SNGLKUPREOP.
16868
7e7b6f36
AZ
168692013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16870
16871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16872
4d14f449
JM
168732013-04-29 Joseph Myers <joseph@codesourcery.com>
16874
16875 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16876 of individual tests.
16877 (casin_test): Likewise.
16878 (casinh_test): Likewise.
16879
5b4217d7
JM
168802013-04-27 Joseph Myers <joseph@codesourcery.com>
16881
16882 [BZ #15409]
16883 * math/s_catan.c (__catan): Handle arguments with large real or
16884 imaginary part separately without squaring.
16885 * math/s_catanf.c (__catanf): Likewise.
16886 * math/s_catanh.c (__catanh): Likewise.
16887 * math/s_catanhf.c (__catanhf): Likewise.
16888 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16889 and redefine.
16890 (__catanhl): Handle arguments with large real or imaginary part
16891 separately without squaring.
16892 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16893 and redefine.
16894 (__catanl): Handle arguments with large real or imaginary part
16895 separately without squaring.
16896 * math/libm-test.inc (catan_test): Add more tests.
16897 (catanh_test): Likewise.
16898 * sysdeps/i386/fpu/libm-test-ulps: Update.
16899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16900
4220c3ef
AJ
169012013-04-27 Andreas Jaeger <aj@suse.de>
16902
16903 [BZ #15007]
16904 * stdlib/stdlib.h: Update guards for qecvt.
16905 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16906 <stdlib.h>.
16907
4721b2d1
AM
169082013-04-27 Allan McRae <allan@archlinux.org>
16909
16910 * sysdeps/i386/fpu/libm-test-ulps: Update.
16911
f0302940
JM
169122013-04-26 Joseph Myers <joseph@codesourcery.com>
16913
9457fd95
JM
16914 [BZ #15406]
16915 * math/s_catan.c: Include <float.h>.
16916 (__catan): Ensure underflow exception occurs for underflowed
16917 result.
16918 * math/s_catanf.c: Include <float.h>.
16919 (__catanf): Ensure underflow exception occurs for underflowed
16920 result.
16921 * math/s_catanh.c: Include <float.h>.
16922 (__catanh): Ensure underflow exception occurs for underflowed
16923 result.
16924 * math/s_catanhf.c: Include <float.h>.
16925 (__catanhf): Ensure underflow exception occurs for underflowed
16926 result.
16927 * math/s_catanhl.c: Include <float.h>.
16928 (__catanhl): Ensure underflow exception occurs for underflowed
16929 result.
16930 * math/s_catanl.c: Include <float.h>.
16931 (__catanl): Ensure underflow exception occurs for underflowed
16932 result.
16933 * math/libm-test.inc (catan_test): Add more tests.
16934 (catanh_test): Likewise.
16935
f0302940
JM
16936 [BZ #15405]
16937 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16938 underflowed result.
16939 * math/s_ccoshf.c (__ccoshf): Likewise.
16940 * math/s_ccoshl.c (__ccoshl): Likewise.
16941 * math/s_csin.c (__csin): Likewise.
16942 * math/s_csinf.c (__csinf): Likewise.
16943 * math/s_csinh.c (__csinh): Likewise.
16944 * math/s_csinhf.c (__csinhf): Likewise.
16945 * math/s_csinhl.c (__csinhl): Likewise.
16946 * math/s_csinl.c (__csinl): Likewise.
16947 * math/libm-test.inc (ccos_test): Add more tests.
16948 (ccosh_test): Likewise.
16949 (csin_test): Likewise.
16950 (csinh_test): Likewise.
16951
aa630f59
AZ
169522013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16953
16954 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16955 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16956 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16957 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16958 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16959 powerpc/power5+/fpu folders.
16960 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16961
16962
1b835983
MT
169632013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16964
16965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16966
73709b26
JM
169672013-04-25 Joseph Myers <joseph@codesourcery.com>
16968
16969 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16970 additions to variable.
16971 [$(config-machine) = x86_64] (modules-names): Likewise.
16972 ($(objpfx)tst-audit3): Remove dependency.
16973 ($(objpfx)tst-audit3.out): Likewise.
16974 ($(objpfx)tst-audit4): Likewise.
16975 ($(objpfx)tst-audit4.out): Likewise.
16976 ($(objpfx)tst-audit5): Likewise.
16977 ($(objpfx)tst-audit5.out): Likewise.
16978 ($(objpfx)tst-audit6): Likewise.
16979 ($(objpfx)tst-audit6.out): Likewise.
16980 ($(objpfx)tst-audit7): Likewise.
16981 ($(objpfx)tst-audit7.out): Likewise.
16982 (tst-audit3-ENV): Remove variable.
16983 (tst-audit4-ENV): Likewise.
16984 (tst-audit5-ENV): Likewise.
16985 (tst-audit6-ENV): Likewise.
16986 (tst-audit7-ENV): Likewise.
16987 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16988 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16989 addition to variable.
16990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16995 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16996 tst-audit3, tst-audit4 and tst-audit5.
16997 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16998 tst-audit6 and tst-audit7.
16999 [$(subdir) = elf] (modules-names): Add audit modules for those
17000 tests.
17001 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17002 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17003 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17004 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17005 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17006 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17007 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17008 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17009 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17010 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17011 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17012 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17013 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17014 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17015 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17016 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17017 Likewise.
17018 [$(subdir) = elf && $(config-cflags-avx) = yes]
17019 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17020 [$(subdir) = elf && $(config-cflags-avx) = yes]
17021 (CFLAGS-tst-auditmod4a.c): Likewise.
17022 [$(subdir) = elf && $(config-cflags-avx) = yes]
17023 (CFLAGS-tst-auditmod4b.c): Likewise.
17024 [$(subdir) = elf && $(config-cflags-avx) = yes]
17025 (CFLAGS-tst-auditmod6b.c): Likewise.
17026 [$(subdir) = elf && $(config-cflags-avx) = yes]
17027 (CFLAGS-tst-auditmod6c.c): Likewise.
17028 [$(subdir) = elf && $(config-cflags-avx) = yes]
17029 (CFLAGS-tst-auditmod7b.c): Likewise.
17030 * elf/tst-audit3.c: Move to ...
17031 * sysdeps/x86_64/tst-audit3.c: ... here.
17032 * elf/tst-audit4.c: Move to ...
17033 * sysdeps/x86_64/tst-audit4.c: ... here.
17034 * elf/tst-audit5.c: Move to ...
17035 * sysdeps/x86_64/tst-audit5.c: ... here.
17036 * elf/tst-audit6.c: Move to ...
17037 * sysdeps/x86_64/tst-audit6.c: ... here.
17038 * elf/tst-audit7.c: Move to ...
17039 * sysdeps/x86_64/tst-audit7.c: ... here.
17040 * elf/tst-auditmod3a.c: Move to ...
17041 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17042 * elf/tst-auditmod3b.c: Move to ...
17043 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17044 * elf/tst-auditmod4a.c: Move to ...
17045 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17046 * elf/tst-auditmod4b.c: Move to ...
17047 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17048 * elf/tst-auditmod5a.c: Move to ...
17049 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17050 * elf/tst-auditmod5b.c: Move to ...
17051 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17052 * elf/tst-auditmod6a.c: Move to ...
17053 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17054 * elf/tst-auditmod6b.c: Move to ...
17055 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17056 * elf/tst-auditmod6c.c: Move to ...
17057 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17058 * elf/tst-auditmod7a.c: Move to ...
17059 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17060 * elf/tst-auditmod7b.c: Move to ...
17061 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17062
1ef74943
PP
170632013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17064
17065 [BZ #15366]
17066 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17067 define unconditionally.
17068 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17069 define unconditionally.
17070 (INT8_C, INT16_C, etc.): Likewise.
17071
93fd48c5
MR
170722013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17073
ae9552cf
MR
17074 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17075 __ehdr_start with hidden visibility.
17076
93fd48c5
MR
17077 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17078
418601aa
CD
170792013-04-24 Carlos O'Donell <carlos@redhat.com>
17080
17081 * math/libm-test.inc (cos_test): Use accurate hex constants.
17082 (sincost_test): Likewise.
17083
2f38fbfe
JM
170842013-04-24 Joseph Myers <joseph@codesourcery.com>
17085
5e221800
JM
17086 * math/libm-test.inc (catan_test): Add more tests.
17087 (catanh_test): Likewise.
17088
77f143fd
JM
17089 * math/s_catanf.c (__catanf): Use suffixed floating-point
17090 constants.
17091 * math/s_catanhf.c (__catanhf): Likewise.
17092 * math/s_catanhl.c (__catanhl): Likewise.
17093 * math/s_catanl.c (__catanl): Likewise.
17094
2f38fbfe
JM
17095 [BZ #15394]
17096 * math/s_catan.c (__catan): Calculate imaginary part of result
17097 with log1p not log unless computing log of number close to 0.
17098 * math/s_catanf.c (__catanf): Likewise.
17099 * math/s_catanl.c (__catanl): Likewise.
17100 * math/s_catanh.c (__catanh): Calculate real part of result with
17101 log1p not log unless computing log of number close to 0.
17102 * math/s_catanhf.c (__catanhf): Likewise.
17103 * math/s_catanhl.c (__catanhl): Likewise.
17104 * math/libm-test.inc (catan_test): Add more tests.
17105 (catanh_test): Likewise.
17106 * sysdeps/i386/fpu/libm-test-ulps: Update.
17107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17108
45d69176
SP
171092013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17110
17111 * benchtests/Makefile: Mention files in which fast and slow
17112 paths of math functions are implemented.
17113
87f51853
RM
171142013-04-23 Roland McGrath <roland@hack.frob.com>
17115
17116 * sysdeps/posix/timespec_get.c: New file.
17117
3c026539
AZ
171182013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17119
17120 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17121 POWER.
17122 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17123 for POWER.
17124 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17125 powerpc/power5/fpu folders.
17126 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17127 * benchtests/Makefile: Add modf testcase.
17128 * benchtests/bench-modf.c: New file: Benchmark test for mo
17129
ff491d14
SP
171302013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17131
17132 [BZ #14888]
17133 * time/Makefile (tests): Add tst-strptime-whitespace.
17134 * time/strptime_l.c (get_number): Use ISSPACE.
17135 (__strptime_internal): Likewise.
17136 * time/tst-strptime-whitespace.c: New test case.
17137
7ed3f4e8
AS
171382013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17139
17140 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17141 member.
17142 (_nss_files_init): Set it here.
17143
5c95f7b6
HC
171442013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17145
17146 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17147 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17148 unsigned.
17149
d34c9158
JBG
171502013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17151
17152 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17153
2169712d
SP
171542013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17155
17156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17157 size just once.
17158
29c5de99
DM
171592013-04-21 David S. Miller <davem@davemloft.net>
17160
17161 * po/ru.po: Update Russion translation from translation project.
17162
ccdad15d
AC
171632013-04-17 Adam Conrad <adconrad@0c3.net>
17164
17165 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17166 and setfsgid.
17167
0f122b8d
CD
171682013-04-17 Carlos O'Donell <carlos@redhat.com>
17169
5c5b07da 17170 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17171 * configure: Regenerate.
5c5b07da 17172 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17173 Add example to error message.
17174 * sysdeps/i386/configure: Regenerate.
17175
037714dd
SP
171762013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17177
17178 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17179 slowtan.
17180 * benchtests/cos-inputs: New file.
17181 * benchtests/slowcos-inputs: New file.
17182 * benchtests/slowcos.c: New file.
17183 * benchtests/slowtan-inputs: New file.
17184 * benchtests/slowtan.c: New file.
17185 * benchtests/tan-inputs: New file.
17186
e913141d
RM
171872013-04-16 Roland McGrath <roland@hack.frob.com>
17188
17189 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17190 considered kosher.
17191
a2964074
SP
171922013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17193
4856bcd2
SP
17194 * benchtests/Makefile: Include cppflags-iterator.mk to add
17195 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17196
a2964074
SP
17197 * Makefile.in (bench-clean): New target.
17198 * benchtests/Makefile (bench-clean): Likewise.
17199
9fbf9aca
DH
172002013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17201
17202 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17203
207d1e2a
TS
172042013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17205
17206 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17207
306dfba9
AS
172082013-04-15 Andreas Schwab <schwab@suse.de>
17209
17210 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17211 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17212 * nscd/pwdcache.c (cache_addpw): Likewise.
17213 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17214 more than recsize.
17215
206a6699
SP
172162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17217
17218 * benchtests/Makefile (bench): Write all output to
17219 bench-out.tmp together.
17220
0582f6b3
AS
172212013-04-15 Andreas Schwab <schwab@suse.de>
17222
17223 * nscd/nscd.c (main): Don't fork again after closing files.
17224
acb4325f
SP
172252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17226
5cb26d0a
SP
17227 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17228
acb4325f
SP
17229 * benchtests/Rules (bench-deps): Collect dependencies into a
17230 single variable. Add Makefile to dependencies.
17231 ($(objpfx)bench-%.c): Depend on bench-deps.
17232
47792506
RM
172332013-04-12 Roland McGrath <roland@hack.frob.com>
17234 Xavier Roche <roche+kml2@exalead.com>
17235
17236 [BZ #15361]
17237 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17238 just that it's a file descriptor.
17239 * manual/llio.texi (Synchronizing AIO Operations): Update description
17240 for EBADF error from aio_fsync.
17241
8fc1bee5
SP
172422013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17243
17244 * Rules (bench): Move target definition...
17245 * benchtests/Makefile: ... here.
17246
aba5e333
CD
172472013-04-11 Carlos O'Donell <carlos@redhat.com>
17248
17249 * math/libm-test.inc (cos_test): Fix PI/2 test.
17250 (sincos_test): Likewise.
17251 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17252 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17253
273cdee8
AS
172542013-04-11 Andreas Schwab <schwab@suse.de>
17255
6ecec3b6
AS
17256 [BZ #13988]
17257 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17258 accept exponent character only when digits were seen.
17259 * stdio-common/Makefile (tests): Add bug26.
17260 * stdio-common/bug26.c: New file.
17261
273cdee8
AS
17262 [BZ #14293]
17263 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17264 non-freeable.
17265
8da491f5
SP
172662013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17267
01dc6df9
SP
17268 * Makeconfig (rtld-prefix): Define built linker prefix.
17269 * Rules (run-bench): Use it.
17270 * math/Makefile (run-regen-ulps): Likewise.
17271
8da491f5
SP
17272 * Rules (bench): Remove eval.
17273
abe7f530
SP
172742013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17275 Roland McGrath <roland@hack.frob.com>
17276 Ondrej Bilka <neleai@seznam.cz>
17277
17278 [BZ #15346]
17279 * time/getdate.c: Include ctype.h and alloca.h.
17280 (__getdate_r): Trim leading and trailing spaces of input.
17281 * time/tst-getdate.c (tests): Add tests with leading and
17282 trailing spaces.
17283
61c23e62
RM
172842013-04-08 Roland McGrath <roland@hack.frob.com>
17285
17286 [BZ #14280]
17287 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17288 when computing value.
17289
7208a313
CD
172902013-04-06 Carlos O'Donell <carlos@redhat.com>
17291
085b2d41
CD
17292 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17293 Use testrun.sh to run libm tests.
17294
7208a313
CD
17295 [BZ #15309]
17296 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17297
872c0acd
MM
172982013-04-06 Marko Myllynen <myllynen@redhat.com>
17299
17300 [BZ #15264]
17301 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17302
26510bdd
CD
173032013-04-06 Carlos O'Donell <carlos@redhat.com>
17304
17305 * Makefile.in (regen-ulps): New target.
17306 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17307 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17308 [ifneq (no,$(PERL)] (regen-ulps): New target.
17309 [ifeq (no,$(PERL)] (regen-ulps): New target.
17310 * math/libm-test.inc (ulps_file_name): Define.
17311 (output_dir): New variable.
17312 (options): Add "output-dir" option.
17313 (parse_opt): Handle 'o' case.
17314 (main): If output_dir is non-NULL use it as a prefix
17315 otherwise use "".
17316 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17317
a01f19c8
CD
173182013-04-06 Carlos O'Donell <carlos@redhat.com>
17319
17320 [BZ #10060, #10062]
17321 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17322 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17323 fail configure if __sync_val_compare_and_swap is not inlined.
17324 * sysdeps/i386/configure: Regenerate.
17325 * configure.in: Build for i686 when configured for i386.
17326 * configure: Regenerate.
17327 * README: Remove i386 reference.
17328
b7a329a5
CD
173292013-04-06 Carlos O'Donell <carlos@redhat.com>
17330
17331 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17333
bf0f50df
TS
173342013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17335
ee091edf
TS
17336 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17337 (lmsnanval): New variables.
17338 (F): Add conversion tests.
17339 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17340 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17341
a8b792d6
TS
17342 * stdio-common/tstdiomisc.c (F): Properly collect individual
17343 tests' results.
17344
a1cbf437
TS
17345 [BZ #14686, #15336]
17346 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17347 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17348 Instead, use input NaN values or generate a qNaN by arithmetic
17349 operation. Also fix bugs to comply with the standard.
17350 * math/libm-test.inc (remainder_test): Add more tests.
17351
8b43a0c9
TS
17352 [BZ #15335, #15342]
17353 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17355 input NaN values or generate a qNaN by arithmetic operation.
17356
d91da4ce
TS
17357 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17358 unreachable code.
17359
bf0f50df
TS
17360 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17361 definitions.
17362
05e166c8
JM
173632013-04-03 Joseph Myers <joseph@codesourcery.com>
17364
17365 [BZ #14478]
17366 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17367 underflowed result.
17368 * math/s_cexpf.c (__cexpf): Likewise.
17369 * math/s_cexpl.c (__cexpl): Likewise.
17370 * math/libm-test.inc (cexp_test): Add more tests.
17371
1cef1b19
AS
173722013-04-03 Andreas Schwab <schwab@suse.de>
17373
17374 [BZ #15330]
17375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17376 order arrays from heap if bigger than alloca cutoff.
17377
74d87055
TS
173782013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17379
17380 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17381 (SNAN_TESTS_double): Refer to GCC PR56831.
17382 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17383 GCC PR56828.
17384
d755bba4
SP
173852013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17386
90d5d5bb
SP
17387 * Rules (bench): Move bench.out after the run is complete.
17388
73e0cd5d
SP
17389 * Rules (bench): Echo currently running benchmark.
17390
64aabd4b
SP
17391 * benchtests/Makefile (bench): Add atan and slowatan.
17392 * benchtests/atan-inputs: New file.
17393 * benchtests/slowatan-inputs: New file.
17394 * benchtests/slowatan.c: New file.
17395
c871eccd
SP
17396 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17397 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17398 its value.
17399
d755bba4
SP
17400 [BZ #15305]
17401 * sysdeps/unix/sysv/linux/kernel-features.h
17402 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17403 __ASSUME_XFS_RESTRICTED_CHOWN.
17404 * sysdeps/unix/sysv/linux/pathconf.c
17405 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17406 Save and restore errno.
17407
52ce4860
JM
174082013-04-02 Joseph Myers <joseph@codesourcery.com>
17409
17410 [BZ #15327]
17411 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17412 arguments using __kernel_casinh.
17413 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17414 arguments using __kernel_casinhf.
17415 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17416 arguments using __kernel_casinhl.
17417 * math/libm-test.inc (cacosh_test): Add more tests.
17418 * sysdeps/i386/fpu/libm-test-ulps: Update.
17419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17420
81f311c2
SP
174212013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17422
e7906a47
SP
17423 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17424 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17425
92e3664b
SP
17426 * bench/Makefile (bench): Add sin and slowsin.
17427 * benchtests/sin-inputs: New file.
17428 * benchtests/slowsin-inputs: New file.
17429 * benchtests/slowsin.c: New file.
17430
81f311c2
SP
17431 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17432 (bench): Add slowexp and slowpow.
17433 (exp-ITER): Increase iterations.
17434 (pow-ITER): Likewise.
17435 * benchtests/exp-inputs: Change input.
17436 * benchtests/pow-inputs: Likewise.
17437 * benchtests/slowexp-inputs: New file.
17438 * benchtests/slowexp.c: New file.
17439 * benchtests/slowpow-inputs: New file.
17440 * benchtests/slowpow.c: New file.
17441
ab0f1aa9
AZ
174422013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17443
17444 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17445 instructions.
17446 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17447 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17448 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17449 * benchtests/Makefile: Add rint benchtest.
17450 * benchtests/rint-inputs: Input for rint benchtest.
17451
57267616
TS
174522013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17453
17454 * Versions.def (libm): Add GLIBC_2.18.
17455 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17456 hidden libm prototypes.
17457 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17458 * math/Makefile (libm-calls): Add s_issignaling.
17459 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17460 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17461 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17462 declaration.
17463 * math/math.h [__USE_GNU] (issignaling): New macro.
17464 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17465 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17466 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17467 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17470 * manual/arith.texi (issignaling): New section.
17471 * manual/libm-err-tab.pl (@all_functions): Update comment.
17472 * math/gen-libm-test.pl (parse_args): Apply special handling for
17473 issignaling.
17474 * math/libm-test.inc (print_float, issignaling_test): New
17475 functions.
17476 (check_float_internal): Add issignaling checks.
17477 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17478 default definition.
17479 * sysdeps/powerpc/math-tests.h: New file.
17480 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17481 tests.
17482 * math/test-snan.c (TEST_FUNC): Likewise.
17483
6142896d
DM
174842013-03-30 David S. Miller <davem@davemloft.net>
17485
17486 * po/de.po: Update from translation team.
17487
ccc8cadf
JM
174882013-03-30 Joseph Myers <joseph@codesourcery.com>
17489
17490 [BZ #10357]
17491 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17492 imaginary part less than 1.0 and real part less than 0.5
17493 specially.
17494 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17495 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17496 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17497 (cacos_test): Add more tests.
17498 (casin_test): Likewise.
17499 (casinh_test): Likewise.
17500 * sysdeps/i386/fpu/libm-test-ulps: Update.
17501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17502
0f6a8d4b
SP
175032013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17504
0d1029de
SP
17505 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17506 ONE with its value.
17507
c2d94018
SP
17508 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17509 (__pow_mp): Replace ONE and MONE with their values.
17510 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17512 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17513 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17514 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17515 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17516
27ec37f1
SP
17517 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17518
a64d7e0e
SP
17519 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17520 (__pow_mp): Replace ZERO and MZERO with their values.
17521 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17522 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17523 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17525 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17526 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17527 (__sqr): Likewise.
17528
d26dd3eb
SP
17529 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17530
0f6a8d4b
SP
17531 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17532
e57b0c61
RM
175332013-03-28 Roland McGrath <roland@hack.frob.com>
17534
17535 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17536 Declare with __attribute__ ((weak)).
17537 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17538 Call __call_tls_dtors only if it's not NULL.
17539
356b3480
RM
175402013-03-28 Roland McGrath <roland@hack.frob.com>
17541
288f7d79
RM
17542 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17543 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17544 magic __ehdr_start linker symbol if it's defined.
17545 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17546 them up here if it was already done.
17547
dc0a0263
RM
17548 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17549 (_dl_aux_init): Use const in cast when setting it.
17550 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17551 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17552 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17553
3d3436ae
RM
17554 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17555 Declare them here.
17556 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17557 * csu/libc-tls.c: Nor here.
17558 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17559
356b3480
RM
17560 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17561 (__libc_message): Never call vsyslog.
17562
b0f1246a
AM
175632013-03-28 Alan Modra <amodra@gmail.com>
17564
17565 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17566 Define as empty.
17567 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17568 Likewise.
17569
fbbe2b9a
AZ
175702013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17571
17572 [BZ #15214]
17573 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17574 underflow.
17575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17576
1728ab37
SP
175772013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17578
7a86be6e
SP
17579 [BZ #15304]
17580 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17581 Don't add gid passed as argument.
17582
1728ab37
SP
17583 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17584
3a7182a1
JM
175852013-03-27 Joseph Myers <joseph@codesourcery.com>
17586
17587 [BZ #15307]
17588 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17589 imaginary part between 1.0 and 1.5 and real part less than 0.5
17590 specially.
17591 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17592 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17593 * math/libm-test.inc (cacos_test): Add more tests.
17594 (casin_test): Likewise.
17595 (casinh_test): Likewise.
17596 * sysdeps/i386/fpu/libm-test-ulps: Update.
17597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17598
6f2e90e7
SP
175992013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17600
5739f705
SP
17601 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17602 constants.
17603 (norm): Likewise.
17604 (denorm): Likewise.
17605 (__dbl_mp): Likewise.
17606 (add_magnitudes): Likewise.
17607 (sub_magnitudes): Likewise.
17608 (__add): Likewise.
17609 (__sub): Likewise.
17610 (__mul): Likewise.
17611 (__sqr): Likewise.
17612 (__inv): Likewise.
17613 (__dvd): Likewise.
17614
e375e83d
SP
17615 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17616 commented code.
17617 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17618 (__dubcos): Likewise.
17619 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17620 (__ieee754_acos): Likewise.
17621 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17622 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17623 (__exp1): Likewise.
17624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17626 (log1): Likewise.
17627 (my_log2): Likewise.
17628 (checkint): Likewise.
17629 * sysdeps/ieee754/dbl-64/e_remainder.c
17630 (__ieee754_remainder): Likewise.
17631 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17632 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17633 (bsloww): Likewise.
17634 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17635
6f2e90e7
SP
17636 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17637 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17638 MANTISSA_STORE_T to store computations on mantissa. Use
17639 macros for rounding and division.
17640 (denorm): Likewise.
17641 (__dbl_mp): Likewise.
17642 (add_magnitudes): Likewise.
17643 (sub_magnitudes): Likewise.
17644 (__mul): Likewise.
17645 (__sqr): Likewise.
17646 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17647 powers of two in terms of TWOPOW macro.
17648 (mp_no): Make type of mantissa as MANTISSA_T.
17649 [!RADIXI]: Define RADIXI.
17650 [!TWO52]: Define TWO52.
17651 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17652
fce14d4e
AZ
176532013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17654
17655 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17656 llroundl symbol when building for PPC32.
17657
9ad027fb
MW
176582013-03-24 Mark H Weaver <mhw@netris.org>
17659
17660 * manual/arith.texi (Normalization Functions): Fix prototypes for
17661 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17662
e42a38dd
AZ
176632013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17664
17665 [BZ #13889]
17666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17667 high value to check if expl overflow.
17668 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17669 to check for underflow and overflow.
17670 * math/libm-test.inc: Add exp test.
17671
2e0fb521
DL
176722013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17673
17674 [BZ #11120]
17675 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17676 with NOT_IN_libc.
17677
b5784d95
AZ
176782013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17679
17680 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17681 symbol.
17682
5aa4a1a1
TS
176832013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17684
bdef0be7
TS
17685 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17686 wrap blocks consisting of several statements.
17687
5aa4a1a1
TS
17688 * sysdeps/generic/math-tests.h: New file.
17689 * sysdeps/i386/fpu/math-tests.h: Likewise.
17690 * math/test-snan.c: Include it.
17691 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17692
98c48fe5
JM
176932013-03-21 Joseph Myers <joseph@codesourcery.com>
17694
17695 [BZ #15285]
17696 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17697 (__ieee754_j0l): Do not improve calculations using cos of twice
17698 input for inputs above LDBL_MAX / 2.0L.
17699 (__ieee754_y0l): Likewise.
17700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17701 (__ieee754_j1l): Do not improve calculations using cos of twice
17702 input for inputs above LDBL_MAX / 2.0L.
17703 (__ieee754_y1l): Likewise.
17704 * math/libm-test.inc (j0_test): Add another test.
17705 (j1_test): Likewise.
17706 (y0_test): Likewise.
17707 (y1_test): Likewise.
17708 * sysdeps/i386/fpu/libm-test-ulps: Update.
17709
3775a8bc
SP
177102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17711
17712 * Rules ($(objpfx)bench-%.c): Include code from a C source
17713 file.
17714
0a1b2ae6
JM
177152013-03-21 Joseph Myers <joseph@codesourcery.com>
17716
17717 [BZ #15287]
17718 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17719 imaginary part 1.0 and real part less than 0.5 specially.
17720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17722 * math/libm-test.inc (cacos_test): Add more tests.
17723 (casin_test): Likewise.
17724 (casinh_test): Likewise.
17725 * sysdeps/i386/fpu/libm-test-ulps: Update.
17726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17727
b33d4ce4
SP
177282013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17729
17730 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17731 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17732
bef0b507
JM
177332013-03-20 Joseph Myers <joseph@codesourcery.com>
17734
17735 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17736 * config.make.in (config-cflags-sse4): Remove variable.
17737 (config-cflags-avx): Likewise.
17738 (config-cflags-sse2avx): Likewise.
17739 (config-cflags-novzeroupper): Likewise.
17740 (config-asflags-i686): Likewise.
17741 (have-mfma4): Likewise.
17742 (have-as-vis3): Likewise.
17743 (MIG): Likewise.
17744 * configure.in (MIG): Do not AC_SUBST.
17745 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17746 (libc_cv_cc_sse4): Do not AC_SUBST.
17747 (libc_cv_cc_avx): Likewise.
17748 (libc_cv_cc_sse2avx): Likewise.
17749 (libc_cv_cc_novzeroupper): Likewise.
17750 (libc_cv_cc_fma4): Likewise.
17751 (libc_cv_as_i686): Likewise.
17752 (libc_cv_sparc_as_vis3): Likewise.
17753 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17754 LIBC_CONFIG_VAR.
17755 (config-asflags-i686): Likewise.
17756 (config-cflags-avx): Likewise.
17757 (config-cflags-sse2avx): Likewise.
17758 (have-mfma4): Likewise.
17759 (config-cflags-novzeroupper): Likewise.
17760 * sysdeps/mach/configure.in (MIG): Likewise.
17761 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17762 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17763 LIBC_CONFIG_VAR.
17764 (config-cflags-avx): Likewise.
17765 (config-cflags-sse2avx): Likewise.
17766 (have-mfma4): Likewise.
17767 (config-cflags-novzeroupper): Likewise.
17768 * configure: Regenerated.
17769 * sysdeps/i386/configure: Likewise.
17770 * sysdeps/mach/configure: Likewise.
17771 * sysdeps/sparc/configure: Likewise.
17772 * sysdeps/x86_64/configure: Likewise.
17773
912cc4b3
RM
177742013-03-20 Roland McGrath <roland@hack.frob.com>
17775
17776 [BZ #14812]
17777 * locale/programs/localedef.c (options): Put N_ translation marker
17778 on argument names, not just descriptions.
17779
04eed2b0
MS
177802013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17781
17782 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17783
a065ceff
OB
177842013-03-20 Ondřej Bílka <neleai@seznam.cz>
17785
9bb2a810 17786 [BZ #14176]
a065ceff
OB
17787 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17788
a600e5ce
RM
177892013-03-19 Roland McGrath <roland@hack.frob.com>
17790
17791 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17792 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17793 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17794 [!BEFORE_ABORT] (before_abort): New function.
17795 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17796 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17797 (writev_for_fatal): New function.
17798 (WRITEV_FOR_FATAL): New macro; call that.
17799 (backtrace_and_maps): New function.
17800 (BEFORE_ABORT): New macro; call that.
17801 (struct str_list): Type removed.
17802 (__libc_message, __libc_fatal): Functions removed.
17803 Include <sysdeps/posix/libc_fatal.c> instead.
17804
6b18bea6
JM
178052013-03-19 Joseph Myers <joseph@codesourcery.com>
17806
17807 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17808 constants.
17809 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17810 double constants.
17811
aaa8cb4b
AS
178122013-03-19 Andreas Schwab <schwab@suse.de>
17813
44673770
AS
17814 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17815 * sysdeps/gnu/configure: Regenerate.
17816
aaa8cb4b
AS
17817 * configure.in: Substitute libc_cv_rtlddir.
17818 * configure: Regenerate.
17819 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17820 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17821 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17822 * elf/Makefile (install-others, CFLAGS-interp.c)
17823 (ldso_install, common-ldd-rewrite): Likewise.
17824 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17825 $(inst_slibdir)/$(rtld-installed-name).
17826 * scripts/rellns-sh: Add -p option.
17827 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17828 for source.
17829
d3cfc668
SP
178302013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17831
17832 * manual/nptl.texi: Renamed to ...
17833 * manual/threads.texi: ... this.
17834 * manual/Makefile (chapters): Update.
17835
0e2b9cdd
RM
178362013-03-18 Roland McGrath <roland@hack.frob.com>
17837
17838 [BZ #14812]
17839 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17840 on argument names, not just descriptions.
0e2b9cdd
RM
17841 * malloc/memusagestat.c (options): Likewise.
17842 * nss/getent.c (options): Likewise.
63270c24
RM
17843
178442013-03-18 Benno Schulenberg <bensberg@justemail.net>
17845
17846 [BZ #14812]
17847 * iconv/iconv_prog.c (options): Put N_ translation marker
17848 on argument names, not just descriptions.
17849 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17850
b2e1393c
OB
178512013-03-18 Ondrej Bilka <neleai@seznam.cz>
17852
17853 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17854 implementation which is faster on all x86_64 architectures.
17855 Tested on AMD, Intel Nehalem, SNB, IVB.
17856 * sysdeps/x86_64/strnlen.S: Likewise.
17857
17858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17859 Remove all multiarch strlen and strnlen versions.
17860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17861 Remove strlen and strnlen related parts.
17862
17863 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17864 Inline strlen part.
17865 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17866
17867 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17868 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17869 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17870 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17871 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17872 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17873
ec4ff04d
CD
178742013-03-17 Carlos O'Donell <carlos@redhat.com>
17875
17876 * manual/memory.texi (Malloc Tunable Parameters):
17877 Sort parameters alphabetically. Add comments for missing entries.
17878
cd18e90a
DM
178792013-03-17 David S. Miller <davem@davemloft.net>
17880
17881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17882
2a185d32
JM
178832013-03-16 Joseph Myers <joseph@codesourcery.com>
17884
d2f9799e
JM
17885 [BZ #15283]
17886 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17887 for arguments at most half maximum finite value.
17888 * math/libm-test.inc (j0_test): Add more tests.
17889 (j1_test): Likewise.
17890 (y0_test): Likewise.
17891 (y1_test): Likewise.
17892 * sysdeps/i386/fpu/libm-test-ulps: Update.
17893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17894
2a185d32
JM
17895 [BZ #14155]
17896 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17897 1 / x and functions P and Q for arguments above 0x1p256L.
17898 (__ieee754_y0l): Likewise.
17899 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17900 (__ieee754_y1l): Likewise.
17901 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17902 (j1_test): Likewise.
17903 (y0_test): Likewise.
17904 (y1_test): Likewise.
17905
6cbec759
TS
179062013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17907
17908 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17909 variable.
17910
bc16e260
RM
179112013-03-15 Roland McGrath <roland@hack.frob.com>
17912
aefc9b8c
RM
17913 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17914 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17915 zero since it's initialized to EXEC_PAGESIZE.
17916
bc16e260
RM
17917 * sysdeps/unix/sysv/linux/ldsodefs.h
17918 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17919 * sysdeps/generic/ldsodefs.h: ... here.
17920
a57da955
TS
179212013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17922
af00a34d
TS
17923 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17924
495ded2c
TS
17925 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17926 math/test-snan.c.
17927 * math/test-snan.c: Renamed from
17928 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17929 * math/Makefile (tests): Add test-snan.
17930 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17931 test-powerpc-snan.
17932
777b0332
TS
17933 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17934 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17935 functions.
17936 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17937 __builtin_nan family of functions.
17938 * math/libm-test.inc (initialize): Initialize qnan_value with
17939 __builtin_nan family of functions.
17940 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17941 Remove variables.
17942 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17943 Remove functions.
17944 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17945 storage class. Initialize qNaN_var and sNaN_var with
17946 __builtin_nan and __builtin_nans families of functions,
17947 respectively.
17948
64d063b8
TS
17949 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17950 (sqrt_test): Remove duplicate test with qNaN input.
17951 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17952 (round_test, signbit_test, significand_test): Note missing +/-Inf
17953 as well as qNaN tests.
17954
67e971f1
TS
17955 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17956 qNaN_var. Fix a few strings, too.
17957 * math/libm-test.inc (nan_value): Rename to qnan_value.
17958 * math/gen-libm-test.pl (%beautify): Adjust to that.
17959 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17960 * math/test-misc.c (main): Likewise.
17961 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17962 to __qnan_bytes, and __qnan_union, respectively.
17963 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17964 Likewise.
17965 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17966 and lqnanval, respectively.
17967 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17968 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17969 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17970 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17971
64487e12
TS
17972 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17973 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17974 doubles.
17975
e015e27b
TS
17976 * math/test-misc.c (main): Fix copy'n'pastos.
17977 * misc/tst-efgcvt.c (special): Likewise.
17978
a57da955
TS
17979 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17980 Remove declarations.
17981
1e380345
SP
179822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17983
17984 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17985 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17986 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17987 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17988
ef26eece
AZ
179892013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17990
17991 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17992 macro to return vdso values correctly in IFUNC implementations.
17993 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17994 Optimization by using IFUNC.
17995
8cfdb7e0
SP
179962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17997 Richard Henderson <rth@redhat.com>
17998 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17999
18000 * Makefile.in (bench): New target.
18001 * NEWS: Mention the benchmark framework.
18002 * Rules (bench): Likewise.
18003 (binaries-bench): Generate binaries for functions to
18004 benchmark.
18005 * benchtests/Makefile: New makefile for benchmark tests.
18006 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18007 programs.
18008 * benchtests/exp-inputs: New input file for EXP function.
18009 * benchtests/pow-inputs: New input file for POW function.
18010 * scripts/bench.pl: New script to generate source files for
18011 benchmark programs.
18012
bcda9880
SP
180132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18014
d22ca8cd
SP
18015 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18016 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18017 computations on mantissa. Use macros for rounding and
18018 division.
18019 (denorm): Likewise.
18020 (__dbl_mp): Likewise.
18021 (add_magnitudes): Likewise.
18022 (sub_magnitudes): Likewise.
18023 (__mul): Likewise.
18024 (__sqr): Likewise.
18025 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18026 powers of two in terms of TWOPOW macro.
18027 (mp_no): Make type of mantissa as MANTISSA_T.
18028 [!RADIXI]: Define RADIXI.
18029 [!TWO52]: Define TWO52.
18030 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18031
bcda9880
SP
18032 * manual/nptl.texi (cindex): Modify threads to pthreads.
18033
06d5adfb
JM
180342013-03-15 Joseph Myers <joseph@codesourcery.com>
18035
18036 * sysdeps/x86_64/preconfigure: Regenerated.
18037
41c7328e
JM
180382013-03-14 Joseph Myers <joseph@codesourcery.com>
18039
18040 [BZ #14155]
18041 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18042 0x1p28 and above.
18043 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18044 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18045 0x1p28 and above.
18046 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18047 * math/libm-test.inc (j0_test): Do not allow one spurious
18048 underflow exception.
18049 (y1_test): Likewise.
18050
e25cfa60
SP
180512013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18052
0409959c
SP
18053 * manual/Makefile (chapters): Add nptl.
18054 * manual/debug.texi (Debugging Support): Add link to Threads
18055 chapter.
18056 * manual/nptl.texi: New file.
18057
e25cfa60
SP
18058 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18059
58a1335e
PB
180602013-03-14 Petr Baudis <pasky@ucw.cz>
18061
18062 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18063 for non-NULL pointer before the memory validity test. Pointed
18064 out by Holger Brunck <holger.brunck@keymile.com>.
18065
9dc7c64f
AS
180662013-03-13 Andreas Schwab <schwab@suse.de>
18067
18068 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18069 instead of .os.
18070
54206aa6
JM
180712013-03-13 Joseph Myers <joseph@codesourcery.com>
18072
18073 * timezone/zic.c: Update from tzcode 2013b.
18074
e98cdb38
CD
180752013-03-12 Carlos O'Donell <carlos@redhat.com>
18076
18077 * manual/install.texi (Configuring and compiling):
18078 Mention i686 and i586.
18079 * INSTALL: Regenerate.
18080
9967e003
RM
180812013-03-12 Roland McGrath <roland@hack.frob.com>
18082
18083 * sysdeps/init_array/elf-init.c: New file.
18084 * csu/elf-init.c
18085 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18086 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18087
18088 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18089 __gmon_start__ as global, but as static with a .preinit_array pointer.
18090 * sysdeps/init_array/gmon-start.c: New file. Use that.
18091 * sysdeps/init_array/crti.S: New file, empty except for comments.
18092 * sysdeps/init_array/crtn.S: Likewise.
18093
e6b5a293 180942013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18095
18096 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18097 definining bcopy.
80f844c9
OB
18098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18099 Remove Prefer_SSE_for_memop.
18100 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18101 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18102 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18104 memset-x86-64.
80f844c9 18105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18106 Remove bzero, memset ifunc support.
80f844c9
OB
18107 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18108 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18109 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18110 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18111
fb6b0fcb
AS
181122013-03-11 Andreas Schwab <schwab@suse.de>
18113
18114 [BZ #15234]
18115 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18116 by SHLIB_COMPAT.
18117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18118 (GLIBC_2.16): Remove pthread_atfork.
18119
3e6bd4b1
PP
181202013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18121
18122 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18123 (ptestcases.h): Likewise.
18124
222d7f00
RM
181252013-03-08 Roland McGrath <roland@hack.frob.com>
18126
18127 * Makeconfig ($(common-objpfx)config.status): Depend on
18128 sysdeps/*/preconfigure{,.in} too.
18129
1ba4f030
JM
181302013-03-08 Joseph Myers <joseph@codesourcery.com>
18131
a222d91a
JM
18132 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18133 (__free_hook): Use void * instead of __malloc_ptr_t.
18134 (__malloc_hook): Likewise.
18135 (__realloc_hook): Likewise.
18136 (__memalign_hook): Likewise.
18137 (__after_morecore_hook): Likewise.
18138 * malloc/arena.c (save_malloc_hook): Likewise.
18139 (save_free_hook): Likewise.
18140 * malloc/hooks.c (malloc_hook_ini): Likewise.
18141 (realloc_hook_ini): Likewise.
18142 (memalign_hook_ini): Likewise.
18143 * malloc/malloc.c (malloc_hook_ini): Likewise.
18144 (realloc_hook_ini): Likewise.
18145 (memalign_hook_ini): Likewise.
18146 (__free_hook): Likewise.
18147 (__malloc_hook): Likewise.
18148 (__realloc_hook): Likewise.
18149 (__memalign_hook): Likewise.
18150 (__libc_malloc): Likewise.
18151 (__libc_free): Likewise.
18152 (__libc_realloc): Likewise.
18153 (__libc_memalign): Likewise.
18154 (__libc_valloc): Likewise.
18155 (__libc_pvalloc): Likewise.
18156 (__libc_calloc): Likewise.
18157 (__posix_memalign): Likewise.
18158 * malloc/morecore.c (__sbrk): Likewise.
18159 (__default_morecore): Likewise.
18160
5cc45e10
JM
18161 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18162
dd54b864
JM
18163 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18164 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18165 __malloc_ptrdiff_t.
18166
1ba4f030
JM
18167 * malloc/malloc.h (__malloc_size_t): Remove macro.
18168 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18169 __malloc_size_t.
18170 (old_memalign_hook): Likewise.
18171 (old_realloc_hook): Likewise.
18172 (struct hdr): Likewise.
18173 (flood): Likewise.
18174 (mallochook): Likewise.
18175 (memalignhook): Likewise.
18176 (reallochook): Likewise.
18177 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18178 (tr_old_realloc_hook): Likewise.
18179 (tr_old_memalign_hook): Likewise.
18180 (tr_mallochook): Likewise.
18181 (tr_reallochook): Likewise.
18182 (tr_memalignhook): Likewise.
18183
edf66e57
AZ
181842013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18185
18186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18187 default_ldbl_pack and using as default implementation.
18188 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18189 implementation.
18190 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18191 redundant definition.
18192 (ldbl_insert_mantissa): Likewise.
18193 (ldbl_canonicalize): Likewise.
18194 (ldbl_nearbyint): Likewise.
18195 (ldbl_pack): Rename to ldbl_pack_ppc.
18196 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18197 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18198 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18199
6d9145d8
SP
182002013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18201
18202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18203 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18204 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18205 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18207 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18208 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18209 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18210
4dd4e157
AJ
182112013-03-07 Andreas Jaeger <aj@suse.de>
18212
18213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18214 bits/mman-linux.h.
18215
adbb8027
SP
182162013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18217
ce544b5b
SP
18218 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18219 Include mpa.h and declare __MPEXP.
18220 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18221 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18222 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18223 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18224 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18225 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18226 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18227
4cc149fd
SP
18228 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18229 (__slowpow): Use long double EXPL and LOGL functions to
18230 compute POW.
18231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18232 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18233 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18234 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18235 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18236 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18237
e6ebd4a7
SP
18238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18239 intermediate variable to calculate exponent.
18240 (__sqr): Likewise.
18241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18242 Likewise.
18243 (__sqr): Likewise.
18244
82a9811d
SP
18245 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18246 [!NO__SQR]: Define __sqr.
18247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18248 and NO__SQR. Remove all code except __mul and __sqr. Include
18249 sysdeps/ieee754/dbl-64/mpa.c.
18250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18251
adbb8027
SP
18252 [BZ #12723]
18253 * posix/Makefile (tests): Add tst-pathconf.
18254 * posix/tst-pathconf.c: New test case.
18255 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18256 _PC_PIPE_BUF.
18257 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18258
39120df9
PF
182592013-03-06 Patsy Franklin <pfrankli@redhat.com>
18260
18261 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18262
67525cb8
AJ
182632013-03-06 Andreas Jaeger <aj@suse.de>
18264
664a9ce4
AJ
18265 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18266 definition via __MAP_ANONYMOUS.
18267
8e39047d
AJ
18268 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18269 it's not part of Linux headers.
18270
67525cb8
AJ
18271 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18272 (MAP_HUGE_MASK): Define.
18273
18274 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18275 Define.
18276 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18277 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18278 Define.
18279 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18280 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18281 Define.
18282 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18283 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18284 Define.
18285 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18286
18287 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18288 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18289 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18290 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18291 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18292 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18293
18294 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18295 Handle f2fs.
18296
18297 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18298 Handle f2fs and efivarfs.
18299
18300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18301 f2fs.
18302
18303 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18304 (EFIVARFS_MAGIC): Add.
18305 (F2FS_LINK_MAX): Add.
18306
e1b42695
PP
183072013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18308
18309 * stdio-common/vfprintf.c: Replace __builtin_expect with
18310 __glibc_unlikely.
18311
2d67d91a
JM
183122013-03-06 Joseph Myers <joseph@codesourcery.com>
18313
18314 [BZ #13550]
18315 * sysdeps/generic/bp-sym.h: Remove file.
18316 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18317 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18318 <bp-sym.h> and <bp-asm.h>.
18319 (__longjmp): Don't use BP_SYM.
18320 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18321 and <bp-asm.h>.
18322 (memcpy): Don't use BP_SYM.
18323 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18324 <bp-sym.h> and <bp-asm.h>.
18325 (memcpy): Don't use BP_SYM.
18326 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18327 <bp-asm.h>.
18328 (memcpy): Don't use BP_SYM.
18329 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18330 <bp-asm.h>.
18331 (memset): Don't use BP_SYM.
18332 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18333 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18334 (__bzero): Don't use BP_SYM.
18335 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18336 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18337 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18338 <bp-sym.h> and <bp-asm.h>.
18339 (memcmp): Don't use BP_SYM. Remove comment about bounded
18340 pointers.
18341 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18342 <bp-sym.h> and <bp-asm.h>.
18343 (memcpy): Don't use BP_SYM.
18344 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18345 <bp-sym.h> and <bp-asm.h>.
18346 (memset): Don't use BP_SYM.
18347 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18348 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18349 (__bzero): Don't use BP_SYM.
18350 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18351 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18352 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18353 <bp-sym.h> and <bp-asm.h>.
18354 (strncmp): Don't use BP_SYM. Remove comment about bounded
18355 pointers.
18356 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18357 <bp-sym.h> and <bp-asm.h>.
18358 (memcpy): Don't use BP_SYM.
18359 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18360 <bp-sym.h> and <bp-asm.h>.
18361 (memset): Don't use BP_SYM.
18362 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18363 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18364 (__bzero): Don't use BP_SYM.
18365 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18366 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18368 <bp-sym.h> and <bp-asm.h>.
18369 (__memchr): Don't use BP_SYM.
18370 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18371 <bp-sym.h> and <bp-asm.h>.
18372 (memcmp): Don't use BP_SYM. Remove comment about bounded
18373 pointers.
18374 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18375 <bp-sym.h> and <bp-asm.h>.
18376 (memcpy): Don't use BP_SYM.
18377 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18378 <bp-sym.h> and <bp-asm.h>.
18379 (__mempcpy): Don't use BP_SYM.
18380 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18381 <bp-sym.h> and <bp-asm.h>.
18382 (__memrchr): Don't use BP_SYM.
18383 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18384 <bp-sym.h> and <bp-asm.h>.
18385 (memset): Don't use BP_SYM.
18386 (__bzero): Likewise.
18387 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18388 <bp-sym.h> and <bp-asm.h>.
18389 (__rawmemchr): Don't use BP_SYM.
18390 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18391 <bp-sym.h> and <bp-asm.h>.
18392 (__STRCMP): Don't use BP_SYM.
18393 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18394 <bp-sym.h> and <bp-asm.h>.
18395 (strchr): Don't use BP_SYM.
18396 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18397 <bp-sym.h> and <bp-asm.h>.
18398 (__strchrnul): Don't use BP_SYM.
18399 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18400 <bp-sym.h> and <bp-asm.h>.
18401 (strlen): Don't use BP_SYM.
18402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18403 <bp-sym.h> and <bp-asm.h>.
18404 (strncmp): Don't use BP_SYM. Remove comment about bounded
18405 pointers.
18406 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18407 <bp-sym.h> and <bp-asm.h>.
18408 (__strnlen): Don't use BP_SYM.
18409 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18410 <bp-sym.h> and <bp-asm.h>.
18411 (__GI__setjmp): Don't use BP_SYM.
18412 (_setjmp): Likewise.
18413 (__sigsetjmp): Likewise.
18414 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18415 (L(start_addresses)): Don't use BP_SYM.
18416 (_start): Likewise.
18417 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18418 <bp-asm.h>.
18419 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18420 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18421 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18422 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18423 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18424 <bp-asm.h>.
18425 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18426 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18427 about bounded pointers.
18428 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18429 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18430 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18431 <bp-asm.h>.
18432 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18433 about bounded pointers. Remove GKM FIXME comments.
18434 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18435 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18436 <bp-asm.h>.
18437 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18438 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18439 Remove GKM FIXME comments.
18440 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18441 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18442 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18443 <bp-asm.h>.
18444 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18445 about bounded pointers. Remove GKM FIXME comment.
18446 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18447 and <bp-asm.h>.
18448 (strncmp): Don't use BP_SYM. Remove comment about bounded
18449 pointers.
18450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18451 <bp-sym.h> and <bp-asm.h>.
18452 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18454 <bp-sym.h> and <bp-asm.h>.
18455 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18456 comment.
18457
cdcf361f
PP
184582013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18459
18460 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18461 call free(NULL).
18462
3c4a2b15
DM
184632013-03-05 David S. Miller <davem@davemloft.net>
18464
18465 * po/es.po: Update from translation team.
18466
cdcf361f 184672013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18468
18469 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18470 <bits/mman-linux.h>.
18471 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18472 is fine.
18473 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18474 <bits/mman-linux.h> to end of file.
18475 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18476 is fine.
18477 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18478 <bits/mman-linux.h> to end of file.
18479 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18480 is fine.
18481 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18482 <bits/mman-linux.h> to end of file.
18483
18484 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18485 (MCL_CURRENT, MCL_FUTURE): Define here.
18486
5f67c04f
AK
184872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18488
8a4473cc 18489 [BZ #15232]
5f67c04f
AK
18490 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18491 attribute_hidden.
18492 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18493
c3e94a95
AK
184942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18495
18496 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18497 fourth parameter needed for rt_sigprocmask syscall.
18498 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18499 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18500 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18501 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18502 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18503 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18504
cfb6382a
JM
185052013-03-04 Joseph Myers <joseph@codesourcery.com>
18506
18507 [BZ #13550]
18508 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18509 comment about bounded pointers.
18510 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18511 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18512
539d8e01
AJ
185132013-03-04 Andreas Jaeger <aj@suse.de>
18514
18515 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18516 common definitions.
18517
18518 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18519 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18520 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18521 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18522 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18523 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18524
2e167a70 185252013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18526
18527 [BZ #15055]
18528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18529 __ieee754_sqrl instead of __sqrl.
18530
68508633
JM
185312013-03-01 Joseph Myers <joseph@codesourcery.com>
18532
18533 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18534 * sysdeps/powerpc/fpu_control.h: ... here.
18535 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18536 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18537 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18538 * sysdeps/powerpc/bits/mathinline.h: ... here.
18539
7775448e
RM
185402013-03-01 Roland McGrath <roland@hack.frob.com>
18541
18542 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18543 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18544 to just [NEED_DL_SYSINFO_DSO].
18545 * elf/dl-support.c: Likewise.
18546 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18547 * elf/rtld.c (dl_main): Likewise.
18548 * elf/setup-vdso.h (setup_vdso): Likewise.
18549 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18550 * sysdeps/unix/sysv/linux/dl-sysdep.c
18551 (_dl_discover_osversion): Likewise.
18552
4e9b5995
CD
185532013-03-01 Carlos O'Donell <carlos@redhat.com>
18554
18555 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18556 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18557
e23872c8
SP
185582013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18559
e5c74c63
SP
18560 * NEWS: Mention libm performance improvements and non-x86 PI
18561 futex support.
18562
e23872c8
SP
18563 * csu/libc-start.c (__pthread_initialize_minimal): Change
18564 function arguments.
18565 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18566
b5510883
JM
185672013-02-28 Joseph Myers <joseph@codesourcery.com>
18568
18569 [BZ #13550]
18570 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18571 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18572 <bp-sym.h> and <bp-asm.h>.
18573 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18574 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18575 and <bp-asm.h>.
18576 (memcpy): Don't use BP_SYM.
18577 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18578 <bp-asm.h>.
18579 (__mpn_add_n): Don't use BP_SYM.
18580 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18581 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18582 and <bp-asm.h>.
18583 (__mpn_addmul_1): Don't use BP_SYM.
18584 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18585 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18586 <bp-sym.h>.
18587 (_setjmp): Don't use BP_SYM.
18588 (__novmx_setjmp): Likewise.
18589 (__GI__setjmp): Likewise.
18590 (__vmx_setjmp): Likewise.
18591 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18592 <bp-sym.h>.
18593 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18594 (__bzero): Don't use BP_SYM.
18595 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18596 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18597 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18598 <bp-sym.h> and <bp-asm.h>.
18599 (memcpy): Don't use BP_SYM.
18600 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18601 <bp-sym.h> and <bp-asm.h>.
18602 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18603 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18604 <bp-sym.h> and <bp-asm.h>.
18605 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18606 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18607 <bp-asm.h>.
18608 (__mpn_lshift): Don't use BP_SYM.
18609 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18610 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18611 <bp-asm.h>.
18612 (memset): Don't use BP_SYM.
18613 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18614 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18615 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18616 <bp-asm.h>.
18617 (__mpn_mul_1): Don't use BP_SYM.
18618 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18619 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18620 <bp-sym.h> and <bp-asm.h>.
18621 (memcmp): Don't use BP_SYM.
18622 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18623 <bp-sym.h> and <bp-asm.h>.
18624 (memcpy): Don't use BP_SYM.
18625 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18626 <bp-sym.h> and <bp-asm.h>.
18627 (memset): Don't use BP_SYM.
18628 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18629 <bp-sym.h> and <bp-asm.h>.
18630 (strncmp): Don't use BP_SYM.
18631 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18632 <bp-sym.h> and <bp-asm.h>.
18633 (memcpy): Don't use BP_SYM.
18634 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18635 <bp-sym.h> and <bp-asm.h>.
18636 (memset): Don't use BP_SYM.
18637 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18638 <bp-sym.h> and <bp-asm.h>.
18639 (__memchr): Don't use BP_SYM.
18640 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18641 <bp-sym.h> and <bp-asm.h>.
18642 (memcmp): Don't use BP_SYM.
18643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18644 <bp-sym.h> and <bp-asm.h>.
18645 (memcpy): Don't use BP_SYM.
18646 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18647 <bp-sym.h> and <bp-asm.h>.
18648 (__mempcpy): Don't use BP_SYM.
18649 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18650 <bp-sym.h> and <bp-asm.h>.
18651 (__memrchr): Don't use BP_SYM.
18652 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18653 <bp-sym.h> and <bp-asm.h>.
18654 (memset): Don't use BP_SYM.
18655 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18656 <bp-sym.h> and <bp-asm.h>.
18657 (__rawmemchr): Don't use BP_SYM.
18658 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18659 <bp-sym.h> and <bp-asm.h>.
18660 (__STRCMP): Don't use BP_SYM.
18661 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18662 <bp-sym.h> and <bp-asm.h>.
18663 (strchr): Don't use BP_SYM.
18664 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18665 <bp-sym.h> and <bp-asm.h>.
18666 (__strchrnul): Don't use BP_SYM.
18667 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18668 <bp-sym.h> and <bp-asm.h>.
18669 (strlen): Don't use BP_SYM.
18670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18671 <bp-sym.h> and <bp-asm.h>.
18672 (strncmp): Don't use BP_SYM.
18673 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18674 <bp-sym.h> and <bp-asm.h>.
18675 (__strnlen): Don't use BP_SYM.
18676 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18677 <bp-asm.h>.
18678 (__mpn_rshift): Don't use BP_SYM.
18679 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18680 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18681 <bp-sym.h> and <bp-asm.h>.
18682 (__sigsetjmp): Don't use BP_SYM.
18683 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18684 (L(start_addresses)): Don't use BP_SYM.
18685 (_start): Likewise.
18686 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18687 <bp-asm.h>.
18688 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18689 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18690 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18691 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18692 <bp-asm.h>.
18693 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18694 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18695 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18696 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18697 <bp-asm.h>.
18698 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18699 comments.
18700 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18701 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18702 <bp-asm.h>.
18703 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18704 FIXME comments.
18705 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18706 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18707 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18708 <bp-asm.h>.
18709 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18710 comment.
18711 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18712 and <bp-asm.h>.
18713 (strncmp): Don't use BP_SYM,
18714 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18715 <bp-asm.h>.
18716 (__mpn_sub_n): Don't use BP_SYM.
18717 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18718 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18719 and <bp-asm.h>.
18720 (__mpn_submul_1): Don't use BP_SYM.
18721 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18723 <bp-sym.h> and <bp-asm.h>.
18724 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18726 <bp-sym.h> and <bp-asm.h>.
18727 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18728 comment.
18729
8d19fe64
SP
187302013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18731
18732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18733 Use ZK to minimize writes to Z.
18734 (sub_magnitudes): Simplify code a bit.
18735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18736 Use ZK to minimize writes to Z.
18737 (sub_magnitudes): Simplify code a bit.
18738
85bd816a
RM
187392013-02-27 Roland McGrath <roland@hack.frob.com>
18740
18741 * csu/gmon-start.c: Add special exception to license text.
18742
b5977bf2
RH
187432013-02-27 Richard Henderson <rth@redhat.com>
18744
18745 * scripts/config.guess: Update from config.git.
18746 * scripts/config.sub: Likewise.
18747
11d6e2f2
SP
187482013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18749
09c14ed2
SP
18750 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18751
a688864e
SP
18752 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18753
6295157a
SP
18754 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18755
b8de2202
SP
18756 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18757
11d6e2f2
SP
18758 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18759
7e80ddb8
RM
187602013-02-26 Roland McGrath <roland@hack.frob.com>
18761
18762 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18763 [$(build-shared = yes].
7e80ddb8 18764
7da6d9ed
SP
187652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18766
45f05884
SP
18767 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18768 (__mul): Reduce iterations for calculating mantissa.
18769
2236d359
SP
18770 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18771 MPTWO.
18772 (__mpranred): Likewise.
18773
7da6d9ed
SP
18774 [BZ #15160]
18775 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18776 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18777
b7688c42
PE
187782013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18779
18780 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18781 Define __attribute__.
18782
53a5c423
SP
187832013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18784
18785 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18786 unused.
18787 * posix/regex_internal.h (__attribute): Remove.
18788 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18789 (re_string_context_at): Likewise.
18790 (bitset_not): Use __attribute__ and mark function as possibly
18791 unused.
18792 (bitset_merge): Likewise.
18793 (bitset_mask): Likewise.
18794 (re_string_char_size_at): Likewise.
18795 (re_string_wchar_at): Likewise.
18796 (re_string_elem_size_at): Likewise.
18797
60f5a8b5
SP
187982013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18799
2a983a2e
SP
18800 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18801 code.
18802 (cc32): Likewise.
18803
e69804d1
SP
18804 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18805 (__acr): Likewise.
18806 (__cpy): Likewise.
18807 (norm): Likewise.
18808 (denorm): Likewise.
18809 (__dbl_mp): Likewise.
18810 (add_magnitudes): Likewise.
18811 (sub_magnitudes): Likewise.
18812 (__mul): Likewise.
18813 (__inv): Likewise.
18814
2f22a1e8
SP
18815 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18816 style.
18817
8930ddc7
SP
18818 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18819 style.
18820
dc60cb11
SP
18821 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18822 code.
18823
60f5a8b5
SP
18824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18825 up changes with default code.
18826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18827 Likewise.
18828
b4d1fd33
AM
188292013-02-24 Allan McRae <allan@archlinux.org>
18830
faf6f8bc
AM
18831 * manual/socket.texi (The Internet Namespace): Order menu items
18832 to match that in the file.
18833
b4d1fd33
AM
18834 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18835 node listing of the info page menu.
18836
2366713d
JM
188372013-02-21 Joseph Myers <joseph@codesourcery.com>
18838
18839 [BZ #13550]
18840 * sysdeps/i386/bp-asm.h: Remove file.
18841 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18842 (PARMS): Do not use macros from bp-asm.h.
18843 (S1): Likewise.
18844 (S2): Likewise.
18845 (SIZE): Likewise.
18846 (__mpn_add_n): Do not use BP_SYM
18847 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18848 "bp-asm.h".
18849 (PARMS): Do not use macros from bp-asm.h.
18850 (S1): Likewise.
18851 (SIZE): Likewise.
18852 (__mpn_addmul_1): Do not use BP_SYM
18853 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18854 "bp-asm.h".
18855 (PARMS): Do not use macros from bp-asm.h.
18856 (SIGMSK): Likewise.
18857 (_setjmp): Likewise. Do not use BP_SYM.
18858 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18859 "bp-asm.h".
18860 (PARMS): Do not use macros from bp-asm.h.
18861 (SIGMSK): Likewise.
18862 (setjmp): Likewise. Do not use BP_SYM.
18863 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18864 "bp-asm.h".
18865 (PARMS): Do not use macros from bp-asm.h.
18866 (__frexp): Do not use BP_SYM.
18867 (frexp): Likewise.
18868 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18869 "bp-asm.h".
18870 (PARMS): Do not use macros from bp-asm.h.
18871 (__frexpf): Do not use BP_SYM.
18872 (frexpf): Likewise.
18873 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18874 "bp-asm.h".
18875 (PARMS): Do not use macros from bp-asm.h.
18876 (__frexpl): Do not use BP_SYM.
18877 (frexpl): Likewise.
18878 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18879 "bp-asm.h".
18880 (PARMS): Do not use macros from bp-asm.h.
18881 (__remquo): Do not use BP_SYM.
18882 (remquo): Likewise.
18883 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18884 "bp-asm.h".
18885 (PARMS): Do not use macros from bp-asm.h.
18886 (__remquof): Do not use BP_SYM.
18887 (remquof): Likewise.
18888 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18889 "bp-asm.h".
18890 (PARMS): Do not use macros from bp-asm.h.
18891 (__remquol): Do not use BP_SYM.
18892 (remquol): Likewise.
18893 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18894 "bp-asm.h".
18895 (PARMS): Do not use macros from bp-asm.h.
18896 (DEST): Likewise.
18897 (SRC): Likewise.
18898 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18899 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18900 "bp-asm.h".
18901 (PARMS): Do not use macros from bp-asm.h.
18902 (strlen): Do not use BP_SYM.
18903 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18904 "bp-asm.h".
18905 (PARMS): Do not use macros from bp-asm.h.
18906 (S1): Likewise.
18907 (S2): Likewise.
18908 (SIZE): Likewise.
18909 (__mpn_add_n): Do not use BP_SYM.
18910 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18911 "bp-asm.h".
18912 (PARMS): Do not use macros from bp-asm.h.
18913 (S1): Likewise.
18914 (SIZE): Likewise.
18915 (__mpn_addmul_1): Do not use BP_SYM.
18916 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18917 weak_alias.
18918 (bzero): Likewise.
18919 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18920 "bp-asm.h".
18921 (PARMS): Do not use macros from bp-asm.h.
18922 (S): Likewise.
18923 (SIZE): Likewise.
18924 (__mpn_lshift): Do not use BP_SYM.
18925 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18926 "bp-asm.h".
18927 (PARMS): Do not use macros from bp-asm.h.
18928 (DEST): Likewise.
18929 (SRC): Likewise.
18930 (LEN): Likewise.
18931 (memcpy): Likewise. Do not use BP_SYM.
18932 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18933 libc_hidden_def and weak_alias.
18934 (mempcpy): Do not use BP_SYM in weak_alias.
18935 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18936 "bp-asm.h".
18937 (PARMS): Do not use macros from bp-asm.h.
18938 (DEST): Likewise.
18939 (LEN): Likewise.
18940 [!BZERO_P] (CHR): Likewise.
18941 (memset): Likewise. Do not use BP_SYM.
18942 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18943 "bp-asm.h".
18944 (PARMS): Do not use macros from bp-asm.h.
18945 (S1): Likewise.
18946 (SIZE): Likewise.
18947 (__mpn_mul_1): Do not use BP_SYM.
18948 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18949 "bp-asm.h".
18950 (PARMS): Do not use macros from bp-asm.h.
18951 (S): Likewise.
18952 (SIZE): Likewise.
18953 (__mpn_rshift): Do not use BP_SYM.
18954 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18955 "bp-asm.h".
18956 (PARMS): Do not use macros from bp-asm.h.
18957 (STR): Likewise.
18958 (CHR): Likewise.
18959 (strchr): Likewise. Do not use BP_SYM.
18960 (index): Do not use BP_SYM in weak_alias.
18961 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18962 "bp-asm.h".
18963 (PARMS): Do not use macros from bp-asm.h.
18964 (DEST): Likewise.
18965 (SRC): Likewise.
18966 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18967 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18968 "bp-asm.h".
18969 (PARMS): Do not use macros from bp-asm.h.
18970 (strlen): Do not use BP_SYM.
18971 * sysdeps/i386/i586/sub_n.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 (S2): Likewise.
18976 (SIZE): Likewise.
18977 (__mpn_sub_n): Do not use BP_SYM.
18978 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18979 "bp-asm.h".
18980 (PARMS): Do not use macros from bp-asm.h.
18981 (S1): Likewise.
18982 (SIZE): Likewise.
18983 (__mpn_submul_1): Do not use BP_SYM.
18984 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18985 "bp-asm.h".
18986 (PARMS): Do not use macros from bp-asm.h.
18987 (S1): Likewise.
18988 (S2): Likewise.
18989 (SIZE): Likewise.
18990 (__mpn_add_n): Do not use BP_SYM.
18991 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18992 weak_alias.
18993 (bzero): Likewise.
18994 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18995 "bp-asm.h".
18996 (PARMS): Do not use macros from bp-asm.h.
18997 (BLK2): Likewise.
18998 (LEN): Likewise.
18999 (memcmp): Do not use BP_SYM.
19000 (bcmp): Do not use BP_SYM in weak_alias.
19001 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19002 "bp-asm.h".
19003 (PARMS): Do not use macros from bp-asm.h.
19004 (DEST): Likewise.
19005 (SRC): Likewise.
19006 (LEN): Likewise.
19007 (memcpy): Likewise. Do not use BP_SYM.
19008 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19009 "bp-asm.h".
19010 (PARMS): Do not use macros from bp-asm.h.
19011 (DEST): Likewise.
19012 (SRC): Likewise.
19013 (LEN): Likewise.
19014 (memmove): Likewise. Do not use BP_SYM.
19015 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19016 "bp-asm.h".
19017 (PARMS): Do not use macros from bp-asm.h.
19018 (DEST): Likewise.
19019 (SRC): Likewise.
19020 (LEN): Likewise.
19021 (__mempcpy): Likewise. Do not use BP_SYM.
19022 (mempcpy): Do not use BP_SYM in weak_alias.
19023 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19024 "bp-asm.h".
19025 (PARMS): Do not use macros from bp-asm.h.
19026 (DEST): Likewise.
19027 (LEN): Likewise.
19028 [!BZERO_P] (CHR): Likewise.
19029 (memset): Likewise. Do not use BP_SYM.
19030 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19031 "bp-asm.h".
19032 (PARMS): Do not use macros from bp-asm.h.
19033 (STR2): Likewise.
19034 (strcmp): Do not use BP_SYM.
19035 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19036 "bp-asm.h".
19037 (PARMS): Do not use macros from bp-asm.h.
19038 (STR): Likewise.
19039 (DELIM): Likewise.
19040 [USE_AS_STRTOK_R] (SAVE): Likewise.
19041 (FUNCTION): Likewise. Do not use BP_SYM.
19042 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19043 aliases.
19044 (strtok_r): Likewise.
19045 (__GI___strtok_r): Likewise.
19046 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19047 (PARMS): Do not use macros from bp-asm.h.
19048 (S): Likewise.
19049 (SIZE): Likewise.
19050 (__mpn_lshift): Do not use BP_SYM.
19051 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19052 (PARMS): Do not use macros from bp-asm.h.
19053 (STR): Likewise.
19054 (CHR): Likewise.
19055 (__memchr): Do not use BP_SYM.
19056 (memchr): Do not use BP_SYM in weak_alias.
19057 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19058 (PARMS): Do not use macros from bp-asm.h.
19059 (BLK2): Likewise.
19060 (LEN): Likewise.
19061 (memcmp): Do not use BP_SYM.
19062 (bcmp): Do not use BP_SYM in weak_alias.
19063 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19064 (PARMS): Do not use macros from bp-asm.h.
19065 (S1): Likewise.
19066 (SIZE): Likewise.
19067 (__mpn_mul_1): Do not use BP_SYM.
19068 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19069 "bp-asm.h".
19070 (PARMS): Do not use macros from bp-asm.h.
19071 (STR): Likewise.
19072 (CHR): Likewise.
19073 (__rawmemchr): Do not use BP_SYM.
19074 (rawmemchr): Do not use BP_SYM in weak_alias.
19075 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19076 (PARMS): Do not use macros from bp-asm.h.
19077 (S): Likewise.
19078 (SIZE): Likewise.
19079 (__mpn_rshift): Do not use BP_SYM.
19080 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19081 (PARMS): Do not use macros from bp-asm.h.
19082 (SIGMSK): Likewise.
19083 (__sigsetjmp): Likewise. Do not use BP_SYM.
19084 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19085 (_start): Do not use BP_SYM.
19086 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19087 (PARMS): Do not use macros from bp-asm.h.
19088 (DEST): Likewise.
19089 (SRC): Likewise.
19090 (__stpcpy): Likewise. Do not use BP_SYM.
19091 (stpcpy): Do not use BP_SYM in weak_alias.
19092 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19093 "bp-asm.h".
19094 (PARMS): Do not use macros from bp-asm.h.
19095 (DEST): Likewise.
19096 (SRC): Likewise.
19097 (LEN): Likewise.
19098 (__stpncpy): Likewise. Do not use BP_SYM.
19099 (stpncpy): Do not use BP_SYM in weak_alias.
19100 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19101 (PARMS): Do not use macros from bp-asm.h.
19102 (STR): Likewise.
19103 (CHR): Likewise.
19104 (strchr): Likewise. Do not use BP_SYM.
19105 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19106 "bp-asm.h".
19107 (PARMS): Do not use macros from bp-asm.h.
19108 (STR): Likewise.
19109 (CHR): Likewise.
19110 (__strchrnul): Likewise. Do not use BP_SYM.
19111 (strchrnul): Do not use BP_SYM in weak_alias.
19112 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19113 "bp-asm.h".
19114 (PARMS): Do not use macros from bp-asm.h.
19115 (STOP): Likewise.
19116 (strcspn): Do not use BP_SYM.
19117 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19118 "bp-asm.h".
19119 (PARMS): Do not use macros from bp-asm.h.
19120 (STR): Likewise.
19121 (STOP): Likewise.
19122 (strpbrk): Likewise. Do not use BP_SYM.
19123 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19124 "bp-asm.h".
19125 (PARMS): Do not use macros from bp-asm.h.
19126 (STR): Likewise.
19127 (CHR): Likewise.
19128 (strrchr): Likewise. Do not use BP_SYM.
19129 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19130 (PARMS): Do not use macros from bp-asm.h.
19131 (SKIP): Likewise.
19132 (strspn): Do not use BP_SYM.
19133 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19134 (PARMS): Do not use macros from bp-asm.h.
19135 (STR): Likewise.
19136 (DELIM): Likewise.
19137 (SAVE): Likewise.
19138 (FUNCTION): Likewise. Do not use BP_SYM.
19139 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19140 aliases.
19141 (strtok_r): Likewise.
19142 (__GI___strtok_r): Likewise.
19143 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19144 (PARMS): Do not use macros from bp-asm.h.
19145 (S1): Likewise.
19146 (S2): Likewise.
19147 (SIZE): Likewise.
19148 (__mpn_sub_n): Do not use BP_SYM.
19149 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19150 "bp-asm.h".
19151 (PARMS): Do not use macros from bp-asm.h.
19152 (S1): Likewise.
19153 (SIZE): Likewise.
19154 (__mpn_submul_1): Do not use BP_SYM.
19155 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19156 <bp-sym.h>.
19157 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19158 and <bp-asm.h>.
19159 (PARMS): Do not use macros from bp-asm.h.
19160 (FLAGS): Likewise.
19161 (PTID): Likewise.
19162 (TLS): Likewise.
19163 (CTID): Likewise.
19164 (__clone): Do not use BP_SYM.
19165 (clone): Do not use BP_SYM in weak_alias.
19166 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19167 and <bp-asm.h>.
19168 (PARMS): Do not use macros from bp-asm.h.
19169 (LEN): Likewise.
19170 (__mmap64): Do not use BP_SYM.
19171 (mmap64): Do not use BP_SYM in weak_alias.
19172 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19173 <bp-sym.h> and <bp-asm.h>.
19174 (PARMS): Do not use macros from bp-asm.h.
19175 (__posix_fadvise64_l64): Do not use BP_SYM.
19176 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19177 (PARMS): Do not use macros from bp-asm.h.
19178 (NSOPS): Likewise.
19179 (semtimedop): Do not use BP_SYM.
19180 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19181 and <bp-asm.h>.
19182
582a3cff
AM
191832013-02-21 Allan McRae <allan@archlinux.org>
19184
19185 * manual/message.texi (Charset conversion in gettext):
19186 Move @end statement to beginning of line.
19187
bab8a695
SP
191882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19189
80945231
SP
19190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19191 static.
19192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19193 Likewise.
19194
bab8a695
SP
19195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19196 (denorm): Likewise.
19197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19199
e21d7aa7
AK
192002013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19201
19202 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19203 tail-call to the resolved function if pltexit isn't needed.
19204
4c7a4263
SP
192052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19206
19207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19208 or Y being zero as being unlikely.
19209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19210 Likewise.
19211
41f49342
CD
192122013-02-20 Carlos O'Donell <carlos@redhat.com>
19213
19214 * manual/nss.texi (System Databases and Name Service Switch):
19215 Remove frobnicate @pxref.
19216
50022a93
TS
192172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19218
19219 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19220 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19221
08cbd996
PM
192222013-02-20 Petr Machata <pmachata@redhat.com>
19223
19224 * elf/elf.h (R_ARM_TARGET1): New macro.
19225 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19226 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19227 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19228 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19229 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19230 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19231 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19232 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19233 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19234 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19235 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19236 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19237 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19238 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19239 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19240 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19241 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19242 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19243 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19244 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19245 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19246 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19247 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19248 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19249 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19250 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19251 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19252 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19253 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19254 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19255 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19256 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19257 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19258 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19259 (R_ARM_THM_GOT_BREL12): Likewise.
19260 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19261 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19262 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19263 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19264 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19265 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19266 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19267 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19268 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19269
c7b275d6
TS
192702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19271
19272 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19273 __attribute_used__ to __attribute__ ((unused)).
19274
20cd7fb3
SP
192752013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19276
19277 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19278 powerpc mpa.c.
19279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19280 comment formatting.
19281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19282
92945b52
JM
192832013-02-19 Joseph Myers <joseph@codesourcery.com>
19284
19285 [BZ #13550]
19286 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19287 Remove macro.
19288 (ENTER): Remove both macro definitions.
19289 (LEAVE): Likewise.
19290 (CHECK_BOUNDS_LOW): Likewise.
19291 (CHECK_BOUNDS_HIGH): Likewise.
19292 (CHECK_BOUNDS_BOTH): Likewise.
19293 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19294 (RETURN_BOUNDED_POINTER): Likewise.
19295 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19296 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19297 (POP_ERRNO_LOCATION_RETURN): Likewise.
19298 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19299 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19300 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19301 macros.
19302 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19303 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19304 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19305 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19306 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19307 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19308 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19309 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19310 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19311 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19312 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19313 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19314 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19315 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19316 removed macros.
19317 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19318 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19319 macros.
19320 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19321 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19322 * sysdeps/i386/i586/memset.S (memset): Likewise.
19323 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19324 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19325 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19326 macros.
19327 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19328 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19329 Change uses of L(2) to L(out).
19330 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19331 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19332 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19333 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19334 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19335 removed macros.
19336 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19337 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19338 macros.
19339 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19340 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19341 (RETURN): Do not use macro LEAVE.
19342 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19343 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19344 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19345 * sysdeps/i386/i686/memset.S (memset): Likewise.
19346 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19347 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19348 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19349 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19350 Likewise.
19351 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19352 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19353 L(1_2) and L(1_3) into L(1).
19354 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19355 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19356 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19357 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19358 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19359 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19360 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19361 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19362 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19363 macros.
19364 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19365 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19366 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19367 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19368 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19369 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19370 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19371 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19372 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19373 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19374 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19375 * sysdeps/i386/strspn.S (strspn): Likewise.
19376 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19377 conditional code.
19378 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19379 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19380 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19381 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19382 L(1_3) into L(1_1).
19383 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19384 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19385 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19386 macros.
19387 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19388
2389741a
JJ
193892013-02-19 Jakub Jelinek <jakub@redhat.com>
19390
19391 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19392 macro.
19393
2016b3cd
SP
193942013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19395
e4f22324
SP
19396 * math/atest-exp.c (exp_mpn): Remove ROUND.
19397 * math/atest-exp2.c (exp_mpn): Likewise.
19398 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19399
2016b3cd
SP
19400 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19401 * stdlib/tst-tls-atexit-lib.c: Likewise.
19402 * stdlib/tst-tls-atexit.c: Likewise.
19403
4be9b544
MF
194042013-02-18 Mike Frysinger <vapier@gentoo.org>
19405
19406 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19407 and __attribute_alloc_size__.
19408
2f62b9ee
MF
194092013-02-18 Mike Frysinger <vapier@gentoo.org>
19410
19411 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19412 __attribute_alloc_size__.
19413 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19414 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19415
6ff444c4
MF
194162013-02-18 Mike Frysinger <vapier@gentoo.org>
19417
19418 * include/programs/xmalloc.h: New file.
19419 * catgets/gencat.c: Include it.
19420 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19421 * elf/pldd.c: Likewise.
19422 * iconv/iconv_charmap.c: Likewise.
19423 * iconv/iconvconfig.c: Likewise.
19424 * iconv/strtab.c: Likewise.
19425 * locale/programs/locale.c: Likewise.
19426 * locale/programs/localedef.h: Likewise.
19427 * locale/programs/simple-hash.c: Likewise.
19428 * nscd/nscd.h: Likewise.
19429 * nss/makedb.c: Likewise.
19430 * sysdeps/generic/ldconfig.h: Likewise.
19431
be179c8a
SP
194322013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19433
ba384f6e
SP
19434 * Versions.def: Add GLIBC_2.18.
19435 * include/link.h (struct link_map): New member l_tls_dtor_count.
19436 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19437 (__call_tls_dtors): Likewise.
19438 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19439 __cxa_thread_atexit_impl.
19440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19441 Likewise.
19442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19443 Likewise.
19444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19445 Likewise.
19446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19447 Likewise.
19448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19450 Likewise.
19451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19452 Likewise.
19453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19455 Likewise.
19456 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19457 (tests): Add test case tst-tls-atexit.
19458 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19459 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19460 (GLIBC_PRIVATE): Add __call_tls_dtors.
19461 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19462 for libstdc++.
19463 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19464 * stdlib/tst-tls-atexit.c: New test case.
19465 * stdlib/tst-tls-atexit-lib.c: New test case.
19466
ffaa74cf 19467 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19468
be179c8a
SP
19469 * elf/Versions (ld): Add _dl_find_dso_for_object.
19470 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19471 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19472 (dl_open_worker): Use _dl_find_dso_for_object.
19473 * elf/dl-sym.c (do_sym): Likewise.
19474 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19475
f78b5caa
AK
194762013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19477
19478 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19479 Syntactic changes only.
19480 (_dl_runtime_profile): Do a tail-call to the resolved function.
19481
29691210
JM
194822013-02-17 Joseph Myers <joseph@codesourcery.com>
19483
19484 [BZ #13550]
19485 * sysdeps/x86_64/bp-asm.h: Remove file.
19486 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19487 <bp-sym.h> and <bp-asm.h>.
19488 (__clone): Do not use BP_SYM.
19489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19490 <bp-sym.h> and <bp-asm.h>.
19491 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19492 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19493 "bp-asm.h".
19494 (_setjmp): Do not use BP_SYM.
19495 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19496 "bp-asm.h".
19497 (setjmp): Do not use BP_SYM.
19498 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19499 libc_hidden_def.
19500 (mempcpy): Do not use BP_SYM in weak_alias.
19501 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19502 "bp-asm.h".
19503 (strchr): Do not use BP_SYM.
19504 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19505 "bp-asm.h".
19506 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19507 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19508 (_start): Do not use BP_SYM.
19509 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19510 "bp-asm.h".
19511 (strcat): Do not use BP_SYM.
19512 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19513 "bp-asm.h".
19514 (STRCMP): Do not use BP_SYM.
19515 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19516 "bp-asm.h".
19517 (STRCPY): Do not use BP_SYM.
19518 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19519 "bp-asm.h".
19520 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19521 "bp-asm.h".
19522 (FUNCTION): Do not use BP_SYM.
19523 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19524 weak_alias.
19525 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19526
f238fd19
AJ
195272013-02-17 Andreas Jaeger <aj@suse.de>
19528
19529 * time/Versions: Sort entries.
19530 * string/Versions: Likewise.
19531 * resolv/Versions: Likewise.
19532 * posix/Versions: Likewise.
19533 * iconv/Versions: Likewise.
19534 * elf/Versions: Likewise.
19535 * wcsmbs/Versions: Likewise.
19536
bd07f23c 195372013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19538
22af19f9
SP
19539 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19540 loop termination condition.
19541
4709fe76
SP
19542 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19543 variable to calculate EZ.
19544 (__sqr): Likewise.
2d0e0f29
SP
19545
19546 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19547 the lower precision input.
19548
daaa7713
JM
195492013-02-15 Joseph Myers <joseph@codesourcery.com>
19550
19551 [BZ #13550]
19552 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19553 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19554 (run-via-rtld-prefix): Do not handle %-bp tests.
19555 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19556 (all-object-suffixes): Remove .ob.
19557 (bppfx): Remove variable.
19558 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19559 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19560 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19561 [$(build-bounded) = yes] (libtype.ob): Likewise.
19562 * Makerules (elide-routines.ob): Remove variable.
19563 (do-tests-clean): Do not handle *-bp.out.
19564 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19565 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19566 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19567 (tests): Do not include $(tests-bp.out).
19568 (xtests): Do not include $(xtests-bp.out).
19569 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19570 [$(build-bounded) = yes] ($(addprefix
19571 $(objpfx),$(binaries-bounded))): Remove rule.
19572 ($(objpfx)%-bp.out): Remove rule.
19573 * config.make.in (build-bounded): Remove variable.
19574 * crypt/Makefile [$(build-bounded) = yes]
19575 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19576 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19577 append to variable.
19578 [$(build-bounded) = yes] (install-lib): Likewise.
19579 [$(build-bounded) = yes] (generated): Likewise.
19580 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19581 Remove rule.
19582 * intl/Makefile [$(build-bounded) = yes]
19583 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19584 * math/Makefile [$(build-bounded) = yes]
19585 ($(tests:%=$(objpfx)%-bp): Likewise.
19586 * misc/Makefile [$(build-bounded) = yes]
19587 ($(objpfx)tst-tsearch-bp): Likewise.
19588 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19589 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19590 Remove dependency.
19591 * string/Makefile (o-objects.ob): Remove variable.
19592 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19593 (CFLAGS-.ob): Remove variable.
19594 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19595 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19596 both definitions of variable.
19597 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19598 (ASFLAGS-.ob): Remove variable.
19599
e97ed6dd
JM
196002013-02-14 Joseph Myers <joseph@codesourcery.com>
19601
2bdd4ca6
JM
19602 [BZ #13550]
19603 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19604 Remove __BOUNDED_POINTERS__ from condition.
19605 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19606 * string/bits/string2.h [!__NO_STRING_INLINES &&
19607 !__BOUNDED_POINTERS__]: Likewise.
19608 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19609 Likewise.
19610 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19611 Remove conditional code.
19612 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19613 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19614 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19615 condition.
19616
e97ed6dd
JM
19617 [BZ #13550]
19618 * csu/libc-start.c: Do not include <bp-sym.h>.
19619 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19620 * elf/dl-open.c: Do not include <bp-sym.h>.
19621 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19622 * math/fegetenv.c: Do not include <bp-sym.h>.
19623 (fegetenv): Do not use BP_SYM in versioned symbols.
19624 * nptl/sysdeps/pthread/bits/libc-lockP.h
19625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19626 <bp-sym.h>.
19627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19628 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19630 (__pthread_mutex_destroy): Likewise.
19631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19632 (__pthread_mutex_lock): Likewise.
19633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19634 (__pthread_mutex_trylock): Likewise.
19635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19636 (__pthread_mutex_unlock): Likewise.
19637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19638 (__pthread_mutexattr_init): Likewise.
19639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19640 (__pthread_mutexattr_destroy): Likewise.
19641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19642 (__pthread_mutexattr_settype): Likewise.
19643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19644 (__pthread_rwlock_init): Likewise.
19645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19646 (__pthread_rwlock_destroy): Likewise.
19647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19648 (__pthread_rwlock_rdlock): Likewise.
19649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19650 (__pthread_rwlock_tryrdlock): Likewise.
19651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19652 (__pthread_rwlock_wrlock): Likewise.
19653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19654 (__pthread_rwlock_trywrlock): Likewise.
19655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19656 (__pthread_rwlock_unlock): Likewise.
19657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19658 (__pthread_key_create): Likewise.
19659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19660 (__pthread_setspecific): Likewise.
19661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19662 (__pthread_getspecific): Likewise.
19663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19664 Likewise.
19665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19666 (_pthread_cleanup_push_defer): Likewise.
19667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19668 (_pthread_cleanup_pop_restore): Likewise.
19669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19670 (pthread_setcancelstate): Likewise.
19671 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19672 <bp-sym.h>.
19673 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19674 (memchr): Do not use BP_SYM in weak_alias.
19675 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19676 (fegetenv): Do not use BP_SYM in versioned symbols.
19677 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19678 (fesetenv): Do not use BP_SYM in versioned symbols.
19679 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19680 (feupdateenv): Do not use BP_SYM in versioned symbols.
19681 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19682 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19683 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19684 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19685 (open64): Do not use BP_SYM in weak_alias.
19686 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19687 (fegetenv): Do not use BP_SYM in versioned symbols.
19688 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19689 (fesetenv): Do not use BP_SYM in versioned symbols.
19690 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19691 (feupdateenv): Do not use BP_SYM in versioned symbols.
19692 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19693 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19694 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19695 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19696 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19697 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19698 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19699 <bp-sym.h>.
19700 (__libc_start_main): Do not use BP_SYM.
19701
d6752ccd
SP
197022013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19703
cb57ce60
SP
19704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19705 redundant return line.
19706 (norm): Likewise.
19707 (denorm): Likewise.
19708 (dbl_mp): Likewise.
19709 (sub_magnitudes): Likewise.
19710 (__add): Likewise.
19711 (__sub): Likewise.
19712 (__mul): Likewise.
19713 (__inv): Likewise.
19714 (__dvd): Likewise.
19715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19716 (norm): Likewise.
19717 (denorm): Likewise.
19718 (dbl_mp): Likewise.
19719 (sub_magnitudes): Likewise.
19720 (__add): Likewise.
19721 (__sub): Likewise.
19722 (__mul): Likewise.
19723 (__inv): Likewise.
19724 (__dvd): Likewise.
19725
f414520d
SP
19726 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19727 instead of __mul.
19728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19729 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19730 (cc32): Likewise.
19731
d6752ccd
SP
19732 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19733 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19735 of __mul for squares.
19736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19737 function
19738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19739 Likewise.
19740 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19741 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19742
70d9946a
JM
197432013-02-13 Joseph Myers <joseph@codesourcery.com>
19744
19745 [BZ #13550]
19746 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19747 code.
19748 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19749 prototype or function definition. Rename ubp_* variables and
19750 parameters. Remove argv definitions conditional on
19751 [__BOUNDED_POINTERS__].
19752 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19753 * elf/dl-runtime.c (_dl_fixup): Likewise.
19754 * include/set-hooks.h (RUN_HOOK): Likewise.
19755 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19756 definition.
19757 * string/strcpy.c (strcpy): Do not use __unbounded.
19758 * sysdeps/generic/frame.h (struct layout): Likewise.
19759 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19760 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19761 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19762 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19763 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19764 (__backtrace): Likewise.
19765 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19766 use __ptrvalue.
19767 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19768 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19769 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19770 Likewise.
19771 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19772 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19773 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19774 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19775 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19776 Do not use __unbounded.
19777 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19778 Rename __unboundedrlimits parameter to rlimits in prototype.
19779 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19780 Do not use __unbounded.
19781 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19782 not use __ptrvalue.
19783 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19784 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19785 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19786 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19787 __ptrvalue or __unbounded.
19788 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19789 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19790 use __unbounded.
19791 (__new_msgctl): Do not use __ptrvalue.
19792 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19793 __unbounded.
19794 (__libc_msgrcv): Do not use __ptrvalue.
19795 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19796 startup_info): Do not use __unbounded.
19797 (__libc_start_main): Likewise. Rename ubp_* variables and
19798 parameters. Remove argv definitions conditional on
19799 [__BOUNDED_POINTERS__].
19800 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19801 __ptrvalue.
19802 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19803 use __unbounded.
19804 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19805 or __ptrvalue.
19806 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19807 use __unbounded.
19808 (__new_shmctl): Do not use __ptrvalue.
19809 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19810 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19811 Likewise.
19812 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19813 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19814 (__libc_sigaction): Likewise.
19815 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19816 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19817 Likewise.
19818 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19819
cc7834d6
OB
198202013-02-13 Ondřej Bílka <neleai@seznam.cz>
19821
ffb1ec7b 19822 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19823
19824 * string/mempcpy.c: Implement by calling memcpy.
19825
bdf02814
SP
198262013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19827
c2af38aa
SP
19828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19829
4e92d59e
SP
19830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19831 evaluation.
19832
909279a5
SP
19833 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19834 values in the mantissa.
19835
bdf02814
SP
19836 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19837 minimize writes to Z.
19838 (sub_magnitudes): Simplify code a bit.
19839
cd525923
RM
198402013-02-12 Roland McGrath <roland@hack.frob.com>
19841
19842 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19843 from the message. The linker prefixes all warnings with that already.
19844
7e2f0d2d
AS
198452013-02-12 Andreas Schwab <schwab@suse.de>
19846
a445af0b
AS
19847 [BZ #15078]
19848 * posix/regexec.c (extend_buffers): Add parameter min_len.
19849 (check_matching): Pass minimum needed length.
19850 (clean_state_log_if_needed): Likewise.
19851 (get_subexp): Likewise.
19852 * posix/Makefile (tests): Add bug-regex34.
19853 (bug-regex34-ENV): Define.
19854 * posix/bug-regex34.c: New file.
19855
7e2f0d2d
AS
19856 [BZ #11561]
19857 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19858 elements compare against the byte sequence of it, not its name.
19859 * posix/Makefile (tests): Add bug-regex35.
19860 (bug-regex35-ENV): Define.
19861 * posix/bug-regex35.c: New file.
19862
a175b684
TV
198632013-02-11 Tom de Vries <tom@codesourcery.com>
19864
19865 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19866 comment.
19867 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19868 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19869 (CHECK_EOL): Add undef.
19870
310998fe 198712013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19872
19873 * bits/stdlib-bsearch.h: New file.
19874 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19875 * stdlib/stdlib.h: Likewise.
41eda41d 19876
8ded91fb
RM
198772013-02-11 Roland McGrath <roland@hack.frob.com>
19878
19879 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19880 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19881 declaration.
19882 * manual/search.texi (Array Search Function): Add missing const in
19883 lfind prototype.
19884 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19885 declaration to use rlim_t.
19886 (Basic Scheduling Functions): Remove erroneous const from
19887 sched_getparam prototype. Remove erroneous * from
19888 sched_get_priority_max and sched_get_priority_min prototypes.
19889 (Resource Usage): Fix summary @comment on vtimes to refer to
19890 sys/vtimes.h rather than vtimes.h.
19891 Add missing *s in vtimes prototype.
19892 (Limits on Resources): Fix ulimit prototype to return long int.
19893 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19894 prototypes to use long int rather than double.
19895 (BSD Random): Fix initstate and setstate to use char *, not void *.
19896 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19897 prototype to make second argument 'struct aiocb64 *const[]'.
19898 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19899 (Status of AIO Operations): Remove erroneous const in aio_return and
19900 aio_return64 prototypes.
19901 (Synchronizing I/O): Fix sync prototype to return void.
19902 * manual/startup.texi (Suboptions): Remove an erroneous const in
19903 getsubopt prototype.
19904 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19905 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19906 use size_t rather than int.
19907 (Scanning All Users): Likewise for getpwent_r.
19908 (Setting Groups): Add missing const to setgroups prototype.
19909 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19910 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19911 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19912 'const void *' rather than 'const char *'.
19913 (Host Address Functions): Likewise for inet_ntop.
19914 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19915 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19916 ssize_t for return value.
19917 (Sending Data): Likewise for send, sendto, sendmsg.
19918 (Socket Option Functions): Add a missing const in setsockopt prototype.
19919 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19920 use wchar_t for the argument.
19921 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19922 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19923 take no arguments.
19924 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19925 double/float/long double for second argument.
19926 Fix return types of significand, significandf, significandl.
19927 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19928 argument in fchmod prototype.
19929 (File Owner): Use uid_t and gid_t in fchown prototype.
19930 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19931 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19932 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19933 use 'const struct dirent **' as argument types to CMP function pointer
19934 argument.
19935 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19936 (File Times): Fix summary magic @comment for struct utimbuf and utime
19937 to refer to utime.h, not time.h.
19938 * manual/string.texi (Argz Functions): Add missing const in
19939 argz_extract and argz_next prototypes.
19940 (Finding Tokens in a String): Likewise for basename.
19941 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19942 (Copying and Concatenation): Fix typo in wmemmove prototype.
19943 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19944 (Signal Stack): Remove erroneous const in sigstack prototype.
19945 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19946 prototype.
19947 (Simple Calendar Time): Likewise for stime.
19948 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19949 prototype.
19950 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19951 say sys/sysctl.h instead.
19952 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19953 and vsyslog prototypes.
19954
fe77fe6d
TV
199552013-02-11 Tom de Vries <tom@codesourcery.com>
19956
19957 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19958 Remove.
19959
3a09b620
RM
199602013-02-11 Roland McGrath <roland@hack.frob.com>
19961
19962 * misc/sys/mman.h: Fix typo in mremap comment.
19963
550a0b89
RM
199642013-02-08 Roland McGrath <roland@hack.frob.com>
19965
19966 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19967 the '\0' terminator.
19968
a2da1673
JM
199692013-02-08 Joseph Myers <joseph@codesourcery.com>
19970
19971 [BZ #13550]
19972 * debug/segfault.c: Don't include <bp-checks.h>.
19973 * sysdeps/generic/bp-checks.h: Remove file.
19974 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19975 (__GETDENTS): Don't use CHECK_N.
19976 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19977 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19978 (__getgroups): Don't use CHECK_N.
19979 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19980 (setgroups): Don't use CHECK_N.
19981 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19982 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19983 (__libc_msgrcv): Don't use CHECK_N.
19984 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19985 (__libc_msgsnd): Don't use CHECK_N.
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19987 <bp-checks.h>.
19988 (__libc_pread): Don't use CHECK_N.
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19990 include <bp-checks.h>.
19991 (__libc_pread64): Don't use CHECK_N.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19993 include <bp-checks.h>.
19994 (__libc_pwrite): Don't use CHECK_N.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19996 include <bp-checks.h>.
19997 (__libc_pwrite64): Don't use CHECK_N.
19998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19999 <bp-checks.h>.
20000 (__libc_pread): Don't use CHECK_N.
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20002 include <bp-checks.h>.
20003 (__libc_pread64): Don't use CHECK_N.
20004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20005 include <bp-checks.h>.
20006 (__libc_pwrite): Don't use CHECK_N.
20007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20008 include <bp-checks.h>.
20009 (__libc_pwrite64): Don't use CHECK_N.
20010 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20011 (do_pread): Don't use CHECK_N.
20012 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20013 (do_pread64): Don't use CHECK_N.
20014 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20015 (do_pwrite): Don't use CHECK_N.
20016 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20017 (do_pwrite64): Don't use CHECK_N.
20018 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20019 (__libc_readv): Don't use CHECK_N.
20020 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20021 (semop): Don't use CHECK_N.
20022 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20023 <bp-checks.h>.
20024 (semtimedop): Don't use CHECK_N.
20025 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20026 (__libc_pread): Don't use CHECK_N.
20027 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20028 <bp-checks.h>.
20029 (__libc_pread64): Don't use CHECK_N.
20030 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20031 <bp-checks.h>.
20032 (__libc_pwrite): Don't use CHECK_N.
20033 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20034 <bp-checks.h>.
20035 (__libc_pwrite64): Don't use CHECK_N.
20036 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20037 <bp-checks.h>.
20038 (__libc_msgrcv): Don't use CHECK_N.
20039 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20040 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20041 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20042 (__libc_writev): Don't use CHECK_N.
20043
b84660a8
RM
200442013-02-08 Roland McGrath <roland@hack.frob.com>
20045
7f3e75f8
RM
20046 * string/strcpy.c: Removed unused variable.
20047
b84660a8
RM
20048 * Makeconfig (+sysdep-includes): Define with := rather than =.
20049 Use an existing include/ subdir of each sysdeps dir before it.
20050
471514d3
CD
200512013-02-08 Carlos O'Donell <carlos@redhat.com>
20052
20053 * nscd/connection.c (register_traced_file): Comment function.
20054 [HAVE_INOTIFY] (union __inev): Define.
20055 [HAVE_INOTIFY] (inotify_check_files): New function.
20056 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20057 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20058 clear_db_cache.
20059 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20060
b2d3c3be
CD
200612013-02-08 Carlos O'Donell <carlos@redhat.com>
20062
20063 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20064 loaded if not already and that a failure is permanent.
20065
b39949d2
CD
200662013-02-08 Carlos O'Donell <carlos@redhat.com>
20067
ddacd1db 20068 [BZ #15006]
b39949d2
CD
20069 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20070 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20071
b2c9eff4
JM
200722013-02-08 Joseph Myers <joseph@codesourcery.com>
20073
f3aae3f3
JM
20074 [BZ #13550]
20075 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20076 (CHECK_1_NULL_OK): Likewise.
20077 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20078 (__fxstat): Do not use CHECK_1.
20079 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20080 <bp-checks.h>.
20081 (___fxstat64): Do not use CHECK_1.
20082 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20083 <bp-checks.h>.
20084 (__fxstatat): Do not use CHECK_1.
20085 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20086 <bp-checks.h>.
20087 (__fxstatat64): Do not use CHECK_1.
20088 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20089 <bp-checks.h>.
20090 (__fxstat): Do not use CHECK_1.
20091 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20092 <bp-checks.h>.
20093 (__fxstatat): Do not use CHECK_1.
20094 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20095 <bp-checks.h>.
20096 (__getresgid): Do not use CHECK_1.
20097 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20098 <bp-checks.h>.
20099 (__getresuid): Do not use CHECK_1.
20100 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20101 <bp-checks.h>.
20102 (__lxstat): Do not use CHECK_1.
20103 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20104 <bp-checks.h>.
20105 (__old_msgctl): Do not use CHECK_1.
20106 (__new_msgctl): Likewise.
20107 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20108 <bp-checks.h>.
20109 (__new_setrlimit): Do not use CHECK_1.
20110 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20111 <bp-checks.h>.
20112 (__old_shmctl): Do not use CHECK_1.
20113 (__new_shmctl): Likewise.
20114 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20115 <bp-checks.h>.
20116 (__xstat): Do not use CHECK_1.
20117 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20118 (__lxstat): Do not use CHECK_1.
20119 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20120 <bp-checks.h>.
20121 (___lxstat64): Do not use CHECK_1.
20122 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20123 (__old_msgctl): Do not use CHECK_1.
20124 (__new_msgctl): Likewise.
20125 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20126 <bp-checks.h>.
20127 (__gettimeofday): Do not use CHECK_1.
20128 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20129 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20130 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20131 <bp-checks.h>.
20132 (__gettimeofday): Do not use CHECK_1.
20133 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20134 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20135 (__new_shmctl): Do not use CHECK_1.
20136 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20137 <bp-checks.h>.
20138 (do_sigtimedwait): Do not use CHECK_1.
20139 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20140 <bp-checks.h>.
20141 (do_sigwaitinfo): Do not use CHECK_1.
20142 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20143 <bp-checks.h>.
20144 (msgctl): Do not use CHECK_1.
20145 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20146 <bp-checks.h>.
20147 (shmctl): Do not use CHECK_1.
20148 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20149 (ustat): Do not use CHECK_1.
20150 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20151 <bp-checks.h>.
20152 (__fxstat): Do not use CHECK_1.
20153 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20154 <bp-checks.h>.
20155 (__fxstatat): Do not use CHECK_1.
20156 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20157 <bp-checks.h>.
20158 (__lxstat): Do not use CHECK_1.
20159 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20160 <bp-checks.h>.
20161 (__xstat): Do not use CHECK_1.
20162 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20163 (__xstat): Do not use CHECK_1.
20164 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20165 (___xstat64): Do not use CHECK_1.
20166
b2c9eff4
JM
20167 [BZ #13550]
20168 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20169 definitions.
20170 (CHECK_BOUNDS_HIGH): Likewise.
20171 * string/strcpy.c: Do not include <bp-checks.h>.
20172 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20173
f1d70dad
RM
201742013-02-07 Roland McGrath <roland@hack.frob.com>
20175
20176 * nscd/nscd-client.h (__nscd_drop_map_ref):
20177 Add __attribute__ ((unused)).
20178 * nis/nss-nisplus.h (niserr2nss): Likewise.
20179
20180 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20181 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20182
20183 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20184 Remove inline keyword.
20185 * include/rounding-mode.h (round_away): Likewise.
20186 * libio/wfileops.c (adjust_wide_data): Likewise.
20187 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20188 (__m128i_strloadu_tolower): Likewise.
20189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20190 (__m128i_strloadu_tolower): Likewise.
20191 * time/mktime.c (ydhms_diff): Likewise.
20192 * locale/elem-hash.h (elem_hash): Likewise.
20193 * locale/setlocale.c (setdata): Likewise.
20194 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20195 (re_string_wchar_at): Likewise.
20196 (bitset_not, bitset_merge, bitset_mask): Likewise.
20197 [!(__GNUC__ > 3)] (inline): Remove macro.
20198 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20199 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20200 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20201 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20202 * string/memcmp.c (memcmp_bytes): Likewise.
20203 * locale/programs/locarchive.c (compute_hashval): Likewise.
20204 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20205 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20206 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20207 * nss/getent.c (print_rpc, print_protocols): Likewise.
20208 (print_passwd, print_group, print_aliases): Likewise.
20209 * nis/nss-nisplus.h (niserr2nss): Likewise.
20210 * nscd/connections.c (restart_p): Likewise.
20211 Change return type to bool.
20212
eab55bfb
RM
202132013-02-05 Roland McGrath <roland@hack.frob.com>
20214
7bd642f5
RM
20215 * Makeconfig (all-Depend-files): Add existing
20216 $(sorted-subdirs:=/Depend) files.
20217 (all-subdirs): Remove nss.
20218 * sysdeps/unix/inet/Subdirs: Add it here instead.
20219 * hesiod/Depend: New file.
20220
573c29b2
RM
20221 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20222 instead of calling alloca.
20223
b2e25af0
RM
20224 * io/lseek.c (__lseek): Rename to __libc_lseek.
20225 Define __lseek as an alias.
20226
eab55bfb
RM
20227 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20228
9a0d1941
CD
202292013-02-04 Carlos O'Donell <carlos@redhat.com>
20230
20231 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20232 else clause and remove check for non-standard endianness.
20233
b83bbec4
DM
202342013-02-04 David S. Miller <davem@davemloft.net>
20235
20236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20237
6277fdab
JM
202382013-02-04 Joseph Myers <joseph@codesourcery.com>
20239
20240 [BZ #13550]
20241 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20242 (__ubp_memchr): Remove prototype.
20243 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20244 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20245 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20246 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20247 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20248 Remove alias.
20249 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20250 (__ubp_memchr): Likewise.
20251 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20252 (__ubp_memchr): Likewise.
20253 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20254 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20255 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20256 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20257 CHECK_STRING.
20258 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20259 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20260 (__getcwd): Do not use CHECK_STRING.
20261 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20262 <bp-checks.h>.
20263 (__real_chown): Do not use CHECK_STRING.
20264 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20265 <bp-checks.h>.
20266 (fchownat): Do not use CHECK_STRING.
20267 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20268 CHECK_STRING.
20269 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20270 <bp-checks.h>.
20271 (__lchown): Do not use CHECK_STRING.
20272 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20273 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20274 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20275 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20277 include <bp-checks.h>.
20278 (truncate64): Do not use CHECK_STRING.
20279 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20280 <bp-checks.h>.
20281 (__real_chown): Do not use CHECK_STRING.
20282 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20283 <bp-checks.h>.
20284 (__lchown): Do not use CHECK_STRING.
20285 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20286 <bp-checks.h>.
20287 (__chown): Do not use CHECK_STRING.
20288 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20289 <bp-checks.h>.
20290 (truncate64): Do not use CHECK_STRING.
20291 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20292 Likewise.
20293 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20294 (__xmknod): Do not use CHECK_STRING.
20295 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20296 <bp-checks.h>.
20297 (__xmknodat): Do not use CHECK_STRING.
20298 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20299 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20300
903ae060
AS
203012013-02-04 Andreas Schwab <schwab@suse.de>
20302
20303 [BZ #14142]
20304 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20305 * include/netdb.h: Likewise for h_errno.
20306 * elf/tst-stackguard1.c: Include <tls.h>.
20307
542f9466
JK
203082013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20309
20310 * elf/link.h (struct link_map): Extend the l_addr comment.
20311 * include/link.h (struct link_map): Likewise.
20312
e782a927
JM
203132013-02-01 Joseph Myers <joseph@codesourcery.com>
20314
20315 [BZ #13550]
20316 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20317 (BOUNDED_1): Remove macro.
20318 * debug/backtrace.c: Don't include <bp-checks.h>.
20319 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20320 (__backtrace): Likewise.
20321 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20322 <bp-checks.h>.
20323 (__backtrace): Don't use BOUNDED_1.
20324 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20325 <bp-checks.h>.
20326 (__backtrace): Don't use BOUNDED_1.
20327 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20328 (__backtrace): Don't use BOUNDED_1.
20329 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20330 (shmat): Don't use BOUNDED_N.
20331
8cf28c5e
JM
203322013-01-31 Joseph Myers <joseph@codesourcery.com>
20333
3a7ac8a0
JM
20334 [BZ #13550]
20335 * sysdeps/generic/bp-start.h: Remove file.
20336 * csu/libc-start.c: Don't include <bp-start.h>.
20337 (LIBC_START_MAIN): Set up __environ directly instead of using
20338 INIT_ARGV_and_ENVIRON.
20339 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20340 <bp-start.h>.
20341
f3499f95
JM
20342 [BZ #13550]
20343 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20344 definitions.
20345 (CHECK_FCNTL): Likewise.
20346 (CHECK_N_PAGES): Likewise.
20347
32a45bea
JM
20348 [BZ #13550]
20349 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20350 definitions.
20351 (CHECK_SIGSET_NULL_OK): Likewise.
20352 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20353 <bp-checks.h>.
20354 (sigpending): Don't use CHECK_SIGSET.
20355 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20356 <bp-checks.h>.
20357 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20358 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20359 <bp-checks.h>.
20360 (do_sigsuspend): Don't use CHECK_SIGSET.
20361 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20362 use CHECK_SIGSET.
20363 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20364 (do_sigwait): Don't use CHECK_SIGSET.
20365 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20366 use CHECK_SIGSET.
20367 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20368 include <bp-checks.h>.
20369 (sigpending): Don't use CHECK_SIGSET.
20370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20371 include <bp-checks.h>.
20372 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20373 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20374 <bp-checks.h>.
20375 (sigpending): Don't use CHECK_SIGSET.
20376 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20377 <bp-checks.h>.
20378 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20379
2e8a5c8c
JM
20380 [BZ #13550]
20381 * sysdeps/generic/bp-semctl.h: Remove file.
20382 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20383 <bp-checks.h> and <bp-semctl.h>.
20384 (__old_semctl): Don't use CHECK_SEMCTL.
20385 (__new_semctl): Likewise.
20386 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20387 and <bp-semctl.h>.
20388 (__old_semctl): Don't use CHECK_SEMCTL.
20389 (__new_semctl): Likewise.
20390 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20391 <bp-checks.h> and <bp-semctl.h>.
20392 (__old_semctl): Don't use CHECK_SEMCTL.
20393 (__new_semctl): Likewise.
20394 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20395 <bp-checks.h> and <bp-semctl.h>.
20396 (semctl): Don't use CHECK_SEMCTL.
20397
c2d54929
JM
20398 [BZ #13550]
20399 * Makerules (elide-bp-thunks): Remove variable.
20400 (elide-routines.oS): Don't use $(elide-bp-thunks).
20401 (elide-routines.os): Likewise.
20402 (elide-routines.o): Likewise.
20403 (elide-routines.op): Likewise.
20404 (elide-routines.og): Likewise.
20405 (objects): Don't use $(bp-thunks).
20406 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20407 include.
20408 (common-generated): Do not add s-proto-bp.d.
20409 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20410 (int): Likewise.
20411 (typ): Likewise.
20412 Do not generate makefile rules for bounded-pointer thunks.
20413 * sysdeps/generic/bp-thunks.h: Remove file.
20414 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20415 * sysdeps/unix/s-proto-bp.S: Likewise.
20416
8cf28c5e
JM
20417 [BZ #15062]
20418 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20419 parts of result separately when argument is not close to line from
20420 -i to i and one part of argument is small.
20421 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20422 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20423 * math/libm-test.inc (cacos_test): Add more tests.
20424 (casin_test): Likewise.
20425 (casinh_test): Likewise.
20426 * sysdeps/i386/fpu/libm-test-ulps: Update.
20427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20428
c4e33b8d
DM
204292013-01-31 David S. Miller <davem@davemloft.net>
20430
20431 * po/de.po: Update from translation team.
20432
3b60b421
MK
204332013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20434
20435 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20436
bb931195
TS
204372013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20438
b5a5da23
TS
20439 * configure.in (_AC_PROG_CC_C89): New definition.
20440 * configure: Regenerate.
20441
bb931195
TS
20442 * configure.in (AC_PROG_CPP): New definition.
20443 * configure: Regenerate.
20444
8c53a12c
JM
204452013-01-23 Joseph Myers <joseph@codesourcery.com>
20446
20447 * debug/tst-backtrace.h: New file.
20448 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20449 (ret): Remove variable.
20450 (x): Likewise.
20451 (FAIL): Remove macro.
20452 (NO_INLINE): Likewise.
20453 (fn1): Use match function instead of strstr.
20454 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20455 (ret): Remove variable.
20456 (x): Likewise.
20457 (FAIL): Remove macro.
20458 (NO_INLINE): Likewise.
20459 (fn): Use match function instead of strstr.
20460 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20461 (ret): Remove variable.
20462 (x): Likewise.
20463 (FAIL): Remove macro.
20464 (NO_INLINE): Likewise.
20465 (handle_signal): Use match function instead of strstr.
20466 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20467 (ret): Remove variable.
20468 (x): Likewise.
20469 (FAIL): Remove macro.
20470 (NO_INLINE): Likewise.
20471 (handle_signal): Use match function instead of strstr.
20472
4858fa2a
RM
204732013-01-23 Roland McGrath <roland@hack.frob.com>
20474
20475 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20476
bae8e7f5
DM
204772013-01-23 David S. Miller <davem@davemloft.net>
20478
20479 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20480 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20481 argument of CAS if possible.
20482 * sysdeps/sparc/sparc64/bits/atomic.h
20483 (__arch_compare_and_exchange_val_32_acq): Likewise.
20484 (__arch_compare_and_exchange_val_64_acq): Likewise.
20485
9cbbc4ae
PT
204862013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20487
20488 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20489 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20490 Include <limits.h>.
67b3f58c 20491 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20492
5655a0b5
AC
204932013-01-23 Adam Conrad <adconrad@0c3.net>
20494
20495 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20496 (LDFLAGS-tst-array5): Likewise.
20497
052aff95
JM
204982013-01-23 Joseph Myers <joseph@codesourcery.com>
20499
20500 [BZ #15036]
20501 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20502 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20503 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20504 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20505
7c1e01aa
DM
205062013-01-21 David S. Miller <davem@davemloft.net>
20507
20508 * sysdeps/sparc/backtrace.c: New file.
20509 * sysdeps/sparc/sparc32/backtrace.h: New file.
20510 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20511 * sysdeps/sparc/sparc64/backtrace.h: New file.
20512 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20513 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20514 -funwind-tables.
20515
ab087e0a
AS
205162013-01-21 Andreas Schwab <schwab@suse.de>
20517
20518 [BZ #15020]
20519 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20520 closed its stdout.
20521
ed689c2f
AS
205222013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20523
20524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20525 "mpa2.h".
20526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20527
31d470ac
JM
205282013-01-18 Joseph Myers <joseph@codesourcery.com>
20529 Mark Mitchell <mark@codesourcery.com>
20530 Tom de Vries <tom@codesourcery.com>
20531 Paul Pluzhnikov <ppluzhnikov@google.com>
20532
20533 * debug/tst-backtrace2.c: New file.
20534 * debug/tst-backtrace3.c: Likewise.
20535 * debug/tst-backtrace4.c: Likewise.
20536 * debug/tst-backtrace5.c: Likewise.
20537 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20538 (CFLAGS-tst-backtrace3.c): Likewise.
20539 (CFLAGS-tst-backtrace4.c): Likewise.
20540 (CFLAGS-tst-backtrace5.c): Likewise.
20541 (LDFLAGS-tst-backtrace2): Likewise.
20542 (LDFLAGS-tst-backtrace3): Likewise.
20543 (LDFLAGS-tst-backtrace4): Likewise.
20544 (LDFLAGS-tst-backtrace5): Likewise.
20545 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20546 tst-backtrace4 and tst-backtrace5.
20547
90567f30 205482013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20549 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20550
20551 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20552 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20554 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20556 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20557 "+r" and remove output regs list as redundant. Add explicit inline
20558 asm to specify register of return val to work around compiler codegen
20559 bug. Remove (int) cast on return value. Add return type parameter to
20560 use in macro so that this macro does not truncate return value for
20561 64-bit values.
20562 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20563 pass to INTERNAL_VSYSCALL_NCS.
20564 (INLINE_VSYSCALL): Add 'long int' as return type to
20565 INTERNAL_VSYSCALL_NCS macro invocation.
20566 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20567 INTERNAL_VSYSCALL_NCS macro invocation.
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20569
d3b9ea61
SP
205702013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20571
0b57daeb
SP
20572 [BZ #14496]
20573 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20574 Fix application of SIMD FP exception mask.
20575
caa99d06
SP
20576 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20577 mp_no from a power of two.
20578 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20579 __mpexp_twomm1. Use __pow_mp.
20580
d3b9ea61
SP
20581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20582 multiplication.
20583
1dbaee3c
DM
205842013-01-17 David S. Miller <davem@davemloft.net>
20585
20586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20587
728d7b43
JM
205882013-01-17 Joseph Myers <joseph@codesourcery.com>
20589
20590 [BZ #15023]
20591 * include/complex.h: Condition contents on [!_COMPLEX_H].
20592 (__kernel_casinhf): New prototype.
20593 (__kernel_casinh): Likewise.
20594 (__kernel_casinhl): Likewise.
20595 * math/Makefile (libm_calls): Add k_casinh.
20596 * math/k_casinh.c: New file.
20597 * math/k_casinhf.c: Likewise.
20598 * math/k_casinhl.c: Likewise.
20599 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20600 finite nonzero arguments.
20601 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20602 finite nonzero arguments.
20603 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20604 finite nonzero arguments.
20605 * math/s_casinh.c: Do not include <float.h>.
20606 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20607 * math/s_casinhf.c: Do not include <float.h>.
20608 (__casinhf): Move code for finite nonzero arguments to
20609 k_casinhf.c.
20610 * math/s_casinhl.c: Do not include <float.h>.
20611 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20612 redefine.
20613 (__casinhl): Move code for finite nonzero arguments to
20614 k_casinhl.c.
20615 * math/libm-test.inc (cacos_test): Add more tests.
20616 * sysdeps/i386/fpu/libm-test-ulps: Update.
20617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20618
2a26ef3a
PT
206192013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20620
20621 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20622 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20623 [!HAVE_MREMAP]: Remove [defined linux] case.
20624 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20625
a897655d
SP
206262013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20627
20628 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20629
881ebe89 206302013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20631
20632 * elf/elf.h (R_386_SIZE32): New relocation.
20633 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20634 R_386_SIZE32.
20635 (elf_machine_rela): Likewise.
20636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20637 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20638
59981e9b
JM
206392013-01-17 Joseph Myers <joseph@codesourcery.com>
20640
20641 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20642 (FP_FAST_FMA): Do not define.
20643 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20644 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20645 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20646 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20647 !_SOFT_FLOAT]: Likewise.
20648 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20650 value.
20651 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20652 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20653 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20654 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20655 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20656 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20657 file.
20658
cfa8054f
AS
206592013-01-16 Andreas Schwab <schwab@suse.de>
20660
20661 [BZ #14327]
20662 * include/stdlib.h (__mktemp): Add declaration.
20663 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20664 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20665
dd930cc5
SP
206662013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20667
881ebe89
SP
20668 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20669 definitions.
20670 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20671 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20672 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20673 definitions here.
20674 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20675 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20676 definitions.
20677 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20678 and ONE.
20679 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20680 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20681 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20682 definitions.
20683 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20684 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20685 definitions.
20686 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20687
dd930cc5
SP
20688 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20689
c19a9f89
DM
206902013-01-15 David S. Miller <davem@davemloft.net>
20691
1aa61767
DM
20692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20693 trunc{,f} to libm-sysdep_routes.
20694 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20696 file.
20697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20699 file.
20700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20701 file.
20702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20704 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20705 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20706 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20707 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20708 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20709 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20710
c42d5e98
DM
20711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20712 nearbyint{,f} to libm-sysdep_routes.
20713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20715 New file.
20716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20717 file.
20718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20719 New file.
20720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20721 file.
20722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20724 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20725 file.
20726 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20728 file.
20729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20730 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20731 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20732
c19a9f89
DM
20733 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20734 libc_feholdexcept and libc_fesetenv.
20735
357679d2
MF
207362013-01-15 Mike Frysinger <vapier@gentoo.org>
20737
20738 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20739
65a82e3d
DM
207402013-01-14 David S. Miller <davem@davemloft.net>
20741
8b954ab9
DM
20742 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20743 (SPARC_ASM_VIS2_IFUNC): Likewise.
20744 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20746 use of 'siam' instruction.
20747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20748 Likewise.
20749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20750 Likewise.
20751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20752 Likewise.
20753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20758 file.
20759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20760 file.
20761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20762 file.
20763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20764 file.
20765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20770 new VIS2 routines.
20771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20774 Likewise.
20775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20780 routines to libm-sysdep_routines.
20781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20782
65a82e3d
DM
20783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20784 fdim/fdimf to libm-sysdep_routines.
20785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20786 file.
20787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20789 file.
20790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20793 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20794 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20795 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20796 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20797
e34ab705
SP
207982013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20799
2a91b573
SP
20800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20801 to optimize copies.
20802
1066a534
SP
20803 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20806
e34ab705
SP
20807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20808 local variable MPTWO.
20809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20810 Likewise.
20811
aba5e596
MF
208122013-01-13 Mike Frysinger <vapier@gentoo.org>
20813
20814 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20815 GLOB_NOESCAPE.
20816
e557e9e5
MF
208172013-01-13 Mike Frysinger <vapier@gentoo.org>
20818
20819 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20820
0428cec9
MF
208212013-01-13 Mike Frysinger <vapier@gentoo.org>
20822
20823 * manual/pattern.texi (glob_t): Document gl_flags.
20824 (glob64_t): Likewise.
20825
8794a964
DM
208262013-01-11 David S. Miller <davem@davemloft.net>
20827
66438c3f
RM
20828 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20829 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20830 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20831 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20832 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20833 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20834 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20835 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20836 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20837 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20838 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20839 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20840 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20841
4ae4244d
DM
20842 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20843 sparc V9 rather than using V8 code.
20844 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20845 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20846
8794a964
DM
20847 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20848 Move to...
20849 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20850 Here.
20851
6270516e
RM
208522013-01-11 Roland McGrath <roland@hack.frob.com>
20853
20854 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20855 not in the main loop.
20856 * configure: Regenerated.
20857
6a57d931
JM
208582013-01-11 Joseph Myers <joseph@codesourcery.com>
20859
20860 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20861 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20862 to just #else.
20863 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20864 [!__GLIBC_HAVE_LONG_LONG] case.
20865 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20866 condition to just #else.
20867 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20868 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20869 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20870 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20871 unconditional.
20872 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20873 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20874 #elif condition to just #else.
20875 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20876 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20877 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20878 #elif condition to just #else.
20879
0e8529e9
SE
208802013-01-11 Steve Ellcey <sellcey@mips.com>
20881
20882 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20883 (EF_MIPS_ARCH_64): Fix value.
20884 (EF_MIPS_ARCH_32R2): New.
20885 (EF_MIPS_ARCH_64R2): New.
20886
740b3dbe
L
208872013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20888
20889 * Makeconfig (+link-pie-before-libc): New.
20890 (+link-pie-after-libc): Likewise.
20891 (+link-pie-tests): Likewise.
20892 (+link-pie): Rewritten.
20893 (link-before-libc): Remove $(config-LDFLAGS).
20894 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20895 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20896 (config-LDFLAGS): Renamed to ...
20897 (rtld-LDFLAGS): This.
20898 (rtld-tests-LDFLAGS): New macro.
20899 (link-libc-rpath-link): Likewise.
20900 (link-libc-tests-rpath-link): Likewise.
20901 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20902 (link-libc): Prepand $(link-libc-rpath-link).
20903 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20904 (test-program-prefix): New macro.
20905 (test-via-rtld-prefix): Likewise.
20906 (test-program-cmd): Likewise.
20907 (host-test-program-cmd): Likewise.
20908 * Makefile ($(common-objpfx)testrun.sh): Replace
20909 $(run-program-prefix) with $(test-program-prefix).
20910 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20911 $(rtld-LDFLAGS).
20912 ($(common-objpfx)shlib.lds): Likewise.
20913 (build-module-helper): Likewise.
20914 ($(common-objpfx)format.lds): Likewise.
20915 * Rules (binaries-pie-tests): New.
20916 (binaries-pie-notests): Likewise.
20917 (binaries-pie): Rewritten.
20918 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20919 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20920 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20921 (make-test-out): Replace $(host-built-program-cmd) with
20922 $(host-test-program-cmd).
20923 * config.make.in (build-hardcoded-path-in-tests): New variable.
20924 * configure.in (--enable-hardcoded-path-in-tests): New configure
20925 option.
20926 (hardcoded_path_in_tests): New AC_SUBST.
20927 * configure: Regenerated.
20928 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20929 $(built-program-cmd) with $(test-program-cmd).
20930 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20931 (test_program_cmd): This.
20932 * elf/Makefile ($(objpfx)order.out): Run test with
20933 $(test-program-prefix).
20934 ($(objpfx)order2.out): Likewise.
20935 ($(objpfx)tst-initorder.out): Likewise.
20936 ($(objpfx)tst-initorder2.out): Likewise.
20937 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20938 $(test-program-cmd).
20939 ($(objpfx)tst-array1-static.out): Likewise.
20940 ($(objpfx)tst-array2.out): Likewise.
20941 ($(objpfx)tst-array3.out): Likewise.
20942 ($(objpfx)tst-array4.out): Likewise.
20943 ($(objpfx)tst-array5.out): Likewise.
20944 ($(objpfx)tst-array5-static.out): Likewise.
20945 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20946 $(test-program-cmd).
20947 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20948 $(run-program-prefix) with $(test-program-prefix).
20949 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20950 (test_program_prefix): This.
20951 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20952 $(run-program-prefix) with $(test-program-prefix).
20953 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20954 (test_program_prefix): This.
20955 * iconvdata/tst-tables.sh: Likewise.
20956 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20957 $(run-program-prefix) with $(test-program-prefix).
20958 ($(objpfx)tst-translit.out): Likewise.
20959 ($(objpfx)tst-gettext2.out): Likewise.
20960 ($(objpfx)tst-gettext4.out): Likewise.
20961 ($(objpfx)tst-gettext6.out): Likewise.
20962 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20963 (test_program_prefix): This.
20964 * intl/tst-gettext2.sh: Likewise.
20965 * intl/tst-gettext4.sh Likewise.
20966 * intl/tst-gettext6.sh: Likewise.
20967 * intl/tst-translit.sh: Likewise.
20968 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20969 with $(test-program-cmd).
20970 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20971 $(run-program-prefix) with $(test-program-prefix).
20972 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20973 (test_program_prefix): This.
20974 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20975 $(run-program-prefix) with $(test-program-prefix).
20976 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20977 (test_program_prefix): This.
20978 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20979 * posix/Makefile ($(objpfx)globtest.out): Replace
20980 $(run-via-rtld-prefix) and $(test-wrapper) with
20981 $(test-program-prefix) and $(test-via-rtld-prefix).
20982 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20983 $(test-program-prefix).
20984 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20985 $(host-test-program-cmd).
20986 (tst-spawn-ARGS): Likewise.
20987 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20988 $(test-program-prefix).
20989 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20990 (test_via_rtld_prefix): This.
20991 (test_wrapper): Renamed to ...
20992 (test_program_prefix): This.
20993 (run_program_prefix): Replaced by test_program_prefix.
20994 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20995 (test_program_prefix): This.
20996 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20997 with $(host-test-program-cmd).
20998 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20999 $(run-program-prefix) with $(test-program-prefix).
21000 ($(objpfx)tst-printf.out): Likewise.
21001 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21002 $(test-program-cmd).
21003 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21004 (test_program_prefix): This.
21005 * stdio-common/tst-unbputc.sh: Likewise.
21006 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21007 $(run-program-prefix) with $(test-program-prefix).
21008 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21009 (test_program_prefix): This.
21010 * string/Makefile ($(objpfx)tst-svc.out): Replace
21011 $(built-program-cmd) with $(test-program-cmd).
21012
c6fe55cf
AJ
210132013-01-11 Andreas Jaeger <aj@suse.de>
21014
21015 [BZ #15003]
21016 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21017 value. Sync with Linux 3.7.
21018
9e6919c8
DM
210192013-01-10 David S. Miller <davem@davemloft.net>
21020
21021 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21022 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21023 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21024
1c9f1a02
RM
210252013-01-10 Roland McGrath <roland@hack.frob.com>
21026
21027 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21028 never set.
21029 * configure: Regenerated.
21030
b9de2dde
DM
210312013-01-10 David S. Miller <davem@davemloft.net>
21032
21033 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21034 sparc V9 rather than using V8 code.
21035 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21036 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21037
e7f68ef4
RM
210382013-01-10 Roland McGrath <roland@hack.frob.com>
21039
21040 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21041 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21042 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21043 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21044 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21045 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21046 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21047 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21048 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21049 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21050 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21051 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21052 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21053 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21054 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21055 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21056 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21057 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21058 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21059 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21060 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21061 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21062 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21063 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21064 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21065 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21066 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21067
5a47cc9c
DM
210682013-01-10 David S. Miller <davem@davemloft.net>
21069
21070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21071
4cf8f209
L
210722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21073
21074 * posix/Makefile (tests-static): New variable.
21075 (tests): Add $(tests-static).
21076 (tst-exec-static-ARGS): New variable.
21077 (tst-spawn-static-ARGS): Likewise.
21078 * posix/tst-exec-static.c: New file.
21079 * posix/tst-spawn-static.c: Likewise.
21080 * posix/tst-exec.c: Support run directly.
21081 * posix/tst-spawn.c: Likewise.
21082
fed0faa1
JM
210832013-01-10 Joseph Myers <joseph@codesourcery.com>
21084
828beb13
JM
21085 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21086 long.
21087 * math/bits/mathcalls.h (llrint): Likewise.
21088 (llround): Likewise.
21089 * stdlib/stdlib.h (struct drand48_data): Likewise.
21090 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21091 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21092 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21093 Likewise.
21094 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21095 Likewise.
21096 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21097 (elf_greg_t): Likewise.
21098 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21099 (__jmp_buf): Likewise.
21100 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21101 definitions.
21102 (llrint): Likewise, for all definitions.
21103 (llrintl): Likewise.
21104
fed0faa1
JM
21105 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21106 Remove [__GNUC__] condition.
21107 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21108 condition to just [__USE_ISOC99].
21109 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21110
1a20cb20
L
211112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21112
21113 [BZ #14200]
21114 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21115 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21116 defined.
21117 (_POSIX_V6_ILP32_OFF32): Likewise.
21118 (_XBS5_ILP32_OFF32): Likewise.
21119 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21120 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21121
751b85f7
SP
211222013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21123
7490eb81
SP
21124 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21125
751b85f7
SP
21126 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21127 doubles __mpexp_twomm1. Adjust usage.
21128 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21129 Remove.
21130
988197f0
AS
211312013-01-10 Andreas Schwab <schwab@suse.de>
21132
21133 [BZ #14964]
21134 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21135 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21136
e83d7298
DM
211372013-01-09 David S. Miller <davem@davemloft.net>
21138
034ed64b 21139 [BZ #15003]
57f41c40
AS
21140 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21141 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21142 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21143 (TCP_FASTOPEN): Define.
e83d7298
DM
21144 (tcp_repair_opt): New structure.
21145 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21146 enum values.
57f41c40
AS
21147 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21148 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21149 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21150 (tcp_cookie_transactions): New structure.
21151
d5e0b9bd
AB
211522013-01-09 Anton Blanchard <anton@samba.org>
21153
21154 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21155 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21156 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21157 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21158
0c07e3ea
JM
211592013-01-09 Joseph Myers <joseph@codesourcery.com>
21160
21161 * include/features.h (__USE_ANSI): Remove.
21162
232f7002
RM
211632013-01-09 Roland McGrath <roland@hack.frob.com>
21164
ad98e30c
RM
21165 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21166
232f7002
RM
21167 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21168
950c99ca
SP
211692013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21170
b5792741
SP
21171 * sysdeps/s390/fpu/libm-test-ulps: Update.
21172
47cf2278
SP
21173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21174
950c99ca
SP
21175 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21176 (__acr): Likewise.
21177 (__cpy): Likewise.
21178 (norm): Likewise.
21179 (denorm): Likewise.
21180 (__mp_dbl): Likewise.
21181 (__dbl_mp): Likewise.
21182 (add_magnitudes): Likewise.
21183 (sub_magnitudes): Likewise.
21184 (__add): Likewise.
21185 (__sub): Likewise.
21186 (__mul): Likewise.
21187 (__inv): Likewise.
21188 (__dvd): Likewise.
21189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21190 (__acr): Likewise.
21191 (__cpy): Likewise.
21192 (norm): Likewise.
21193 (denorm): Likewise.
21194 (__mp_dbl): Likewise.
21195 (__dbl_mp): Likewise.
21196 (add_magnitudes): Likewise.
21197 (sub_magnitudes): Likewise.
21198 (__add): Likewise.
21199 (__sub): Likewise.
21200 (__mul): Likewise.
21201 (__inv): Likewise.
21202 (__dvd): Likewise.
21203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21204 (__acr): Likewise.
21205 (__cpy): Likewise.
21206 (norm): Likewise.
21207 (denorm): Likewise.
21208 (__mp_dbl): Likewise.
21209 (__dbl_mp): Likewise.
21210 (add_magnitudes): Likewise.
21211 (sub_magnitudes): Likewise.
21212 (__add): Likewise.
21213 (__sub): Likewise.
21214 (__mul): Likewise.
21215 (__inv): Likewise.
21216 (__dvd): Likewise.
21217
eede9df9
JM
212182013-01-08 Joseph Myers <joseph@codesourcery.com>
21219
21220 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21221 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21222 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21223 2 && __USE_EXTERN_INLINES]: Likewise.
21224
c40ea3d9
AJ
212252013-01-08 Andreas Jaeger <aj@suse.de>
21226
21227 [BZ# 14985]
21228 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21229 Remove.
21230 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21231 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21232
2ccdea26
AB
212332013-01-07 Anton Blanchard <anton@samba.org>
21234
21235 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21236 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21237 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21238 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21239 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21240 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21241 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21242 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21244 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21245 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21246 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21247 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21248 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21249 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21250 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21251 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21252 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21253 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21254 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21255 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21256 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21257 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21258 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21259 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21260 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21261 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21262 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21263 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21264 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21265 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21267 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21268 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21269 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21270 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21271 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21272 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21273 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21274 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21275 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21277 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21278
a9708fed
JM
212792013-01-07 Joseph Myers <joseph@codesourcery.com>
21280
375607b9
JM
21281 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21282 (__MALLOC_PMT): Likewise.
21283 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21284 [__GNUC__], only on [_LIBC].
21285 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21286 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21287 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21288 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21289 forward declaration.
21290 (realloc_hook_ini): Likewise.
21291 (memalign_hook_ini): Likewise.
21292 (__libc_memalign): Do not use __MALLOC_PMT in variable
21293 declaration.
21294 (__libc_valloc): Likewise.
21295 (__libc_pvalloc): Likewise.
21296 (__libc_calloc): Likewise.
21297 (__posix_memalign): Likewise.
21298
a9708fed
JM
21299 [BZ #14996]
21300 * math/s_casinh.c: Include <float.h>.
21301 (__casinh): Do not do computation with squaring and square root
21302 for large arguments.
21303 * math/s_casinhf.c: Include <float.h>.
21304 (__casinhf): Do not do computation with squaring and square root
21305 for large arguments.
21306 * math/s_casinhl.c: Include <float.h>.
21307 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21308 (__casinhl): Do not do computation with squaring and square root
21309 for large arguments.
21310 * math/libm-test.inc (casin_test): Add more tests.
21311 (casinh_test): Likewise.
21312 * sysdeps/i386/fpu/libm-test-ulps: Update.
21313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21314
afec409a
L
213152013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21316
21317 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21318 (__x86_64_raw_data_cache_size): Likewise.
21319 (__x86_64_data_cache_size_half): Likewise.
21320 (__x86_64_raw_data_cache_size_half): Likewise.
21321 (__x86_64_shared_cache_size): Likewise.
21322 (__x86_64_raw_shared_cache_size): Likewise.
21323 (__x86_64_shared_cache_size_half): Likewise.
21324 (__x86_64_raw_shared_cache_size_half): Likewise.
21325 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21326 to ...
21327 (__x86_data_cache_size): This.
21328 (__x86_64_raw_data_cache_size): Renamed to ...
21329 (__x86_raw_data_cache_size): This.
21330 (__x86_64_data_cache_size_half): Renamed to ...
21331 (__x86_data_cache_size_half): This.
21332 (__x86_64_raw_data_cache_size_half): Renamed to ...
21333 (__x86_raw_data_cache_size_half): This.
21334 (__x86_64_shared_cache_size): Renamed to ...
21335 (__x86_shared_cache_size): This.
21336 (__x86_64_raw_shared_cache_size): Renamed to ...
21337 (__x86_raw_shared_cache_size): This.
21338 (__x86_64_shared_cache_size_half): Renamed to ...
21339 (__x86_shared_cache_size_half): This.
21340 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21341 (__x86_raw_shared_cache_size_half): This.
21342 * sysdeps/x86_64/memcpy.S: Updated.
21343 * sysdeps/x86_64/memset.S: Likewise.
21344 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21345 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21346 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21347
0b3986d0
DM
213482013-01-04 David S. Miller <davem@davemloft.net>
21349
21350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21351
e47686e9
AS
213522013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21353
d643bac1
AS
21354 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21355 1 to avoid redefinition warning.
21356 (__USE_GNU): Don't define.
21357 (init_signaling_nan): Protoize.
21358
e47686e9
AS
21359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21360
b18decba
SP
213612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21362
fffb407f
SP
21363 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21365 (__cpymn): Likewise.
21366 (norm): Remove commented code.
21367 (denorm): Likewise.
21368 (__mp_dbl): Likewise.
21369 (__inv): Likewise.
21370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21371 (__cpymn): Likewise.
21372 (norm): Remove commented code.
21373 (denorm): Likewise.
21374 (__mp_dbl): Likewise.
21375 (__inv): Likewise.
21376
b18decba
SP
21377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21378 mp_no value for 1.0 and 2.0.
21379 (norm): Use RADIXI instead of radixi.d.
21380 (denorm): Likewise.
21381 (__mul): Use 0.0 instead of zero.d.
21382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21383 mp_no value for 1.0 and 2.0.
21384 (norm): Use RADIXI instead of radixi.d.
21385 (denorm): Likewise.
21386 (__mul): Use 0.0 instead of zero.d.
21387
cdc1c96f
JM
213882013-01-04 Joseph Myers <joseph@codesourcery.com>
21389
21390 [BZ #14994]
21391 * math/s_casinh.c (__casinh): Reduce finite argument to first
21392 quadrant then set signs of results at the end.
21393 * math/s_casinhf.c (__casinhf): Likewise.
21394 * math/s_casinhl.c (__casinhl): Likewise.
21395 * math/libm-test.inc (casin_test): Add more tests.
21396 (casinh_test): Likewise.
21397 * sysdeps/i386/fpu/libm-test-ulps: Update.
21398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21399
302913e1
SP
214002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21401
6420d207
SP
21402 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21403
a9e48ab4
SP
21404 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21405
b7837264
SP
21406 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21407 declarations.
21408 (denorm): Likewise.
21409 (__mp_dbl): Likewise.
21410 (__inv): Likewise.
21411
f8af25d2
SP
21412 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21413 and adjust the header comment.
21414
302913e1
SP
21415 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21416 variable name from declaration.
21417
5d7dd1ca
L
214182013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21419
21420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21421 Initialize COMMON_CPUID_INDEX_7 element.
21422 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21423 (CPUID_RTM): Likewise.
21424 (HAS_RTM): Likewise.
21425 (COMMON_CPUID_INDEX_7): New enum.
21426
2f5f40f4
AS
214272013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21428
21429 [BZ #14981]
21430 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21431 size is zero, record memory as freed.
21432
4056f4a0
AJ
214332013-01-03 Andreas Jaeger <aj@suse.de>
21434
21435 * po/ia.po: Add new Interlingua translation.
21436
ab15736f 214372012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21438
21439 * locale/programs/localedef.c: Fix description of '--posix' flag.
21440
568035b7
JM
214412013-01-02 Joseph Myers <joseph@codesourcery.com>
21442
e6898b8d
JM
21443 * NEWS: Update dates in second copyright notice.
21444 * README: Update copyright dates in example.
21445 * manual/libc.texinfo: Update copyright dates.
21446 * scripts/test-installation.pl: Update copyright date in --version
21447 output.
21448
0e2f9562
JM
21449 * hurd/ctty-input.c: Fix copyright notice formatting.
21450 * hurd/ctty-output.c: Likewise.
21451 * hurd/dtable.c: Likewise.
21452 * hurd/hurd-raise.c: Likewise.
21453 * hurd/hurdprio.c: Likewise.
21454 * hurd/msgportdemux.c: Likewise.
21455 * misc/sys/file.h: Likewise.
21456 * misc/sys/ioctl.h: Likewise.
21457 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21458 * sysdeps/mach/hurd/chdir.c: Likewise.
21459 * sysdeps/mach/hurd/fchdir.c: Likewise.
21460 * sysdeps/mach/hurd/rename.c: Likewise.
21461 * sysdeps/mach/hurd/rmdir.c: Likewise.
21462 * sysdeps/mach/hurd/seekdir.c: Likewise.
21463 * sysdeps/mach/hurd/setsid.c: Likewise.
21464 * sysdeps/posix/wait3.c: Likewise.
21465
568035b7
JM
21466 * All files with FSF copyright notices: Update copyright dates
21467 using scripts/update-copyrights.
21468 * intl/plural.c: Regenerated.
21469 * locale/programs/charmap-kw.h: Likewise.
21470 * locale/programs/locfile-kw.h: Likewise.
21471
da08f647
SP
214722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21473
0f5477af
SP
21474 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21475 four values.
21476
44e0d4c2
SP
21477 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21478 calculation loop and add branch prediction.
21479
4d55b4e5
SP
21480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21481 check access beyond bounds of m1np.
21482
da08f647
SP
21483 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21484 MPTWO.
21485 (__inv): Remove local variable MPTWO to use the global
21486 constant.
21487 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21489 variable MPTWO.
21490 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21491 MP3HALFS static const.
21492
8e051029
DM
214932013-01-01 David S. Miller <davem@davemloft.net>
21494
21495 * po/ca.po: Update from translation team.
21496
f4cf5f2d
JM
214972013-01-01 Joseph Myers <joseph@codesourcery.com>
21498
21499 * scripts/update-copyrights: New file.
21500 * Makeconfig: Reformat copyright notice.
21501 * ctype/ctype.h: Likewise.
21502 * debug/swprintf_chk.c: Likewise.
21503 * elf/dl-cache.c: Likewise.
21504 * elf/dl-debug.c: Likewise.
21505 * elf/dl-object.c: Likewise.
21506 * grp/initgroups.c: Likewise.
21507 * hurd/Makefile: Likewise.
21508 * hurd/hurd/signal.h: Likewise.
21509 * hurd/hurdfault.c: Likewise.
21510 * hurd/hurdioctl.c: Likewise.
21511 * hurd/hurdlookup.c: Likewise.
21512 * hurd/intr-msg.c: Likewise.
21513 * iconv/gconv_open.c: Likewise.
21514 * libio/swprintf.c: Likewise.
21515 * locale/lc-ctype.c: Likewise.
21516 * locale/nl_langinfo.c: Likewise.
21517 * mach/Machrules: Likewise.
21518 * mach/Makefile: Likewise.
21519 * malloc/obstack.h: Likewise.
21520 * manual/Makefile: Likewise.
21521 * manual/tsort.awk: Likewise.
21522 * misc/bits/stab.def: Likewise.
21523 * nis/nis_print_group_entry.c: Likewise.
21524 * nis/nis_table.c: Likewise.
21525 * nis/nss_compat/compat-pwd.c: Likewise.
21526 * nis/nss_compat/compat-spwd.c: Likewise.
21527 * po/Makefile: Likewise.
21528 * posix/fnmatch.c: Likewise.
21529 * posix/regex.h: Likewise.
21530 * resolv/Makefile: Likewise.
21531 * resolv/nss_dns/dns-network.c: Likewise.
21532 * resolv/res_hconf.c: Likewise.
21533 * scripts/gen-sorted.awk: Likewise.
21534 * soft-fp/soft-fp.h: Likewise.
21535 * stdio-common/printf.h: Likewise.
21536 * stdlib/monetary.h: Likewise.
21537 * stdlib/random.c: Likewise.
21538 * stdlib/random_r.c: Likewise.
21539 * sysdeps/generic/Makefile: Likewise.
21540 * sysdeps/gnu/Makefile: Likewise.
21541 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21554 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21557 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21561 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21562 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21564 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21565 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21568 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21569 * sysdeps/mach/hurd/errnos.awk: Likewise.
21570 * sysdeps/mach/hurd/fork.c: Likewise.
21571 * sysdeps/mach/hurd/getcwd.c: Likewise.
21572 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21573 * sysdeps/mach/hurd/mmap.c: Likewise.
21574 * sysdeps/mach/hurd/utimes.c: Likewise.
21575 * sysdeps/mach/hurd/xmknod.c: Likewise.
21576 * sysdeps/posix/profil.c: Likewise.
21577 * sysdeps/posix/readdir_r.c: Likewise.
21578 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21579 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21580 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21581 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21583 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21584 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21585 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21587 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21588 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21589 * sysdeps/pthread/lio_listio.c: Likewise.
21590 * sysdeps/sparc/dl-procinfo.h: Likewise.
21591 * sysdeps/unix/i386/sysdep.S: Likewise.
21592 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21593 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21594 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21595 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21597 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21598 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21599 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21600 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21601 * sysdeps/wordsize-32/divdi3.c: Likewise.
21602 * time/sys/time.h: Likewise.
21603 * wcsmbs/Makefile: Likewise.
21604
0549fbba
DM
216052013-01-01 David S. Miller <davem@davemloft.net>
21606
a141f1a7
DM
21607 * po/fr.po: Update from translation team.
21608
0549fbba
DM
21609 * catgets/gencat.c: Update copyright year.
21610 * csu/version.c: Likewise.
21611 * debug/catchsegv.sh: Likewise.
21612 * debug/pcprofiledump.c: Likewise.
21613 * debug/xtrace.sh: Likewise.
21614 * elf/ldconfig.c: Likewise.
21615 * elf/ldd.bash.in: Likewise.
21616 * elf/pldd.c: Likewise.
21617 * elf/sotruss.ksh: Likewise.
21618 * elf/sprof.c: Likewise.
21619 * iconv/iconv_prog.c: Likewise.
21620 * iconv/iconvconfig.c: Likewise.
21621 * locale/programs/locale.c: Likewise.
21622 * locale/programs/localedef.c: Likewise.
21623 * login/programs/pt_chown.c: Likewise.
21624 * malloc/memusage.sh: Likewise.
21625 * malloc/memusagestat.c: Likewise.
21626 * malloc/mtrace.pl: Likewise.
21627 * nscd/nscd.c: Likewise.
21628 * nss/getent.c: Likewise.
21629 * nss/makedb.c: Likewise.
21630 * posix/getconf.c: Likewise.
21631
18ea052c
SP
216322012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21633
21634 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21635 numbers.
21636
9c89fca6
MF
216372012-12-30 Mike Frysinger <vapier@gentoo.org>
21638
21639 * math/bits/mathcalls.h (modf): Use __nonnull.
21640
085ec079
SP
216412012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21642
21643 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21644 (split): Use macro CN instead of the bare value.
21645 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21646 could be used.
21647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21648 instead of the bare value.
21649 (power1): Likewise.
21650
6d9f97e1
SP
216512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21652
d63f73be
SP
21653 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21654 __ATAN_TWOM.
21655 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21656
6d9f97e1
SP
21657 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21658 their values.
21659 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21660 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21661 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21662 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21663
4c4febf5
AJ
216642012-12-28 Andreas Jaeger <aj@suse.de>
21665
af5843ef
AJ
21666 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21667 values are from Linux 3.7.
21668
4c4febf5
AJ
21669 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21670 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21671
99136f82
SP
216722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21673
2f216c3c 21674 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21675 TRUE case.
21676
99136f82
SP
21677 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21678 (norm): Likewise.
21679 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21680 variables with preprocessor constants.
21681 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21682 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21683 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21684
7fffbdff
BH
216852012-12-27 Bruno Haible <bruno@clisp.org>
21686
21687 [BZ #14317]
21688 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21689 only if needed.
21690
b76eb5f0
SP
216912012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21692
31a7fe5c
SP
21693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21694 and use variable directly.
21695 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21696
b76eb5f0
SP
21697 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21698 MPONE.
21699 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21700 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21701 variable MPONE.
21702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21704 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21705 include directive. Remove local variable MPONE.
21706 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21707 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21708 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21709
2c8bfe7d
DM
217102012-12-25 David S. Miller <davem@davemloft.net>
21711
21712 * version.h (RELEASE): Set to "development".
21713 (VERSION): Set to "2.17.90".
21714 * NEWS: Add 2.18 section.
21715
147d03b0
DM
217162012-12-21 David S. Miller <davem@davemloft.net>
21717
21718 * po/hr.po: Update from translation team.
21719
a8ebb2b9
AK
217202012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21721
21722 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21723
95b4f1b6
SE
217242012-12-19 Steve Ellcey <sellcey@mips.com>
21725
b2d94007 21726 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21727
cedb2a90
MS
217282012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21729
21730 * manual/contrib.texi (Contributors): Spelling correction.
21731
bbf527d6
DM
217322012-12-15 David S. Miller <davem@davemloft.net>
21733
21734 * po/ru.po: Update from translation team.
21735
bc38c906
DM
217362012-12-13 David S. Miller <davem@davemloft.net>
21737
85429b1a
DM
21738 * NEWS: Mention IFUNC testsuite enhancements.
21739
d283e353
DM
21740 * po/pl.po: Update from translation team.
21741 * po/bg.po: Likewise.
21742
bc38c906
DM
21743 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21744 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21745
a181b0d7
DM
217462012-12-11 David S. Miller <davem@davemloft.net>
21747
4641d57e
DM
21748 * po/sv.po: Update from translation team.
21749
f7bc6495
DM
21750 * po/vi.po: Update from translation team.
21751
6fc9048f
DM
21752 * po/cs.po: Update from translation team.
21753
a181b0d7
DM
21754 * po/de.po: Update from translation team.
21755 * po/eo.po: Likewise.
21756 * po/nl.po: Likewise.
21757
f70bfe80
SP
217582012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21759
3c8b4190
SP
21760 [BZ #14246]
21761 * manual/argp.texi (Argp Helper Functions): Move node to follow
21762 Argp Parsing State.
21763
f70bfe80
SP
21764 [BZ #14872]
21765 * manual/conf.texi (Limits on File System Capacity): Mention if
21766 terminating null is included in the max size.
21767
188f0adf
AJ
217682012-12-10 Andreas Jaeger <aj@suse.de>
21769
21770 * po/cs.po: Update from translation team.
21771
56e7d3ad
SP
217722012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21773
21774 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21775 void pointer and cast to uintptr_t.
21776 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21777 path.
21778 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21779 * sysdeps/s390/s390-64/memset.S: Likewise.
21780
76f2d2ea 217812012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21782
21783 [BZ #14833]
21784 * menual/message.texi (Message Translation): Fix typos.
21785 (Helper programs for gettext): Likewise.
21786
67cbf9a2
AS
217872012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21788
21789 [BZ #14898]
21790 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21791 Change to -1.
21792
682d0e9a
DM
217932012-12-07 David S. Miller <davem@davemloft.net>
21794
21795 * po/libc.pot: Update.
21796
573cd484
RH
217972012-12-07 Richard Henderson <rth@redhat.com>
21798
7e9da188 21799 [BZ #10114]
573cd484
RH
21800 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21801 normal/normal case to before the switch.
21802 (_FP_DIV): Likewise.
21803
e933a943
MF
218042012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21805 Mike Frysinger <vapier@gentoo.org>
21806
21807 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21808 check for __NR_fadvise64_64.
21809
82123268
CM
218102012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21811
21812 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21813 0, not just to plain "0" as a statement.
21814 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21815 with cw.
21816
d9814526
JM
218172012-12-06 Joseph Myers <joseph@codesourcery.com>
21818
21819 * NEWS: Use sourceware.org in Bugzilla URL.
21820
7728c574
SP
218212012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21822
f16946dd
SP
21823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21824 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21825
5704bbcb
SP
21826 * stdio-common/tst-put-error.c (do_test): Add newline to the
21827 padded test to ensure flush.
21828
17aa0516
JL
218292012-12-05 Jeff Law <law@redhat.com>
21830
21831 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21832
363313b5
JM
218332012-12-05 Joseph Myers <joseph@codesourcery.com>
21834
effbd42a
JM
21835 * README: Don't refer to ports add-on as distributed separately.
21836 Mention AArch64 in list of systems supported in the ports add-on.
21837
87600365
JM
21838 * LICENSES: Add more non-FSF copyright and license notices.
21839
a0d7066a
JM
21840 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21841 ((unused)).
21842
66ca5a5b
JM
21843 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21844
363313b5
JM
21845 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21846 10000 as width of padded output.
21847
b37984ad
JM
218482012-12-04 Joseph Myers <joseph@codesourcery.com>
21849
9003570a
JM
21850 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21851
b37984ad
JM
21852 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21853 variable LX with __attribute__ ((unused)).
21854 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21855 Likewise.
21856 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21857 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21859 with __attribute__ ((unused)).
21860
c8df52ec
DM
218612012-12-04 David S. Miller <davem@abraco.davemloft.net>
21862
21863 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21864
b3b099af
JM
218652012-12-04 Joseph Myers <joseph@codesourcery.com>
21866
c33aa6e3
JM
21867 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21868 (CFLAGS-nldbl-acos.c): New variable.
21869 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21870 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21871 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21872 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21873 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21874 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21875 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21876 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21877 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21878 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21879 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21880 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21881 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21882 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21883 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21884 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21885 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21886 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21887 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21888 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21889 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21890 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21891 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21892 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21893 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21894 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21895 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21896 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21897 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21898 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21899 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21900 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21901 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21902 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21903 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21904 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21905 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21906 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21907 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21908 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21909 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21910 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21911 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21912 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21913 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21914 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21915 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21916 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21917 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21918 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21919 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21920 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21921 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21922 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21923 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21924 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21925 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21926 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21927 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21928 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21929 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21930 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21931 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21932 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21933 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21934 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21935 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21936 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21937 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21938 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21939 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21940 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21941 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21942 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21943 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21944 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21945 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21946 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21947 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21948 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21949 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21950 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21951 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21952 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21953 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21954 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21955 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21956 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21957 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21958 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21959 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21960 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21961 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21962 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21963 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21964 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21965 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21966
20f0018d
JM
21967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21968 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21969
b3b099af
JM
21970 [BZ #14914]
21971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21972 whole low double instead of just low 47 bits when splitting values
21973 into two parts.
21974
029264d1
AM
219752012-12-03 Allan McRae <allan@archlinux.org>
21976
21977 * manual/stdio.texi (Predefined Printf Handlers): Remove
21978 @hsep and @vsep usage.
21979
c9d6789e
MF
219802012-12-03 Mike Frysinger <vapier@gentoo.org>
21981
21982 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21983 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21984
4b7634a5
JL
219852012-12-03 Jeff Law <law@redhat.com>
21986
21987 * time/sys/time.h (settimeofday): Do not mark TV argument
21988 as __nonnull.
21989
eb6cbd24
MF
219902012-12-01 Mike Frysinger <vapier@gentoo.org>
21991
21992 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21993 when currently writing and seek to current position when not.
21994 * libio/Makefile (tests): Remove bug-fclose1.
21995 * libio/bug-fclose1.c: Delete.
21996
f638872a
JM
219972012-12-01 Joseph Myers <joseph@codesourcery.com>
21998
21999 * manual/arith.texi (feenableexcept): Fix typo.
22000 (fedisableexcept): Likewise.
22001
48085d14
RM
220022012-11-30 Roland McGrath <roland@hack.frob.com>
22003
22004 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22005 second, differently-typed declaration, rather than a cast.
22006
1a538b9f
SP
220072012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22008
22009 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22010 * include/rpc/svc.h: ... here.
22011
d07f2ff1 220122012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22013
22014 [BZ #13013]
22015 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22016 depending n and resplen2 to catch cases where answer
22017 equals answerp2.
22018
c93ec1f0
CD
220192012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22020
22021 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22022 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22023
37db69de
MF
220242012-11-29 Mike Frysinger <vapier@gentoo.org>
22025
22026 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22027
e10c4e4f
RM
220282012-11-29 Roland McGrath <roland@hack.frob.com>
22029
22030 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22031
2af1b328
JL
220322012-11-28 Jeff Law <law@redhat.com>
22033
22034 [BZ #13761]
22035 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22036 dataset_temporary. Track alloca usage into alloca_used.
22037 If dataset is large allocate and release it via malloc/free.
22038
111db5b1
FW
220392012-06-04 Florian Weimer <fweimer@redhat.com>
22040
f06cc227 22041 [BZ #14197]
111db5b1
FW
22042 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22043
dd694abd
DM
220442012-11-28 David S. Miller <davem@davemloft.net>
22045
22046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22047
9984dd01
JM
220482012-11-28 Joseph Myers <joseph@codesourcery.com>
22049
22050 [BZ #14803]
22051 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22052 of pi/2 rounded to nearest to 64 bits.
22053 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22054 nearest to 64 bits.
22055 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22056 bits.
22057
14bc93a9
JL
220582012-11-28 Jeff Law <law@redhat.com>
22059 Martin Osvald <mosvald@redhat.com>
22060
22061 [BZ #14889]
22062 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22063 * sunrpc/svc.c: Include time.h.
22064 (__svc_accept_failed): New function.
22065 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22066 any reason other than EINTR, call __svc_accept_failed.
22067 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22068 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22069
e3c6aa3a
AS
220702012-11-28 Andreas Schwab <schwab@suse.de>
22071
22072 * scripts/abilist.awk: Also handle indirect functions in .opd
22073 section.
22074
1bead169
JM
220752012-11-28 Joseph Myers <joseph@codesourcery.com>
22076
22077 [BZ #13881]
22078 * sysdeps/x86/fpu/powl_helper.c: New file.
22079 * sysdeps/x86/fpu/Makefile: Likewise.
22080 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22081 (p3): New object.
22082 (__ieee754_powl): Use __powl_helper for finite arguments except
22083 integer exponents below 8.
22084 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22085 (p3): New object.
22086 (__ieee754_powl): Use __powl_helper for finite arguments except
22087 integer exponents below 8.
22088 * math/libm-test.inc (pow_test): Add more tests and enable some
22089 previously disabled tests.
22090 * sysdeps/i386/fpu/libm-test-ulps: Update.
22091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22092
0817d63d
SP
220932012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22094 Carlos O'Donell <carlos_odonell@mentor.com>
22095
22096 * nss/makedb.c (is_prime): Assert that input is odd and greater
22097 than 4. Note that fact in a comment too.
22098 (next_prime): Add 4 to input.
22099
de2fd463
SP
221002012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22101
22102 [BZ #11741]
22103 * libio/Makefile (tests): Add test case tst-fwrite-error.
22104 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22105 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22106 * libio/tst-fwrite-error.c: New test case.
22107
c515fb51
L
221082012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22109
22110 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22111 before casting to void *.
22112 * include/libc-internal.h (__pointer_type): New macro.
22113 (__integer_if_pointer_type_sub): Likewise.
22114 (__integer_if_pointer_type): Likewise.
22115 (cast_to_integer): Likewise.
22116 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22117 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22118 before casting to atomic64_t.
22119 (atomic_exchange_acq): Likewise.
22120 (__arch_exchange_and_add_body): Likewise.
22121 (__arch_add_body): Likewise.
22122 (atomic_add_negative): Likewise.
22123 (atomic_add_zero): Likewise.
22124
4cf77aa9
JM
221252012-11-26 Joseph Myers <joseph@codesourcery.com>
22126
22127 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22128 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22129 (add_fdes): Likewise.
22130 (linear_search_fdes): Likewise.
22131 (binary_search_unencoded_fdes): Likewise.
22132
d260b3b4
AS
221332012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22134
22135 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22136
67060746
AC
221372012-11-24 Adam Conrad <adconrad@0c3.net>
22138
22139 * configure.in: Autodetect C++ header directories.
22140 * configure: Regenerated.
22141
800938a1
MF
221422012-11-23 Mike Frysinger <vapier@gentoo.org>
22143
22144 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22145
4e6e34e6
AS
221462012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22147
22148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22149
7c7feb47
JM
221502012-11-22 Joseph Myers <joseph@codesourcery.com>
22151
7184dcdf
JM
22152 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22153 LDBL_MANT_DIG == 106]: Disable some tests.
22154 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22155 Likewise.
22156 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22157 Likewise.
22158
0a42601f
JM
22159 [BZ #14871]
22160 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22161 input for small inputs. Return +/- pi/2 for large inputs.
22162 * math/libm-test.inc (atan_test): Add more tests.
22163
79c9b9fe
JM
22164 * sysdeps/generic/unwind-dw2-fde-glibc.c
22165 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22166 __attribute__ ((unused)).
22167
c60d3bf2
JM
22168 [BZ #14645]
22169 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22170 x * y if x and y are nonzero and z is zero.
22171
ef1e0867
JM
22172 [BZ #14811]
22173 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22174 nonzero exponents with absolute value below 0x1p-117 to +/-
22175 0x1p-117.
22176
1468ded3
JM
22177 [BZ #14869]
22178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22179 up arguments below 2**-450, not just those below 2**-500.
22180 * math/libm-test.inc (hypot_test): Add another test.
22181
8e27e3cc
JM
22182 [BZ #14868]
22183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22184 Return a+b for ratio over 2**120, not 2**60.
22185 * math/libm-test.inc (hypot_test): Add another test.
22186
c9c0279b
JM
22187 * math/libm-test.inc (clog_test): Use
22188 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22189 (clog10_test): Likewise.
22190
7c7feb47
JM
22191 [BZ #6778]
22192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22193
fff1530e
AS
221942012-11-22 Andreas Schwab <schwab@suse.de>
22195
22196 * sysdeps/i386/fpu/libm-test-ulps: Update.
22197
94558d30
PT
221982012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22199
22200 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22201 printf output with newline.
22202
7e1be741
L
222032012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22204
6bfea974
L
22205 [BZ #14865]
22206 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22207 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22208 -z nodlopen, -z initfirst and -z execstack support.
22209 * configure: Regenerated.
22210
7e1be741
L
22211 * elf/elf.h (DF_1_NODIRECT): New macro.
22212 (DF_1_IGNMULDEF): Likewise.
22213 (DF_1_NOKSYMS): Likewise.
22214 (DF_1_NOHDR): Likewise.
22215 (DF_1_EDITED): Likewise.
22216 (DF_1_NORELOC): Likewise.
22217 (DF_1_SYMINTPOSE): Likewise.
22218 (DF_1_GLOBAUDIT): Likewise.
22219 (DF_1_SINGLETON): Likewise.
22220 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22221 DT_1_SUPPORTED_MASK bits.
22222 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22223
105ce2ce
CD
222242012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22225
22226 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22227
123be9de
TS
222282012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22229
d072f3f7
TS
22230 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22231 macro.
22232
123be9de
TS
22233 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22234 (sendmmsg): Move declarations...
22235 * socket/sys/socket.h: ... here.
22236 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22237 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22238 include it from...
22239 * socket/recvmmsg.c: ... this new file.
22240 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22241 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22242 definition of __sendmmsg hidden.
22243 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22244 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22245 Move ENOSYS stub into and include it from...
22246 * socket/sendmmsg.c: ... this new file.
22247 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22248 (sysdep_routines): Move recvmmsg and sendmmsg...
22249 * socket/Makefile (routines): ... here.
22250 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22251 (GLIBC_PRIVATE): Add __sendmmsg.
22252 * include/sys/socket.h (__sendmmsg): Add declarations.
22253 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22254 sendmmsg.
22255
cf9a5d18
JM
222562012-11-20 Joseph Myers <joseph@codesourcery.com>
22257
22258 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22259 variable I1 with __attribute__ ((unused)).
22260 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22261
ecd4caf9
JM
222622012-11-19 Joseph Myers <joseph@codesourcery.com>
22263
be14d48f
JM
22264 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22265 DUMMY variables with __attribute__ ((unused)).
22266
ecd4caf9
JM
22267 * bits/byteswap.h: Include <bits/types.h>.
22268 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22269
986cab95
PT
222702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22271
22272 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22273 string_t. Do not manually set errno.
22274 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22275 length with __strnlen. Make sure to both set errno and return it on
22276 failure.
22277
6d33cc9d
DM
222782012-11-19 David S. Miller <davem@davemloft.net>
22279
22280 With help from Joseph Myers.
22281 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22282 very large arguments properly.
22283 * math/libm-test.inc (atan_test): New tests.
22284 (atan2_test): New tests.
22285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22287
ee663277
JM
222882012-11-19 Joseph Myers <joseph@codesourcery.com>
22289
877f2d8e
JM
22290 [BZ #14856]
22291 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22292 Define to 3.
22293
116fc08a
JM
22294 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22295 [POSIX] (EADDRNOTAVAIL): Likewise.
22296 [POSIX] (EAFNOSUPPORT): Likewise.
22297 [POSIX] (EALREADY): Likewise.
22298 [POSIX] (ECONNABORTED): Likewise.
22299 [POSIX] (ECONNREFUSED): Likewise.
22300 [POSIX] (ECONNRESET): Likewise.
22301 [POSIX] (EDESTADDRREQ): Likewise.
22302 [POSIX] (EDQUOT): Likewise.
22303 [POSIX] (EHOSTUNREACH): Likewise.
22304 [POSIX] (EIDRM): Likewise.
22305 [POSIX] (EISCONN): Likewise.
22306 [POSIX] (ELOOP): Likewise.
22307 [POSIX] (EMULTIHOP): Likewise.
22308 [POSIX] (ENETDOWN): Likewise.
22309 [POSIX] (ENETUNREACH): Likewise.
22310 [POSIX] (ENOBUFS): Likewise.
22311 [POSIX] (ENODATA): Likewise.
22312 [POSIX] (ENOLINK): Likewise.
22313 [POSIX] (ENOMSG): Likewise.
22314 [POSIX] (ENOPROTOOPT): Likewise.
22315 [POSIX] (ENOSR): Likewise.
22316 [POSIX] (ENOSTR): Likewise.
22317 [POSIX] (ENOTCONN): Likewise.
22318 [POSIX] (ENOTSOCK): Likewise.
22319 [POSIX] (EOPNOTSUPP): Likewise.
22320 [POSIX] (EOVERFLOW): Likewise.
22321 [POSIX] (EPROTO): Likewise.
22322 [POSIX] (EPROTONOSUPPORT): Likewise.
22323 [POSIX] (EPROTOTYPE): Likewise.
22324 [POSIX] (ESTALE): Likewise.
22325 [POSIX] (ETIME): Likewise.
22326 [POSIX] (ETXTBSY): Likewise.
22327 [POSIX] (EWOULDBLOCK): Likewise.
22328 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22329 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22330 [POSIX] (SEEK_CUR): Likewise.
22331 [POSIX] (SEEK_END): Likewise.
22332 [POSIX || UNIX98] (mode_t): Do not require.
22333 [POSIX] (off_t): Likewise.
22334 [POSIX] (pid_t): Likewise.
22335 [POSIX] (sys/stat.h): Do not allow header.
22336 [POSIX] (unistd.h): Likewise.
22337 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22338 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22339 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22340 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22341 require.
22342 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22343 sigevent): Specify elements.
22344 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22345 entry.
22346 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22347 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22348
a483863f
JM
22349 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22350 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22351 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22352 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22353 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22354 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22355 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22356 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22357 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22358 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22359 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22360 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22361 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22362 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22363 Likewise.
22364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22365 Likewise.
22366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22367 Likewise.
22368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22369 Likewise.
22370 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22371 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22372 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22373 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22374 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22375 Specify lower bound on value.
22376 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22377 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22378 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22379 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22380 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22381 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22382 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22383 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22384 value.
22385 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22386 as optional.
22387 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22388 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22389 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22391 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22392 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22393 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22394 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22395 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22396 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22397 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22398 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22399 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22400 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22401 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22402 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22403 entry.
22404 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22405 optional.
22406 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22407 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22408 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22409 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22410 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22411 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22412 Likewise.
22413 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22414 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22415 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22416 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22417 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22418 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22419 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22420 as optional.
22421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22422 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22423 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22424 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22425 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22426 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22427 specify as optional.
22428 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22429 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22430 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22431 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22432 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22433 [XPG3] (NL_LANGMAX): Likewise.
22434 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22435 [POSIX || XPG3] (NL_NMAX): Likewise.
22436 [POSIX || XPG3] (NL_SETMAX): Likewise.
22437 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22438 [XPG3] (NZERO): Likewise.
22439 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22440 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22441 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22442 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22443 (REG_ERANGE): Expect.
22444 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22445 optional-constant.
22446 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22447 Use (void) in prototype.
22448 [POSIX] (*_t): Allow.
22449 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22450 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22451 (WRDE_BADVAL): Expect.
22452
5ba924e3
JM
22453 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22454 expect.
22455 [XPG3 || XPG4] (O_RSYNC): Likewise.
22456 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22457 Likewise.
22458 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22459 [XPG3 || XPG4] (sigqueue): Likewise.
22460 [XPG3 || XPG4] (sigtimedwait): Likewise.
22461 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22462 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22463 [XPG3 || XPG4] (vsnprintf): Likewise.
22464 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22465 Likewise.
22466 [XPG3 || XPG4] (blksize_t): Likewise.
22467 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22468 Likewise.
22469 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22470 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22471 [XPG3 || XPG4] (struct itimerspec): Likewise.
22472 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22473 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22474 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22475 [XPG3 || XPG4] (clockid_t): Likewise.
22476 [XPG3 || XPG4] (timer_t): Likewise.
22477 [XPG3 || XPG4] (clock_getres): Likewise.
22478 [XPG3 || XPG4] (clock_gettime): Likewise.
22479 [XPG3 || XPG4] (clock_settime): Likewise.
22480 [XPG3 || XPG4] (nanosleep): Likewise.
22481 [XPG3 || XPG4] (timer_create): Likewise.
22482 [XPG3 || XPG4] (timer_delete): Likewise.
22483 [XPG3 || XPG4] (timer_gettime): Likewise.
22484 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22485 [XPG3 || XPG4] (timer_settime): Likewise.
22486 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22487 [XPG3 || XPG4] (getlogin_r): Likewise.
22488 [XPG3 || XPG4] (pread): Likewise.
22489 [XPG3 || XPG4] (pthread_atfork): Likewise.
22490 [XPG3 || XPG4] (pwrite): Likewise.
22491
ee663277
JM
22492 [BZ #14835]
22493 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22494 <bits/siginfo.h>.
22495
942caa16
PT
224962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22497
e19af380
PT
22498 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22499 finalizing MALLSTREAM.
22500
942caa16
PT
22501 * sysdeps/mach/hurd/syncfs.c: New file.
22502
cfde9b46
SP
225032012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22504
22505 [BZ #14719]
22506 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22507 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22508 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22509 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22510 (_nss_dns_gethostbyname4_r): Likewise.
22511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22512 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22513
f6da27e5
PH
225142012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22515
22516 [BZ #13763]
22517 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22518
6665d4a2
SM
225192012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22520
1f51ee92
SM
22521 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22522 * elf/cache.c (print_entry): Print ",AArch64" for
22523 FLAG_AARCH64_LIB64
22524
6665d4a2
SM
22525 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22526 * elf/cache.c (print_entry): Print ",hard-float" for
22527 FLAG_ARM_LIBHF.
22528
05b227bd
DM
225292012-11-18 David S. Miller <davem@davemloft.net>
22530
22531 With help from Joseph Myers.
22532 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22533 cutoff to 2**-13.
22534 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22535 cutoff to 2**-25.
22536 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22537 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22538 small.
22539 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22540 * math/libm-test.inc (y0_test): New tests.
22541 (y1_test): New tests.
22542 * sysdeps/i386/fpu/libm-test-ulps: Update.
22543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22545
786b0b67
AS
225462012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22547
22548 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22549 64-bit targets.
22550 * configure: Regenerated.
22551
8e18b86d
DM
225522012-11-17 David S. Miller <davem@davemloft.net>
22553
22554 [BZ #14811]
22555 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22556 nonzero exponents with absolute value below 0x1p-128 to +/-
22557 0x1p-128.
22558
531f1ae0
JM
225592012-11-17 Joseph Myers <joseph@codesourcery.com>
22560
12df29e2
JM
22561 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22562
150dc1a0
JM
22563 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22564
531f1ae0
JM
22565 * posix/getconf-speclist.c: New file.
22566 * posix/posix-envs.def: Likewise.
22567 * posix/confstr.c (START_ENV_GROUP): New macro.
22568 (END_ENV_GROUP): Likewise.
22569 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22570 (KNOWN_PRESENT_ENV_STRING): Likewise.
22571 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22572 (UNKNOWN_ENVIRONMENT): Likewise.
22573 (confstr): Include posix-envs.def instead of handling
22574 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22575 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22576 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22577 (END_ENV_GROUP): Likewise.
22578 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22579 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22580 (UNKNOWN_ENVIRONMENT): Likewise.
22581 (__sysconf): Include posix-envs.def instead of handling associated
22582 cases directly here.
22583 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22584 preprocessing getconf-speclist.c rather than running getconf or
22585 generating empty file.
22586
a93f9cbc
PT
225872012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22588
22589 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22590
d64d9f87
AL
225912012-11-16 Andrej Lajovic <natrij@gmail.com>
22592
22593 [BZ #14672]
22594 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22595
447885eb
DM
225962012-11-16 David S. Miller <davem@davemloft.net>
22597
22598 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22599 smaller than LDBL_EPSILON/2.0L, just return xm1.
22600
bcbf9830
L
226012012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22602
22603 * elf/tst-array1.c (init): Set constructor priority to 1000.
22604 (fini): Set destructor priority to 1000.
22605 * elf/tst-array2dep.c: Likewise.
22606
2b766585
SP
226072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22608
22609 [BZ #11741]
22610 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22611 (_IO_new_file_xsputn): Also return EOF if none of the input
22612 data was written when overflow failed.
22613 * libio/iopadn.c (_IO_padn): Likewise.
22614 * libio/iowpadn.c (_IO_wpadn): Likewise.
22615 * stdio-common/tst-put-error.c: Add copyright notice.
22616 (do_test): Add case for printing padded string.
22617 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22618 _IO_padn returned error.
22619 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22620 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22621 return EOF.
22622
b1848fde
SP
226232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22624
22625 * libio/libioP.h: Add comment note that the references to C++
22626 bits are now obsolete.
22627
2fd89785
MS
226282012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22629
22630 * math/libm-test.inc (check_complex): Use asprintf.
22631
e3ea5409
JM
226322012-11-14 Joseph Myers <joseph@codesourcery.com>
22633
22634 * debug/pcprofiledump.c (print_version): Update copyright year.
22635 * malloc/memusagestat.c (print_version): Likewise.
22636
2e64d265
L
226372012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22638
22639 [BZ #14831]
22640 * elf/Makefile (tests): Add tst-audit8.
22641 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22642 ($(objpfx)tst-audit8.out): New target.
22643 (tst-audit8-ENV): New variable.
22644 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22645 audit if l_reloc_result is NULL.
22646 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22647 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22648 * elf/tst-audit8.c: New file.
22649
c485e4d2
MS
226502012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22651
22652 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22653 * misc/Makefile (CFLAGS-select.c): Define.
22654 * posix/Makefile (CFLAGS-pause.c): Define.
22655
3a0d900a
DM
226562012-11-13 David S. Miller <davem@davemloft.net>
22657
22658 * crypt/Makefile: Move test targets after toplevel Rules
22659 inclusion. Grab any necessary sysdep routines when linking.
22660 * crypt/md5.c (md5_process_block): Remove define, we will always
22661 name it __md5_process_block.
22662 (md5_finish_ctx): Update md5_process_block call.
22663 (md5_stream): Likewise.
22664 (md5_process_bytes): Likewise.
22665 (md5_process_block): Rename to __md5_process_block and move to ...
22666 * crypt/md5-block.c: ... here.
22667 * crypt/sha256.c (sha256_process_block): Move to ...
22668 * crypt/sha256-block.c: ... here.
22669 * crypt/sha512.c (sha512_process_block): Move to ...
22670 * crypt/sha512-block.c: ... here.
22671 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22672 path.
22673 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22674 * sysdeps/sparc/sparc64/multiarch/Makefile
22675 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22676 crypt subdir.
22677 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22678 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22679 multiarch changes.
22680 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22681 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22682 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22683 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22684 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22685 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22686 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22687 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22688 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22689 file.
22690 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22691 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22692 file.
22693 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22694
8ca89318
JM
226952012-11-13 Joseph Myers <joseph@codesourcery.com>
22696
e27d476a
JM
22697 * timezone/tzselect.ksh: Update from tzcode git revision
22698 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22699 * timezone/zdump.c: Likewise.
22700 * timezone/zic.c: Likewise.
22701 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22702 in TZVERSION setting, not $(PKGVERSION).
22703 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22704 REPORT_BUGS_TO settings.
22705
8ca89318
JM
22706 [BZ #14838]
22707 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22708 macro.
22709
47594329
MS
227102012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22711
22712 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22713 detection to immediately after _FP_ROUND().
22714 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22715 bits are 0.
22716
640ac3f1
DM
227172012-11-11 David S. Miller <davem@davemloft.net>
22718
22719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22720 inttypes.h
22721 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22722 __close rather than their public counterparts.
22723
3d2577bb
JM
227242012-11-10 Joseph Myers <joseph@codesourcery.com>
22725
22726 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22727 file.
22728 [UNIX98] (sem_timedwait): Do not expect.
22729 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22730 [XPG4 || UNIX98] (sockatmark): Do not expect.
22731 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22732 (clock_getcpuclockid): Do not expect.
22733 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22734 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22735 Do not expect.
22736 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22737 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22738 [UNIX98] (vwscanf): Likewise.
22739 [UNIX98] (vswscanf): Likewise.
22740
fb1ae1ee
JM
227412012-11-09 Joseph Myers <joseph@codesourcery.com>
22742
9ec6f8bd
JM
22743 * timezone/version.h: Remove file.
22744 * timezone/README: Do not refer to version.h.
22745 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22746 $(objpfx)version.h.
22747 ($(objpfx)zdump.o): Likewise.
c3f81911 22748 ($(objpfx)version.h): New target.
9ec6f8bd 22749
0aa8f8a1
JM
22750 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22751 2012i.
22752 * timezone/README: Don't mention modification to tzselect.ksh.
22753 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22754 work on unmodified tzselect.ksh. Substitute version numbers in
22755 tzselect.ksh.
22756
4e87147f
JM
22757 * Makefile (format-me): Remove.
22758 (INSTALL): Adjust indentation. Use commands directly instead of
22759 using $(format-me).
22760
8b748aed
JM
22761 * aclocal.m4 (ACX_PKGVERSION): New macro.
22762 (ACX_BUGURL): Likewise.
22763 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22764 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22765 (REPORT_BUGS_TO): Likewise.
22766 * configure: Regenerated.
22767 * config.h.in (PKGVERSION): New macro.
22768 (REPORT_BUGS_TO): Likewise.
22769 * config.make.in (PKGVERSION): New variable.
22770 (PKGVERSION_TEXI): Likewise.
22771 (REPORT_BUGS_TO): Likewise.
22772 (REPORT_BUGS_TEXI): Likewise.
22773 * Makefile (format-me): Use -I$(common-objpfx)manual.
22774 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22775 ($(common-objpfx)manual/%): New target.
22776 (manual/%): Remove target.
22777 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22778 (print_version): Use PKGVERSION.
22779 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22780 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22781 and REPORT_BUGS_TO.
22782 ($(objpfx)xtrace): Likewise.
22783 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22784 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22785 (print_version): Use PKGVERSION.
22786 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22787 (do_version): Use PKGVERSION.
22788 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22789 REPORT_BUGS_TO.
22790 (common-ldd-rewrite): Likewise.
22791 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22792 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22793 (print_version): Use PKGVERSION.
22794 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22795 * elf/pldd.c (argp_program_bug_address): Remove variable.
22796 (more_help): New function.
22797 (argp): Use more_help.
22798 (print_version): Use PKGVERSION.
22799 * elf/sln.c (main): Use PKGVERSION.
22800 (usage): Use REPORT_BUGS_TO.
22801 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22802 (top level): Use PKGVERSION.
22803 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22804 (print_version): Use PKGVERSION.
22805 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22806 (print_version): Use PKGVERSION.
22807 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22808 (print_version): Use PKGVERSION.
22809 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22810 (print_version): Use PKGVERSION.
22811 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22812 (print_version): Use PKGVERSION.
22813 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22814 (print_version): Use PKGVERSION.
22815 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22816 and BUGURL.
22817 ($(objpfx)memusage): Likewise.
22818 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22819 (do_version): Use PKGVERSION.
22820 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22821 (print_version): Use PKGVERSION.
22822 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22823 ($PKGVERSION): New variable.
22824 ($REPORT_BUGS_TO): Likewise.
22825 (usage): Use $REPORT_BUGS_TO.
22826 (top level): Use $PKGVERSION.
22827 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22828 ($(objpfx)pkgvers.texi): New rule.
22829 ($(objpfx)stamp-pkgvers): Likewise.
22830 * manual/install.texi: Include pkgvers.texi.
22831 (--with-pkgversion): Document new configure option.
22832 (--with-bugurl): Likewise.
22833 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22834 than necessarily for this particular distribution. Use
22835 REPORT_BUGS_TO for where to report bugs.
22836 * INSTALL: Regenerated.
22837 * manual/libc.texinfo: Include pkgvers.texi.
22838 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22839 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22840 (print_version): Use PKGVERSION.
22841 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22842 (print_version): Use PKGVERSION.
22843 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22844 (print_version): Use PKGVERSION.
22845 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22846 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22847 macro.
22848 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22849 (print_version): Use PKGVERSION.
22850 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22851 (print_version): Use PKGVERSION.
22852 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22853 and PKGVERSION.
22854
92e4b6a9
JM
22855 * timezone/checktab.awk: Update from tzcode 2012i.
22856 * timezone/ialloc.c: Likewise.
22857 * timezone/private.h: Likewise.
22858 * timezone/scheck.c: Likewise.
22859 * timezone/tzfile.h: Likewise.
22860 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22861 (TZVERSION): Hardcode tzcode version number.
22862 * timezone/zdump.c: Update from tzcode 2012i.
22863 * timezone/zic.c: Likewise.
22864 * timezone/version.h: New file.
22865 * timezone/README: Describe version.h. Update upstream location.
22866
9bde902c
JM
22867 [BZ #14824]
22868 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22869 (mktemp): Enable declaration.
22870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22874 Likewise.
22875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22876 Likewise.
22877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22878 Likewise.
22879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22880 Likewise.
22881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22882 Likewise.
22883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22884 Likewise.
22885
fb1ae1ee
JM
22886 [BZ #14821]
22887 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22888 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22889 for copies of such integer values.
22890 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22891 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22892
2c1adbcb
AJ
228932012-11-09 Andreas Jaeger <aj@suse.de>
22894
22895 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22896 definitions and declarations that are provided by
22897 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22898
d0f8457e
AK
228992012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22900
3a235abb 22901 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22902 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22903 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22904 definition.
22905
57241e26
MS
229062012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22907
22908 * elf/elf.h: Update comment before AArch64 relocations.
22909
60e8270d
DM
229102012-11-07 David S. Miller <davem@davemloft.net>
22911
22912 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22913 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22914 (__start_context): Declare.
22915 (__makecontext_ret): Delete.
22916 (__makecontext): Hook up __start_context instead of
22917 __makecontext_ret.
22918 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22919 (sysdep_routines): Add __start_context when in stdlib.
22920
0fbb0fbc
JM
229212012-11-07 Joseph Myers <joseph@codesourcery.com>
22922
22923 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22924 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22925 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22926 hardcoded "nm".
22927 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22928 (READELF): New variable. Use it instead of hardcoded "readelf".
22929
eb48db7e
L
229302012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22931
22932 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22933 * sysdeps/x86/Makefile: Here.
22934 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22935 * sysdeps/x86/tst-xmmymm.sh: This.
22936
05bcf62a
JM
229372012-11-07 Joseph Myers <joseph@codesourcery.com>
22938
c4b6cf53
JM
22939 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22940 expectations.
22941 [UNIX98] (pthread_barrier_t): Do not expect.
22942 [UNIX98] (pthread_barrierattr_t): Likewise.
22943 [UNIX98] (pthread_spinlock_t): Likewise.
22944 [UNIX98] (pthread_barrier_destroy): Likewise.
22945 [UNIX98] (pthread_barrier_init): Likewise.
22946 [UNIX98] (pthread_barrier_wait): Likewise.
22947 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22948 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22949 [UNIX98] (pthread_barrierattr_init): Likewise.
22950 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22951 [UNIX98] (pthread_getcpuclockid): Likewise.
22952 [UNIX98] (pthread_mutex_timedlock): Likewise.
22953 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22954 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22955 [UNIX98] (pthread_sigmask): Likewise.
22956 [UNIX98] (pthread_spin_destroy): Likewise.
22957 [UNIX98] (pthread_spin_init): Likewise.
22958 [UNIX98] (pthread_spin_lock): Likewise.
22959 [UNIX98] (pthread_spin_trylock): Likewise.
22960 [UNIX98] (pthread_spin_unlock): Likewise.
22961 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22962 Do not expect.
22963 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22964 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22965 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22966 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22967 [XPG3 || XPG4] (pthread_key_t): Likewise.
22968 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22969 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22970 [XPG3 || XPG4] (pthread_once_t): Likewise.
22971 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22972 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22973 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22974 [XPG3 || XPG4] (pthread_t): Likewise.
22975
cbe6e120
JM
22976 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22977 not expect.
22978 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22979
1b126443
JM
22980 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22981 Change function return type to int.
22982
b961a573
JM
22983 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22984 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22985 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22986 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22987 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22988 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22989 [!POSIX] (posix_madvise): Likewise.
22990 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22991 && !UNIX98].
22992 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22993 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22994 (mode_t): Likewise.
22995 (posix_mem_offset): Likewise.
22996 (posix_typed_mem_get_info): Likewise.
22997 (posix_typed_mem_open): Likewise.
22998
9e188909
JM
22999 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23000 Change condition to [XOPEN2K8].
23001
05bcf62a
JM
23002 * conform/conformtest.pl: Preprocess allow-header data with -x c
23003 instead of from stdin.
23004 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23005 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23006 [C99-based standards] (cerfc): Likewise.
23007 [C99-based standards] (cexp2): Likewise.
23008 [C99-based standards] (cexpm1): Likewise.
23009 [C99-based standards] (clog10): Likewise.
23010 [C99-based standards] (clog1p): Likewise.
23011 [C99-based standards] (clog2): Likewise.
23012 [C99-based standards] (clgamma): Likewise.
23013 [C99-based standards] (ctgamma): Likewise.
23014 [C99-based standards] (cerff): Likewise.
23015 [C99-based standards] (cerfcf): Likewise.
23016 [C99-based standards] (cexp2f): Likewise.
23017 [C99-based standards] (cexpm1f): Likewise.
23018 [C99-based standards] (clog10f): Likewise.
23019 [C99-based standards] (clog1pf): Likewise.
23020 [C99-based standards] (clog2f): Likewise.
23021 [C99-based standards] (clgammaf): Likewise.
23022 [C99-based standards] (ctgammaf): Likewise.
23023 [C99-based standards] (cerfl): Likewise.
23024 [C99-based standards] (cerfcl): Likewise.
23025 [C99-based standards] (cexp2l): Likewise.
23026 [C99-based standards] (cexpm1l): Likewise.
23027 [C99-based standards] (clog10l): Likewise.
23028 [C99-based standards] (clog1pl): Likewise.
23029 [C99-based standards] (clog2l): Likewise.
23030 [C99-based standards] (clgammal): Likewise.
23031 [C99-based standards] (ctgammal): Likewise.
23032 * conform/data/inttypes.h-data [C99-based standards]: Include
23033 stdint.h-data. Remove all expectations for stdint.h contents.
23034 [C99-based standards] (PRI*): Do not allow.
23035 [C99-based standards] (SCN*): Likewise.
23036 [C99-based standards] (*_t): Likewise.
23037 [C99-based-standards] (PRId8): Expect macro.
23038 [C99-based-standards] (PRIi8): Likewise.
23039 [C99-based-standards] (PRIo8): Likewise.
23040 [C99-based-standards] (PRIu8): Likewise.
23041 [C99-based-standards] (PRIx8): Likewise.
23042 [C99-based-standards] (PRIX8): Likewise.
23043 [C99-based-standards] (SCNd8): Likewise.
23044 [C99-based-standards] (SCNi8): Likewise.
23045 [C99-based-standards] (SCNo8): Likewise.
23046 [C99-based-standards] (SCNu8): Likewise.
23047 [C99-based-standards] (SCNx8): Likewise.
23048 [C99-based-standards] (PRIdLEAST8): Likewise.
23049 [C99-based-standards] (PRIiLEAST8): Likewise.
23050 [C99-based-standards] (PRIoLEAST8): Likewise.
23051 [C99-based-standards] (PRIuLEAST8): Likewise.
23052 [C99-based-standards] (PRIxLEAST8): Likewise.
23053 [C99-based-standards] (PRIXLEAST8): Likewise.
23054 [C99-based-standards] (SCNdLEAST8): Likewise.
23055 [C99-based-standards] (SCNiLEAST8): Likewise.
23056 [C99-based-standards] (SCNoLEAST8): Likewise.
23057 [C99-based-standards] (SCNuLEAST8): Likewise.
23058 [C99-based-standards] (SCNxLEAST8): Likewise.
23059 [C99-based-standards] (PRIdFAST8): Likewise.
23060 [C99-based-standards] (PRIiFAST8): Likewise.
23061 [C99-based-standards] (PRIoFAST8): Likewise.
23062 [C99-based-standards] (PRIuFAST8): Likewise.
23063 [C99-based-standards] (PRIxFAST8): Likewise.
23064 [C99-based-standards] (PRIXFAST8): Likewise.
23065 [C99-based-standards] (SCNdFAST8): Likewise.
23066 [C99-based-standards] (SCNiFAST8): Likewise.
23067 [C99-based-standards] (SCNoFAST8): Likewise.
23068 [C99-based-standards] (SCNuFAST8): Likewise.
23069 [C99-based-standards] (SCNxFAST8): Likewise.
23070 [C99-based-standards] (PRId16): Likewise.
23071 [C99-based-standards] (PRIi16): Likewise.
23072 [C99-based-standards] (PRIo16): Likewise.
23073 [C99-based-standards] (PRIu16): Likewise.
23074 [C99-based-standards] (PRIx16): Likewise.
23075 [C99-based-standards] (PRIX16): Likewise.
23076 [C99-based-standards] (SCNd16): Likewise.
23077 [C99-based-standards] (SCNi16): Likewise.
23078 [C99-based-standards] (SCNo16): Likewise.
23079 [C99-based-standards] (SCNu16): Likewise.
23080 [C99-based-standards] (SCNx16): Likewise.
23081 [C99-based-standards] (PRIdLEAST16): Likewise.
23082 [C99-based-standards] (PRIiLEAST16): Likewise.
23083 [C99-based-standards] (PRIoLEAST16): Likewise.
23084 [C99-based-standards] (PRIuLEAST16): Likewise.
23085 [C99-based-standards] (PRIxLEAST16): Likewise.
23086 [C99-based-standards] (PRIXLEAST16): Likewise.
23087 [C99-based-standards] (SCNdLEAST16): Likewise.
23088 [C99-based-standards] (SCNiLEAST16): Likewise.
23089 [C99-based-standards] (SCNoLEAST16): Likewise.
23090 [C99-based-standards] (SCNuLEAST16): Likewise.
23091 [C99-based-standards] (SCNxLEAST16): Likewise.
23092 [C99-based-standards] (PRIdFAST16): Likewise.
23093 [C99-based-standards] (PRIiFAST16): Likewise.
23094 [C99-based-standards] (PRIoFAST16): Likewise.
23095 [C99-based-standards] (PRIuFAST16): Likewise.
23096 [C99-based-standards] (PRIxFAST16): Likewise.
23097 [C99-based-standards] (PRIXFAST16): Likewise.
23098 [C99-based-standards] (SCNdFAST16): Likewise.
23099 [C99-based-standards] (SCNiFAST16): Likewise.
23100 [C99-based-standards] (SCNoFAST16): Likewise.
23101 [C99-based-standards] (SCNuFAST16): Likewise.
23102 [C99-based-standards] (SCNxFAST16): Likewise.
23103 [C99-based-standards] (PRId32): Likewise.
23104 [C99-based-standards] (PRIi32): Likewise.
23105 [C99-based-standards] (PRIo32): Likewise.
23106 [C99-based-standards] (PRIu32): Likewise.
23107 [C99-based-standards] (PRIx32): Likewise.
23108 [C99-based-standards] (PRIX32): Likewise.
23109 [C99-based-standards] (SCNd32): Likewise.
23110 [C99-based-standards] (SCNi32): Likewise.
23111 [C99-based-standards] (SCNo32): Likewise.
23112 [C99-based-standards] (SCNu32): Likewise.
23113 [C99-based-standards] (SCNx32): Likewise.
23114 [C99-based-standards] (PRIdLEAST32): Likewise.
23115 [C99-based-standards] (PRIiLEAST32): Likewise.
23116 [C99-based-standards] (PRIoLEAST32): Likewise.
23117 [C99-based-standards] (PRIuLEAST32): Likewise.
23118 [C99-based-standards] (PRIxLEAST32): Likewise.
23119 [C99-based-standards] (PRIXLEAST32): Likewise.
23120 [C99-based-standards] (SCNdLEAST32): Likewise.
23121 [C99-based-standards] (SCNiLEAST32): Likewise.
23122 [C99-based-standards] (SCNoLEAST32): Likewise.
23123 [C99-based-standards] (SCNuLEAST32): Likewise.
23124 [C99-based-standards] (SCNxLEAST32): Likewise.
23125 [C99-based-standards] (PRIdFAST32): Likewise.
23126 [C99-based-standards] (PRIiFAST32): Likewise.
23127 [C99-based-standards] (PRIoFAST32): Likewise.
23128 [C99-based-standards] (PRIuFAST32): Likewise.
23129 [C99-based-standards] (PRIxFAST32): Likewise.
23130 [C99-based-standards] (PRIXFAST32): Likewise.
23131 [C99-based-standards] (SCNdFAST32): Likewise.
23132 [C99-based-standards] (SCNiFAST32): Likewise.
23133 [C99-based-standards] (SCNoFAST32): Likewise.
23134 [C99-based-standards] (SCNuFAST32): Likewise.
23135 [C99-based-standards] (SCNxFAST32): Likewise.
23136 [C99-based-standards] (PRId64): Likewise.
23137 [C99-based-standards] (PRIi64): Likewise.
23138 [C99-based-standards] (PRIo64): Likewise.
23139 [C99-based-standards] (PRIu64): Likewise.
23140 [C99-based-standards] (PRIx64): Likewise.
23141 [C99-based-standards] (PRIX64): Likewise.
23142 [C99-based-standards] (SCNd64): Likewise.
23143 [C99-based-standards] (SCNi64): Likewise.
23144 [C99-based-standards] (SCNo64): Likewise.
23145 [C99-based-standards] (SCNu64): Likewise.
23146 [C99-based-standards] (SCNx64): Likewise.
23147 [C99-based-standards] (PRIdLEAST64): Likewise.
23148 [C99-based-standards] (PRIiLEAST64): Likewise.
23149 [C99-based-standards] (PRIoLEAST64): Likewise.
23150 [C99-based-standards] (PRIuLEAST64): Likewise.
23151 [C99-based-standards] (PRIxLEAST64): Likewise.
23152 [C99-based-standards] (PRIXLEAST64): Likewise.
23153 [C99-based-standards] (SCNdLEAST64): Likewise.
23154 [C99-based-standards] (SCNiLEAST64): Likewise.
23155 [C99-based-standards] (SCNoLEAST64): Likewise.
23156 [C99-based-standards] (SCNuLEAST64): Likewise.
23157 [C99-based-standards] (SCNxLEAST64): Likewise.
23158 [C99-based-standards] (PRIdFAST64): Likewise.
23159 [C99-based-standards] (PRIiFAST64): Likewise.
23160 [C99-based-standards] (PRIoFAST64): Likewise.
23161 [C99-based-standards] (PRIuFAST64): Likewise.
23162 [C99-based-standards] (PRIxFAST64): Likewise.
23163 [C99-based-standards] (PRIXFAST64): Likewise.
23164 [C99-based-standards] (SCNdFAST64): Likewise.
23165 [C99-based-standards] (SCNiFAST64): Likewise.
23166 [C99-based-standards] (SCNoFAST64): Likewise.
23167 [C99-based-standards] (SCNuFAST64): Likewise.
23168 [C99-based-standards] (SCNxFAST64): Likewise.
23169 [C99-based-standards] (PRIdMAX): Likewise.
23170 [C99-based-standards] (PRIiMAX): Likewise.
23171 [C99-based-standards] (PRIoMAX): Likewise.
23172 [C99-based-standards] (PRIuMAX): Likewise.
23173 [C99-based-standards] (PRIxMAX): Likewise.
23174 [C99-based-standards] (PRIXMAX): Likewise.
23175 [C99-based-standards] (SCNdMAX): Likewise.
23176 [C99-based-standards] (SCNiMAX): Likewise.
23177 [C99-based-standards] (SCNoMAX): Likewise.
23178 [C99-based-standards] (SCNuMAX): Likewise.
23179 [C99-based-standards] (SCNxMAX): Likewise.
23180 [C99-based-standards] (PRIdPTR): Likewise.
23181 [C99-based-standards] (PRIiPTR): Likewise.
23182 [C99-based-standards] (PRIoPTR): Likewise.
23183 [C99-based-standards] (PRIuPTR): Likewise.
23184 [C99-based-standards] (PRIxPTR): Likewise.
23185 [C99-based-standards] (PRIXPTR): Likewise.
23186 [C99-based-standards] (SCNdPTR): Likewise.
23187 [C99-based-standards] (SCNiPTR): Likewise.
23188 [C99-based-standards] (SCNoPTR): Likewise.
23189 [C99-based-standards] (SCNuPTR): Likewise.
23190 [C99-based-standards] (SCNxPTR): Likewise.
23191 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23192 allow.
23193 * conform/data/stdint.h-data: Update comments to clarify
23194 requirements.
23195 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23196 type.
23197 [C99-based standards] (INT8_MAX): Likewise.
23198 [C99-based standards] (INT16_MIN): Likewise.
23199 [C99-based standards] (INT16_MAX): Likewise.
23200 [C99-based standards] (INT32_MIN): Likewise.
23201 [C99-based standards] (INT32_MAX): Likewise.
23202 [C99-based standards] (INT64_MIN): Likewise.
23203 [C99-based standards] (INT64_MAX): Likewise.
23204 [C99-based standards] (UINT8_MAX): Likewise.
23205 [C99-based standards] (UINT16_MAX): Likewise.
23206 [C99-based standards] (UINT32_MAX): Likewise.
23207 [C99-based standards] (UINT64_MAX): Likewise.
23208 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23209 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23210 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23211 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23212 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23213 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23214 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23215 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23216 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23217 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23218 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23219 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23220 [C99-based standards] (INT_FAST8_MIN): Likewise.
23221 [C99-based standards] (INT_FAST8_MAX): Likewise.
23222 [C99-based standards] (INT_FAST16_MIN): Likewise.
23223 [C99-based standards] (INT_FAST16_MAX): Likewise.
23224 [C99-based standards] (INT_FAST32_MIN): Likewise.
23225 [C99-based standards] (INT_FAST32_MAX): Likewise.
23226 [C99-based standards] (INT_FAST64_MIN): Likewise.
23227 [C99-based standards] (INT_FAST64_MAX): Likewise.
23228 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23229 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23230 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23231 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23232 [C99-based standards] (INTPTR_MIN): Likewise.
23233 [C99-based standards] (INTPTR_MAX): Likewise.
23234 [C99-based standards] (UINTPTR_MAX): Likewise.
23235 [C99-based standards] (INTMAX_MIN): Likewise.
23236 [C99-based standards] (INTMAX_MAX): Likewise.
23237 [C99-based standards] (UINTMAX_MAX): Likewise.
23238 [C99-based standards] (PTRDIFF_MIN): Likewise.
23239 [C99-based standards] (PTRDIFF_MAX): Likewise.
23240 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23241 [C99-based standards] (SIZE_MAX): Likewise.
23242 [C99-based standards] (WCHAR_MAX): Likewise.
23243 [C99-based standards] (WINT_MAX): Likewise.
23244 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23245 constraint on value.
23246 [C99-based standards] (WCHAR_MIN): Likewise.
23247 [C99-based standards] (WINT_MIN): Likewise.
23248 [C99-based standards] (*_t): Allow.
23249 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23250 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23251 Include math.h-data and complex.h-data. Remove all expectations
23252 of math.h and complex.h contents.
23253 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23254 at end of line.
23255 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23256 (struct tm): Expect tag.
23257 [C99-based-standards] (wcstof): Expect function.
23258 [C99-based-standards] (wcstold): Likewise.
23259 [C99-based-standards] (wcstoll): Likewise.
23260 [C99-based-standards] (wcstoull): Likewise.
23261 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23262 macro-int-constant. Specify type.
23263 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23264 constraint on value.
23265 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23266 Specify type.
23267 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23268 Specify value.
23269 [ISO C standards]: Do not allow headers.
23270 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23271 wcs[abcdefghijklmnopqrstuvwxyz]*.
23272 [ISO C standards] (*_t): Do not allow.
23273 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23274 Expect function.
23275 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23276 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23277 Specify type.
23278 [ISO C standards]: Do not allow headers.
23279 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23280 is[abcdefghijklmnopqrstuvwxyz]*.
23281 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23282 to[abcdefghijklmnopqrstuvwxyz]*.
23283 [ISO C standards] (*_t): Do not allow.
23284 * conform/data/stdalign.h-data: New file.
23285 * conform/data/stdbool.h-data: Likewise.
23286 * conform/data/stdnoreturn.h-data: Likewise.
23287
7514feb8
RM
232882012-11-07 Roland McGrath <roland@hack.frob.com>
23289
23290 [BZ #14815]
23291 * manual/filesys.texi (Directory Entries): Typo fix.
23292 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23293
19b2ecfc
MS
232942012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23295
23296 * elf/elf.h (EM_AARCH64): New macro.
23297 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23298 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23299 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23300 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23301 (R_AARCH64_TLSDESC): Likewise.
23302 (NT_ARM_TLS): Likewise.
23303 (NT_ARM_HW_BREAK): Likewise.
23304 (NT_ARM_HW_WATCH): Likewise.
23305
60e235ee
JM
233062012-11-07 Joseph Myers <joseph@codesourcery.com>
23307
23308 [BZ #14811]
23309 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23310 (__ieee754_powl): Saturate nonzero exponents with absolute value
23311 below 0x1p-79 to +/- 0x1p-79.
23312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23313 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23314 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23315 nonzero exponents with absolute value below 0x1p-32 to +/-
23316 0x1p-32.
23317 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23318 (__ieee754_powl): Saturate nonzero exponents with absolute value
23319 below 0x1p-79 to +/- 0x1p-79.
23320 * math/libm-test.inc (pow_test): Add more tests.
23321
0ab234b7
AK
233222012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23323
23324 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23325 _dl_s390_cap_flags with kernel. Increase string length.
23326 (_dl_s390_platforms): Add z196 and zEC12.
23327
45832f74
JM
233282012-11-07 Joseph Myers <joseph@codesourcery.com>
23329
23330 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23331 Change XOPEN21K to XOPEN2K.
23332
19218757
MK
233332012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23334
23335 * string/memmove.c: Use memcpy when possible.
23336
c5f45721
AJ
233372012-11-06 Andreas Jaeger <aj@suse.de>
23338
23339 * po/eo.po: Update from translation team.
23340
82477c28
JM
233412012-11-06 Joseph Myers <joseph@codesourcery.com>
23342
23343 [BZ #14793]
23344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23345 exponent and small x and y exponents, scale x or y up. Increase
23346 by 2 the exponent used in scaling up.
23347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23349 * math/libm-test.inc (fma_test): Add more tests.
23350 (fma_test_towardzero): Likewise.
23351 (fma_test_downward): Likewise.
23352 (fma_test_upward): Likewise.
23353
99252c8c
JM
233542012-11-05 Joseph Myers <joseph@codesourcery.com>
23355
acfa885f
JM
23356 [BZ #14805]
23357 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23358 fenv_t *.
23359
99252c8c
JM
23360 [BZ #14801]
23361 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23362 namespace for names of struct fields.
23363 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23364 fenv_t fields.
23365 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23366 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23367
d6d98dea
ST
233682012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23369
23370 [BZ #3665]
23371 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23372
e10bb107
TS
233732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23374
23375 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23376 PTR_DEMANGLE.
23377
23378 [BZ #5246]
23379 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23380 PTR_DEMANGLE.
23381
a0c2940d
JM
233822012-11-04 Joseph Myers <joseph@codesourcery.com>
23383
23384 [BZ #14797]
23385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23386 definitely overflow as x * y not x * y + z.
23387 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23389 * math/libm-test.inc (fma_test): Add more tests.
23390 (fma_test_towardzero): Likewise.
23391 (fma_test_downward): Likewise.
23392 (fma_test_upward): Likewise.
23393
b830319d
TS
233942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23395
23396 [BZ #157]
23397
23398 * include/stub-tag.h: Remove file.
23399 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23400 '#include' of it.
23401 * manual/maint.texi (Porting): Don't reference it.
23402 * Makerules ($(objpfx)stubs): Likewise.
23403 * dirent/closedir.c: Don't include <stub-tag.h>.
23404 * dirent/dirfd.c: Likewise.
23405 * dirent/fdopendir.c: Likewise.
23406 * dirent/getdents.c: Likewise.
23407 * dirent/getdents64.c: Likewise.
23408 * dirent/opendir.c: Likewise.
23409 * dirent/readdir.c: Likewise.
23410 * dirent/readdir64.c: Likewise.
23411 * dirent/readdir64_r.c: Likewise.
23412 * dirent/readdir_r.c: Likewise.
23413 * dirent/rewinddir.c: Likewise.
23414 * dirent/seekdir.c: Likewise.
23415 * dirent/telldir.c: Likewise.
23416 * gmon/profil.c: Likewise.
23417 * grp/setgroups.c: Likewise.
23418 * inet/if_index.c: Likewise.
23419 * io/access.c: Likewise.
23420 * io/chdir.c: Likewise.
23421 * io/chmod.c: Likewise.
23422 * io/chown.c: Likewise.
23423 * io/close.c: Likewise.
23424 * io/dup.c: Likewise.
23425 * io/dup2.c: Likewise.
23426 * io/dup3.c: Likewise.
23427 * io/euidaccess.c: Likewise.
23428 * io/faccessat.c: Likewise.
23429 * io/fchdir.c: Likewise.
23430 * io/fchmod.c: Likewise.
23431 * io/fchmodat.c: Likewise.
23432 * io/fchown.c: Likewise.
23433 * io/fchownat.c: Likewise.
23434 * io/fcntl.c: Likewise.
23435 * io/flock.c: Likewise.
23436 * io/fstatfs.c: Likewise.
23437 * io/fstatfs64.c: Likewise.
23438 * io/fstatvfs.c: Likewise.
23439 * io/fstatvfs64.c: Likewise.
23440 * io/futimens.c: Likewise.
23441 * io/fxstat.c: Likewise.
23442 * io/fxstat64.c: Likewise.
23443 * io/fxstatat.c: Likewise.
23444 * io/fxstatat64.c: Likewise.
23445 * io/getcwd.c: Likewise.
23446 * io/isatty.c: Likewise.
23447 * io/lchmod.c: Likewise.
23448 * io/lchown.c: Likewise.
23449 * io/link.c: Likewise.
23450 * io/linkat.c: Likewise.
23451 * io/lseek.c: Likewise.
23452 * io/lseek64.c: Likewise.
23453 * io/lxstat64.c: Likewise.
23454 * io/mkdir.c: Likewise.
23455 * io/mkdirat.c: Likewise.
23456 * io/mkfifo.c: Likewise.
23457 * io/mkfifoat.c: Likewise.
23458 * io/open.c: Likewise.
23459 * io/open64.c: Likewise.
23460 * io/openat.c: Likewise.
23461 * io/openat64.c: Likewise.
23462 * io/pipe.c: Likewise.
23463 * io/pipe2.c: Likewise.
23464 * io/poll.c: Likewise.
23465 * io/posix_fadvise.c: Likewise.
23466 * io/posix_fadvise64.c: Likewise.
23467 * io/posix_fallocate.c: Likewise.
23468 * io/posix_fallocate64.c: Likewise.
23469 * io/read.c: Likewise.
23470 * io/readlink.c: Likewise.
23471 * io/readlinkat.c: Likewise.
23472 * io/rmdir.c: Likewise.
23473 * io/sendfile.c: Likewise.
23474 * io/sendfile64.c: Likewise.
23475 * io/statfs.c: Likewise.
23476 * io/statfs64.c: Likewise.
23477 * io/statvfs.c: Likewise.
23478 * io/statvfs64.c: Likewise.
23479 * io/symlink.c: Likewise.
23480 * io/symlinkat.c: Likewise.
23481 * io/ttyname.c: Likewise.
23482 * io/ttyname_r.c: Likewise.
23483 * io/umask.c: Likewise.
23484 * io/unlink.c: Likewise.
23485 * io/unlinkat.c: Likewise.
23486 * io/utime.c: Likewise.
23487 * io/utimensat.c: Likewise.
23488 * io/write.c: Likewise.
23489 * io/xmknod.c: Likewise.
23490 * io/xmknodat.c: Likewise.
23491 * io/xstat.c: Likewise.
23492 * io/xstat64.c: Likewise.
23493 * login/getpt.c: Likewise.
23494 * login/grantpt.c: Likewise.
23495 * login/unlockpt.c: Likewise.
23496 * math/e_acoshl.c: Likewise.
23497 * math/e_acosl.c: Likewise.
23498 * math/e_asinl.c: Likewise.
23499 * math/e_atan2l.c: Likewise.
23500 * math/e_atanhl.c: Likewise.
23501 * math/e_coshl.c: Likewise.
23502 * math/e_expl.c: Likewise.
23503 * math/e_fmodl.c: Likewise.
23504 * math/e_gammal_r.c: Likewise.
23505 * math/e_hypotl.c: Likewise.
23506 * math/e_j0l.c: Likewise.
23507 * math/e_j1l.c: Likewise.
23508 * math/e_jnl.c: Likewise.
23509 * math/e_lgammal_r.c: Likewise.
23510 * math/e_log10l.c: Likewise.
23511 * math/e_log2l.c: Likewise.
23512 * math/e_logl.c: Likewise.
23513 * math/e_powl.c: Likewise.
23514 * math/e_rem_pio2l.c: Likewise.
23515 * math/e_sinhl.c: Likewise.
23516 * math/e_sqrtl.c: Likewise.
23517 * math/fclrexcpt.c: Likewise.
23518 * math/fedisblxcpt.c: Likewise.
23519 * math/feenablxcpt.c: Likewise.
23520 * math/fegetenv.c: Likewise.
23521 * math/fegetexcept.c: Likewise.
23522 * math/fegetround.c: Likewise.
23523 * math/feholdexcpt.c: Likewise.
23524 * math/fesetenv.c: Likewise.
23525 * math/fesetround.c: Likewise.
23526 * math/feupdateenv.c: Likewise.
23527 * math/fgetexcptflg.c: Likewise.
23528 * math/fraiseexcpt.c: Likewise.
23529 * math/fsetexcptflg.c: Likewise.
23530 * math/ftestexcept.c: Likewise.
23531 * math/k_cosl.c: Likewise.
23532 * math/k_rem_pio2l.c: Likewise.
23533 * math/k_sinl.c: Likewise.
23534 * math/k_tanl.c: Likewise.
23535 * math/s_asinhl.c: Likewise.
23536 * math/s_atanl.c: Likewise.
23537 * math/s_cbrtl.c: Likewise.
23538 * math/s_erfl.c: Likewise.
23539 * math/s_expm1l.c: Likewise.
23540 * math/s_log1pl.c: Likewise.
23541 * math/s_tanhl.c: Likewise.
23542 * misc/acct.c: Likewise.
23543 * misc/brk.c: Likewise.
23544 * misc/chflags.c: Likewise.
23545 * misc/chroot.c: Likewise.
23546 * misc/fchflags.c: Likewise.
23547 * misc/fgetxattr.c: Likewise.
23548 * misc/flistxattr.c: Likewise.
23549 * misc/fremovexattr.c: Likewise.
23550 * misc/fsetxattr.c: Likewise.
23551 * misc/fsync.c: Likewise.
23552 * misc/ftruncate.c: Likewise.
23553 * misc/futimes.c: Likewise.
23554 * misc/futimesat.c: Likewise.
23555 * misc/getdomain.c: Likewise.
23556 * misc/getdtsz.c: Likewise.
23557 * misc/gethostid.c: Likewise.
23558 * misc/gethostname.c: Likewise.
23559 * misc/getloadavg.c: Likewise.
23560 * misc/getpagesize.c: Likewise.
23561 * misc/getsysstats.c: Likewise.
23562 * misc/getxattr.c: Likewise.
23563 * misc/gtty.c: Likewise.
23564 * misc/ioctl.c: Likewise.
23565 * misc/lgetxattr.c: Likewise.
23566 * misc/listxattr.c: Likewise.
23567 * misc/llistxattr.c: Likewise.
23568 * misc/lremovexattr.c: Likewise.
23569 * misc/lsetxattr.c: Likewise.
23570 * misc/lutimes.c: Likewise.
23571 * misc/madvise.c: Likewise.
23572 * misc/mincore.c: Likewise.
23573 * misc/mlock.c: Likewise.
23574 * misc/mlockall.c: Likewise.
23575 * misc/mmap.c: Likewise.
23576 * misc/mprotect.c: Likewise.
23577 * misc/msync.c: Likewise.
23578 * misc/munlock.c: Likewise.
23579 * misc/munlockall.c: Likewise.
23580 * misc/munmap.c: Likewise.
23581 * misc/preadv.c: Likewise.
23582 * misc/preadv64.c: Likewise.
23583 * misc/ptrace.c: Likewise.
23584 * misc/pwritev.c: Likewise.
23585 * misc/pwritev64.c: Likewise.
23586 * misc/readv.c: Likewise.
23587 * misc/reboot.c: Likewise.
23588 * misc/remap_file_pages.c: Likewise.
23589 * misc/removexattr.c: Likewise.
23590 * misc/revoke.c: Likewise.
23591 * misc/select.c: Likewise.
23592 * misc/setdomain.c: Likewise.
23593 * misc/setegid.c: Likewise.
23594 * misc/seteuid.c: Likewise.
23595 * misc/sethostid.c: Likewise.
23596 * misc/sethostname.c: Likewise.
23597 * misc/setregid.c: Likewise.
23598 * misc/setreuid.c: Likewise.
23599 * misc/setxattr.c: Likewise.
23600 * misc/sstk.c: Likewise.
23601 * misc/stty.c: Likewise.
23602 * misc/swapoff.c: Likewise.
23603 * misc/swapon.c: Likewise.
23604 * misc/sync.c: Likewise.
23605 * misc/syncfs.c: Likewise.
23606 * misc/syscall.c: Likewise.
23607 * misc/truncate.c: Likewise.
23608 * misc/ualarm.c: Likewise.
23609 * misc/usleep.c: Likewise.
23610 * misc/ustat.c: Likewise.
23611 * misc/utimes.c: Likewise.
23612 * misc/vhangup.c: Likewise.
23613 * misc/writev.c: Likewise.
23614 * posix/_exit.c: Likewise.
23615 * posix/alarm.c: Likewise.
23616 * posix/execve.c: Likewise.
23617 * posix/fexecve.c: Likewise.
23618 * posix/fork.c: Likewise.
23619 * posix/fpathconf.c: Likewise.
23620 * posix/getaddrinfo.c: Likewise.
23621 * posix/getegid.c: Likewise.
23622 * posix/geteuid.c: Likewise.
23623 * posix/getgid.c: Likewise.
23624 * posix/getgroups.c: Likewise.
23625 * posix/getlogin.c: Likewise.
23626 * posix/getlogin_r.c: Likewise.
23627 * posix/getpgid.c: Likewise.
23628 * posix/getpid.c: Likewise.
23629 * posix/getppid.c: Likewise.
23630 * posix/getresgid.c: Likewise.
23631 * posix/getresuid.c: Likewise.
23632 * posix/getsid.c: Likewise.
23633 * posix/getuid.c: Likewise.
23634 * posix/glob64.c: Likewise.
23635 * posix/nanosleep.c: Likewise.
23636 * posix/pathconf.c: Likewise.
23637 * posix/pause.c: Likewise.
23638 * posix/posix_madvise.c: Likewise.
23639 * posix/pread.c: Likewise.
23640 * posix/pread64.c: Likewise.
23641 * posix/pwrite.c: Likewise.
23642 * posix/pwrite64.c: Likewise.
23643 * posix/sched_getaffinity.c: Likewise.
23644 * posix/sched_getp.c: Likewise.
23645 * posix/sched_gets.c: Likewise.
23646 * posix/sched_primax.c: Likewise.
23647 * posix/sched_primin.c: Likewise.
23648 * posix/sched_rr_gi.c: Likewise.
23649 * posix/sched_setaffinity.c: Likewise.
23650 * posix/sched_setp.c: Likewise.
23651 * posix/sched_sets.c: Likewise.
23652 * posix/sched_yield.c: Likewise.
23653 * posix/setgid.c: Likewise.
23654 * posix/setlogin.c: Likewise.
23655 * posix/setpgid.c: Likewise.
23656 * posix/setresgid.c: Likewise.
23657 * posix/setresuid.c: Likewise.
23658 * posix/setsid.c: Likewise.
23659 * posix/setuid.c: Likewise.
23660 * posix/sleep.c: Likewise.
23661 * posix/spawni.c: Likewise.
23662 * posix/sysconf.c: Likewise.
23663 * posix/times.c: Likewise.
23664 * posix/wait.c: Likewise.
23665 * posix/wait3.c: Likewise.
23666 * posix/wait4.c: Likewise.
23667 * posix/waitpid.c: Likewise.
23668 * resolv/gai_sigqueue.c: Likewise.
23669 * resource/getpriority.c: Likewise.
23670 * resource/getrlimit.c: Likewise.
23671 * resource/getrusage.c: Likewise.
23672 * resource/nice.c: Likewise.
23673 * resource/setpriority.c: Likewise.
23674 * resource/setrlimit.c: Likewise.
23675 * resource/ulimit.c: Likewise.
23676 * rt/aio_cancel.c: Likewise.
23677 * rt/aio_fsync.c: Likewise.
23678 * rt/aio_read.c: Likewise.
23679 * rt/aio_sigqueue.c: Likewise.
23680 * rt/aio_suspend.c: Likewise.
23681 * rt/aio_write.c: Likewise.
23682 * rt/clock_getres.c: Likewise.
23683 * rt/clock_gettime.c: Likewise.
23684 * rt/clock_nanosleep.c: Likewise.
23685 * rt/clock_settime.c: Likewise.
23686 * rt/lio_listio.c: Likewise.
23687 * rt/mq_close.c: Likewise.
23688 * rt/mq_getattr.c: Likewise.
23689 * rt/mq_notify.c: Likewise.
23690 * rt/mq_open.c: Likewise.
23691 * rt/mq_receive.c: Likewise.
23692 * rt/mq_send.c: Likewise.
23693 * rt/mq_setattr.c: Likewise.
23694 * rt/mq_timedreceive.c: Likewise.
23695 * rt/mq_timedsend.c: Likewise.
23696 * rt/mq_unlink.c: Likewise.
23697 * rt/shm_open.c: Likewise.
23698 * rt/shm_unlink.c: Likewise.
23699 * rt/timer_create.c: Likewise.
23700 * rt/timer_delete.c: Likewise.
23701 * rt/timer_getoverr.c: Likewise.
23702 * rt/timer_gettime.c: Likewise.
23703 * rt/timer_settime.c: Likewise.
23704 * setjmp/__longjmp.c: Likewise.
23705 * setjmp/setjmp.c: Likewise.
23706 * signal/kill.c: Likewise.
23707 * signal/killpg.c: Likewise.
23708 * signal/raise.c: Likewise.
23709 * signal/sigaction.c: Likewise.
23710 * signal/sigaltstack.c: Likewise.
23711 * signal/sigblock.c: Likewise.
23712 * signal/sigignore.c: Likewise.
23713 * signal/sigintr.c: Likewise.
23714 * signal/signal.c: Likewise.
23715 * signal/sigpause.c: Likewise.
23716 * signal/sigpending.c: Likewise.
23717 * signal/sigqueue.c: Likewise.
23718 * signal/sigreturn.c: Likewise.
23719 * signal/sigset.c: Likewise.
23720 * signal/sigsetmask.c: Likewise.
23721 * signal/sigstack.c: Likewise.
23722 * signal/sigsuspend.c: Likewise.
23723 * signal/sigtimedwait.c: Likewise.
23724 * signal/sigvec.c: Likewise.
23725 * signal/sigwait.c: Likewise.
23726 * signal/sigwaitinfo.c: Likewise.
23727 * signal/sysv_signal.c: Likewise.
23728 * socket/accept.c: Likewise.
23729 * socket/accept4.c: Likewise.
23730 * socket/bind.c: Likewise.
23731 * socket/connect.c: Likewise.
23732 * socket/getpeername.c: Likewise.
23733 * socket/getsockname.c: Likewise.
23734 * socket/getsockopt.c: Likewise.
23735 * socket/isfdtype.c: Likewise.
23736 * socket/listen.c: Likewise.
23737 * socket/recv.c: Likewise.
23738 * socket/recvfrom.c: Likewise.
23739 * socket/recvmsg.c: Likewise.
23740 * socket/send.c: Likewise.
23741 * socket/sendmsg.c: Likewise.
23742 * socket/sendto.c: Likewise.
23743 * socket/setsockopt.c: Likewise.
23744 * socket/shutdown.c: Likewise.
23745 * socket/sockatmark.c: Likewise.
23746 * socket/socket.c: Likewise.
23747 * socket/socketpair.c: Likewise.
23748 * stdio-common/ctermid.c: Likewise.
23749 * stdio-common/cuserid.c: Likewise.
23750 * stdio-common/remove.c: Likewise.
23751 * stdio-common/rename.c: Likewise.
23752 * stdio-common/renameat.c: Likewise.
23753 * stdio-common/tempname.c: Likewise.
23754 * stdlib/getcontext.c: Likewise.
23755 * stdlib/makecontext.c: Likewise.
23756 * stdlib/setcontext.c: Likewise.
23757 * stdlib/swapcontext.c: Likewise.
23758 * stdlib/system.c: Likewise.
23759 * streams/fattach.c: Likewise.
23760 * streams/fdetach.c: Likewise.
23761 * streams/getmsg.c: Likewise.
23762 * streams/getpmsg.c: Likewise.
23763 * streams/putmsg.c: Likewise.
23764 * streams/putpmsg.c: Likewise.
23765 * sysdeps/unix/bsd/getpt.c: Likewise.
23766 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23767 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23768 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23770 Likewise.
23771 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23772 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23773 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23774 * sysvipc/msgctl.c: Likewise.
23775 * sysvipc/msgget.c: Likewise.
23776 * sysvipc/msgrcv.c: Likewise.
23777 * sysvipc/msgsnd.c: Likewise.
23778 * sysvipc/semctl.c: Likewise.
23779 * sysvipc/semget.c: Likewise.
23780 * sysvipc/semop.c: Likewise.
23781 * sysvipc/semtimedop.c: Likewise.
23782 * sysvipc/shmat.c: Likewise.
23783 * sysvipc/shmctl.c: Likewise.
23784 * sysvipc/shmdt.c: Likewise.
23785 * sysvipc/shmget.c: Likewise.
23786 * termios/tcdrain.c: Likewise.
23787 * termios/tcflow.c: Likewise.
23788 * termios/tcflush.c: Likewise.
23789 * termios/tcgetattr.c: Likewise.
23790 * termios/tcgetpgrp.c: Likewise.
23791 * termios/tcsendbrk.c: Likewise.
23792 * termios/tcsetattr.c: Likewise.
23793 * termios/tcsetpgrp.c: Likewise.
23794 * time/adjtime.c: Likewise.
23795 * time/clock.c: Likewise.
23796 * time/getitimer.c: Likewise.
23797 * time/gettimeofday.c: Likewise.
23798 * time/setitimer.c: Likewise.
23799 * time/settimeofday.c: Likewise.
23800 * time/stime.c: Likewise.
23801 * time/time.c: Likewise.
23802
238032012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23804
a20492cf
PT
23805 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23806 /usr/old/bin.
23807
72e182e3
PT
23808 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23809 instead of spaces.
23810 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23811
fbeafede
JM
238122012-11-03 Joseph Myers <joseph@codesourcery.com>
23813
5b5b04d6
JM
23814 [BZ #14796]
23815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23816 FE_TONEAREST before applying Dekker multiplication and Knuth
23817 addition. Clear inexact exceptions and check for exact zero
23818 results afterwards.
23819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23820 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23821 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23822 * math/libm-test.inc (fma_test): Add more tests.
23823 (fma_test_towardzero): Likewise.
23824 (fma_test_downward): Likewise.
23825 (fma_test_upward): Likewise.
23826 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23827 function.
23828 (libc_fesetround): New macro.
23829 (libc_fesetroundf): Likewise.
23830 (libc_fesetroundl): Likewise.
23831 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23832 function.
23833 (libc_fesetround_387): Likewise.
23834 (libc_fesetroundf): New macro.
23835 (libc_fesetround): Likewise.
23836 (libc_fesetroundl): Likewise.
23837 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23838 function.
23839 (libc_fesetroundf): New macro.
23840 (libc_fesetround): Likewise.
23841 (libc_fesetroundl): Likewise.
23842 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23843 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23844 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23845 libm_hidden_ver.
23846 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23847 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23848 libm_hidden_def.
23849 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23850 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23851 libm_hidden_ver.
23852 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23853 libm_hidden_def.
23854
fbeafede
JM
23855 [BZ #3439]
23856 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23857 integer constant usable in #if and use that to give value to enum
23858 constant.
23859 (FE_DIVBYZERO): Likewise.
23860 (FE_UNDERFLOW): Likewise.
23861 (FE_OVERFLOW): Likewise.
23862 (FE_INVALID): Likewise.
23863 (FE_INVALID_SNAN): Likewise.
23864 (FE_INVALID_ISI): Likewise.
23865 (FE_INVALID_IDI): Likewise.
23866 (FE_INVALID_ZDZ): Likewise.
23867 (FE_INVALID_IMZ): Likewise.
23868 (FE_INVALID_COMPARE): Likewise.
23869 (FE_INVALID_SOFTWARE): Likewise.
23870 (FE_INVALID_SQRT): Likewise.
23871 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23872 (FE_TONEAREST): Likewise.
23873 (FE_TOWARDZERO): Likewise.
23874 (FE_UPWARD): Likewise.
23875 (FE_DOWNWARD): Likewise.
23876 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23877 (FE_DIVBYZERO): Likewise.
23878 (FE_OVERFLOW): Likewise.
23879 (FE_UNDERFLOW): Likewise.
23880 (FE_INEXACT): Likewise.
23881 (FE_TONEAREST): Likewise.
23882 (FE_DOWNWARD): Likewise.
23883 (FE_UPWARD): Likewise.
23884 (FE_TOWARDZERO): Likewise.
23885 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23886 (FE_UNDERFLOW): Likewise.
23887 (FE_OVERFLOW): Likewise.
23888 (FE_DIVBYZERO): Likewise.
23889 (FE_INVALID): Likewise.
23890 (FE_TONEAREST): Likewise.
23891 (FE_TOWARDZERO): Likewise.
23892 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23893 (FE_OVERFLOW): Likewise.
23894 (FE_UNDERFLOW): Likewise.
23895 (FE_DIVBYZERO): Likewise.
23896 (FE_INEXACT): Likewise.
23897 (FE_TONEAREST): Likewise.
23898 (FE_TOWARDZERO): Likewise.
23899 (FE_UPWARD): Likewise.
23900 (FE_DOWNWARD): Likewise.
23901 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23902 (FE_DIVBYZERO): Likewise.
23903 (FE_OVERFLOW): Likewise.
23904 (FE_UNDERFLOW): Likewise.
23905 (FE_INEXACT): Likewise.
23906 (FE_TONEAREST): Likewise.
23907 (FE_DOWNWARD): Likewise.
23908 (FE_UPWARD): Likewise.
23909 (FE_TOWARDZERO): Likewise.
23910
105ca950
CM
239112012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23912
23913 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23914
a542b389
AS
239152012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23916
23917 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23918 commands. Quote $PWD.
23919 (blacklist_exports): Don't use remove_newlines. Replace "declare
23920 -x" by "export".
23921 (remove_newlines): Remove.
23922
f62c8abc
L
239232012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23924
23925 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23926 * stdlib/stdlib.h (atof): Moved to ...
23927 * include/bits/stdlib-float.h: Here. New file.
23928 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23929 * stdlib/bits/stdlib-float.h: New file.
23930 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23931 -mno-sse -mno-mmx.
23932 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23933 <xmmintrin.h>.
23934
0155d5b2
JM
239352012-11-02 Joseph Myers <joseph@codesourcery.com>
23936
a68d0680
JM
23937 * conform/conformtest.pl (@headers): Add fenv.h.
23938 * conform/data/fenv.h-data: New file.
23939 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23940 include of <math/fenv.h>.
23941
caf7f573
JM
23942 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23943 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23944 && !UNIX98]. Enables tests for XOPEN2K8.
23945 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23946 POSIX2008]: Likewise.
23947
6c073ad6
JM
23948 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23949 (struct rusage): Do not expect type or its members.
23950
0155d5b2
JM
23951 [BZ #3439]
23952 * math/math.h (FP_NAN): Define macro to integer constant usable in
23953 #if and use that to give value to enum constant.
23954 (FP_INFINITE): Likewise.
23955 (FP_ZERO): Likewise.
23956 (FP_SUBNORMAL): Likewise.
23957 (FP_NORMAL): Likewise.
23958
b5dcacb4
AS
239592012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23960
23961 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23962 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23963 arguments.
23964
f7934be8
RM
239652012-11-02 Roland McGrath <roland@hack.frob.com>
23966
23967 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23968 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23969 autoconf-time if not.
23970 * configure.in: Remove AC_PREREQ.
23971
d7d08bde
TMQMF
239722012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23973
23974 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23975 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23976 of the internal implementation.
23977
dcdae19a
JM
239782012-11-02 Joseph Myers <joseph@codesourcery.com>
23979
23980 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23981 except include of <misc/sys/syslog.h>.
23982
d6cffd3e
AS
239832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23984
23985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23986 function returns with a NULL context exit with zero.
23987
b3563932
TMQMF
239882012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23989
23990 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23991
b288a93d
L
239922012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23993
23994 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23995 (run_program_cmd): This.
23996 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23997 (tst_langinfo): New variable. Use it.
23998
a2421a68
SAS
239992012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24000
24001 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24002 floating point opcodes.
24003
6f796e1b
TS
240042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24005
7402596b
TS
24006 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24007 variable.
24008
d0d4f868
TS
24009 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24010
6f796e1b
TS
24011 * sysdeps/mach/hurd/powerpc: Remove directory.
24012 * sysdeps/mach/powerpc: Likewise.
24013
4da224a2
AS
240142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24015
24016 * scripts/check-local-headers.sh: Ignore c++ headers.
24017
341dd673
TS
240182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24019
24020 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24021 __libc_cleanup_region_start argument.
24022
473611b2
JM
240232012-11-01 Joseph Myers <joseph@codesourcery.com>
24024
24025 [BZ #14784]
24026 [BZ #14785]
24027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24028 x * y using scaling, not as x * y + z.
24029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24031 * math/libm-test.inc (fma_test): Add more tests.
24032 (fma_test_towardzero): Likewise.
24033 (fma_test_downward): Likewise.
24034 (fma_test_upward): Likewise.
24035
4078da3d
TS
240362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24037
24038 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24039
903252aa
JM
240402012-10-31 Joseph Myers <joseph@codesourcery.com>
24041
24042 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24043 New variable.
24044
cbc818d0
TS
240452012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24046
24047 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24048
5a03cb1e
AS
240492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24050
24051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24052 Fix sort order.
24053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24054 Likewise.
24055
90aff2ff
TMQMF
240562012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24057
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24059 Fix the order of the list for glibc 2.17.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24061 Likewise.
24062
1818fcb7
AS
240632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24064
24065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24066
ef82f4da
JM
240672012-10-31 Joseph Myers <joseph@codesourcery.com>
24068
16a0e2ec
JM
24069 [BZ #14610]
24070 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24071 for low part of x being zero before using __atanl (y).
24072 * math/libm-test.inc (atan2_test): Add another test.
24073
0eb69512
JM
24074 * manual/install.texi (Configuring and compiling): Document
24075 general use of test-wrapper and test-wrapper-env.
24076 * INSTALL: Regenerated.
24077
ef82f4da
JM
24078 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24079 (__fma): Do not extract and scale down low bits on after-rounding
24080 systems when result rounded to normal precision would have normal
24081 exponent.
24082 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24083 (__fmal): Do not extract and scale down low bits on after-rounding
24084 systems when result rounded to normal precision would have normal
24085 exponent.
24086 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24087 (__fmal): Do not extract and scale down low bits on after-rounding
24088 systems when result rounded to normal precision would have normal
24089 exponent.
24090 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24091 macro.
24092 (fma_test): Add more tests.
24093 (fma_test_towardzero): Likewise.
24094 (fma_test_downward): Likewise.
24095 (fma_test_upward): Likewise.
24096
954ef0d9
L
240972012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24098
24099 * sysdeps/i386/tininess.h: Renamed to ...
24100 * sysdeps/x86/tininess.h: This.
24101 * sysdeps/x86_64/tininess.h: Removed.
24102
df61ffb2
JM
241032012-10-30 Joseph Myers <joseph@codesourcery.com>
24104
24105 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24106 input. Use $(build-program-cmd).
24107 ($(objpfx)tst-array1-static.out): Likewise.
24108 ($(objpfx)tst-array2.out): Likewise.
24109 ($(objpfx)tst-array3.out): Likewise.
24110 ($(objpfx)tst-array4.out): Likewise.
24111 ($(objpfx)tst-array5.out): Likewise.
24112 ($(objpfx)tst-array5-static.out): Likewise.
24113
01767843
CM
241142012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24115
47cc1490
CM
24116 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24117 if defined.
24118
01767843
CM
24119 * nss/nsswitch.h (nss_interface_function): Provide new
24120 macro for use with NSS functions.
24121 * grp/initgroups.c: Use new macro.
24122 * nss/getXXbyYY.c: Likewise.
24123 * nss/getXXbyYY_r.c: Likewise.
24124 * nss/getXXent.c: Likewise.
24125 * nss/getXXent_r.c: Likewise.
24126 * sysdeps/posix/getaddrinfo.c: Likewise.
24127
8321aa97
AJ
241282012-10-30 Andreas Jaeger <aj@suse.de>
24129
24130 * po/ru.po: Update Russion translation from translation project.
24131
2a27fd6d
JM
241322012-10-30 Joseph Myers <joseph@codesourcery.com>
24133
8627a232
JM
24134 [BZ #14152]
24135 [BZ #14783]
24136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24137 result and shift together with sticky bit instead of replicating
24138 round-to-nearest rounding.
24139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24141 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24142 missing underflow exceptions.
24143 (fma_test_towardzero): Add more tests.
24144 (fma_test_downward): Likewise.
24145 (fma_test_upward): Likewise.
24146
2a27fd6d
JM
24147 [BZ #14047]
24148 * sysdeps/generic/tininess.h: New file.
24149 * sysdeps/i386/tininess.h: Likewise.
24150 * sysdeps/sh/tininess.h: Likewise.
24151 * sysdeps/x86_64/tininess.h: Likewise.
24152 * stdlib/tst-strtod-underflow.c: Likewise.
24153 * stdlib/tst-tininess.c: Likewise.
24154 * stdlib/strtod_l.c: Include <tininess.h>.
24155 (round_and_return): Do not set errno for exact underflow cases.
24156 Force an underflow exception when setting errno for underflow.
24157 Determine underflow based on rounding to normal precision if
24158 TININESS_AFTER_ROUNDING.
24159 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24160 ERANGE for exact underflow cases.
24161 * stdlib/Makefile (tests): Add tst-tininess and
24162 tst-strtod-underflow.
24163 ($(objpfx)tst-tininess): Use $(link-libm).
24164 ($(objpfx)tst-strtod-underflow): Likewise.
24165
e7170363
AJ
241662012-10-30 Andreas Jaeger <aj@suse.de>
24167
e5088dc6
AJ
24168 [BZ#14767]
24169 * elf/Makefile (tests): Remove conditional for have-initfini-array
24170 since this is now always required and the variable does not exist
24171 anymore.
24172 (tests-static): Likewise.
24173 (modules-names): Likewise.
24174
e7170363 24175 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24176
24177 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24178 merged with constructor/destructor.
24179 (init_array): Likewise.
24180 * elf/tst-array2dep.c (fini_array): Likewise.
24181 (init_array): Likewise.
24182
60457d8a
MF
241832012-10-29 Mike Frysinger <vapier@gentoo.org>
24184
24185 * manual/message.texi: Delete @cartouche tags.
24186
8bece752
PT
241872012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24188
94ce799f
PT
24189 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24190 EOPNOTSUPP.
24191 * sysdeps/mach/hurd/fsync.c: Likewise.
24192
8bece752
PT
24193 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24194 [_POSIX_REALTIME_SIGNALS]: Change condition to
24195 [_POSIX_REALTIME_SIGNALS > 0].
24196
86ebe6b1
AJ
241972012-10-27 Andreas Jaeger <aj@suse.de>
24198
24199 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24200 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24202 [__WORDSIZE != 64]: Likewise.
24203
54399c08
L
242042012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24205
24206 * iconvdata/tst-table.sh: Remove ${SHELL}.
24207 * iconvdata/tst-tables.sh: Likewise.
24208
e2211bed
DM
242092012-10-25 David S. Miller <davem@davemloft.net>
24210
24211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24212 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24213 of strtoull.
24214
f303f97c
DM
24215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24216 ifunc-impl-list.c
24217 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24218 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24219 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24220 file.
24221
1e9d84cd
RM
242222012-10-25 Roland McGrath <roland@hack.frob.com>
24223
24224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24225 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24226 __getdirentries.
24227
df381762
JM
242282012-10-25 Joseph Myers <joseph@codesourcery.com>
24229 Jim Blandy <jimb@codesourcery.com>
24230
24231 * scripts/cross-test-ssh.sh: New file.
24232 * manual/install.texi (Configuring and compiling): Document use of
24233 cross-test-ssh.sh.
24234 * INSTALL: Regenerated.
24235
bff64913
PT
242362012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24237
24238 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24239 EOPNOTSUPP.
24240
25fe8932
JM
242412012-10-25 Joseph Myers <joseph@codesourcery.com>
24242
24243 * Makeconfig (run-program-prefix): Fix comment.
24244
cc1290d0
JM
242452012-10-24 Joseph Myers <joseph@codesourcery.com>
24246 Jim Blandy <jimb@codesourcery.com>
24247
24248 * Makeconfig (test-wrapper): New variable,
24249 (test-wrapper-env): Likewise.
24250 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24251 (run-built-tests): Define to yes.
24252 (run-program-prefix): Use $(test-wrapper).
24253 (built-program-cmd): Likewise.
24254 * Rules (make-test-out): Use $(test-wrapper-env) and
24255 $(host-built-program-cmd).
24256 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24257 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24258 tst-pathopt.sh.
24259 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24260 $(test-wrapper-env) to tst-rtld-load-self.sh.
24261 ($(objpfx)order2.out): Use $(test-wrapper).
24262 ($(objpfx)tst-initorder.out): Likewise.
24263 ($(objpfx)tst-initorder2.out): Likewise.
24264 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24265 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24266 (test_wrapper_env): New variable. Use it to run ld.so.
24267 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24268 Use it to run ld.so.
24269 (test_wrapper_env): Likewise.
24270 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24271 $(test-wrapper) to run-iconv-test.sh.
24272 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24273 (ICONV): Use $test_wrapper.
24274 * posix/Makefile ($(objpfx)globtest.out): Pass
24275 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24276 globtest.sh, not $(run-program-prefix).
24277 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24278 (test_wrapper): Likewise.
24279 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24280 set together with run_via_rtld_prefix.
24281 (run_program_prefix): Define in terms of test_wrapper and
24282 run_via_rtld_prefix.
24283
6e6249d0
RM
242842012-10-24 Roland McGrath <roland@hack.frob.com>
24285
24286 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24287 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24288 Targets removed.
24289
24290 [BZ #14743]
24291 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24292 Declare __clock_getres, __clock_gettime, __clock_settime,
24293 __clock_nanosleep, and __clock_getcpuclockid.
24294 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24295 Remove librt_hidden_def (clock_gettime).
24296 * sysdeps/unix/clock_gettime.c: Likewise.
24297 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24298 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24299 * rt/clock_getres.c: Define __clock_getres as an alias.
24300 * sysdeps/posix/clock_getres.c: Likewise.
24301 * rt/clock_settime.c: Define __clock_settime as an alias.
24302 * sysdeps/unix/clock_settime.c: Likewise.
24303 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24304 * sysdeps/unix/clock_nanosleep.c: Likewise.
24305 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24306 * rt/clock-compat.c: New file.
24307 * rt/Makefile (librt-routines): Add clock-compat and move
24308 $(clock-routines) to ...
24309 (routines): ... here, new variable.
24310 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24311 Don't add get_clockfreq here.
24312 * rt/Versions (libc: GLIBC_2.17): New version set.
24313 Add clock_* symbols here.
24314 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24315 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24316 (GLIBC_2.17): Add clock_* symbols.
24317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24321 Likewise.
24322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24323 Likewise.
24324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24328 * NEWS: Mention the move.
24329
24330 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24331 Use __open, __read, __close rather than their public counterparts.
24332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24333 (__get_clockfreq_via_cpuinfo): Likewise.
24334 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24335 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24336
24337 * config.h.in (HAVE_IFUNC): New #undef.
24338 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24339 was successful.
24340 * configure: Regenerated.
24341
0cae3f4b
MF
243422012-10-24 Mike Frysinger <vapier@gentoo.org>
24343
24344 * configure.in: Move READELF check to start of file.
24345 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24346 libc_cv_asm_gnu_indirect_function in the process.
24347 * configure: Regenerated.
24348
8175a253
MF
243492012-10-24 Mike Frysinger <vapier@gentoo.org>
24350
24351 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24352 send the output to /dev/null.
24353 (libc_cv_cc_with_libunwind): Likewise.
24354 (libc_cv_as_noexecstack): Likewise.
24355 * configure: Regenerate.
24356
0708a7d1
JM
243572012-10-24 Joseph Myers <joseph@codesourcery.com>
24358
10b40d85
JM
24359 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24360
0708a7d1
JM
24361 * posix/globtest.sh (TMPDIR): Do not set.
24362 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24363 (testout): Likewise.
24364
9fddec1a
AJ
243652012-10-24 Andreas Jaeger <aj@suse.de>
24366
3a8db22f
AJ
24367 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24368 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24369 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24370 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24371 posix_fadvise64, posix_fallocate64.
24372
9fddec1a
AJ
24373 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24374 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24375 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24376 Likewise.
24377 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24378 Likewise.
24379 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24380
24381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24382 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24383 <bits/fcntl-linux.h>.
24384 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24385
24386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24387 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24388 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24389 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24390 [__WORDSIZE != 64]: Likewise.
24391
ebfd1bbd
JM
243922012-10-23 Joseph Myers <joseph@codesourcery.com>
24393
03ac099f
JM
24394 * Makeconfig (run-built-tests): New variable.
24395 * Rules [$(cross-compiling) = yes]: Change condition to
24396 [$(run-built-tests) = no].
24397 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24398 to [$(run-built-tests) = yes].
24399 * elf/Makefile [$(cross-compiling) = no]: Likewise
24400 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24401 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24402 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24403 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24404 * io/Makefile [$(cross-compiling) = no]: Likewise.
24405 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24406 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24407 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24408 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24409 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24410 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24411 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24412 * string/Makefile [$(cross-compiling) = no]: Likewise.
24413
ebfd1bbd
JM
24414 * posix/Makefile ($(objpfx)globtest.out): Pass
24415 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24416 $(rtld-installed-name).
24417 * posix/globtest.sh (elf_objpfx): Remove variable.
24418 (rtld_installed_name): Likewise.
24419 (library_path): Likewise.
24420 (run_program_prefix): New variable. Use for running globtest
24421 binary.
24422
166bca24
JB
244232012-10-23 Jim Blandy <jimb@codesourcery.com>
24424 Joseph Myers <joseph@codesourcery.com>
24425
24426 * Makeconfig (host-built-program-cmd): New variable.
24427 * elf/Makefile (tst-stackguard1-ARGS): Use
24428 $(host-built-program-cmd).
24429 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24430 (tst-spawn-ARGS): Likewise.
24431 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24432
88866099
JM
244332012-10-23 Joseph Myers <joseph@codesourcery.com>
24434 Jim Blandy <jimb@codesourcery.com>
24435
24436 * Makeconfig (run-via-rtld-prefix): New variable.
24437 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24438 (built-program-cmd): Likewise.
24439
b4b4c296
AJ
244402012-10-22 Andreas Jaeger <aj@suse.de>
24441
24442 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24443 __O_RSYNC if it exists, otherwise to O_SYNC.
24444
6fb54a22
JB
244452012-10-22 Jim Blandy <jimb@codesourcery.com>
24446 Joseph Myers <joseph@codesourcery.com>
24447
24448 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24449 /dev/null.
24450 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24451 from /dev/null
24452 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24453 /dev/null.
24454
481b90b9
AJ
244552012-10-22 Andreas Jaeger <aj@suse.de>
24456
2a0e2669
AJ
24457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24458 Define always.
24459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24460
76e38f9a
AJ
24461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24462 bits/fcntl-linux.h.
24463
7cd37b43
AJ
24464 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24465 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24466
481b90b9
AJ
24467 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24468 to __O_LARGEFILE.
24469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24470 to __O_LARGEFILE.
24471
aba75984
JB
244722012-10-21 Jim Blandy <jimb@codesourcery.com>
24473 Joseph Myers <joseph@codesourcery.com>
24474
24475 * config.make.in (NM): New variable.
24476
88d4247f
AJ
244772012-10-21 Andreas Jaeger <aj@suse.de>
24478
24479 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24480 definitions and declarations that are provided by
24481 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24482
f2eed205
L
244832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24484
24485 [BZ #14683]
24486 * elf/Makefile (tests-static): Add tst-leaks1-static.
24487 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24488 ($(objpfx)tst-leaks1-static): New rule.
24489 ($(objpfx)tst-leaks1-static-mem): Likewise.
24490 (tst-leaks1-static-ENV): New macro.
24491 * elf/dl-open.c (dl_open_worker): Check the main application
24492 only if SHARED is defined.
24493 * elf/tst-leaks1-static.c: New file.
24494
335e6931
AJ
244952012-10-20 Andreas Jaeger <aj@suse.de>
24496
24497 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24498 generic values for Linux.
24499 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24500 and declarations that are provided by <bits/fcntl-linux.h> and
24501 include <bits/fcntl-linux.h>.
24502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24504
ac5c94d3
RM
245052012-10-20 Roland McGrath <roland@hack.frob.com>
24506
24507 * io/fcntl.h: Move include of <bits/types.h> to the top and
24508 include it unconditionally.
24509
de54b33a
L
245102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24511
228cfb01
L
24512 * wcsmbs/Makefile (tests-ifunc): New variable.
24513 (tests): Add $(tests-ifunc).
24514 * wcsmbs/test-wcschr-ifunc.c: New file.
24515 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24516 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24517 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24518 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24519 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24520
69f07e5f
L
24521 * string/Makefile (tests-ifunc): New variable.
24522 (tests): Add $(tests-ifunc).
24523 * string/test-memccpy.c (TEST_NAME): New macro.
24524 * string/test-memchr.c (TEST_NAME): Likewise.
24525 * string/test-memcmp.c (TEST_NAME): Likewise.
24526 * string/test-memcpy.c (TEST_NAME): Likewise.
24527 * string/test-memmem.c (TEST_NAME): Likewise.
24528 * string/test-memmove.c (TEST_NAME): Likewise.
24529 * string/test-memset.c (TEST_NAME): Likewise.
24530 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24531 * string/test-stpcpy.c (TEST_NAME): Likewise.
24532 * string/test-stpncpy.c (TEST_NAME): Likewise.
24533 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24534 * string/test-strcasestr.c (TEST_NAME): Likewise.
24535 * string/test-strcat.c (TEST_NAME): Likewise.
24536 * string/test-strchr.c (TEST_NAME): Likewise.
24537 * string/test-strcmp.c(TEST_NAME): Likewise.
24538 * string/test-strcpy.c (TEST_NAME): Likewise.
24539 * string/test-strcspn.c (TEST_NAME): Likewise.
24540 * string/test-strlen.c (TEST_NAME): Likewise.
24541 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24542 * string/test-strncmp.c (TEST_NAME): Likewise.
24543 * string/test-strncpy.c (TEST_NAME): Likewise.
24544 * string/test-strnlen.c (TEST_NAME): Likewise.
24545 * string/test-strpbrk.c (TEST_NAME): Likewise.
24546 * string/test-strrchr.c (TEST_NAME): Likewise.
24547 * string/test-strspn.c (TEST_NAME): Likewise.
24548 * string/test-strstr.c (TEST_NAME): Likewise.
24549 * string/test-bcopy-ifunc.c: New file.
24550 * string/test-bzero-ifunc.c: Likewise.
24551 * string/test-memccpy-ifunc.c: Likewise.
24552 * string/test-memchr-ifunc.c: Likewise.
24553 * string/test-memcmp-ifunc.c: Likewise.
24554 * string/test-memcpy-ifunc.c: Likewise.
24555 * string/test-memmem-ifunc.c: Likewise.
24556 * string/test-memmove-ifunc.c: Likewise.
24557 * string/test-mempcpy-ifunc.c: Likewise.
24558 * string/test-memset-ifunc.c: Likewise.
24559 * string/test-rawmemchr-ifunc.c: Likewise.
24560 * string/test-stpcpy-ifunc.c: Likewise.
24561 * string/test-stpncpy-ifunc.c: Likewise.
24562 * string/test-strcasecmp-ifunc.c: Likewise.
24563 * string/test-strcasestr-ifunc.c: Likewise.
24564 * string/test-strcat-ifunc.c: Likewise.
24565 * string/test-strchr-ifunc.c: Likewise.
24566 * string/test-strchrnul-ifunc.c: Likewise.
24567 * string/test-strcmp-ifunc.c: Likewise.
24568 * string/test-strcpy-ifunc.c: Likewise.
24569 * string/test-strcspn-ifunc.c: Likewise.
24570 * string/test-strlen-ifunc.c: Likewise.
24571 * string/test-strncasecmp-ifunc.c: Likewise.
24572 * string/test-strncat-ifunc.c: Likewise.
24573 * string/test-strncmp-ifunc.c: Likewise.
24574 * string/test-strncpy-ifunc.c: Likewise.
24575 * string/test-strnlen-ifunc.c: Likewise.
24576 * string/test-strpbrk-ifunc.c: Likewise.
24577 * string/test-strrchr-ifunc.c: Likewise.
24578 * string/test-strspn-ifunc.c: Likewise.
24579 * string/test-strstr-ifunc.c: Likewise.
24580
de54b33a
L
24581 * debug/Makefile (tests-ifunc): New variable.
24582 (tests): Add $(tests-ifunc).
24583 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24584 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24585 * debug/test-stpcpy_chk-ifunc.c: New file.
24586 * debug/test-strcpy_chk-ifunc.c: Likewise.
24587
88481c16
SP
245882012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24589
24590 [BZ #13601]
24591 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24592 header is not read in.
24593
135948bd
JM
245942012-10-19 Joseph Myers <joseph@codesourcery.com>
24595
89f1c388
JM
24596 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24597 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24598 directly. Pass built executable to script as
24599 $(built-program-cmd).
24600 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24601 $testprogram without using LD_LIBRARY_PATH and $ldso.
24602
e40a0d21
JM
24603 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24604 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24605 $(rtld-installed-name).
24606 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24607 (rtld_installed_name): Likewise.
24608 (library_path): Likewise.
24609 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24610 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24611 $(run-program-prefix) to tst-tables.sh.
24612 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24613 it to run tst-table-from and tst-table-to.
24614 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24615 Pass it to tst-table.sh.
24616 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24617 $(run-program-prefix) to tst-gettext.sh.
24618 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24619 tst-translit.sh.
24620 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24621 tst-gettext2.sh.
24622 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24623 to run tst-gettext.
24624 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24625 to run tst-gettext2.
24626 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24627 to run tst-translit.
24628 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24629 $(run-program-prefix) to tst-mtrace.sh.
24630 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24631 to run tst-mtrace.
24632 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24633 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24634 $(rtld-installed-name).
24635 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24636 (rtld_installed_name): Likewise.
24637 (run_program_prefix): New variable. Use it to run wordexp-test.
24638
728e272a
JM
24639 * Makeconfig (ARCH): Remove all definitions.
24640 (machine): Likewise.
24641 [ARCH]: Remove conditional code.
24642 [!objdir]: Give error.
24643 [!objdir] (objpfx): Remove.
24644 [!objdir] (common-objpfx): Likewise.
24645 [!objdir] (common-objdir): Likewise.
24646 * configure.in (config_makefile): Remove. Hardcode Makefile in
24647 AC_CONFIG_FILES call.
24648 * configure: Regenerated.
24649
d528cdcf
JM
24650 [BZ #13888]
24651 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24652 or TMPDIR.
24653 (testout): Likewise.
24654
135948bd
JM
24655 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24656 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24657 $(rtld-installed-name).
24658 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24659 (rtld_installed_name): Likwise.
24660 (runit): Remove function.
24661 (run_getconf): New variable, Use it for running getconf binary.
24662
38c78296
L
246632012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24664
24665 [BZ #14716]
24666 * string/test-memmem.c (check_result): New function.
24667 (do_one_test): Use it.
24668 (check1): New function.
24669 (test_main): Use it.
24670
d077f65f
MT
246712012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24672
24673 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24674
ced52c71
JM
246752012-10-18 Joseph Myers <joseph@codesourcery.com>
24676
24677 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24678 (_G_LSEEK64): Likewise.
24679 (_G_MMAP64): Likewise.
24680 (_G_FSTAT64): Likewise.
24681 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24682 (_G_LSEEK64): Likewise.
24683 (_G_MMAP64): Likewise.
24684 (_G_FSTAT64): Likewise.
24685 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24686 unconditional. Call __mmap64 directly.
24687 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24688 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24689 __lseek64 directly.
24690 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24691 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24692 __mmap64 directly.
24693 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24694 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24695 __lseek64 directly.
24696 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24697 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24698 __lseek64 directly.
24699 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24700 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24701 __lseek64 directly.
24702 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24703 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24704 __fxstat64 directly.
24705 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24706 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24707 unconditional.
24708 (freopen64) [!_G_OPEN64]: Remove conditional code.
24709 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24710 unconditional.
24711 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24712 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24713 unconditional.
24714 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24715 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24716 unconditional.
24717 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24718 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24719 unconditional.
24720 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24721 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24722 unconditional.
24723 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24724 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24725 unconditional.
24726 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24727 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24728 unconditional.
24729 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24730
b741de23
SP
247312012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24732
24733 [BZ #12140]
24734 * manual/memory.texi (Malloc Tunable Parameters): Add note
24735 about free list pointers overwriting some perturb bytes.
24736 Wording suggested by Roland McGrath.
24737
f9b9d9c9
JM
247382012-10-17 Joseph Myers <joseph@codesourcery.com>
24739
24740 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24741 (lgamma_test): Likewise.
24742 (tgamma_test): Likewise.
24743
172a631a
FW
247442012-10-16 Florian Weimer <fweimer@redhat.com>
24745
24746 [BZ #14700]
24747 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24748 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24749
e9f37252
MK
247502012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24751
24752 * NEWS: Mention BZ #14716.
24753 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24754 when removing AVAILABLE1_USES_J macro.
24755
d394eb74
L
247562012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24757
24758 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24759 (__bswap_64): __uint64_t for unsigned 64-bit int.
24760
ca38dc17
AS
247612012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24762
24763 * include/string.h (memmem): Declare libc hidden alias.
24764 * string/memmem.c (memmem): Define libc hidden alias.
24765 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24766 __read, __close instead of open, read, close.
24767
9a387d1f
L
247682012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24769
ac49ecaf
L
24770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24771 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24772 global and hidden.
24773 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24774 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24775 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24776 Likewise.
24777 (__rawmemchr_sse2): Likewise.
24778 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24779 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24780 (__strchr_sse2): Likewise.
24781 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24782 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24783 (__strcasecmp_sse2): Likewise.
24784 (__strncasecmp_sse2): Likewise.
24785 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24786 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24787 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24788 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24789 (__strrchr_sse2): Likewise.
24790 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24791 ifunc-impl-list.c.
24792 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24793 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24794 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24795 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24796 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24797 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24798 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24799 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24800 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24801 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24802 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24803 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24804 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24805 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24806 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24807 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24808 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24809 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24810 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24811 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24812 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24813 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24814 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24815 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24816 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24817 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24818 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24819 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24820 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24821 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24822
b090e8ea
L
24823 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24824 global and hidden.
24825 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24826 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24827 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24828 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24829 Likewise.
24830 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24831 Likewise.
24832 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24833 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24834 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24835 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24836 ifunc-impl-list.c.
24837 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24838 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24839 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24840 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24841 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24842 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24843 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24844 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24845 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24846 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24847 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24848 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24849 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24850 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24851 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24852 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24853 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24854 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24855 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24856 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24858 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24859 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24860 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24861 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24862 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24863 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24864 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24865 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24866 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24867 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24868 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24869 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24870 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24871 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24872 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24873 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24874 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24875 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24876 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24877 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24878
11dd4af6
L
24879 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24880 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24881 * include/ifunc-impl-list.h: New file.
24882 * misc/ifunc-impl-list.c: Likewise.
24883 * misc/Makefile (routines): Add ifunc-impl-list.
24884 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24885 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24886 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24887 TEST_NAME]: New variables.
11dd4af6
L
24888 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24889 are defined.
24890 (test_init): Call __libc_ifunc_impl_list to initialize
24891 func_list if TEST_IFUNC and TEST_NAME are defined.
24892
9a387d1f
L
24893 * string/Makefile (strop-tests): Add bcopy and bzero.
24894 * string/test-bcopy.c: New file.
24895 * string/test-bzero.c: Likewise.
24896 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24897 defined.
24898 * string/test-memset.c: Support bzero test if TEST_BZERO is
24899 defined.
24900 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24901 __libc_memmove.
24902 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24903 __libc_memset.
24904 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24905 of memset.
24906
472371b9
JM
249072012-10-10 Joseph Myers <joseph@codesourcery.com>
24908
1e4a9536
JM
24909 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24910 * configure: Regenerated.
24911
d173d12e
JM
24912 * Makeconfig (+link-static-before-libc): Don't include
24913 $(link-static-libc).
24914
472371b9
JM
24915 * libio/libio.h (_IO_pos_t): Remove.
24916
89a3ad0b
AO
249172012-10-10 Alexandre Oliva <aoliva@redhat.com>
24918
24919 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24920 McGrath.
24921
e7451425
AO
249222012-10-10 Alexandre Oliva <aoliva@redhat.com>
24923
24924 * crypt/crypt-entry.c: Include fips-private.h.
24925 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24926 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24927 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24928 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24929
4ba74a35
AO
249302012-10-10 Alexandre Oliva <aoliva@redhat.com>
24931
24932 * crypt/crypt-private.h: Include stdbool.h.
24933 (_ufc_setup_salt_r): Return bool.
24934 * crypt/crypt-entry.c: Include errno.h.
24935 (__crypt_r): Return NULL with EINVAL for bad salt.
24936 * crypt/crypt_util.c (bad_for_salt): New.
24937 (_ufc_setup_salt_r): Check that salt is long enough and within
24938 the specified alphabet.
24939 * crypt/badsalttest.c: New file.
24940 * crypt/Makefile (tests): Add it.
24941 ($(objpfx)badsalttest): New.
24942
f96f1242
MK
249432012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24944
24945 * NEWS: Add entry for BZ #14602.
24946
0e8e0c1c
JM
249472012-10-09 Joseph Myers <joseph@codesourcery.com>
24948
24949 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24950 type-generic.
24951 * math/libm-test.inc: Update comment listing what functions and
24952 macros are tested.
24953 (isgreater_test): New function.
24954 (isgreaterequal_test): Likewise.
24955 (isless_test): Likewise.
24956 (islessequal_test): Likewise.
24957 (islessgreater_test): Likewise.
24958 (isunordered_test): Likewise.
24959 (main): Call the new functions.
24960
273edc5e
RM
249612012-10-09 Roland McGrath <roland@hack.frob.com>
24962
b8493de0
RM
24963 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24964 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24965 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24966 * sysdeps/i386/configure: Regenerated.
24967 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24968 * sysdeps/mach/configure: Regenerated.
24969 * sysdeps/mach/hurd/configure: Regenerated.
24970 * sysdeps/powerpc/configure: Regenerated.
24971 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24972 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24973 * sysdeps/s390/s390-32/configure: Regenerated.
24974 * sysdeps/s390/s390-64/configure: Regenerated.
24975 * sysdeps/sh/configure: Regenerated.
24976 * sysdeps/sparc/configure: Regenerated.
24977 * sysdeps/unix/sysv/linux/configure: Regenerated.
24978 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24979 * sysdeps/x86_64/configure: Regenerated.
24980
273edc5e
RM
24981 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24982 defined. Don't check if MAP is NULL.
24983
c8450f70
JM
249842012-10-09 Joseph Myers <joseph@codesourcery.com>
24985
24986 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24987 (_G_stat64): Likewise.
24988 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24989 (_G_stat64): Likewise.
24990 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24991 instead of struct _G_stat64.
24992 * libio/fileops.c (mmap_remap_check): Likewise.
24993 (decide_maybe_mmap): Likewise.
24994 (_IO_new_file_seekoff): Likewise.
24995 (_IO_file_stat): Likewise.
24996 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24997 _G_off64_t.
24998 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24999 instead of struct _G_stat64.
25000 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25001
57e605ba
MK
250022012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25003
25004 [BZ #14602]
25005 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25006 Replace with ...
25007 (CHECK_EOL): New macro.
25008 (two_way_short_needle): Check beginning of haystack for EOL. Use
25009 CHECK_EOL.
25010 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25011 Replace with CHECK_EOL.
25012 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25013 Replace with CHECK_EOL.
25014
ef1bb361
JM
250152012-10-08 Joseph Myers <joseph@codesourcery.com>
25016
25017 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25018 type-generic.
25019 * math/libm-test.inc: Update comment listing what functions and
25020 macros are tested.
25021 (finite_test): New function.
25022 (isinf_test): Likewise.
25023 (isnan_test): Likewise.
25024 (fpclassify_test): Test subnormal input.
25025 (isfinite_test): Likewise.
25026 (isnormal_test): Likewise.
25027 (main): Call the new functions.
25028
55f11534
JN
250292012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25030
25031 [BZ #14660]
25032 * Makerules (%.dynsym): Force C locale when running
25033 $(OBJDUMP) --dynamic-syms.
25034
1ab29350
AS
250352012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25036
25037 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25038 <stdint.h>.
25039
f1ecb7ef
DM
250402012-10-06 David S. Miller <davem@davemloft.net>
25041
25042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25043 upper 32-bits of the length value in %o2 since we use branch-on-register
25044 tests which consider the entire 64-bit register.
25045
5d41d91a
L
250462012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25047
25048 * string/test-strstr.c (check2): Add a test for page boundary.
25049
3baddb72
DM
250502012-10-05 David S. Miller <davem@davemloft.net>
25051
25052 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25053 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25054 file.
25055 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25056 sysdep_routines.
25057 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25058 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25059 and bzero when HWCAP_SPARC_CRYPTO is present.
25060
9cee5585
L
250612012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25062
d7e0dab9
L
25063 [BZ #14602]
25064 * string/test-strstr.c (check2): New function.
25065 (test_main): Call check2.
25066
03759f47
L
25067 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25068 and bug-strchr1.
25069 * string/bug-strcasestr1.c (do_test): Moved to ...
25070 * string/test-strcasestr.c (check1): Here. New function.
25071 (do_one_test): Break out result checking code into ...
25072 (check_result): This. New function.
25073 (do_one_test): Call check_result.
25074 (test_main): Call check1.
25075 * string/bug-strchr1.c (do_test): Moved to ...
25076 * string/test-strchr.c (check1): Here. New function.
25077 (do_one_test): Break out result checking code into ...
25078 (check_result): This. New function.
25079 (do_one_test): Call check_result.
25080 (test_main): Call check1.
25081 * string/bug-strstr1.c (main): Moved to ...
046f153e 25082 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25083 (do_one_test): Break out result checking code into ...
25084 (check_result): This. New function.
25085 (do_one_test): Call check_result.
25086 (test_main): Call check1.
25087 * string/bug-strcasestr1.c: Removed.
25088 * string/bug-strchr1.c: Likewise.
25089 * string/bug-strstr1.c: Likewise.
25090
53cea63e
L
25091 * elf/Makefile (dl-routines): Add hwcaps.
25092 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25093 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25094 (_dl_important_hwcaps): Moved to ...
25095 * elf/dl-hwcaps.c: Here. New file.
25096 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25097
9cee5585 25098 [BZ #14557]
bb859b06
L
25099 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25100 if IS_IN_rtld isn't defined.
25101
9cee5585
L
25102 * elf/dl-support.c (_dl_sysinfo_map): New.
25103 Include "get-dynamic-info.h" and "setup-vdso.h".
25104 (_dl_non_dynamic_init): Call setup_vdso.
25105 * elf/dynamic-link.h: Don't include <assert.h>.
25106 (elf_get_dynamic_info): Moved to ...
25107 * elf/get-dynamic-info.h: Here. New file.
25108 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25109 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25110 * elf/setup-vdso.h: Here. New file.
25111 * elf/rtld.c: Include "setup-vdso.h".
25112 (dl_main): Call setup_vdso.
25113
23c31b76
JM
251142012-10-05 Joseph Myers <joseph@codesourcery.com>
25115
28234b07
JM
25116 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25117 creal in comment listing functions tested. List finite, isinf,
25118 isnan, isless, islessequal, isgreater, isgreaterequal,
25119 islessgreater, isunordered, lgamma_r and pow10 as functions and
25120 macros not tested. Mention which functions not tested are aliases
25121 for other functions. Fix typo. Note that signs of NaNs are not
25122 tested.
25123
23c31b76
JM
25124 * scripts/config.guess: Update from config.git.
25125 * scripts/config.sub: Likewise.
25126
9043e228
RM
251272012-10-04 Roland McGrath <roland@hack.frob.com>
25128
25129 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25130 * misc/madvise.c (madvise): Renamed to __madvise.
25131 Make madvise a weak alias.
25132 * include/sys/mman.h: Declare __madvise.
25133 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25134 * sysdeps/unix/syscalls.list
25135 (madvise): Make __madvise the strong name, and madvise a weak alias.
25136 * sysdeps/unix/sysv/linux/syscalls.list
25137 (madvise, mmap): Remove redundant entries.
25138 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25139 * malloc/malloc.c (mtrim): Likewise.
25140 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25141
f57f8055
RM
251422012-10-03 Roland McGrath <roland@hack.frob.com>
25143
25144 * sysdeps/mach/hurd/dl-cache.c: File removed.
25145 * config.h.in (USE_LDCONFIG): New #undef.
25146 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25147 * configure: Regenerated.
25148 * elf/Makefile (dl-routines): Add dl-cache only under
25149 [$(use-ldconfig) = yes].
25150 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25151 cache on [USE_LDCONFIG].
25152 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25153 [USE_LDCONFIG].
25154 * elf/rtld.c (dl_main): Likewise.
25155
5bb0c10a
PT
251562012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25157
25158 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25159 _SC_LEVEL4_CACHE_LINESIZE.
25160
010188c6
RM
251612012-10-03 Roland McGrath <roland@hack.frob.com>
25162
25163 * sysdeps/unix/bsd/confstr.h: File removed.
25164
b6c5ec07
AO
251652012-10-02 Alexandre Oliva <aoliva@redhat.com>
25166
25167 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25168 sys/sdt-config.h.
25169
408223d4
RM
251702012-10-02 Roland McGrath <roland@hack.frob.com>
25171
25172 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25173 Make 'mapoff' field ElfW(Off) rather than off_t.
25174
bb9510dc
DL
251752012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25176
fc997c6e
DL
25177 * nscd/Makefile: Remove nscd-cflags and all its users.
25178 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25179 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25180
bb9510dc
DL
25181 [BZ #10631]
25182 * malloc.c (malloc_printerr): Clarify error message.
25183
05699367
L
251842012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25185
25186 [BZ #14648]
25187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25188 Set bit_FMA_Usable if FMA is supported.
25189 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25190 macro.
25191 (bit_FMA4_Usable): Updated.
25192 (index_FMA_Usable): New macro.
25193 (CPUID_FMA): Likewise
25194 (HAS_FMA): Defined with bit_FMA_Usable.
25195
51367701
RM
251962012-10-01 Roland McGrath <roland@hack.frob.com>
25197
25198 * bits/types.h (__swblk_t): Type removed.
25199 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25200 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25202 (__SWBLK_T_TYPE): Likewise.
25203 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25204 (__SWBLK_T_TYPE): Likewise.
25205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25206 (__SWBLK_T_TYPE): Likewise.
25207 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25208 (__SWBLK_T_TYPE): Likewise.
25209
4d57bf63 252102012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25211 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25212
25213 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25214 (xdr_mapname): Use YPMAXMAP as maxsize.
25215 (xdr_peername): Use YPMAXPEER as maxsize.
25216 (xdr_keydat): Use YPAXRECORD as maxsize.
25217 (xdr_valdat): Use YPMAXRECORD as maxsize.
25218
93c65d43
RM
252192012-10-01 Roland McGrath <roland@hack.frob.com>
25220
497a03d6
RM
25221 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25222
93c65d43
RM
25223 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25224 * csu/init-first.c: ... here.
25225 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25226 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25227 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25228 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25229 * sysdeps/i386/init-first.c: File removed.
25230 * sysdeps/sh/init-first.c: File removed.
25231
bec749fd
JM
252322012-10-01 Joseph Myers <joseph@codesourcery.com>
25233
25234 [BZ #14645]
25235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25236 if x * y might underflow to zero and z is zero.
25237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25239 * math/libm-test.inc (min_subnorm_value): New variable.
25240 (fma_test): Add more tests.
25241 (fma_test_towardzero): Likewise.
25242 (fma_test_downward): Likewise
25243 (fma_test_upward): Likewise.
25244 (initialize): Set min_subnorm_value.
25245
8ec5b013
JM
252462012-09-29 Joseph Myers <joseph@codesourcery.com>
25247
25248 [BZ #14638]
25249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25250 0 + 0.
25251 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25252 mode for addition resulting in exact zero.
25253 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25255 exact 0 + 0.
25256 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25258 * math/libm-test.inc (fma_test): Add more tests.
25259 (fma_test_towardzero): New function.
25260 (fma_test_downward): Likewise.
25261 (fma_test_upward): Likewise.
25262 (main): Call the new functions.
25263
b1fa802e
DM
252642012-09-28 David S. Miller <davem@davemloft.net>
25265
25266 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25267
d3b9fd9e
RM
252682012-09-28 Roland McGrath <roland@hack.frob.com>
25269
ea4d37b3
RM
25270 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25271 instead of SIGALRM.
25272
ac51c949
RM
25273 * sysdeps/gnu/_G_config.h: Moved to ...
25274 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25275 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25276 * sysdeps/generic/_G_config.h: ... here.
25277
28c195f7
RM
25278 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25279
848917f9
RM
25280 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25281
6bacf05b
RM
25282 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25283 Conditionalize target on [libnss_test1.so-version].
25284
91363dbb
RM
25285 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25286
cc87f7d8
RM
25287 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25288 (elfobjdir): Move out of conditionals.
25289
b1c608fe
RM
25290 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25291 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25292 (__nss_lookup_function): Conditionalize label remove_from_tree on
25293 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25294
1d9a6d96
DM
252952012-09-28 David S. Miller <davem@davemloft.net>
25296
25297 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25298 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25299 file.
25300 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25301 sysdep_routines.
25302 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25304 when HWCAP_SPARC_CRYPTO is present.
25305
72581615
PT
253062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25307
25308 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25309
715a900c
JL
253102012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25311
25312 [BZ #6530]
25313 * stdio-common/vfprintf.c (process_string_arg): Revert
25314 2000-07-22 change.
25315
253162011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25317
25318 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25319 for testcase.
25320 * stdio-common/tst-sprintf.c: Include <locale.h>
25321 (main): Test sprintf's handling of incomplete multibyte
25322 characters.
25323
9bac1d86
L
253242012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25325
25326 * elf/dl-runtime.c (VERSYMIDX): Removed.
25327 * elf/dl-version.c (VERSYMIDX): Likewise.
25328 * elf/do-rel.h (VERSYMIDX): Likewise.
25329 (VALIDX): Likewise.
25330 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25331 * elf/rtld.c (VALIDX): Likewise.
25332 (ADDRIDX): Likewise.
9bac1d86
L
25333 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25334 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25335 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25336 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25337 (VALIDX): Likewise.
25338 (ADDRIDX): Likewise.
9bac1d86 25339
b31606c0
PT
253402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25341
25342 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25343
11541177
JL
253442012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25345
25346 [BZ #11438]
25347 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25348 to global scope.
25349 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25350 addresses are in the same scope as 192.0.2/24.
25351 * posix/gai.conf: Document new scope table defaults.
25352
adb26fae
SP
253532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25354
25355 [BZ #5298]
25356 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25357 for ftell. Compute offsets from write pointers instead.
25358 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25359
4573c6b0
SP
253602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25361
25362 [BZ #14543]
25363 * libio/Makefile (tests): New test case tst-fseek.
25364 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25365 combination works in wide mode.
25366 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25367 state when the external buffer state changes.
25368
aa9bbfe6
DM
253692012-09-27 David S. Miller <davem@davemloft.net>
25370
25371 [BZ #14376]
25372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25373 pass reloc->r_addend in as the 'high' argument to
25374 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25375
784421e7
DM
25376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25377
c39bc8b8
PT
253782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25379
25380 * rt/tst-aio2.c: Include <pthread.h>.
25381 * rt/tst-aio3.c: Likewise.
25382
1ccc2399
SE
253832012-09-27 Steve Ellcey <sellcey@mips.com>
25384
25385 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25386
31ed4153
L
253872012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25388
25f5f885
L
25389 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25390 contents on [SHARED].
31ed4153 25391
b7bfe116
MP
253922012-09-26 Marek Polacek <polacek@redhat.com>
25393
25394 [BZ #14530]
25395 [BZ #13741]
25396 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25397 for C++ and GCC <4.3 as well as for non GCC compilers.
25398
43c4edba
MT
253992012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25400
25401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25402
6a1bf82f
RM
254032012-09-25 Roland McGrath <roland@hack.frob.com>
25404
25405 * Makefile.in (all, install): Declare with .PHONY.
25406 Reported by Michael Hope <michael.hope@linaro.org>.
25407
8ad11b9a
TMQMF
254082012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25409
25410 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25411 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25412 system header.
25413 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25414 Likewise.
25415 (sydep_routines): Add the new and the internal functions.
25416 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25417 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25419 (GLIBC_2.17): Add the new function.
25420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25421 (GLIBC_2.17): Likewise.
25422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25423 (GLIBC_2.17): Likewise.
25424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25425 (GLIBC_2.17): Likewise.
25426 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25427
7e2fca8d
AM
254282012-09-25 Alan Modra <amodra@gmail.com>
25429
25430 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25431 Add release barrier before setting once_control to say
25432 initialisation is done. Add hints on lwarx. Use macro in
25433 place of isync.
25434 (clear_once_control): Add release barrier.
25435
b87c4b24
JM
254362012-09-25 Joseph Myers <joseph@codesourcery.com>
25437
d032e0d2
JM
25438 [BZ #13629]
25439 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25440 specially.
25441 * math/s_clog10.c (__clog10): Likewise.
25442 * math/s_clog10f.c (__clog10f): Likewise.
25443 * math/s_clog10l.c (__clog10l): Likewise.
25444 * math/s_clogf.c (__clogf): Likewise.
25445 * math/s_clogl.c (__clogl): Likewise.
25446 * math/Makefile (libm-calls): Add x2y2m1.
25447 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25448 (__x2y2m1): Likewise.
25449 (__x2y2m1l): Likewise.
25450 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25451 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25452 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25453 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25454 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25455 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25456 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25457 * sysdeps/i386/fpu/libm-test-ulps: Update.
25458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25459
b87c4b24
JM
25460 [BZ #14621]
25461 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25462 int as type of variable DEPTH.
25463 (glob): Use size_t instead of int as type of variables NEWCOUNT
25464 and OLD_PATHC.
25465
6d3bf199
LD
254662012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25467
22bf5c17
LD
25468 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25469 Add s_sincosf-sse2.
25470 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25471 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25472 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25473 macros for using routine as __sincosf_ia32.
25474 Use macro for function declaration and weak_alias.
25475 * sysdeps/i386/fpu/libm-test-ulps: Update.
25476
25477 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25479
25480 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25481 subnormal argument.
25482 * math/s_cexpf.c (__cexpf): Likewise.
25483 * math/s_csinf.c (__csinf): Likewise.
25484 * math/s_csinhf.c (__csinhf): Likewise.
25485 * math/s_ctanf.c (__ctanf): Likewise.
25486 * math/s_ctanhf.c (__ctanhf): Likewise.
25487 * math/s_ccosh.c (__ccoshf): Likewise.
25488 * math/s_cexp.c (__cexpl): Likewise.
25489 * math/s_csin.c (__csin): Likewise.
25490 * math/s_csinh.c (__csinh): Likewise.
25491 * math/s_ctan.c (__ctan): Likewise.
25492 * math/s_ctanh.c (ctanh): Likewise.
25493 * math/s_ccoshl.c (__ccoshl): Likewise.
25494 * math/s_cexpl.c (__cexpl): Likewise.
25495 * math/s_csinl.c (__csinl): Likewise.
25496 * math/s_csinhl.c (__csinhl): Likewise.
25497 * math/s_ctanl.c (__ctanl): Likewise.
25498 * math/s_ctanhl.c (__ctanhl): Likewise.
25499
203e5603
JM
255002012-09-25 Joseph Myers <joseph@codesourcery.com>
25501
25502 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25503 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25504 (_IO_off_t): Define to __off_t, not _G_off_t.
25505 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25506 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25507 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25508 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25509 type of __dummy and __dummy2 fields.
25510 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25511 (_G_ssize_t): Likewise.
25512 (_G_off_t): Likewise.
25513 (_G_pid_t): Likewise.
25514 (_G_uid_t): Likewise.
25515 (_G_wchar_t): Likewise.
25516 (_G_wint_t): Likewise.
25517 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25518 (_G_ssize_t): Likewise.
25519 (_G_off_t): Likewise.
25520 (_G_pid_t): Likewise.
25521 (_G_uid_t): Likewise.
25522 (_G_wchar_t): Likewise.
25523 (_G_wint_t): Likewise.
25524 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25525 (_G_ssize_t): Likewise.
25526 (_G_off_t): Likewise.
25527 (_G_pid_t): Likewise.
25528 (_G_uid_t): Likewise.
25529 (_G_wchar_t): Likewise.
25530 (_G_wint_t): Likewise.
25531
9fab36eb
SP
255322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25533
25534 * malloc/arena.c: Include malloc-sysdep.h.
25535 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25536 is sufficient to shrink the heap or an unmap is needed.
25537 * sysdeps/generic/malloc-sysdep.h: New file. Define
25538 new function check_may_shrink_heap.
25539 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25540 new function check_may_shrink_heap.
25541
2b4f00d1
SP
255422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25543
25544 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25545 comments.
25546
9a9028b1
DL
255472012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25548
57c69bef
DL
25549 * catgets/test-gencat.sh: Add "set -e".
25550 * elf/tst-pathopt.sh: Likewise.
25551 * grp/tst_fgetgrent.sh: Likewise.
25552 * iconvdata/run-iconv-test.sh: Likewise.
25553 * intl/tst-gettext.sh: Likewise.
25554 * intl/tst-gettext2.sh: Likewise.
25555 * intl/tst-gettext4.sh: Likewise.
25556 * intl/tst-gettext6.sh: Likewise.
25557 * intl/tst-translit.sh: Likewise.
25558 * io/ftwtest-sh: Likewise.
25559 * libio/test-freopen.sh: Likewise.
25560 * malloc/tst-mtrace.sh: Likewise.
25561 * posix/globtest.sh: Likewise.
25562 * posix/tst-getconf.sh: Likewise.
25563 * posix/wordexp-tst.sh: Likewise.
25564 * stdio-common/tst-printf.sh: Likewise.
25565 * stdio-common/tst-unbputc.sh: Likewise.
25566 * stdlib/tst-fmtmsg.sh: Likewise.
25567 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25568 * catgets/Makefile: Do not specify -e option when running
25569 testsuite shell scripts.
25570 * elf/Makefile: Likewise.
25571 * grp/Makefile: Likewise.
25572 * iconvdata/Makefile: Likewise.
25573 * intl/Makefile: Likewise.
25574 * io/Makefile: Likewise.
25575 * libio/Makefile: Likewise.
25576 * malloc/Makefile: Likewise.
25577 * posix/Makefile: Likewise.
25578 * stdio-common/Makefile: Likewise.
25579 * stdlib/Makefile: Likewise.
25580 * sysdeps/x86_64/Makefile: Likewise.
25581
9a9028b1
DL
25582 * io/ftwtest-sh: Add copyright header.
25583 * posix/globtest.sh: Likewise.
25584 * posix/tst-getconf.sh: Likewise.
25585 * posix/wordexp-tst.sh: Likewise.
25586 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25587
ced6f16e
L
255882012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25589
94b32c39
L
25590 [BZ #13679]
25591 * Makeconfig (+link): Defined as $(+link-static) if
25592 $(build-shared) isn't yes.
25593 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25594 isn't yes.
25595 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25596
189e935b
L
25597 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25598
ced6f16e
L
25599 [BZ #14562]
25600 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25601 new chunk size with MALLOC_ALIGN_MASK.
25602
a9f8e53a
JM
256032012-09-24 Joseph Myers <joseph@codesourcery.com>
25604
25605 [BZ #5044]
25606 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25607 <rounding-mode.h>.
25608 (__printf_fphex): Determine rounding using get_rounding_mode and
25609 round_away.
25610 * stdio-common/tst-printf-round.c (struct hex_test): New
25611 structure.
25612 (hex_tests): New variable.
25613 (test_hex_in_one_mode): New function.
25614 (do_test): Also run tests for hex float output.
25615
43153109
JM
256162012-09-21 Joseph Myers <joseph@codesourcery.com>
25617
25618 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25619 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25620 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25621 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25622 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25623 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25624 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25625 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25626
8a26625d
JM
256272012-09-20 Joseph Myers <joseph@codesourcery.com>
25628
25629 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25630 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25631 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25632 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25633
f3fd569c
DL
256342012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25635
25636 [BZ #14579]
25637 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25638 mode only.
25639 * elf/tst-rtld-load-self.sh: New test.
25640 * elf/Makefile: Run it.
25641
63bbedd4
JM
256422012-09-18 Joseph Myers <joseph@codesourcery.com>
25643
25644 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25645 (tst-writev-ENV): Remove.
25646 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25647
626f8b6a
CM
256482012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25649
25650 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25651
b7aaa4d6
JM
256522012-09-17 Joseph Myers <joseph@codesourcery.com>
25653
25654 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25655 unconditional.
25656 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25657 Likewise.
25658 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25659 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25660 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25661 Likewise.
25662
65513990
L
256632012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25664
25665 [BZ #14587]
25666 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25667 * config.make.in (have-cpp-asm-debuginfo): Removed.
25668 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25669 * configure: Regenerated.
25670
784761be
JM
256712012-09-14 Joseph Myers <joseph@codesourcery.com>
25672
25673 [BZ #5044]
25674 * stdio-common/printf_fp.c: Include <stdbool.h> and
25675 <rounding-mode.h>.
25676 (___printf_fp): Determine rounding using get_rounding_mode and
25677 round_away.
25678 * stdio-common/tst-printf-round.c: New file.
25679 * stdio-common/Makefile (tests): Add tst-printf-round.
25680 (link-libm): New variable.
25681 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25682
9503345f
L
256832012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25684
25685 [BZ #14576]
25686 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25687 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25688 Likewise.
25689 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25690 Likewise.
25691
ad35fc00
JM
256922012-09-13 Joseph Myers <joseph@codesourcery.com>
25693
25694 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25695 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25696 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25697 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25698
6c9b0f68
JM
256992012-09-12 Joseph Myers <joseph@codesourcery.com>
25700
25701 [BZ #14518]
25702 * include/rounding-mode.h: New file.
25703 * sysdeps/generic/get-rounding-mode.h: Likewise.
25704 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25705 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25706 (MAX_VALUE): New macro.
25707 (MIN_VALUE): Likewise.
25708 (overflow_value): New function.
25709 (underflow_value): Likewise.
25710 (round_and_return): Use overflow_value and underflow_value to
25711 determine return values in overflow and underflow cases. Use
25712 round_away to determine rounding depending on rounding mode.
25713 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25714 determine return values in overflow and underflow cases.
25715 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25716 (struct test_results): New structure.
25717 (struct test): Use struct test_results to store expected results
25718 for all rounding modes.
25719 (TEST): Include expected results for all rounding modes.
25720 (test_in_one_mode): New function.
25721 (do_test): Use test_in_one_mode to compute and check results.
25722 Check results for all rounding modes.
25723 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25724 $(link-libm).
25725
19fcedd5
AM
257262012-12-09 Allan McRae <allan@archlinux.org>
25727
1e9d84cd 25728 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25729
8bbfd2f1
JM
257302012-09-11 Joseph Myers <joseph@codesourcery.com>
25731
25732 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25733 (_G_int32_t): Likewise.
25734 (_G_uint16_t): Likewise.
25735 (_G_uint32_t): Likewise.
25736 (_G_HAVE_BOOL): Likewise.
25737 (_G_HAVE_ATEXIT): Likewise.
25738 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25739 (_G_HAVE_IO_FILE_OPEN): Likewise.
25740 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25741 (_G_int32_t): Likewise.
25742 (_G_uint16_t): Likewise.
25743 (_G_uint32_t): Likewise.
25744 (_G_HAVE_BOOL): Likewise.
25745 (_G_HAVE_ATEXIT): Likewise.
25746 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25747 (_G_HAVE_IO_FILE_OPEN): Likewise.
25748 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25749 (_G_int32_t): Likewise.
25750 (_G_uint16_t): Likewise.
25751 (_G_uint32_t): Likewise.
25752 (_G_HAVE_BOOL): Likewise.
25753 (_G_HAVE_ATEXIT): Likewise.
25754 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25755 (_G_HAVE_IO_FILE_OPEN): Likewise.
25756
b1dc5912
L
257572012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25758
25759 * csu/libc-tls.c: Update copyright years.
25760
0e886ef9
JM
257612012-09-10 Joseph Myers <joseph@codesourcery.com>
25762
28361c5e
JM
25763 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25764 [!_G_USING_THUNKS]: Remove conditional code.
25765 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25766 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25767
0e886ef9
JM
25768 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25769 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25770 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25771 (_G_VTABLE_LABEL_PREFIX): Likewise.
25772 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25773 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25774 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25775 (_G_VTABLE_LABEL_PREFIX): Likewise.
25776 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25777 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25778 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25779 (_G_VTABLE_LABEL_PREFIX): Likewise.
25780 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25781
bcba7aa2
L
257822012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25783
25784 * libio/Makefile: Include ../Makeconfig before tests.
25785 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25786 only if $(build-shared) is yes.
25787
06585ee8
L
25788 * iconv/gconv_db.c: Update copyright years.
25789
80ccd52c
LD
257902012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25791
25792 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25793 unwind info if defined PIC. Fix special cases description.
25794 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25795
25796 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25797 DP_HI_MASK entry.
25798 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25799
691bc9c1
L
258002012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25801
3d9b46b3
L
25802 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25803
de2139a9
L
25804 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25805 is NULL.
25806
5ca78dd0
L
25807 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25808 (LDLIBS-tst-chk4): This.
25809 (LDFLAGS-tst-chk5): Renamed to ...
25810 (LDLIBS-tst-chk5): This.
25811 (LDFLAGS-tst-chk6): Renamed to ...
25812 (LDLIBS-tst-chk6): This.
25813 (LDFLAGS-tst-lfschk4): Renamed to ...
25814 (LDLIBS-tst-lfschk4): This.
25815 (LDFLAGS-tst-lfschk5): Renamed to ...
25816 (LDLIBS-tst-lfschk5): This.
25817 (LDFLAGS-tst-lfschk6): Renamed to ...
25818 (LDLIBS-tst-lfschk6): This.
25819
691bc9c1
L
25820 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25821 on $(common-objpfx)soversions.mk.
25822
65cafb1c
JM
258232012-09-07 Joseph Myers <joseph@codesourcery.com>
25824
25825 [BZ #10014]
25826 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25827 example host name.
25828
c78ab094
SP
258292012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25830
25831 * malloc/arena.c (arena_get_retry): New function that gets
25832 another arena for the caller to try its request on.
25833 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25834 current arena cannot fulfill the request.
25835 (__libc_memalign): Likewise.
25836 (__libc_memalign): Likewise.
25837 (__libc_pvalloc): Likewise.
25838 (__libc_calloc): Likewise.
25839
01f49f59
JT
258402012-09-05 John Tobey <john.tobey@gmail.com>
25841
25842 [BZ #13542]
25843 * manual/arith.texi (Operations on Complex): Fix description
25844 of carg branch cut.
25845
4c23fed5
JM
258462012-09-06 Joseph Myers <joseph@codesourcery.com>
25847
1d3c8572
JM
25848 [BZ #10014]
25849 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25850 host name.
25851
4c23fed5
JM
25852 [BZ #10038]
25853 * manual/memory.texi (Memory): Make order of menu items match
25854 order of sections.
25855
04570aaa
L
258562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25857
25858 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25859 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25860 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25861
b80af2f4
L
258622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25863
25864 * csu/libc-tls.c (static_dtv): Renamed to ...
25865 (_dl_static_dtv): This. Make it global.
25866 (_dl_initial_dtv): Removed.
25867 (__libc_setup_tls): Updated.
25868 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25869 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25870 DL_INITIAL_DTV.
25871
2abe9f15
PM
258722012-09-06 Petr Machata <pmachata@redhat.com>
25873
25874 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25875 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25876 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25877 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25878
0948c3af
L
258792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 [BZ #14545]
25882 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25883 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25884 freeing dtv[-1].
25885
a5055ad1
L
258862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25887
25888 [BZ #14544]
25889 * Makeconfig (link-static-before-libc): Replace $(+prector)
25890 with $(+prectorT).
25891 (link-static-after-libc): Replace $(+postctor) with
25892 $(+postctorT).
25893 (link-bounded): Replace $(+prector)/$(+postctor) with
25894 $(+prectorT)/$(+postctorT).
25895 (+prectorT): New macro.
25896 (+postctorT): Likewise.
25897
ed8c2ecd
JM
258982012-09-06 Joseph Myers <joseph@codesourcery.com>
25899
25900 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25901 (round_str): Handle values above the maximum for IBM long double
25902 as inexact.
25903 * stdlib/tst-strtod-round.c (tests): Regenerated.
25904
14c996c8
AK
259052012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25906
25907 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25908 assembler flag.
25909 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25910 zarch_nohighgprs around the zarch optimized routines.
25911 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25912 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25913 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25914 for zarch.
25915
430d6ce6
DM
259162012-09-05 David S. Miller <davem@davemloft.net>
25917
25918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25919
57f41c40
AS
25920 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25921 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25922 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25923 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25924 entries.
25925
24d4e01b
AO
259262012-09-05 Alexandre Oliva <aoliva@redhat.com>
25927
25928 * malloc/arena.c: Fold copyright years.
25929 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25930
61d58174
AO
259312012-09-05 Alexandre Oliva <aoliva@redhat.com>
25932
25933 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25934
20196a5e
AO
259352012-09-05 Alexandre Oliva <aoliva@redhat.com>
25936
25937 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25938
5c447383
AO
259392012-09-05 Alexandre Oliva <aoliva@redhat.com>
25940
25941 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25942 change internal state upon failure.
25943
fad64255
AO
259442012-09-05 Alexandre Oliva <aoliva@redhat.com>
25945
25946 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25947 * malloc/memusage.c (mmap): Likewise.
25948 (mmap64, mremap): Likewise. Adjust name in comment.
25949
1ffb8c90
SP
259502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25951
25952 * libio/fileops.c: Fix typos in comments.
25953 * libio/oldfileops.c: Likewise.
25954 * libio/wfileops.c: Likewise.
25955
6ef9cc37
SP
259562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25957
25958 [BZ #1349]
25959 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25960 (tst-malloc-usable-ENV): Set environment for test case.
25961 * malloc/hooks.c (malloc_check_get_size): New function to get
25962 requested size.
25963 * malloc/malloc.c (musable): Use malloc_check_get_size.
25964 * malloc/tst-malloc-usable.c: New test case.
25965
4d038ae3
AS
259662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25967
25968 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25969
c4e85184
AM
259702012-09-05 Allan McRae <allan@archlinux.org>
25971
b9dafc56 25972 [BZ #13966]
c4e85184
AM
25973 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25974 determine header location.
25975 * configure: Regenerated.
25976
e1343020
AS
259772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25978
25979 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25980 float format.
25981 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25982 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25983 format.
e1343020
AS
25984 (test): Regenerate.
25985
0a9f1987
DM
259862012-09-04 David S. Miller <davem@davemloft.net>
25987
25988 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25989 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25990 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25991
29237804
FW
259922012-09-04 Florian Weimer <fweimer@redhat.com>
25993
25994 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25995 failures.
25996
edb3cb88
FW
25997 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25998
60160d83
JM
259992012-09-04 Joseph Myers <joseph@codesourcery.com>
26000
26001 [BZ #9914]
26002 * libio/iogetdelim.c: Include <limits.h>.
26003 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26004 + len + 1 would overflow.
26005
bcd6c8dc
AJ
260062012-09-03 Andreas Jaeger <aj@suse.de>
26007
26008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26009 * sysdeps/i386/fpu/libm-test-ulps: Update.
26010
4ffffbd2
LD
260112012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26012
26013 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26014 Add s_sinf-sse2, s_conf-sse2.
26015
26016 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26017 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26018 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26019 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26020
26021 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26022 for using routine as __sinf_ia32.
26023 Use macro for function declaration and weak_alias.
26024 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26025 for using routine as __cosf_ia32.
26026 Use macro for function declaration and weak_alias.
26027
26028 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26029 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26030
26031 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26032 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26034
26035 * math/libm-test.inc (cos_test): Add more test cases.
26036 (sin_test): Likewise.
26037 (sincos_test): Likewise.
26038
511fa286
AK
260392012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26040
26041 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26042 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26043 hidden.
26044 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26045
5f30cfec
L
260462012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26047
26048 [BZ #14538]
26049 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26050 first element of the GOT.
26051 (elf_machine_load_address): Return the difference between
26052 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26053
0786794f
AM
260542012-09-01 Allan McRae <allan@archlinux.org>
26055
5f30cfec
L
26056 [BZ #13412]
26057 * configure.in (AWK): Require gawk version 3.0 or later.
26058 * configure: Regenerated.
0786794f 26059
26889eac
JM
260602012-09-01 Joseph Myers <joseph@codesourcery.com>
26061
26062 * sysdeps/unix/sysv/linux/kernel-features.h
26063 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26064 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26065 [__NR_clock_getres]: Make code unconditional.
26066 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26067 (clock_getcpuclockid): Remove code left unreachable by removal of
26068 conditionals.
26069 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26070 code unconditional.
26071 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26072 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26073 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26074 Make code unconditional.
26075 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26076 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26077 * sysdeps/unix/sysv/linux/clock_settime.c
26078 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26079 conditional code.
26080 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26081 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26082
d22e28b0
L
260832012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26084
26085 [BZ #14476]
26086 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26087 scripts/test-installation.pl.
26088
26089 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26090 and $ld_so_version if it is set.
26091
050af9c4
SP
260922012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26093
26094 [BZ #14516]
26095 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26096 failure if reading from procfs failed.
26097 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26098
ad845c0b
JM
260992012-08-27 Joseph Myers <joseph@codesourcery.com>
26100
26101 * sysdeps/unix/sysv/linux/kernel-features.h
26102 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26103 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26104 Remove conditional code.
26105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26106 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26107 Remove conditional code.
26108 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26109 * sysdeps/unix/sysv/linux/i386/fxstat.c
26110 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26112 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26113 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26115 * sysdeps/unix/sysv/linux/i386/lxstat.c
26116 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26118 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26119 Remove conditional code.
26120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26121 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26122 Remove conditional code.
26123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26124 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26125 <kernel-features.h>.
26126 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26127 Remove.
26128 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26129 Remove conditional code.
26130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26131 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26132 Remove conditional.
26133
5dbf56af
MF
261342012-08-27 Mike Frysinger <vapier@gentoo.org>
26135
26136 [BZ #5400]
26137 * NEWS: Add fixed bug number.
26138
d6e70f43
JM
261392012-08-27 Joseph Myers <joseph@codesourcery.com>
26140
7efb4737
JM
26141 [BZ #14519]
26142 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26143 underflowing exponent in case of negative sign.
26144 * stdlib/tst-strtod-round-data: Add more tests.
26145 * stdlib/tst-strtod-round.c (tests): Regenerated.
26146
af92131a
JM
26147 [BZ #3479]
26148 * stdlib/strtod_l.c (NDIG): Remove.
26149 (HEXNDIG): Likewise.
26150 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26151 smallest representable value.
26152 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26153 lie within an exact representation of 1/2 ulp of the result.
26154 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26155 unconditionally.
26156 (TENS_P9_IDX): Define unconditionally.
26157 (TENS_P9_SIZE): Likewise.
26158 (TENS_P10_IDX): Likewise.
26159 (TENS_P10_SIZE): Likewise.
26160 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26161 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26162 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26163 entries for 10^2^13 and 10^2^14.
26164 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26165 (TENS_P13_IDX): Define.
26166 (TENS_P13_SIZE): Likewise.
26167 (TENS_P14_IDX): Likewise.
26168 (TENS_P14_SIZE): Likewise.
26169 (_fpioconst_pow10): Change array size to
26170 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26171 unconditional.
26172 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26173 1024]: Add entries for 10^2^13 and 10^2^14.
26174 [LAST_POW10 > _LAST_POW10]: Remove #error.
26175 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26176 (_fpioconst_pow10): Change array size to
26177 FPIOCONST_POW10_ARRAY_SIZE.
26178 * stdlib/gen-fpioconst.c: New file.
26179 * stdlib/gen-tst-strtod-round.c: Likewise.
26180 * stdlib/tst-strtod-round-data: Likewise.
26181 * stdlib/tst-strtod-round.c: Likewise.
26182 * stdlib/Makefile (tests): Add tst-strtod-round.
26183
d6e70f43
JM
26184 [BZ #14459]
26185 * stdlib/strtod_l.c: Include <stdint.h>.
26186 (NDEBUG): Do not define.
26187 (round_and_return): Change EXPONENT parameter to type intmax_t.
26188 Rearrange calculations to avoid internal overflow possibilities.
26189 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26190 Rearrange calculations to avoid internal overflow possibilities.
26191 Assert that number fits inside MPNSIZE limbs.
26192 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26193 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26194 calculations and add assertions to avoid internal overflow
26195 possibilities. Add casts to avoid signed/unsigned operations.
26196 * stdlib/tst-strtod-overflow.c: New file.
26197 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26198
1f529f7d
MP
261992012-08-25 Marek Polacek <polacek@redhat.com>
26200
26201 * time/time.h: Fix some typos in comments.
26202
59a629f1
RM
262032012-08-23 Roland McGrath <roland@hack.frob.com>
26204
26205 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26206 * posix/tst-rfc3484-2.c: Likewise.
26207 * posix/tst-rfc3484-3.c: Likewise.
26208
d3bafbc9
SM
262092012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26210
26211 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26212 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26213
4efcc022
JM
262142012-08-23 Joseph Myers <joseph@codesourcery.com>
26215
26216 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26217 #include of fxstatat64.c.
26218
3cc3ef96
RM
262192012-08-22 Roland McGrath <roland@hack.frob.com>
26220
f04e2132
RM
26221 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26222 * shadow/getspent_r.c: Likewise.
26223 * shadow/getspnam.c: Likewise.
26224 * shadow/getspnam_r.c: Likewise.
26225 * gshadow/getsgent.c: Likewise.
26226 * gshadow/getsgent_r.c: Likewise.
26227 * gshadow/getsgnam.c: Likewise.
26228 * gshadow/getsgnam_r.c: Likewise.
26229 * inet/getnetbyad.c: Likewise.
26230 * inet/getnetbyad_r.c: Likewise.
26231 * inet/getnetbynm.c: Likewise.
26232 * inet/getnetbynm_r.c: Likewise.
26233 * inet/getnetent.c: Likewise.
26234 * inet/getnetent_r.c: Likewise.
26235 * inet/getproto.c: Likewise.
26236 * inet/getproto_r.c: Likewise.
26237 * inet/getprtent.c: Likewise.
26238 * inet/getprtent_r.c: Likewise.
26239 * inet/getprtname.c: Likewise.
26240 * inet/getprtname_r.c: Likewise.
26241 * inet/getrpcbyname.c: Likewise.
26242 * inet/getrpcbyname_r.c: Likewise.
26243 * inet/getrpcbynumber.c: Likewise.
26244 * inet/getrpcbynumber_r.c: Likewise.
26245 * inet/getrpcent.c: Likewise.
26246 * inet/getrpcent_r.c: Likewise.
26247 * inet/getaliasent.c: Likewise.
26248 * inet/getaliasent_r.c: Likewise.
26249 * inet/getaliasname.c: Likewise.
26250 * inet/getaliasname_r.c: Likewise.
26251 * nscd/getgrgid_r.c: Likewise.
26252 * nscd/getgrnam_r.c: Likewise.
26253 * nscd/gethstbyad_r.c: Likewise.
26254 * nscd/gethstbynm3_r.c: Likewise.
26255 * nscd/getpwnam_r.c: Likewise.
26256 * nscd/getpwuid_r.c: Likewise.
26257 * nscd/getsrvbynm_r.c: Likewise.
26258 * nscd/getsrvbypt_r.c: Likewise.
26259 * nscd/gai.c: Likewise.
26260
c53d909c
RM
26261 * configure.in (build_nscd): New substituted variable, set
26262 by --disable-build-nscd and defaults to $use_nscd.
26263 * configure: Regenerated.
26264 * config.make.in (build-nscd): New substituted variable.
26265 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26266 Change conditional to require [$(build-nscd) = yes] as well.
26267 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26268
3cc3ef96
RM
26269 [BZ# 13696]
26270 * configure.in (use_nscd): New substituted variable, set by
26271 --disable-nscd. If enabled, define USE_NSCD.
26272 * configure: Regenerated.
26273 * config.h.in: Add USE_NSCD.
26274 * config.make.in (use-nscd): New substituted variable.
26275 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26276 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26277 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26278 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26279 (CFLAGS-getgrnam_r.c): Likewise.
26280 (CFLAGS-initgroups.c): Likewise.
26281 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26282 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26283 Variables removed.
26284 * inet/getnetgrent_r.c
26285 (nscd_setnetgrent): New function, broken out of ...
26286 (setnetgrent): ... here. Call it.
26287 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26288 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26289 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26290 * nscd/Makefile (routines, aux): Move definitions after include of
26291 Makeconfig. Conditionalize on [$(use-nscd) != no].
26292 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26293 Conditionalize on [USE_NSCD].
26294 (is_nscd, nscd_init_cb): Likewise.
26295 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26296 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26297 * nss/nss_db/db-init.c: Likewise.
26298 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26299 [USE_NSCD].
26300 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26301 (make_request): Use it.
26302 (cache_valid_p): New function.
26303 (__check_pf): Use it.
26304 * NEWS: Add item for --disable-nscd.
26305
07e51550
DL
263062012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26307
26308 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26309 to support sed >= 4.2.1-20-ga9bf076.
26310 * configure: Regenerated.
26311
35a5b08b
RM
263122012-08-22 Roland McGrath <roland@hack.frob.com>
26313
26314 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26315 Conditionalize whole body on [IREL].
26316
8479f23a
JL
263172012-08-22 Jeff Law <law@redhat.com>
26318
26319 [BZ #14505]
26320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26321 if the family is PF_UNSPEC.
26322
48da0b21
MF
263232012-08-22 Mike Frysinger <vapier@gentoo.org>
26324
26325 * Makerules (lib-version): Rename from V.
26326 (install-lib-nosubdir): Change V to lib-version.
26327
15d0da8c
WS
263282012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26329
26330 [BZ #14252]
26331 * powerpc32/power6/wcschr.c: New file.
26332 * powerpc32/power6/wcscpy.c: New file.
26333 * powerpc32/power6/wcsrchr.c: New file.
26334 * powerpc64/power6/wcschr.c: New file.
26335 * powerpc64/power6/wcscpy.c: New file.
26336 * powerpc64/power6/wcsrchr.c: New file.
26337
bcca0895
MK
263382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26339
26340 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26341 (two_way_short_needle): Use it.
5a4aaa33
RM
26342 * string/strstr.c (AVAILABLE1_USES_J): Define.
26343 * string/strcasestr.c: Likewise.
99677e57
MK
26344
26345 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26346 array references.
26347 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26348
400726de
MK
26349 [BZ #11607]
26350 * NEWS: Add an entry.
26351 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26352 define their defaults.
26353 (two_way_short_needle): Detect end-of-string on-the-fly.
26354 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26355 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26356 * string/bug-strcasestr1.c: New test.
26357 * string/Makefile: Run it.
26358
20a71f2c
MK
263592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26360
26361 [BZ #11607]
26362 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26363 the first character.
26364
21ad0558
RM
263652012-08-21 Roland McGrath <roland@hack.frob.com>
26366
26367 * csu/elf-init.c (__libc_csu_irel): Function removed.
26368 * csu/libc-start.c (apply_irel): New function.
26369 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26370
0e1d9911
JM
263712012-08-21 Joseph Myers <joseph@codesourcery.com>
26372
26373 * sysdeps/unix/sysv/linux/kernel-features.h
26374 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26375 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26376 <kernel-features.h>.
26377 [__NR_fadvise64_64]: Make code unconditional.
26378 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26379 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26380 !__NR_fadvise64_64)]: Likewise.
26381 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26382 !__NR_fadvise64_64))]: Likewise.
26383 [__NR_fadvise64]: Make code unconditional.
26384 [!__NR_fadvise64]: Remove conditional code.
26385 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26386 <kernel-features.h>.
26387 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26388 unconditional.
26389 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26390 conditional code.
26391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26392 not include <kernel-features.h>.
26393 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26394 unconditional.
26395 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26396 conditional code.
26397 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26398 include <kernel-features.h>.
26399 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26400 unconditional.
26401 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26402 conditional code.
26403
14a50c9d
WS
264042012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26405
26406 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26407 slight instruction rearrangements per scrollpipe analysis.
26408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26409
c0f4faf0
RM
264102012-08-20 Roland McGrath <roland@hack.frob.com>
26411
696da859
RM
26412 * manual/syslog.texi (syslog; vsyslog, closelog):
26413 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26414 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26415
c0f4faf0
RM
26416 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26417 DSOCAPS to match condition on defining it.
26418
348363b2
JM
264192012-08-20 Joseph Myers <joseph@codesourcery.com>
26420
a35cbf28
JM
26421 * sysdeps/unix/sysv/linux/kernel-features.h
26422 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26424 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26425 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26427 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26428 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26430 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26431 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26432
445f7ecd
JM
26433 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26434 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26435
348363b2
JM
26436 * sysdeps/unix/sysv/linux/kernel-features.h
26437 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26438 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26439 unconditional.
26440 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26441 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26442 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26443 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26444 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26445 Make code unconditional.
26446 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26447 (__mmap64) [!__NR_mmap2]: Likewise.
26448 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26449 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26450 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26451 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26452 [__NR_mmap2]: Make code unconditional.
26453 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26454 (__mmap64) [!__NR_mmap2]: Likewise.
26455
bc5bc0e5
AK
264562012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26457
26458 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26459
88d506de
AJ
264602012-08-18 Andreas Jaeger <aj@suse.de>
26461
26462 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26463
493387d2
MF
264642012-08-18 Mike Frysinger <vapier@gentoo.org>
26465
26466 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26467 * include/unistd.h (__have_sock_cloexec): Likewise.
26468 (__have_pipe2): Likewise.
26469 (__have_dup3): Likewise.
26470
a277af22
MF
264712012-08-18 Mike Frysinger <vapier@gentoo.org>
26472
26473 [BZ #9685]
26474 * include/unistd.h (__have_pipe2): Change define into an extern int.
26475 (__have_dup3): Likewise.
26476 * socket/have_sock_cloexec.c: Include fcntl.h.
26477 (__have_pipe2): New variable.
26478 (__have_dup3): Likewise.
26479
fdab8fd3
MF
264802012-08-17 Mike Frysinger <vapier@gentoo.org>
26481
26482 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26483
31035e80
MP
264842012-08-17 Marek Polacek <polacek@redhat.com>
26485
26486 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26487 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26488
3bd9e993
RM
264892012-08-17 Roland McGrath <roland@hack.frob.com>
26490
c91c505f
RM
26491 * configure.in: Add AC_SUBST for sysheaders.
26492 * configure: Regenerated.
26493 * config.make.in (sysheaders): New substituted variable.
26494
7c6f9d53
RM
26495 * sysdeps/unix/mkfifo.c: Moved ...
26496 * sysdeps/posix/mkfifo.c: ... here.
26497 * sysdeps/unix/mkfifoat.c: Moved ...
26498 * sysdeps/posix/mkfifoat.c: ... here.
26499
26500 * sysdeps/unix/utime.c: Moved ...
26501 * sysdeps/posix/utime.c: ... here.
26502
26503 * sysdeps/unix/time.c: Moved ...
26504 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26505 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26506 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26507
26508 * sysdeps/unix/nice.c: Moved ...
26509 * sysdeps/posix/nice.c: ... here.
26510
26511 * sysdeps/unix/alarm.c: Moved ...
26512 * sysdeps/posix/alarm.c: ... here.
26513
3bd9e993
RM
26514 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26515
d1f09384
JL
265162012-08-17 Jeff Law <law@redhat.com>
26517
26518 * intl/Makefile (codeset_mo): New variable.
26519 ($(codeset_mo)): New target.
26520 (tst-codeset.out): Depend on that. Remove explicit rule.
26521 (tst-gettext3.out, tst-gettext5.out): Likewise.
26522 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26523 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26524 * intl/tst-codeset.sh: Remove.
26525 * intl/tst-gettext3.sh: Likewise.
26526 * intl/tst-gettext5.sh: Likewise.
26527
2ae1ae5c
RM
265282012-08-17 Roland McGrath <roland@hack.frob.com>
26529
c31fdb83
RM
26530 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26531 * sysdeps/unix/syscalls.list: ... here.
26532
a0844057
RM
26533 * sysdeps/posix/getaddrinfo.c
26534 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26535 (gaiconf_init, gaiconf_reload): Use them.
26536 [!_STATBUF_ST_NSEC]
26537 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26538 Define using time_t rather than struct timespec.
26539
750c1f2a
RM
26540 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26541 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26542 Macros removed.
26543 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26544 [!NO_THREADS].
26545 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26546 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26547 Likewise.
26548
2ae1ae5c
RM
26549 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26550 __libc_cleanup_push argument.
26551
e66a42f5
RM
26552 * bits/param.h: New file.
26553 * misc/sys/param.h: New file.
26554 * include/sys/param.h: New file.
26555 * misc/Makefile (headers): Add bits/param.h.
26556 * sysdeps/generic/sys/param.h: File removed.
26557 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26558 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26559 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26560 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26561
b7c08a66
RM
26562 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26563 last change.
26564
b2e1c562
RM
26565 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26566 [_IO_MTSAFE_IO].
26567 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26568 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26569 New macros.
26570
c75ccd4c
RM
26571 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26572 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26573 rather than -D_IO_MTSAFE_IO conditionally.
26574 * stdio-common/Makefile (CPPFLAGS): Likewise.
26575 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26576 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26577 Use $(libio-mtsafe).
26578 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26579 of -D_IO_MTSAFE_IO.
26580 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26581 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26582 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26583 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26584 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26585 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26586 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26587 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26588 (CFLAGS-fread_u_chk.c): Likewise.
26589 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26590 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26591 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26592 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26593 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26594 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26595 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26596 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26597 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26598
26599 * libio/Makefile: Test [$(libc-reentrant) = yes]
26600 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26601
26602 * Makeconfig
26603 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26604 * sysdeps/pthread/configure: File removed.
26605 * sysdeps/pthread/Makeconfig: New file.
26606 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26607 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26608
d9195db8
GB
266092012-08-16 Gary Benson <gbenson@redhat.com>
26610
26611 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26612 unmapping the first object in a namespace.
26613
86466cd9
RM
266142012-08-16 Roland McGrath <roland@hack.frob.com>
26615
26616 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26617 (__internal_setnetgrent): ... this. Add internal_function to
26618 definition. Add libc_hidden_def.
26619 (setnetgrent): Update caller.
26620 (internal_endnetgrent): Renamed to ...
26621 (__internal_endnetgrent): ... this. Add internal_function to
26622 definition. Add libc_hidden_def.
26623 (endnetgrent): Update caller.
26624 (internal_getnetgrent_r): Renamed to ...
26625 (__internal_getnetgrent_r): ... this. Add internal_function to
26626 definition. Add libc_hidden_def.
26627 (__getnetgrent_r): Update caller.
26628 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26629
c3c8283c
JM
266302012-08-16 Joseph Myers <joseph@codesourcery.com>
26631
26632 * stdlib/longlong.h: Update from GCC.
26633
db1ee0a8
RM
266342012-08-16 Roland McGrath <roland@hack.frob.com>
26635
26636 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26637 on _QL, which is set by umul_ppmm but never used.
26638 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26639 variables, which are set by GMP macros but never used.
26640 * stdio-common/_itowa.c (_itowa): Likewise.
26641 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26642 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26643
30f69637
CD
266442012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26645
26646 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26647 struct La_sh_regs is not constant.
26648 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26649 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26650 and struct La_sparc64_regs are not constant.
26651
93a78ac4
JM
266522012-08-16 Joseph Myers <joseph@codesourcery.com>
26653
26654 * sysdeps/unix/sysv/linux/kernel-features.h
26655 (__ASSUME_POSIX_TIMERS): Remove.
26656 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26657 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26658 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26659 Make code unconditional.
26660 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26661 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26662 Make code unconditional.
26663 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26664 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26665 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26667 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26668 Make code unconditional.
26669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26670 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26671 (__libc_missing_posix_timers): Remove.
26672
dd924cd7
RM
266732012-08-15 Roland McGrath <roland@hack.frob.com>
26674
4b4f2771
RM
26675 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26676 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26677
601c888b
RM
26678 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26679
176790a7
RM
26680 * elf/dl-sym.c: Include <stdlib.h>.
26681
329bc018
RM
26682 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26683 constants, which avoids warnings in 32-bit builds.
26684
e04e272d
RM
26685 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26686 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26687
952bf94a
RM
26688 * misc/lseek.c: File moved to ...
26689 * io/lseek.c: ... here.
26690
7c99b50a
RM
26691 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26692
dd924cd7
RM
26693 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26694 shifting LEN more than 31 bits at once.
26695
b3f479a8
LD
266962012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26697
26698 [BZ #14195]
8c4ae0d4
RM
26699 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26700 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26701 * string/test-strncasecmp.c (check1): Renamed to...
26702 (bz12205): ...this.
26703 (bz14195): Add new testcase for two empty input strings and N > 0.
26704 (test_main): Call new testcase, adapt for renamed function.
26705
9c55864e
AJ
267062012-08-15 Andreas Jaeger <aj@suse.de>
26707
26708 [BZ #14090]
26709 * crypt/md5test2.c: New test, based on test supplied by Serge
26710 Belyshev <belyshev@depni.sinp.msu.ru>.
26711 * crypt/Makefile (xtests): Add md5test-giant..
26712 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26713
02dcb6c5
PE
267142012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26715
26716 [BZ #14090]
26717 * crypt/md5.c (md5_process_block): Don't assume the buffer
26718 length is less than 2**32.
26719 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26720 length is less than 2**64.
26721
a3f95dcc
RM
267222012-08-15 Roland McGrath <roland@hack.frob.com>
26723
be75d758
RM
26724 * string/str-two-way.h: Include <sys/param.h>.
26725 (MAX): Macro removed.
26726
7312ca90
RM
26727 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26728 Move #define and #undef of memmove to just before and after
26729 including <string.h>.
26730
9a0a5486
RM
26731 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26732 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26733 and after including <string.h>. Move declarations of
26734 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26735 to before #include "string/memmove.c".
26736
67cc348d
RM
26737 * include/dirent.h: Declare __getdirentries.
26738
a3f95dcc
RM
26739 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26740 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26741
ca98e171
MF
267422012-08-14 Mike Frysinger <vapier@gentoo.org>
26743
26744 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26745 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26746 * sysdeps/i386/configure: Regenerated.
26747 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26748 STABS_CURRENT_FILE, and STABS_FUN.
26749 (END): Remove call to STABS_FUN_END.
26750 (STABS_CURRENT_FILE1): Delete.
26751 (STABS_CURRENT_FILE): Likewise.
26752 (STABS_FUN): Likewise.
26753 (STABS_FUN_END): Likewise.
26754 (STABS_FUN2): Likewise.
26755 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26756 * sysdeps/x86_64/configure: Regenerated.
26757
5908bf46
RM
267582012-08-14 Roland McGrath <roland@hack.frob.com>
26759
26760 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26761 * elf/dl-lookup.c: Likewise.
5908bf46 26762
f2c05b9e
JM
267632012-08-14 Joseph Myers <joseph@codesourcery.com>
26764
26765 * sysdeps/unix/sysv/linux/kernel-features.h
26766 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26767 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26768 unconditionally.
26769 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26770 unconditionally.
26771 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26772 condition on __ASSUME_CLONE_THREAD_FLAGS.
26773
e11f5155
AJ
267742012-08-14 Andreas Jaeger <aj@suse.de>
26775
26776 * sysdeps/i386/fpu/libm-test-ulps: Update.
26777
51a9ba86
MK
267782012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26779
2fdd4f78
AJ
26780 * include/atomic.h (atomic_exchange_and_add): Split into ...
26781 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26782 New atomic macros.
51a9ba86 26783
ba6cba9e
MT
267842012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26785
26786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26787
42443a47
JL
267882012-08-13 Jeff Law <law@redhat.com>
26789
26790 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26791 null byte in the output string.
26792
121dce05
JM
267932012-08-10 Joseph Myers <joseph@codesourcery.com>
26794
26795 * sysdeps/unix/sysv/linux/kernel-features.h
26796 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26797 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26798 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26799 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26800 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26801 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26802 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26803
bf51f568
JL
268042012-08-09 Jeff Law <law@redhat.com>
26805
26806 [BZ #13939]
26807 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26808 When avoid_arena is set, don't retry in the that arena. Pick the
26809 next one, whatever it might be.
26810 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26811 (arena_lock): Pass in new parameter to arena_get2.
26812 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26813 arena_get2.
26814 (__libc_malloc): Unify retrying after main arena failure with
26815 __libc_memalign version.
26816 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26817
f85fa270
L
268182012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26819
26820 [BZ #14166]
26821 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26822 to __redirect_strstr.
26823 (__strstr_sse42): Use typeof __redirect_strstr.
26824 (__strstr_ia32): Likewise.
26825 (__libc_strstr): New prototype.
26826 (strstr): Renamed to ...
26827 (__libc_strstr): This.
26828 (strstr): New strong alias of __libc_strstr.
26829 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26830 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26831 __redirect_time.
26832 Include <time.h>.
26833 (__libc_time): New prototype.
26834 (time_ifunc): Replace time with __libc_time.
26835 (time): New strong alias and hidden definition of __libc_time.
26836 (__GI_time): Remove strong alias.
26837 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26838 Include <stddef.h>.
26839 (memmove): Redefined to __redirect_memmove.
26840 (__memmove_sse2): Use typeof __redirect_memmove.
26841 (__memmove_ssse3): Likewise.
26842 (__memmove_ssse3_back): Likewise.
26843 (__libc_memmove): New prototype.
26844 (memmove): Renamed to ...
26845 (__libc_memmove): This.
26846 (memmove): New strong alias of __libc_memmove.
26847
33b4a91e
MS
268482012-08-08 Mark Salter <msalter@redhat.com>
26849
26850 * elf/elf.h
26851 (R_MN10300_TLS_GD): Define.
26852 (R_MN10300_TLS_LD): Likewise.
26853 (R_MN10300_TLS_LDO): Likewise.
26854 (R_MN10300_TLS_GOTIE): Likewise.
26855 (R_MN10300_TLS_IE): Likewise.
26856 (R_MN10300_TLS_LE): Likewise.
26857 (R_MN10300_TLS_DTPMOD): Likewise.
26858 (R_MN10300_TLS_DTPOFF): Likewise.
26859 (R_MN10300_TLS_TPOFF): Likewise.
26860 (R_MN10300_SYM_DIFF): Likewise.
26861 (R_MN10300_ALIGN): Likewise.
26862 (R_MN10300_NUM): Update.
26863
b36137f1
JM
268642012-08-08 Joseph Myers <joseph@codesourcery.com>
26865
26866 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26867 Remove.
26868
cdd915fd
RM
268692012-08-08 Roland McGrath <roland@hack.frob.com>
26870
a2433aac
RM
26871 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26872
cdd915fd
RM
26873 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26874 sysdeps/unix -> sysdeps/posix move.
26875 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26876
bf9b740a
AM
268772012-08-07 Allan McRae <allan@archlinux.org>
26878
26879 [BZ #14303]
26880 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26881 (SUNOS_CPP): Likewise.
26882 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26883 not found.
26884 (open_input): Call CPP using execvp.
26885
93df14ee
JM
268862012-08-07 Joseph Myers <joseph@codesourcery.com>
26887
26888 * sysdeps/unix/sysv/linux/kernel-features.h
26889 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26890 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26891 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26892 (__ASSUME_WAITID_SYSCALL): Likewise.
26893 * sysdeps/unix/sysv/linux/dl-execstack.c
26894 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26895 code unconditional.
26896 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26897 conditional code.
26898 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26899 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26900 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26901 code.
26902 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26903 unconditional.
26904 [__ASSUME_WAITID_SYSCALL]: Likewise.
26905 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26906
d34689de
RM
269072012-08-07 Roland McGrath <roland@hack.frob.com>
26908
a281decc
RM
26909 * sysdeps/unix/closedir.c: Renamed to ...
26910 * sysdeps/posix/closedir.c: ... here.
26911 * sysdeps/unix/dirfd.c: Renamed to ...
26912 * sysdeps/posix/dirfd.c: ... here.
26913 * sysdeps/unix/dirstream.h: Renamed to ...
26914 * sysdeps/posix/dirstream.h: ... here.
26915 * sysdeps/unix/fdopendir.c: Renamed to ...
26916 * sysdeps/posix/fdopendir.c: ... here.
26917 * sysdeps/unix/opendir.c: Renamed to ...
26918 * sysdeps/posix/opendir.c: ... here.
26919 * sysdeps/unix/readdir.c: Renamed to ...
26920 * sysdeps/posix/readdir.c: ... here.
26921 * sysdeps/unix/readdir_r.c: Renamed to ...
26922 * sysdeps/posix/readdir_r.c: ... here.
26923 * sysdeps/unix/rewinddir.c: Renamed to ...
26924 * sysdeps/posix/rewinddir.c: ... here.
26925 * sysdeps/unix/seekdir.c: Renamed to ...
26926 * sysdeps/posix/seekdir.c: ... here.
26927 * sysdeps/unix/telldir.c: Renamed to ...
26928 * sysdeps/posix/telldir.c: ... here.
26929 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26930 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26931 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26932 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26933
22895b47
RM
26934 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26935 * bits/fcntl.h: ... here.
26936
707a53b6
RM
26937 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26938 not 0.
26939 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26940 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26941 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26942 (struct flock): Move l_start, l_len to the beginning.
26943 Use __pid_t for l_pid.
26944 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26945 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26946 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26947 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26948 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26949 [__USE_LARGEFILE64] (struct flock64): New type.
26950 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26951
f0bd3e25
RM
26952 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26953 * bits/dirent.h: ... here.
26954
d34689de
RM
26955 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26956 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26957
6dad2c06
JM
269582012-08-07 Joseph Myers <joseph@codesourcery.com>
26959
26960 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26961 Change from 2.6.0 to 2.6.16.
26962 * sysdeps/unix/sysv/linux/configure: Regenerated.
26963 * sysdeps/unix/sysv/linux/kernel-features.h
26964 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26965 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26966 version.
26967 (__ASSUME_UTIMES): Likewise.
26968 (__ASSUME_CLONE_STOPPED): Remove.
26969 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26970 architectures, not kernel version.
26971 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26972 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26973 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26974 (__ASSUME_WAITID_SYSCALL): Likewise.
26975 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26976 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26977 * README: State 2.6.16 as minimum Linux kernel version. Do not
26978 refer to older versions.
26979
03af9520
RM
269802012-08-06 Roland McGrath <roland@hack.frob.com>
26981
8e49df1d
RM
26982 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26983 Define alphasort64 as an alias.
26984 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26985 Define versionsort64 as an alias.
26986 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26987 Define scandir64 as an alias.
26988 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26989 Define scandirat64 as an alias.
26990 * dirent/alphasort64.c (alphasort64):
26991 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26992 * dirent/versionsort64.c: Likewise.
26993 * dirent/scandir64.c: Likewise.
26994 * dirent/scandirat64.c: Likewise.
26995 * sysdeps/wordsize-64/alphasort.c: File removed.
26996 * sysdeps/wordsize-64/alphasort64.c: File removed.
26997 * sysdeps/wordsize-64/scandir.c: File removed.
26998 * sysdeps/wordsize-64/scandir64.c: File removed.
26999 * sysdeps/wordsize-64/scandirat.c: File removed.
27000 * sysdeps/wordsize-64/scandirat64.c: File removed.
27001 * sysdeps/wordsize-64/versionsort.c: File removed.
27002 * sysdeps/wordsize-64/versionsort64.c: File removed.
27003 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27004 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27005 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27006 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27007 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27008 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27009 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27010 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27011
27012 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27014 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27016 [defined __arch64__ || defined __sparcv9]
27017 (__INO_T_MATCHES_INO64_T): New macro.
27018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27019 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27020 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27021 * sysdeps/unix/sysv/linux/bits/dirent.h
27022 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27023 (_DIRENT_MATCHES_DIRENT64): New macro.
27024
03af9520
RM
27025 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27026 Define lockf64 as an alias.
27027 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27028 Define fseeko64 as an alias.
27029 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27030 Define ftello64 as an alias.
27031 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27032 Define _IO_fgetpos64 and fgetpos64 as aliases.
27033 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27034 Define _IO_fsetpos64 and fsetpos64 as aliases.
27035 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27036 Conditionalize body on this.
27037 * libio/fseeko64.c: Likewise.
27038 * libio/ftello64.c: Likewise.
27039 * libio/iofgetpos64.c: Likewise.
27040 * libio/iofsetpos64.c: Likewise.
27041 * sysdeps/wordsize-64/lockf.c: File removed.
27042 * sysdeps/wordsize-64/lockf64.c: File removed.
27043 * sysdeps/wordsize-64/fseeko.c: File removed.
27044 * sysdeps/wordsize-64/fseeko64.c: File removed.
27045 * sysdeps/wordsize-64/ftello.c: File removed.
27046 * sysdeps/wordsize-64/ftello64.c: File removed.
27047 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27048 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27049 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27050 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27051 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27052 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27053 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27054 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27055 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27056 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27057 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27058 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27059 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27060 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27061
27062 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27064 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27066 [defined __arch64__ || defined __sparcv9]
27067 (__OFF_T_MATCHES_OFF64_T): New macro.
27068 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27069 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27071 (__OFF_T_MATCHES_OFF64_T): New macro.
27072
c5757acd
L
270732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27074
27075 * stdlib/secure-getenv.c (__secure_getenv): Replace
27076 GLIBC_2_16 with GLIBC_2_17.
27077
3a31811e
L
270782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27079
27080 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27081 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27082
faa2bccb
DM
270832012-08-03 David S. Miller <davem@davemloft.net>
27084
27085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27086
85fe1997
JM
270872012-08-03 Joseph Myers <joseph@codesourcery.com>
27088
27089 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27090 Remove.
27091 (__ASSUME_CORRECT_SI_PID): Likewise.
27092 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27093 (__ASSUME_TMPFS_NAME): Likewise.
27094 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27095 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27096 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27097 (HAVE_AUX_SECURE): Make definition unconditional.
27098 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27099 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27100
4f75b7a0
RM
271012012-08-03 Roland McGrath <roland@hack.frob.com>
27102
27103 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27104 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27105 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27106 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27107 __eloop_threshold instead of SYMLOOP_MAX.
27108
27109 * sysdeps/generic/eloop-threshold.h: New file.
27110 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27111 of MAXSYMLINKS.
27112 * elf/chroot_canon.c (chroot_canon): Likewise.
27113
7aab07e4
JM
271142012-08-03 Joseph Myers <joseph@codesourcery.com>
27115
27116 [BZ #13717]
27117 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27118 Change to 2.6.0 everywhere.
27119 * sysdeps/unix/sysv/linux/configure: Regenerated.
27120 * sysdeps/unix/sysv/linux/kernel-features.h
27121 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27122 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27123 kernel versions.
27124 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27125 (__ASSUME_FUTEX_REQUEUE): Remove.
27126 (__ASSUME_STATFS64): Define unconditionally.
27127 (__ASSUME_AT_SECURE): Likewise.
27128 (__ASSUME_CORRECT_SI_PID): Likewise.
27129 (__ASSUME_TGKILL): Define without depending on kernel version for
27130 i386.
27131 (__ASSUME_UTIMES): Likewise.
27132 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27133 kernel version.
27134 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27135 (__ASSUME_TMPFS_NAME): Likewise.
27136 * README: Update reference to Linux kernel versions.
27137
b67e9372
MP
271382012-08-02 Marek Polacek <polacek@redhat.com>
27139
1f529f7d 27140 [BZ# 14150]
b67e9372
MP
27141 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27142 libc_cv_asm_type_prefix with %.
27143 * configure: Regenerated.
d2441631
RM
27144 * include/libc-symbols.h: Remove comment about
27145 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27146 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27147 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27148 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27149 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27150 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27151 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27152 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27153 * elf/tst-unique2mod1.c: Likewise.
27154 * elf/tst-unique1mod2.c: Likewise.
27155 * elf/tst-unique1mod1.c: Likewise.
27156 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27157 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27158 Replace ASM_TYPE_DIRECTIVE with .type.
27159 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27160 * sysdeps/i386/sysdep.h: Likewise.
27161 * sysdeps/x86_64/sysdep.h: Likewise.
27162 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27164 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27165 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27166 * sysdeps/powerpc/powerpc32/sysdep.h:
27167 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27168 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27169 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27170 * sysdeps/i386/fpu/e_powf.S: Likewise.
27171 * sysdeps/i386/fpu/e_expl.S: Likewise.
27172 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27173 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27174 * sysdeps/i386/fpu/e_pow.S: Likewise.
27175 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27176 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27177 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27178 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27179 * sysdeps/i386/fpu/e_log2.S: Likewise.
27180 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27181 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27182 * sysdeps/i386/fpu/e_powl.S: Likewise.
27183 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27184 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27185 * sysdeps/i386/fpu/e_logl.S: Likewise.
27186 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27187 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27188 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27189 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27190 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27191 * sysdeps/i386/fpu/e_log.S: Likewise.
27192 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27193 * sysdeps/i386/fpu/e_logf.S: Likewise.
27194 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27195 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27196 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27197 * sysdeps/i386/fpu/e_log10.S: Likewise.
27198 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27200 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27201 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27202 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27203 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27204 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27205 * sysdeps/i386/i686/strtok.S: Likewise.
27206 * sysdeps/i386/i386-mcount.S: Likewise.
27207 * sysdeps/i386/strtok.S: Likewise.
27208 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27210 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27211 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27212 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27213 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27214 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27215 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27216 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27217 * sysdeps/x86_64/_mcount.S: Likewise.
27218 * sysdeps/x86_64/strtok.S: Likewise.
27219 * sysdeps/sh/_mcount.S: Likewise.
27220
2747bf9a
RM
272212012-08-01 Roland McGrath <roland@hack.frob.com>
27222
27223 * libio/iofopen.c: Include <fcntl.h>.
27224 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27225 (_IO_fopen64, fopen64): Define as aliases.
27226 * libio/iofopen64.c: Include <fcntl.h>.
27227 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27228 Conditionalize body on this.
27229 * sysdeps/wordsize-64/iofopen.c: File removed.
27230 * sysdeps/wordsize-64/iofopen64.c: File removed.
27231
3fb791b8
MP
272322012-08-01 Marek Polacek <polacek@redhat.com>
27233
27234 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27235 Use dlfcn directly instead of a variable.
27236 (binfmt-subdir): Do not define.
27237 (dlfcn): Likewise.
27238
a9f1039f
JM
272392012-08-01 Joseph Myers <joseph@codesourcery.com>
27240
23bddc06
JM
27241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27242 Remove all definitions.
27243 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27244 <kernel-features.h>.
27245 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27246 (miss_F_GETOWN_EX): Remove all definitions.
27247 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27248 macro definition.
27249 [!__ASSUME_FCNTL64]: Remove conditional code.
27250 [__ASSUME_FCNTL64]: Make code unconditional.
27251 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27252 <kernel-features.h>.
27253 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27254 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27255 (lockf64) [__NR_fcntl64]: Make code unconditional.
27256 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27257
a9f1039f
JM
27258 * sysdeps/unix/sysv/linux/kernel-features.h
27259 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27260 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27261 Make code unconditional.
27262 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27263 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27265 [__NR_vfork]: Make code unconditional.
27266 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27267 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27269 [__NR_vfork]: Make code unconditional.
27270 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27271 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27272
09c0ee5f
RM
272732012-08-01 Roland McGrath <roland@hack.frob.com>
27274
48aec5b9
RM
27275 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27276 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27277
cd97c966
RM
27278 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27279 Define mkstemp64 as an alias.
3f55550c
RM
27280 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27281 Define mkstemps64 as an alias.
cd97c966
RM
27282 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27283 Define mkostemp64 as an alias.
b8625cfc
RM
27284 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27285 Define mkostemps64 as an alias.
cd97c966
RM
27286 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27287 Conditionalize body on this.
27288 * misc/mkostemp64.c: Likewise.
b8625cfc 27289 * misc/mkostemps64.c: Likewise.
3f55550c 27290 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27291 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27292 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27293 * sysdeps/wordsize-64/mkostemp.c: File removed.
27294 * sysdeps/wordsize-64/mkstemp.c: File removed.
27295 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27296 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27297 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27298 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27299
09c0ee5f
RM
27300 [BZ #14138]
27301 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27302 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27303 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27304 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27305
27306 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27307 compat_symbol macros from <shlib-compat.h> rather than the underlying
27308 default_symbol_version and symbol_version macros, so that DEFAULT
27309 lines in shlib-versions are respected.
27310 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27311
7e66ee51
FW
273122012-08-01 Florian Weimer <fweimer@redhat.com>
27313
27314 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27315 Declare with warn_unused_result.
27316 (setgid, setregid, setegid, setresgid): Likewise.
27317 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27318 Likewise.
27319 * WUR-REPORT: Remove set*id functions.
27320
d2a54255
PT
273212012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27322
27323 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27324
7ecdb005
RM
273252012-07-31 Roland McGrath <roland@hack.frob.com>
27326
b4180a5e 27327 [BZ #10191]
789bd351
RM
27328 * include/sys/socket.h (__libc_accept, __libc_accept4):
27329 Add attribute_hidden.
27330 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27331
40ce302d
RM
27332 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27333 use of PTR_MANGLE.
27334 * inet/getnetgrent_r.c (setup): Likewise.
27335
7ecdb005
RM
27336 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27337
e2eabb2c
DM
273382012-07-31 David S. Miller <davem@davemloft.net>
27339
27340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27341
d0419dbf
JM
273422012-07-31 Joseph Myers <joseph@codesourcery.com>
27343
27344 [BZ #13629]
27345 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27346 value between 1.0 and 2.0 and smaller part has absolute value less
27347 than 1.0.
27348 * math/s_clog10.c (__clog10): Likewise.
27349 * math/s_clog10f.c (__clog10f): Likewise.
27350 * math/s_clog10l.c (__clog10l): Likewise.
27351 * math/s_clogf.c (__clogf): Likewise.
27352 * math/s_clogl.c (__clogl): Likewise.
27353 * math/libm-test.inc (clog_test): Add more tests.
27354 (clog10_test): Likewise.
27355 * sysdeps/i386/fpu/libm-test-ulps: Update.
27356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27357
2bc13872
FW
273582012-07-31 Florian Weimer <fweimer@redhat.com>
27359
27360 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27361 Exit with zero in case no suitable GID is found, and write a
27362 message to standard error.
27363
bea9b193
RM
273642012-07-30 Roland McGrath <roland@hack.frob.com>
27365
27366 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27367 rather than to 1.
27368 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27369 (MAXPATHLEN): Removed.
27370 (NOGROUP, NODEV): New macros.
27371 (setbit, clrbit, isset, isclr): New macros.
27372 (howmany, roundup, powerof2): New macros.
27373 (DEV_BSIZE): New macro.
27374
27375 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27376 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27377
27378 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27379 definition on [!__NO_LONG_DOUBLE_MATH].
27380
27381 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27382 PTR_MANGLE and PTR_DEMANGLE.
27383
27384 * socket/accept4.c (accept4): Rename to __libc_accept4.
27385 Define accept4 as a weak alias.
27386
27387 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27388 on [_DIRENT_HAVE_D_TYPE].
27389 * io/ftw.c (ftw_dir): Likewise.
27390
27391 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27392
27393 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27394
27395 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27396 Use the BSD numbers rather than the arbitrary ones we had.
27397 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27398 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27399 (SIGXCPU, SIGXFSZ): New macros.
27400 (_NSIG): Now 32.
27401
27402 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27403 initializer on [_LIBC_REENTRANT].
27404
27405 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27406 definitions inside [_POSIX_MAPPED_FILES].
27407
27408 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27409
27410 * dirent/opendir.c: Include <fcntl.h>.
27411
27412 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27413 (__libc_getspecific): Likewise.
27414 (__libc_key_create): Likewise.
27415
27416 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27417 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27418 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27419 (tmpfile64): Define as alias.
27420 * sysdeps/wordsize-64/tmpfile.c: File removed.
27421 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27422 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27423 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27424
27425 * stdio-common/vfscanf.c: Include <stdbool.h>.
27426 * nss/makedb.c: Likewise.
27427 * stdio-common/_i18n_number.h: Likewise.
27428 * argp/argp-help.c: Likewise.
27429 * posix/wordexp.c: Likewise.
27430 * sysdeps/posix/spawni.c: Likewise.
27431 * nss/nss_files/files-initgroups.c: Likewise.
27432 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27433 * nss/nss_files/files-initgroups.c: Likewise.
27434 * nss/nss_db/db-netgrp.c: Likewise.
27435 * nss/nss_db/db-initgroups.c: Likewise.
27436 * io/fchmodat.c: Include <sys/stat.h>.
27437
27438 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27439 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27440
27441 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27442 [HAVE_MMAP].
27443
27444 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27445 Add multiple inclusion protection.
27446
e5abc686
DM
274472012-07-27 David S. Miller <davem@davemloft.net>
27448
27449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27450
815e6fa3
GB
274512012-07-27 Gary Benson <gbenson@redhat.com>
27452
27453 [BZ #14298]
27454 * elf/rtld.c: Include <stap-probe.h>.
27455 (dl_main): Added static probes "init_start" and "init_complete".
27456 * elf/dl-load.c: Include <stap-probe.h>.
27457 (lose): Take new parameter "nsid".
27458 Added static probe "map_failed".
27459 (_dl_map_object_from_fd): Pass namespace id to lose.
27460 Added static probe "map_start".
27461 (open_verify): Pass namespace id to lose.
27462 * elf/dl-open.c: Include <stap-probe.h>.
27463 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27464 and "reloc_complete".
27465 * elf/dl-close.c: Include <stap-probe.h>.
27466 (_dl_close_worker): Added static probes "unmap_start" and
27467 "unmap_complete".
27468 * elf/rtld-debugger-interface.txt: New file documenting the above.
27469
9f98c16c
RM
274702012-07-26 Roland McGrath <roland@hack.frob.com>
27471
27472 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27473 rather than a string variable.
27474 * sunrpc/rpc_main.c (h_output): Likewise.
27475 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27476
f3c22df3
PT
274772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27478
27479 * inet/check_native.c: New file.
27480
3129cfc6
JM
274812012-07-26 Joseph Myers <joseph@codesourcery.com>
27482
da865e95
JM
27483 [BZ #13629]
27484 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27485 if larger part has absolute value 1.0.
27486 * math/s_clog10.c (__clog10): Likewise.
27487 * math/s_clog10f.c (__clog10f): Likewise.
27488 * math/s_clog10l.c (__clog10l): Likewise.
27489 * math/s_clogf.c (__clogf): Likewise.
27490 * math/s_clogl.c (__clogl): Likewise.
27491 * math/libm-test.inc (clog_test): Add more tests.
27492 (clog10_test): Likewise.
27493 * sysdeps/i386/fpu/libm-test-ulps: Update.
27494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27495
3129cfc6
JM
27496 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27497 (pltexit): Likewise.
27498 (La_regs): Likewise.
27499 (La_retval): Likewise.
27500 (int_retval): Likewise.
27501 Update #error for removed macros to refer only to definitions in
27502 tst-audit.h.
27503 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27504 macro.
27505 (pltexit): Likewise.
27506 (La_regs): Likewise.
27507 (La_retval): Likewise.
27508 (int_retval): Likewise.
27509 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27510 macro.
27511 (pltexit): Likewise.
27512 (La_regs): Likewise.
27513 (La_retval): Likewise.
27514 (int_retval): Likewise.
27515 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27516 macro.
27517 (pltexit): Likewise.
27518 (La_regs): Likewise.
27519 (La_retval): Likewise.
27520 (int_retval): Likewise.
27521 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27522 macro.
27523 (pltexit): Likewise.
27524 (La_regs): Likewise.
27525 (La_retval): Likewise.
27526 (int_retval): Likewise.
27527 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27528 macro.
27529 (pltexit): Likewise.
27530 (La_regs): Likewise.
27531 (La_retval): Likewise.
27532 (int_retval): Likewise.
27533 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27534 macro.
27535 (pltexit): Likewise.
27536 (La_regs): Likewise.
27537 (La_retval): Likewise.
27538 (int_retval): Likewise.
27539 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27540 macro definitions in tst-audit.h.
27541 * sysdeps/i386/tst-audit.h: New file.
27542 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27543 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27544 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27545 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27546 * sysdeps/sh/tst-audit.h: Likewise.
27547 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27548 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27549 * sysdeps/x86_64/tst-audit.h: Likewise.
27550
bfc07087
AJ
275512012-07-26 Andreas Jaeger <aj@suse.de>
27552
b1b2aaf8
AJ
27553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27554 ptrace.
27555
27556 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27557 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27558 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27559 PTRACE_O_MASK.
27560 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27561 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27562 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27563
bfc07087
AJ
27564 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27565 value.
27566
27567 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27568 _sigsys.
27569 (si_call_addr, si_syscall, si_arch): Define new macro.
27570 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27571 _sigsys.
27572 (si_call_addr, si_syscall, si_arch): Define new marcro.
27573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27574 _sigsys.
27575 (si_call_addr, si_syscall, si_arch): Define new macro.
27576 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27577 _sigsys.
27578 (si_call_addr, si_syscall, si_arch): Define new macro.
27579
89b4b02f
JM
275802012-07-25 Joseph Myers <joseph@codesourcery.com>
27581
27582 [BZ #13717]
27583 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27584 Change to 2.4.21 where previously 2.4.1.
27585 * sysdeps/unix/sysv/linux/configure: Regenerated.
27586 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27587 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27588 Linux kernel version.
27589 (__ASSUME_STD_AUXV): Remove.
27590 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27591 kernel version.
27592 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27593 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27594 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27595 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27596 (__ASSUME_NETLINK_SUPPORT): Likewise.
27597 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27598 (__no_netlink_support): Remove conditional definition.
27599 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27600 Remove.
27601 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27602 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27603 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27604 (if_nameindex_ioctl): Remove.
27605 (if_nameindex_netlink): Do not handle __no_netlink_support.
27606 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27607 code.
27608 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27609 Remove conditional code.
27610 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27611 code.
27612 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27613 unconditional.
27614 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27615 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27616 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27617 Remove.
27618 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27619 [!__ASSUME_STD_AUXV]: Remove conditional code.
27620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27621 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27622 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27624 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27625 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27626 code.
27627 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27629 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27630 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27631 conditional code.
27632 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27634 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27635 code.
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27637 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27638 conditional code.
27639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27640 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27641 code unconditional.
27642 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27643 conditional code.
27644 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27645 unconditional.
27646 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27647 conditional code.
27648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27649 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27650 unconditional.
27651 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27652 conditional code.
27653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27654 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27655 code unconditional.
27656 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27657 conditional code.
27658 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27659 unconditional.
27660 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27661 conditional code.
27662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27663 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27664 code unconditional.
27665 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27666 conditional code.
27667 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27668 unconditional.
27669 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27670 conditional code.
27671
842a39cd
AS
276722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27673
27674 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27675 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27676 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27677 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27678 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27679 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27680 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27681 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27682 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27683 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27684 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27685 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27686 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27687 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27688 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27689 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27690 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27692 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27694 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27695 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27696 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27697
84b3fd84
FW
276982012-07-25 Florian Weimer <fweimer@redhat.com>
27699
27700 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27701 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27702 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27703 Introduce __libc_secure_getenv.
0c7936d5
FW
27704 * stdlib/Versions (2.17): Add secure_getenv
27705 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27706 * stdlib/secure-getenv.c: Rename __secure_getenv to
27707 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27708 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27709 * stdlib/tst-secure-getenv.c: New.
27710 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27711 * manual/startup.texi (Environment Access): Document
27712 secure_getenv.
84b3fd84
FW
27713 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27714 __libc_secure_getenv.
27715 * inet/ruserpass.c (ruserpass): Likewise.
27716 * malloc/mtrace.c (mtrace): Likewise.
27717 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27718 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27719 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27720 * sysdeps/posix/tempname.c: Likewise. Evaluate
27721 HAVE_SECURE_GETENV.
27722 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27723 __secure_getenv to __libc_secure_getenv.
84b3fd84 27724 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27726 Likewise.
27727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27728 Likewise.
27729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27731 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27736
56e49b71
JM
277372012-07-25 Joseph Myers <joseph@codesourcery.com>
27738
27739 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27740 (struct La_i86_retval): Likewise.
27741 (struct La_x86_64_regs): Likewise.
27742 (struct La_x86_64_retval): Likewise.
27743 (struct La_x32_regs): Likewise.
27744 (struct La_x32_retval): Likewise.
27745 (struct La_ppc32_regs): Likewise.
27746 (struct La_ppc32_retval): Likewise.
27747 (struct La_ppc64_regs): Likewise.
27748 (struct La_ppc64_retval): Likewise.
27749 (struct La_sh_regs): Likewise.
27750 (struct La_sh_retval): Likewise.
27751 (struct La_s390_32_regs): Likewise.
27752 (struct La_s390_32_retval): Likewise.
27753 (struct La_s390_64_regs): Likewise.
27754 (struct La_s390_64_retval): Likewise.
27755 (struct La_sparc32_regs): Likewise.
27756 (struct La_sparc32_retval): Likewise.
27757 (struct La_sparc64_regs): Likewise.
27758 (struct La_sparc64_retval): Likewise.
27759 (struct audit_ifaces): Remove architecture-specific pltenter and
27760 pltexit members.
27761 * sysdeps/i386/ldsodefs.h: New file.
27762 * sysdeps/powerpc/ldsodefs.h: Likewise.
27763 * sysdeps/s390/ldsodefs.h: Likewise.
27764 * sysdeps/sh/ldsodefs.h: Likewise.
27765 * sysdeps/sparc/ldsodefs.h: Likewise.
27766 * sysdeps/x86_64/ldsodefs.h: Likewise.
27767
354691b7
MP
277682012-07-25 Marek Polacek <polacek@redhat.com>
27769
27770 [BZ #6808]
27771 * math/libm-test.inc (yn_test): Add another test.
27772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27773 to ERANGE when the result is +-Inf.
27774 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27775 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27776 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27777 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27778
bf9e2071
JM
277792012-07-24 Joseph Myers <joseph@codesourcery.com>
27780
27781 * conform/data/time.h-data (NULL): Use macro-constant. Require
27782 equal to 0.
27783 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27784 clock_t.
27785 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27786
57633811
TS
277872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27788
27789 * configure.in <sysdeps resolving>: Correct printing
27790 Implies_before.
27791 * configure: Regenerate.
27792
c23c33b0
TS
277932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27794
27795 * math/w_ilogb.c: Include <limits.h>.
27796 * math/w_ilogbl.c: Likewise.
27797
b5982523
JM
277982012-07-20 Joseph Myers <joseph@codesourcery.com>
27799
27800 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27801 va_copy. Document allowing for unavailable va_copy only as
27802 pre-C99 compatibility.
27803 * manual/string.texi (Copying and Concatenation): Use va_copy
27804 instead of __va_copy in concat example.
27805
ac4ea442
PT
278062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27807
27808 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27809 (__sendto): Use create_address_port. Initialize APORT and deallocate
27810 it if not null.
27811
f98eafbd
PT
27812 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27813 with O_NOLINK passed to __file_name_lookup.
27814
898c7aab
PT
27815 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27816 with O_NOLINK passed to __file_name_lookup.
27817
0ced335a
PT
27818 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27819 negative N or less than NGIDS.
27820
b3404dbd
PT
27821 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27822 type to string_t. Set ERANGE as errno and return it if NAME is not big
27823 enough. Use memcpy instead of strncpy.
27824
0f48659e
JM
278252012-07-20 Joseph Myers <joseph@codesourcery.com>
27826
27827 * elf/Makefile (check-data): Remove.
27828 (localplt.data): New vpath directive.
27829 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27830 instead of $(check-data).
27831 * scripts/data/localplt-generic.data: Move to ...
27832 * sysdeps/generic/localplt.data: ... here.
27833 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27834 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27835 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27837 ... here.
27838 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27840 ... here.
27841 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27843 ... here.
27844 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27846 ... here.
27847 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27849 ... here.
27850 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27852 ... here.
27853
d37cbdaa
AZ
278542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27855
27856 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27857 PPC32 and PPC64 files.
27858 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27859 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27860
46f85fc2
AK
278612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27862
27863 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27864 __makecontext_ret to ...
27865 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27866 ... here and call exit if uc_link is NULL. New file.
27867 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27868 __makecontext_ret.S.
27869 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27870 __makecontext_ret to ...
27871 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27872 ... here and call exit if uc_link is NULL. New file.
27873 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27874 __makecontext_ret.S.
27875
08f43f9b
AK
278762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27877
27878 * elf/elf.h (R_390_IRELATIVE): New definition.
27879 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27880 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27881 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27882 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27883 (elf_machine_lazy_rel): Likewise.
27884 * sysdeps/s390/dl-irel.h: New file.
27885 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27886 * sysdeps/s390/s390-64/memset.S: New asm code.
27887 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27888 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27889 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27890 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27891 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27892 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27893 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27894 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27895 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27896 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27897 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27898 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27899 * sysdeps/s390/s390-32/memset.S: New asm code.
27900 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27901
3b05db33
MP
279022012-07-17 Marek Polacek <polacek@redhat.com>
27903
27904 [BZ #14349]
27905 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27906 * sysdeps/s390/s390-64/configure.in: Likewise.
27907 * sysdeps/sparc/configure.in: Likewise.
27908 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27909 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27910 * sysdeps/i386/configure.in: Likewise.
27911 * sysdeps/x86_64/configure.in: Likewise.
27912 * sysdeps/sh/configure.in: Likewise.
27913 * sysdeps/s390/s390-32/configure: Regenerated.
27914 * sysdeps/s390/s390-64/configure: Likewise.
27915 * sysdeps/x86_64/configure: Likewise.
27916 * sysdeps/sh/configure: Likewise.
27917 * sysdeps/powerpc/powerpc64/configure: Likewise.
27918 * sysdeps/powerpc/powerpc32/configure: Likewise.
27919 * sysdeps/sparc/configure: Likwise.
27920 * sysdeps/i386/configure: Likewise.
27921
a66877c6
MP
27922 * elf/dl-open.c: Comment fixes.
27923
cfc82fd8
JM
279242012-07-17 Joseph Myers <joseph@codesourcery.com>
27925
bd29910a
JM
27926 * Makefile [CXX] (check-data): Remove.
27927 [CXX] (c++-types.data): New vpath directive.
27928 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27929 vpath. Do not allow for C++ type data being missing.
27930 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27931 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27932 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27933 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27934 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27935 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27936 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27938 ... here.
27939 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27941 ... here.
27942 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27944 ... here.
27945 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27947 ... here.
27948 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27950 ... here.
27951 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27953 ... here.
27954 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27956 ... here.
27957 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27959
cfc82fd8
JM
27960 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27961 definitions to architecture-specific files.
27962 (TLS_IE): Likewise.
27963 (TLS_LD): Likewise.
27964 (TLS_GD): Likewise.
27965 * sysdeps/i386/tls-macros.h: New file.
27966 * sysdeps/powerpc/tls-macros.h: Likewise.
27967 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27968 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27969 * sysdeps/sh/tls-macros.h: Likewise.
27970 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27971 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27972 * sysdeps/x86_64/tls-macros.h: Likewise.
27973
f7db3170
TS
279742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27975
07cbfc23
TS
27976 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27977 zero value for regular exit case.
27978
f7db3170
TS
27979 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27980 (__start_context): Preserve zero value for regular exit case.
27981
dc97c227
TS
279822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27983 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27984
27985 * manual/setjmp.texi (setcontext): Clarify normal process
27986 termination when uc_link is the null pointer.
27987 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27988 exit call.
27989
d0cd7d02
AS
279902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27991
27992 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27993 preprocessor. Test for each exception mask separately.
27994
dd318934
AJ
279952012-07-16 Andreas Jaeger <aj@suse.de>
27996
27997 * po/ru.po: Update from translation team.
27998
8048311a
JM
279992012-07-15 Joseph Myers <joseph@codesourcery.com>
28000
28001 * conform/data/string.h-data (NULL): Use macro-constant. Require
28002 equal to 0.
28003 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28004 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28005 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28006 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28008
b637d46e
AJ
280092012-07-13 Andreas Jaeger <aj@suse.de>
28010
28011 * po/fr.po: Update from translation team.
28012
541428fe
MP
280132012-07-12 Marek Polacek <polacek@redhat.com>
28014
28015 [BZ #14173]
28016 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28017 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28018 loop condition.
28019
ec332e94
JM
280202012-07-12 Joseph Myers <joseph@codesourcery.com>
28021
28022 [BZ #13717]
28023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28024 Change to 2.4.1 where previously 2.4.0.
28025 * sysdeps/unix/sysv/linux/configure: Regenerated.
28026 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28027 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28028 version.
28029 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28030 (__ASSUME_AT_CLKTCK): Remove.
28031 (__ASSUME_AT_PAGESIZE): Likewise.
28032 (__ASSUME_AT_XID): Likewise.
28033 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28034 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28035 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28036 unconditionally.
28037 (HAVE_AUX_PAGESIZE): Likewise.
28038 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28039 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28040 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28041
7b6e99be
JB
280422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28043
28044 [BZ #14307]
28045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28046 the temporary buffer used to invoke __gethostbyname2_r,
28047 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28048 host_data / struct gaih_addrtuple.
28049 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28050 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28051 header file nss/nsswitch.h.
28052 * nss/nsswitch.h (global scope): Add definition of implementation
28053 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28054 resolv/nss_dns/dns-host.c).
28055
608404eb
AJ
280562012-07-11 Andreas Jaeger <aj@suse.de>
28057
28058 * po/fr.po: Update from translation team.
28059
71220aca
AJ
28060 * po/sv.po: Update from translation team
28061 * po/fr.po: Another update from translation team.
28062
28cfe843
AZ
280632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28064
28065 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28066 for subnormals or multiply small sinh result by itself.
28067 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28069
6b90f981
DM
280702012-07-11 David S. Miller <davem@davemloft.net>
28071
28072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28073
c6825772
AS
280742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28075
28076 [BZ #14347]
28077 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28078 (INTERNAL_MARK): Shift it here.
28079
7b8e0d49
MP
280802012-07-10 Marek Polacek <polacek@redhat.com>
28081
28082 [BZ #14151]
28083 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28084 libc_cv_asm_global_directive with .globl.
28085 * configure: Regenerated.
28086 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28087 with .globl.
28088 * sysdeps/i386/configure: Regenerated.
28089 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28090 with .globl.
28091 * sysdeps/x86_64/configure: Regenerated.
28092 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28093 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28094 * elf/tst-unique2mod2.c: Likewise.
28095 * elf/tst-unique2mod1.c: Likewise.
28096 * elf/tst-unique1mod2.c: Likewise.
28097 * elf/tst-unique1mod1.c: Likewise.
28098 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28099 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28100 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28101 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28102 * sysdeps/mach/sysdep.h: Likewise.
28103 * sysdeps/i386/sysdep.h: Likewise.
28104 * sysdeps/i386/i386-mcount.S: Likewise.
28105 * sysdeps/x86_64/_mcount.S: Likewise.
28106 * sysdeps/x86_64/sysdep.h: Likewise.
28107 * sysdeps/sh/_mcount.S: Likewise.
28108 * sysdeps/sh/sysdep.h: Likewise.
28109 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28110 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28111 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28112 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28113 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28114 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28115 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28116 * locale/localeinfo.h: Likewise.
28117 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28118 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28119
6c55cda3
RM
281202012-07-09 Roland McGrath <roland@hack.frob.com>
28121
28122 [BZ #14336]
28123 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28124 system".
28125 * manual/message.texi (The Uniforum approach): Likewise.
28126 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28127 (glibc iconv Implementation): Likewise.
28128
638a572e
JM
281292012-07-09 Joseph Myers <joseph@codesourcery.com>
28130
28131 [BZ #14337]
28132 * math/s_clog.c (__clog): Avoid scaling a value down where that
28133 could result in underflow.
28134 * math/s_clog10.c (__clog10): Likewise.
28135 * math/s_clog10f.c (__clog10f): Likewise.
28136 * math/s_clog10l.c (__clog10l): Likewise.
28137 * math/s_clogf.c (__clogf): Likewise.
28138 * math/s_clogl.c (__clogl): Likewise.
28139 * math/libm-test.inc (clog_test): Add more tests.
28140 (clog10_test): Likewise.
28141 * sysdeps/i386/fpu/libm-test-ulps: Update.
28142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28143
261f4859
AS
281442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28145
0abaf3e4
AS
28146 [BZ #14283]
28147 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28148 by 7 not 8 to examine high bit of fractional part.
28149
261f4859
AS
28150 [BZ #14042]
28151 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28152 for call to __mcount_internal.
28153 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28154 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28155 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28156
f17ac40d
JM
281572012-07-06 Joseph Myers <joseph@codesourcery.com>
28158
9ad63c23
JM
28159 [BZ #14154]
28160 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28161 approximation for values within 0x1p-13f of an odd multiple of
28162 pi/4.
28163 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28164 exception. Add more tests.
28165 * sysdeps/i386/fpu/libm-test-ulps: Update.
28166
f17ac40d
JM
28167 [BZ #6778]
28168 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28169 inputs and return -1 for them. Do not check for +Inf in case not
28170 reachable for +Inf.
28171 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28172 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28173 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28174 and return -1 for them. Do not check for +Inf in case not
28175 reachable for +Inf.
28176 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28177 define.
28178 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28179 and return -1 for them. Do not check for +Inf in case not
28180 reachable for +Inf.
28181 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28182 spurious underflow.
28183 * sysdeps/i386/fpu/libm-test-ulps: Update.
28184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28185
fb21f89b
MF
281862012-07-06 Mike Frysinger <vapier@gentoo.org>
28187
28188 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28189
cdfe2c5e
JM
281902012-07-05 Joseph Myers <joseph@codesourcery.com>
28191
28192 [BZ #14157]
28193 [BZ #14331]
28194 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28195 could result in spurious underflow. Scale down values above
28196 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28197 * math/s_csqrtf.c (__csqrtf): Likewise.
28198 * math/s_csqrtl.c (__csqrtl): Likewise.
28199 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28200 spurious underflow.
28201 * sysdeps/i386/fpu/libm-test-ulps: Update.
28202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28203
70d35b67
AS
282042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28205
704bc459
AS
28206 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28207 xopen-msg.sed.
28208 * catgets/xopen-msg.awk: New file.
28209 * catgets/xopen-msg.sed: Removed.
28210
70d35b67
AS
28211 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28212 po2text.sed.
28213 * intl/po2test.awk: New file.
28214 * intl/po2test.sed: Removed.
28215
ca61cf32
JM
282162012-07-04 Joseph Myers <joseph@codesourcery.com>
28217
28218 [BZ #14328]
28219 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28220 or multiply small sinh result by itself.
28221 * math/s_ctanf.c (__ctanf): Likewise.
28222 * math/s_ctanh.c (__ctanh): Likewise.
28223 * math/s_ctanhf.c (__ctanhf): Likewise.
28224 * math/s_ctanhl.c (__ctanhl): Likewise.
28225 * math/s_ctanl.c (__ctanl): Likewise.
28226 * math/libm-test.inc (ctan_test_tonearest): New function.
28227 (ctan_test_towardzero): Likewise.
28228 (ctan_test_downward): Likewise.
28229 (ctan_test_upward): Likewise.
28230 (ctanh_test_tonearest): Likewise.
28231 (ctanh_test_towardzero): Likewise.
28232 (ctanh_test_downward): Likewise.
28233 (ctanh_test_upward): Likewise.
28234 (main): Call these new functions.
28235 * sysdeps/i386/fpu/libm-test-ulps: Update.
28236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28237
ca48a46a
MF
282382012-07-03 Mike Frysinger <vapier@gentoo.org>
28239
28240 * .gitignore: Delete /ports entry.
28241
9d63d37d
AJ
282422012-07-03 Andreas Jaeger <aj@suse.de>
28243
28244 * po/bg.po: Update from translation team.
28245 * po/cs.po: Likewise.
28246 * po/de.po: Likewise.
28247 * po/hr.po: Likewise.
28248 * po/nl.pl: Likewise.
28249 * po/pl.po: Likewise.
28250 * po/vi.po: Likewise.
28251
370ca3d2
JM
282522012-07-03 Joseph Myers <joseph@codesourcery.com>
28253
95f5a9a8
JM
28254 * Makeconfig [!+link] (+link-before-libc): New variable.
28255 [!+link] (+link-after-libc): Likewise.
28256 [!+link] (+link-tests): Likewise.
28257 [!+link] (+link): Define in terms of $(+link-before-libc) and
28258 $(+link-after-libc).
28259 [!+link-static] (+link-static-before-libc): New variable.
28260 [!+link-static] (+link-static-after-libc): Likewise.
28261 [!+link-static] (+link-static-tests): Likewise.
28262 [!+link-static] (+link-static): Define in terms of
28263 $(+link-static-before-libc) and $(+link-static-after-libc).
28264 [build-shared] (link-libc-before-gnulib): New variable.
28265 [build-shared] (link-libc-tests): Likewise.
28266 [build-shared] (link-libc): Define in terms of
28267 $(link-libc-before-gnulib).
28268 [!build-shared] (link-libc-tests): New variable.
28269 (link-libc-static-tests): New variable.
28270 [!gnulib] (gnulib-arch): New variable.
28271 [!gnulib] (gnulib-tests): Likewise.
28272 [!gnulib] (static-gnulib-arch): Likewise.
28273 [!gnulib] (static-gnulib-tests): Likewise.
28274 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28275 Define with "=" instead of ":=".
28276 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28277 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28278 * Rules (binaries-all-notests): New variable.
28279 (binaries-all-tests): Likewise.
28280 (binaries-static-notests): Likewise.
28281 (binaries-static-tests): Likewise.
28282 (binaries-all): Define using $(binaries-all-notests) and
28283 $(binaries-all-tests).
28284 (binaries-static): Define using $(binaries-static-notests) and
28285 $(binaries-static-tests).
28286 (binaries-shared-tests): New variable.
28287 (binaries-shared-notests): Likewise.
28288 (binaries-shared): Remove variable.
28289 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28290 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28291 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28292 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28293 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28294 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28295 * elf/Makefile (sln-modules): New variable.
28296 (extra-objs): Add $(sln-modules:=.o).
28297 (ldconfig-modules): Add static-stubs.
28298 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28299 * elf/static-stubs.c: New file.
28300
7a845b2c
JM
28301 [BZ #14283]
28302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28303 by 7 not 8 to examine high bit of fractional part. Use volatile
28304 variables when splitting into final array of floats if
28305 __FLT_EVAL_METHOD__ != 0.
28306 * math/libm-test.inc (cos_test): Add another test.
28307 (sin_test): Likewise.
28308 * sysdeps/i386/fpu/libm-test-ulps: Update.
28309
e2283f38
JM
28310 [BZ #14273]
28311 * math/libm-test.inc (cosh_test): Add more tests.
28312
370ca3d2
JM
28313 * version.h (RELEASE): Set to "development".
28314 (VERSION): Set to "2.16.90".
28315
ee9247c3
CD
283162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28317
28318 * NEWS: Update copyright. Remove last-updated date.
28319 Mention math library bug fixes and timezone data changes.
28320 * README: Mention GNU/Hurd, x32, and HPPA support status.
28321
4648c381
TS
283222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28323
28324 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28325
aac78a43
AJ
283262012-06-27 Andreas Jaeger <aj@suse.de>
28327
28328 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28329
ed3dbfad
AJ
283302012-06-25 Andreas Jaeger <aj@suse.de>
28331
28332 * sysdeps/s390/fpu/libm-test-ulps: Update.
28333
4d0ee855
AS
283342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28335 Thomas Schwinge <thomas@codesourcery.com>
28336
28337 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28338 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28340 fanotify_mark.
28341
af1bce34
TS
283422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28343
a9fa33ba
TS
28344 * sysdeps/mach/start.c: Remove file.
28345 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28346 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28347 * sysdeps/sh/init-first.c: Likewise.
28348
58f902b8
TS
28349 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28350 registers for frame unwinding purposes, add CFI directives.
28351 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28352 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28353 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28354 Likewise.
28355
1518f58b
TS
28356 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28357 __fortify_fail returning.
28358 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28359
db9b5059
TS
28360 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28361 sysdeps/sh/____longjmp_chk.S.
28362 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28363 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28364 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28365 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28366
967705fe
TS
28367 * sysdeps/sh/abort-instr.h: New file.
28368 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28369 process in case exit returns.
28370
a9def8c4
TS
28371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28372 initialize the GOT register before use.
28373
2a649725
TS
28374 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28375 calculation of ARGC > 4.
28376
af1bce34
TS
28377 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28378 meaningful names to some local labels.
28379
d230f50a
KK
283802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28381 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28382
28383 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28384 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28385 (__arch_compare_and_exchange_val_16_acq): Likewise.
28386 (__arch_compare_and_exchange_val_32_acq): Likewise.
28387 (atomic_exchange_and_add): Fix gUSA sequence.
28388 (atomic_add): Likewise.
28389 (atomic_add_negative): Likewise.
28390 (atomic_add_zero): Likewise.
28391 (atomic_bit_test_set): Likewise.
28392
0479b305
AS
283932012-06-22 Andreas Schwab <schwab@redhat.com>
28394
28395 [BZ #13579]
28396 * include/link.h (struct link_map): Add l_free_initfini.
28397 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28398 l_initfini.
28399 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28400 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28401 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28402 set.
28403
0e3933b9
CD
284042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28405
28406 * configure.in: Use AC_LANG_SOURCE.
28407 * configure: Regenerate.
28408
4248b1b1
RM
284092012-06-22 Roland McGrath <roland@hack.frob.com>
28410
28411 * configure.in (libc_cv_localstatedir): New substituted variable.
28412 * configure: Regenerated.
28413 * config.make.in (localstatedir): New variable, substituted from
28414 libc_cv_localstatedir.
28415 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28416 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28417 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28418 * sysdeps/gnu/configure: Regenerated.
28419
006dd861
JL
284202012-06-21 Jeff Law <law@redhat.com>
28421
28422 [BZ #14277]
28423 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28424 free. Simplify list management for _LIBC case.
28425
79662d42
JM
284262012-06-21 Joseph Myers <joseph@codesourcery.com>
28427
b7abb4bf
JM
28428 [BZ #14273]
28429 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28430 Clear sign bit of 64-bit integer value before comparing against
28431 overflow value.
28432
79662d42
JM
28433 * sysdeps/mach/configure: Regenerated.
28434
1f150908
L
284352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28436
28437 [BZ #14278]
28438 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28439
28363bbf
JL
284402012-06-21 Jeff Law <law@redhat.com>
28441
28442 [BZ #13882]
28443 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28444 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28446 * elf/dl-open.c (dl_open_worker): Likewise.
28447
09615db4
CD
284482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28449
28450 * scripts/list-sources.sh: Scan PORTS for translations.
28451 * po/libc.pot: Regenerated.
28452
2174c6dd
AJ
284532012-06-21 Andreas Jaeger <aj@suse.de>
28454
28455 [BZ #12194]
28456 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28457 warning.
28458 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28459 * bits/byteswap-16.h (__bswap_16): Likewise.
28460 * bits/byteswap.h (__bswap_constant_16): Likewise.
28461
3ee947b1
L
284622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28463
28464 [BZ #14117]
a2f34833
L
28465 * sysdeps/i386/fpu_control.h: Removed.
28466 * sysdeps/x86_64/fpu_control.h: Moved to ...
28467 * sysdeps/x86/fpu_control.h: Here.
28468
3ee947b1
L
28469 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28470 (_FPU_SETCW): Likewise.
28471
ed1825f8
L
284722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28473
25f1282a
L
28474 [BZ #14117]
28475 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28476 * sysdeps/x86/fpu/bits/mathinline.h: This.
28477 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28478
ed1825f8
L
28479 [BZ #14050]
28480 [BZ #14117]
28481 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28482 functions if __x86_64__ is defined.
28483
36d54b74
CLT
284842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28485
28486 * string/endian.h: Add !__ASSEMBLER__ condition for including
28487 conversion interfaces.
28488
10285c21
JM
284892012-06-15 Joseph Myers <joseph@codesourcery.com>
28490
28491 [BZ #14241]
28492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28493 of ABS(x) in calculating zero to negative powers other than odd
28494 integers.
28495 * math/libm-test.inc (pow_test): Add more tests.
28496
06c5abbd
AJ
284972012-06-15 Andreas Jaeger <aj@suse.de>
28498
28499 * manual/contrib.texi (Contributors): Update entry of Liubov
28500 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28501 Machado Filho.
28502
a3aeac40
CH
285032012-06-15 Cyril Hrubis <metan@ucw.cz>
28504
28505 * string/string.h: Add __wur to GNU version of strerror_r.
28506
49bdf4c1
L
285072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28508
28509 [BZ #14229]
28510 * string/Makefile (tests): Add tst-strtok_r.
28511 * string/tst-strtok_r.c: New file.
28512 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28513 RAX_LP/RDX_LP on SAVE_PTR.
28514
834f9b8d
RM
285152012-06-14 Roland McGrath <roland@hack.frob.com>
28516
28517 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28518
75fa1921
JM
285192012-06-14 Joseph Myers <joseph@codesourcery.com>
28520
28521 * libm_test.inc (csqrt_test): Allow more spurious underflow
28522 exceptions.
28523 (j0_test): Likewise.
28524 (j1_test): Likewise.
28525 (y0_test): Likewise.
28526 (y1_test): Likewise.
28527
771766df
CD
285282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28529
28530 * po/Makefile (libc.pot): Use UTF-8 charset.
28531
ceb9e56b
PP
285322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28533
28534 [BZ #14210]
28535 Suppress sign-conversion warning from FD_SET.
28536 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28537 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28538 not unsigned long int.
28539 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28540
ddb28975
L
285412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28542
28543 [BZ #14050]
28544 [BZ #14117]
28545 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28546 __extern_always_inline instead of __extern_inline.
28547 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28548 (__signbit): Likewise.
28549 (__signbitl): Support C++ namespace.
28550 (lrintf): New inline function.
28551 (lrint): Likewise.
28552 (llrintf): Likewise.
28553 (llrint): Likewise.
28554 (fmaxf): Likewise.
28555 (fmax): Likewise.
28556 (fminf): Likewise.
28557 (fmin): Likewise.
28558 (rint): Likewise.
28559 (rintf): Likewise.
28560 (ceil): Likewise.
28561 (ceilf): Likewise.
28562 (floor): Likewise.
28563 (floorf): Likewise.
28564 (nearbyint): Likewise.
28565 (nearbyintf): Likewise.
28566
d7b4fb26
TS
285672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28568
28569 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28570 non-default versions.
28571
eb55f5c2
RM
285722012-06-11 Roland McGrath <roland@hack.frob.com>
28573
28574 [BZ #14218]
28575 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28576
366af02c
TS
285772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28578
99ff6e5c
TS
28579 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28580 (FE_UPWARD, FE_DOWNWARD): Don't define.
28581 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28582 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28583
366af02c
TS
28584 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28585 reading it.
28586 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28587 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28588
793ea851
KK
285892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28590
28591 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28592 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28593 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28594 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28595
a728a38f
L
285962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28597
28598 [BZ #14117]
c08010c7
L
28599 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28600 * sysdeps/i386/fpu/Implies: New file.
28601 * sysdeps/x86_64/fpu/Implies: Likewise.
28602 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28603 * sysdeps/x86/fpu/bits/fenv.h: This.
28604
a728a38f
L
28605 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28606 __SSE_MATH__.
28607
6e230d11
SP
286082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28609
28610 [BZ #14134]
28611 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28612 character 0xffff that matches the last element of the
28613 conversion table.
28614
1b671feb
AZ
286152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28616
28617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28618 fmodl commit.
28619
6043738b
AZ
286202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28621
28622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28623 values higher than 25.6283.
28624
34ae0b32
AZ
286252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28626
28627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28628 subnormal exponent extraction and add some __builtin_expect.
28629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28630 Fix for subnormal mantissa calculation.
28631
1214ec8f
MF
286322012-06-04 Mike Frysinger <vapier@gentoo.org>
28633
28634 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28635 cpu2 is -1 and errno is not ENOSYS.
28636
f3d1f93c
L
286372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28638
28639 [BZ #14117]
0e4a3cd7
L
28640 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28641 * sysdeps/x86/bits/string.h: This.
28642 * sysdeps/x86_64/bits/string.h: Removed.
28643
6704c645
L
28644 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28645 if not compiling for x86-64, but compiling for >= i486.
28646
48495318
L
28647 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28648 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28649
14adcbfc
L
28650 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28651 New macro from Linux kernel 3.4.0.
28652 (FP_XSTATE_MAGIC2): Likewise.
28653 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28654 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28655 (struct _fpx_sw_bytes): New struct.
28656 (struct _xsave_hdr): Likewise.
28657 (struct _ymmh_state): Likewise.
28658 (struct _xstate): Likewise.
28659
68e408ab
L
28660 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28661 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28662 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28663 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28664 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28665 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28666
f3d1f93c
L
28667 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28668 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28669 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28670 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28671 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28672 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28673
d9dc34cd
TMQMF
286742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28675
28676 [BZ #13743]
28677 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28678 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28679 (sysdep_headers): Include sys/platform/ppc.h.
28680 * sysdeps/powerpc/test-gettimebase.c: Test for
28681 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28682 * manual/Makefile (appendices): Include platform.texi.
28683 * manual/contrib.texi (Contributors): Update @node pointers.
28684 * manual/maint.texi (Maintenance): Likewise.
28685 (Platform): New node.
28686 * manual/platform.texi: New file. Document the new features.
28687
4af3879c
SP
286882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28689 Jakub Jelinek <jakub@redhat.com>
28690
28691 [BZ #14188]
28692 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28693 where __builtin_expect is unavailable.
28694
2fd6ff13
DM
286952012-06-03 David S. Miller <davem@davemloft.net>
28696
28697 * stdlib/longlong.h: Updated from GCC.
28698
173f7220
AS
286992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28700
28701 [BZ #14042]
28702 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28703 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28704 __mcount_internal.
28705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28706 (GLIBC_2.16): Likewise.
28707
f34a1c6f
L
287082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28709
28710 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28711
88a4576f
JM
287122012-06-01 Joseph Myers <joseph@codesourcery.com>
28713
ea32bcdd
JM
28714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28715 (default-abi): New variable.
28716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28717 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28718 variable.
28719 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28720 Likewise.
28721 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28722 Likewise.
28723 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28724 Likewise.
28725
88a4576f
JM
28726 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28727 definition. Document in comment.
28728
402fe938
DM
287292012-06-01 David S. Miller <davem@davemloft.net>
28730
28731 * stdlib/longlong.h: Updated from GCC.
28732
3553723f
L
287332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 [BZ #14117]
3bd872c4
L
28736 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28737 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28738 sys/debugreg.h sys/io.h here.
28739 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28740 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28741 sys/io.h.
28742 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28743 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28744 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28745 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28746 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28747 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28748
3553723f
L
28749 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28750 Define only if __x86_64__ is defined.
28751
4842e4fe
JM
287522012-06-01 Joseph Myers <joseph@codesourcery.com>
28753
c5bfe3d5
JM
28754 [BZ #14048]
28755 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28756 Use int64_t for variable i.
28757 * math/libm-test.inc (fmod_test): Add more tests.
28758
4842e4fe
JM
28759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28760 z computation is not scheduled after fetestexcept.
28761 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28762 Use math_force_eval instead of asm to ensure calculation scheduled
28763 before exception test.
28764 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28765 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28766
efb73488
AJ
287672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28768
28769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28770 computation is not scheduled after fetestexcept.
28771
29bcce7c
L
287722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28773
28774 [BZ #14117]
28775 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28776 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28777
73a68f94
AZ
287782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28779
28780 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28781 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28782
67b6df78
L
287832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28784
edf2933a 28785 [BZ #14117]
ebc64a18
L
28786 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28787 <bits/wordsize.h>.
28788 (__WCHAR_MIN): Support __WORDSIZE == 64.
28789 (__WCHAR_MAX): Likewise.
28790
edf2933a
L
28791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28792 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28793
57c6cf40
L
28794 [BZ #14183]
28795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28796 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28797
67b6df78 28798 [BZ #14117]
8eb6281e
L
28799 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28800 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28801
aac639f4
L
28802 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28803 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28804
67b6df78
L
28805 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28806 Defined to 1 if __x86_64__ isn't defined.
28807 (_STAT_VER_LINUX_OLD): New.
28808 (st_atime): Remove duplicate.
28809 (st_mtime): Likewise.
28810 (st_ctime): Likewise.
28811
1c2cfe81
DM
288122012-05-31 David S. Miller <davem@davemloft.net>
28813
28814 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28815 entries.
28816
5be8418c
AS
288172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28818
e7725326
AS
28819 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28820 gen-libm-test.pl.
28821
5be8418c
AS
28822 [BZ #14132]
28823 * elf/dl-reloc.c: Include <_itoa.h>.
28824 (_dl_reloc_bad_type): Remove use of INTUSE.
28825 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28826 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28827 * stdio-common/psiginfo.c (psiginfo): Likewise.
28828 * stdio-common/psignal.c (psignal): Likewise.
28829 * string/strsignal.c (strsignal): Likewise.
28830 * include/signal.h (_sys_siglist): Declare hidden proto.
28831 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28832 INTVARDEF with libc_hidden_data_def.
28833 * stdio-common/itoa-udigits.c: Likewise.
28834 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28835 (_itoa_lower_digits_internal): Remove declaration.
28836 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28837 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28838 (_sys_sigabbrev_internal): Remove aliases.
28839 (_sys_siglist): Define hidden alias.
28840
507352f1
MT
288412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28842
28843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28844 bits/sysctl.h.
28845
42bbb1c3
L
288462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28847
28848 [BZ #14117]
6bd784b6
L
28849 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28850 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28851
8bca20f0
L
28852 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28853 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28854 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28855 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28856 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28857 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28858
f9e890a9
L
28859 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28860 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28861 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28862
471101a1
L
28863 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28864 with __addr.
28865 (insw): Likewise.
28866 (insl): Likewise.
28867 (outsb): Likewise.
28868 (outsw): Likewise.
28869 (outsl): Likewise.
28870
6451c862
L
28871 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28872 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28873 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28874
a254b8c9
L
28875 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28876 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28877 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28878 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28879 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28880 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28881
b8dfdd92
L
28882 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28883 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28884
578cd270
L
28885 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28886 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28887
de662f5f
L
28888 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28889 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28890 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28891
25653439
L
28892 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28893 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28894 to ...
28895 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28896
6bad24a0
L
28897 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28898 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28899 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28900
42bbb1c3
L
28901 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28902 for x86-64.
28903 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28904
2d10d547
JM
289052012-05-31 Joseph Myers <joseph@codesourcery.com>
28906
28907 * math/math.h (M_El): Use two more decimal places.
28908 (M_LOG2El): Likewise.
28909 (M_LOG10El): Likewise.
28910 (M_LN2l): Likewise.
28911 (M_LN10l): Likewise.
28912 (M_PIl): Likewise.
28913 (M_PI_2l): Likewise.
28914 (M_PI_4l): Likewise.
28915 (M_1_PIl): Likewise.
28916 (M_2_PIl): Likewise.
28917 (M_2_SQRTPIl): Likewise.
28918 (M_SQRT2l): Likewise.
28919 (M_SQRT1_2l): Likewise.
28920
f230c29b
DM
289212012-05-31 David S. Miller <davem@davemloft.net>
28922
28923 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28924 values between float registers.
28925 * sysdeps/sparc/sparc64/memset.S: Likewise.
28926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28927
fed806c3
MF
289282012-05-31 Mike Frysinger <vapier@gentoo.org>
28929
28930 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28931 -D_FORTIFY_SOURCE=1.
28932 (CPPFLAGS-tst-longjmp_chk.c): Define.
28933 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28934 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28935 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28936 CFLAGS-tst-wchar-h.c.
28937
30917259
MP
289382012-05-31 Marek Polacek <polacek@redhat.com>
28939
28940 [BZ #14132]
28941 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28942 __endmntent_internal): Remove declaration.
28943 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28944 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28945 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28946
1c58d5dc
DM
289472012-05-30 David S. Miller <davem@davemloft.net>
28948
28949 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28950 (___Q_simulate_exceptions): Use real FP ops rather than writing
28951 into the %fsr.
28952 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28953 Likewise.
28954
7dc00e0d
L
289552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28956
28957 [BZ #14117]
0bd53985
L
28958 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28959 * sysdeps/x86/bits/xtitypes.h: This.
28960
3a257e66
L
28961 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28962 * sysdeps/x86/bits/wordsize.h: This.
28963
62f62904
L
28964 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28965 * sysdeps/x86/bits/huge_vall.h: This.
28966
404fe9d9
L
28967 * sysdeps/i386/bits/select.h: Removed.
28968 * sysdeps/x86_64/bits/select.h: Renamed to ...
28969 * sysdeps/x86/bits/select.h: This.
28970
d48d0446
L
28971 * sysdeps/i386/bits/setjmp.h: Removed.
28972 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28973 * sysdeps/x86/bits/setjmp.h: This.
28974
7dc00e0d
L
28975 * sysdeps/i386/bits/mathdef.h: Removed.
28976 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28977 * sysdeps/x86/bits/mathdef.h: This.
28978
03277f8f
AS
289792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28980
28981 [BZ #14132]
28982 * include/sys/socket.h (__connect_internal)
28983 (__libc_sa_len_internal): Remove declaration.
28984 (__connect, __libc_sa_len): Declare hidden_proto.
28985 (SA_LEN): Remove use of INTUSE.
28986 * socket/connect.c: Add libc_hidden_def.
28987 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28988 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28989 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28990 alias.
28991 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28992 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28993 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28994 of adding _internal alias.
28995
13764867
L
289962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28997
28998 [BZ #14117]
6bd97696
L
28999 * sysdeps/i386/bits/link.h: Removed.
29000 * sysdeps/i386/bits/linkmap.h: Likewise.
29001 * sysdeps/x86_64/bits/link.h: Renamed to ...
29002 * sysdeps/x86/bits/link.h: This.
29003 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29004 * sysdeps/x86/bits/linkmap.h: This.
29005
f726f0bb
L
29006 * sysdeps/i386/bits/endian.h: Removed.
29007 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29008 * sysdeps/x86/bits/endian.h: This.
29009
13764867
L
29010 * sysdeps/i386/bits/byteswap.h: Removed.
29011 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29012 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29013 * sysdeps/x86/bits/byteswap.h: This.
29014 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29015 * sysdeps/x86/bits/byteswap-16.h: This.
29016 * sysdeps/i386/Implies: Add x86.
29017 * sysdeps/x86_64/Implies: Likewise.
29018
ae251b0b
DM
290192012-05-30 David S. Miller <davem@davemloft.net>
29020
29021 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29022 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29023 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29024 (FP_TRAPPING_EXCEPTIONS): Define.
29025 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29026 (FP_TRAPPING_EXCEPTIONS): Define.
29027 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29028 subnormals only when inexact has been signalled or underflow
29029 exceptions are enabled.
29030 (_FP_PACK_CANONICAL): Likewise.
29031
d5c90867
L
290322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29033
29034 [BZ #14183]
29035 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29036 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29037
63f1549e
RH
290382012-05-30 Richard Henderson <rth@twiddle.net>
29039
8d8f2279
RH
29040 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29041 with #ifndef NOT_IN_libc.
29042
63f1549e
RH
29043 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29044 marked to avoid plt entry.
29045
0ab0291b
L
290462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29047
29048 [BZ #14112]
29049 * Makeconfig (default-abi): New macro.
29050 (abi-includes): Likewise.
29051 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29052 $(abi-$(default-abi)-lib-soname) for soname if defined.
29053 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29054 abi-variants.
29055 * Makefile (installed-stubs): Likewise.
29056 * include/stubs-biarch.h: Removed.
29057 * scripts/lib-names.awk: Only handle one library at a time.
29058 * scripts/soversions.awk: Remove WORDSIZE support.
29059 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29060 entries.
29061 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29062 Removed.
29063 (syscall-list-default-condition): Likewise.
29064 (syscall-list-default-condition): Likewise.
29065 (syscall-list-includes): Likewise.
29066 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29067 syscall-list-* with abi-*. Handle undefined abi-variants.
29068 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29069 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29070 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29071 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29072 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29073 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29074 Removed.
29075 (syscall-list-32-options): Likewise.
29076 (syscall-list-32-condition): Likewise.
29077 (syscall-list-64-options): Likewise.
29078 (syscall-list-64-condition): Likewise.
29079 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29080 macro.
29081 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29082 Renamed to ...
29083 (abi-*): This.
29084 (abi-64-ld-soname): New macro.
29085 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29086 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29087 Renamed to ...
29088 (abi-*): This.
29089 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29090 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29091
4da0431d
JM
290922012-05-30 Joseph Myers <joseph@codesourcery.com>
29093
3a85279c
JM
29094 * sysdeps/unix/sysv/linux/kernel-features.h
29095 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29096 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29097 include <kernel-features.h>.
29098 [!__NR_ftruncate64]: Remove conditional code.
29099 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29100 [__NR_ftruncate64]: Make code unconditional.
29101 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29102 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29103 include <kernel-features.h>.
29104 [!__NR_ftruncate64]: Remove conditional code.
29105 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29106 [__NR_ftruncate64]: Make code unconditional.
29107 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29109 include <kernel-features.h>.
29110 [!__NR_ftruncate64]: Remove conditional code.
29111 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29112 [__NR_ftruncate64]: Make code unconditional.
29113 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29115 include <kernel-features.h>.
29116 [!__NR_ftruncate64]: Remove conditional code.
29117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29118 [__NR_ftruncate64]: Make code unconditional.
29119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29120
4da0431d
JM
29121 * configure.in (libc_cv_fpie): Weaken to a compile test using
29122 LIBC_TRY_CC_OPTION.
29123 * configure: Regenerated.
29124
11ef492c
AK
291252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29126
29127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29131 Refreshed.
29132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29138 Refreshed.
29139
d66ef399
DM
291402012-05-27 David S. Miller <davem@davemloft.net>
29141
29142 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29143 (___Q_zero): New.
29144 (__Q_simulate_exceptions): Return void. Change to simulate
29145 exceptions by writing into the %fsr.
29146 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29147 (__Qp_handle_exceptions): Likewise.
29148 (numbers): Delete.
29149 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29150 __Qp_handle_exceptions.
29151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29152 __Qp_handle_exceptions.
29153 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29154 as unused and give dummy FP_RND_NEAREST initializer.
29155 (FP_INHIBIT_RESULTS): Define.
29156 (___Q_simulate_exceptions): Update declaration.
29157 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29158 formatting.
29159 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29160 as unused and give dummy FP_RND_NEAREST initializer.
29161 (__Qp_handle_exceptions): Update declaration.
29162 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29163 formatting.
29164
04fb54b5
TS
291652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29166
29167 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29168 the temporary FPU control word.
29169 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29170 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29171 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29172 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29173 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29174 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29175 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29176 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29177 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29178 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29179 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29180
3f99608f
KK
291812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29182
29183 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29184 fields.
29185
65a4de4e
CLT
291862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29187
29188 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29189 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29190 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29191 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29192 Likewise.
29193 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29194 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29195 Likewise.
29196
15749d40
UD
291972012-05-27 Ulrich Drepper <drepper@gmail.com>
29198
29199 * po/h.po: Update from translation team.
29200
25dbcb27
AS
292012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29202
3d3f8e55
AS
29203 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29204
25dbcb27
AS
29205 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29206 handling of denormals.
29207 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29208 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29209 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29210 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29214 Likewise.
29215
7ad47a80 292162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29217
29218 [BZ #14152]
29219 * math/libm-test.inc (fma_test): Don't always expect underflow
29220 exception.
29221
9c6ea9fa
SP
292222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29223
29224 [BZ #12416]
29225 * elf/tst-execstack.c: Include stackinfo.h.
29226 (do_test): Adjust test case to ensure that pthread_getattr_np
29227 behaviour remains the same after marking stack executable.
29228
a8239222
JM
292292012-05-25 Joseph Myers <joseph@codesourcery.com>
29230
29231 * sysdeps/unix/sysv/linux/kernel-features.h
29232 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29233 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29234 kernel-features.h.
29235 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29236 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29237 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29238 kernel-features.h.
29239 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29240 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29241
918b5606
L
292422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29243
29244 * configure.in: Define the default includes to being none.
29245 * configure: Regenerated.
29246
3a097cc7
RM
292472012-05-25 Roland McGrath <roland@hack.frob.com>
29248
8422c9a5
RM
29249 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29250 * sysdeps/x86_64/setjmp.S: Likewise.
29251 * sysdeps/i386/bsd-setjmp.S: Likewise.
29252 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29253 * sysdeps/i386/setjmp.S: Likewise.
29254 * sysdeps/i386/__longjmp.S: Likewise.
29255 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29256 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29257
3a097cc7
RM
29258 * include/stap-probe.h: New file.
29259 * configure.in: Handle --enable-systemtap.
29260 * configure: Regenerated.
29261 * config.h.in (USE_STAP_PROBE): New #undef.
29262 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29263 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29264 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29265
21708942
JM
292662012-05-25 Joseph Myers <joseph@codesourcery.com>
29267
29268 [BZ #13717]
29269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29270 to 2.4.0 where earlier.
29271 * sysdeps/unix/sysv/linux/configure: Regenerated.
29272 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29273 <kernel-features.h>.
29274 [__ASSUME_32BITUIDS]: Make code unconditional.
29275 [!__ASSUME_32BITUIDS]: Remove conditional code.
29276 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29277 <kernel-features.h>.
29278 [__ASSUME_32BITUIDS]: Make code unconditional.
29279 [!__ASSUME_32BITUIDS]: Remove conditional code.
29280 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29281 [__ASSUME_32BITUIDS]: Make code unconditional.
29282 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29283 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29284 <kernel-features.h>.
29285 [__ASSUME_32BITUIDS]: Make code unconditional.
29286 [!__ASSUME_32BITUIDS]: Remove conditional code.
29287 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29288 <kernel-features.h>.
29289 [__ASSUME_32BITUIDS]: Make code unconditional.
29290 [!__ASSUME_32BITUIDS]: Remove conditional code.
29291 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29292 <kernel-features.h>.
29293 [__ASSUME_32BITUIDS]: Make code unconditional.
29294 [!__ASSUME_32BITUIDS]: Remove conditional code.
29295 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29296 <kernel-features.h>.
29297 [__ASSUME_32BITUIDS]: Make code unconditional.
29298 [!__ASSUME_32BITUIDS]: Remove conditional code.
29299 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29300 <kernel-features.h>.
29301 [__ASSUME_32BITUIDS]: Make code unconditional.
29302 [!__ASSUME_32BITUIDS]: Remove conditional code.
29303 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29304 <kernel-features.h>.
29305 [__ASSUME_32BITUIDS]: Make code unconditional.
29306 [!__ASSUME_32BITUIDS]: Remove conditional code.
29307 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29308 <kernel-features.h>.
29309 [__ASSUME_32BITUIDS]: Make code unconditional.
29310 [!__ASSUME_32BITUIDS]: Remove conditional code.
29311 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29312 <kernel-features.h>.
29313 [__ASSUME_32BITUIDS]: Make code unconditional.
29314 [!__ASSUME_32BITUIDS]: Remove conditional code.
29315 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29316 <kernel-features.h>.
29317 [__ASSUME_32BITUIDS]: Make code unconditional.
29318 [!__ASSUME_32BITUIDS]: Remove conditional code.
29319 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29320 <kernel-features.h>.
29321 [__ASSUME_32BITUIDS]: Make code unconditional.
29322 [!__ASSUME_32BITUIDS]: Remove conditional code.
29323 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29324 <kernel-features.h>.
29325 [__NR_setresgid] (__setresgid): Do not declare.
29326 [__ASSUME_32BITUIDS]: Make code unconditional.
29327 [!__ASSUME_32BITUIDS]: Remove conditional code.
29328 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29329 <kernel-features.h>.
29330 [__NR_setresuid] (__setresuid): Do not declare.
29331 [__ASSUME_32BITUIDS]: Make code unconditional.
29332 [!__ASSUME_32BITUIDS]: Remove conditional code.
29333 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29334 <kernel-features.h>.
29335 [__ASSUME_32BITUIDS]: Make code unconditional.
29336 [!__ASSUME_32BITUIDS]: Remove conditional code.
29337 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29338 <kernel-features.h>.
29339 [__ASSUME_32BITUIDS]: Make code unconditional.
29340 [!__ASSUME_32BITUIDS]: Remove conditional code.
29341 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29342 <kernel-features.h>.
29343 [__ASSUME_32BITUIDS]: Make code unconditional.
29344 [!__ASSUME_32BITUIDS]: Remove conditional code.
29345 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29346 <kernel-features.h>.
29347 [__ASSUME_32BITUIDS]: Make code unconditional.
29348 [!__ASSUME_32BITUIDS]: Remove conditional code.
29349 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29350 <kernel-features.h>.
29351 [__ASSUME_32BITUIDS]: Make code unconditional.
29352 [!__ASSUME_32BITUIDS]: Remove conditional code.
29353 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29354 <kernel-features.h>.
29355 [__ASSUME_32BITUIDS]: Make code unconditional.
29356 [!__ASSUME_32BITUIDS]: Remove conditional code.
29357 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29358 <kernel-features.h>.
29359 [__ASSUME_32BITUIDS]: Make code unconditional.
29360 [!__ASSUME_32BITUIDS]: Remove conditional code.
29361 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29362 <kernel-features.h>.
29363 [__ASSUME_32BITUIDS]: Make code unconditional.
29364 [!__ASSUME_32BITUIDS]: Remove conditional code.
29365 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29366 <kernel-features.h>.
29367 [__ASSUME_32BITUIDS]: Make code unconditional.
29368 [!__ASSUME_32BITUIDS]: Remove conditional code.
29369 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29370 <kernel-features.h>.
29371 [__ASSUME_32BITUIDS]: Make code unconditional.
29372 [!__ASSUME_32BITUIDS]: Remove conditional code.
29373 * sysdeps/unix/sysv/linux/kernel-features.h
29374 (__ASSUME_SETRESUID_SYSCALL): Remove.
29375 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29376 (__ASSUME_32BITUIDS): Likewise.
29377 (__ASSUME_LDT_WORKS): Likewise.
29378 (__ASSUME_O_DIRECTORY): Likewise.
29379 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29380 architecture but not kernel version.
29381 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29382 (__ASSUME_MMAP2_SYSCALL): Likewise.
29383 (__ASSUME_STAT64_SYSCALL): Likewise.
29384 (__ASSUME_IPC64): Likewise.
29385 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29386 <kernel-features.h>.
29387 [__ASSUME_32BITUIDS]: Make code unconditional.
29388 [!__ASSUME_32BITUIDS]: Remove conditional code.
29389 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29390 <kernel-features.h>.
29391 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29392 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29393 132096]: Remove conditional code.
29394 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29395 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29396 <kernel-features.h>.
29397 [__ASSUME_32BITUIDS]: Make code unconditional.
29398 [!__ASSUME_32BITUIDS]: Remove conditional code.
29399 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29400 <kernel-features.h>.
29401 [__ASSUME_32BITUIDS]: Make code unconditional.
29402 [!__ASSUME_32BITUIDS]: Remove conditional code.
29403 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29404 <kernel-features.h>.
29405 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29406 unconditional.
29407 (__setresgid): Do not declare.
29408 [__ASSUME_32BITUIDS]: Make code unconditional.
29409 [!__ASSUME_32BITUIDS]: Remove conditional code.
29410 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29411 <kernel-features.h>.
29412 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29413 unconditional.
29414 (__setresuid): Do not declare.
29415 [__ASSUME_32BITUIDS]: Make code unconditional.
29416 [!__ASSUME_32BITUIDS]: Remove conditional code.
29417 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29418 <kernel-features.h>.
29419 [__ASSUME_32BITUIDS]: Make code unconditional.
29420 [!__ASSUME_32BITUIDS]: Remove conditional code.
29421 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29422 <kernel-features.h>.
29423 [__ASSUME_32BITUIDS]: Make code unconditional.
29424 [!__ASSUME_32BITUIDS]: Remove conditional code.
29425
a386f1cc
RH
294262012-05-25 Richard Henderson <rth@twiddle.net>
29427
29428 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29429 dl_hwcap to ifunc resolver.
29430 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29431 elf_ifunc_invoke.
29432 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29433 dl_hwcap to ifunc resolver.
29434 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29435
b6550497
JM
294362012-05-24 Joseph Myers <joseph@codesourcery.com>
29437
29438 [BZ #14153]
29439 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29440 for |x| <= 2**-26, not 2**-57.
29441 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29442 exception.
29443
b0bc23a1
JL
294442012-05-24 Jeff Law <law@redhat.com>
29445
29446 * stdio-common/Makefile (tests): Add bug25.
29447 * stdio-common/bug25.c: New test.
29448
347c92e9
L
294492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29450
29451 [BZ #13576]
29452 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29453 multiple of MALLOC_ALIGNMENT in size.
29454 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29455
6bcc8b3f
JM
294562012-05-24 Joseph Myers <joseph@codesourcery.com>
29457
29458 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29459 Require >= 256.
29460 (FILENAME_MAX): Use macro-int-constant.
29461 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29462 (_IOFBF): Use macro-int-constant.
29463 (_IOLBF): Likewise.
29464 (_IONBF): Likewise.
29465 (SEEK_CUR): Likewise.
29466 (SEEK_END): Likewise.
29467 (SEEK_SET): Likewise.
29468 (TMP_MAX): Likewise.
29469 (EOF): Use macro-int-constant. Require < 0.
29470 (NULL): Use macro-constant. Require == 0.
29471 (stdin): Require type to be FILE *.
29472 (stdout): Likewise.
29473 (stderr): Likewise.
29474 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29475 macro-int-constant.
29476 (EXIT_SUCCESS): Likewise.
29477 (NULL): Use macro-constant. Require == 0.
29478 (RAND_MAX): Use macro-int-constant.
29479 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29480 [C99-based standards] (strtof): Require function.
29481 [C99-based standards] (strtold): Likewise.
29482 [C99-based standards] (strtoll): Likewise.
29483 [C99-based standards] (strtoull): Likewise.
29484 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29485 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29486 [ISO || ISO99 || ISO11] (math.h): Likewise.
29487 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29488 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29490
d18ea0c5
AS
294912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29492
29493 [BZ #14132]
56d25bb8
AS
29494 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29495 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29496 * intl/dgettext.c (DCGETTEXT): Likewise.
29497 * intl/gettext.c (DCGETTEXT): Likewise.
29498 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29499 * posix/regex_internal.h (gettext): Likewise.
29500 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29501 Remove declaration.
29502 * include/argz.h (__argz_count_internal)
29503 (__argz_stringify_internal): Remove declaration.
29504 (__argz_count, __argz_stringify): Declare hidden proto.
29505 * intl/dcgettext.c: Remove use of INTDEF.
29506 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29507 * string/argz-stringify.c: Likewise.
29508 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29509 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29510 Declare hidden proto.
d18ea0c5
AS
29511 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29512 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29513 Declare hidden proto.
29514 * include/stdio.h (__asprintf_internal): Don't declare.
29515 (__asprintf): Don't define as macro. Declare hidden proto.
29516 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29517 (__fsetlocking): Declare hidden proto.
29518 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29519 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29520 hidden proto.
29521 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29522 (_IO_setlinebuf): Remove use of INTUSE.
29523 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29524 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29525 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29526 Remove declaration.
29527 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29528 (_IO_do_flush): Remove use of INTUSE.
29529 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29530 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29531 (_IO_adjust_column, _IO_least_wmarker)
29532 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29533 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29534 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29535 (_IO_default_doallocate, _IO_wdefault_doallocate)
29536 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29537 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29538 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29539 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29540 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29541 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29542 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29543 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29544 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29545 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29546 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29547 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29548 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29549 proto.
29550 (_IO_flush_all_internal, _IO_adjust_column_internal)
29551 (_IO_default_uflow_internal, _IO_default_finish_internal)
29552 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29553 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29554 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29555 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29556 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29557 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29558 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29559 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29560 (_IO_file_close_internal, _IO_file_close_it_internal)
29561 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29562 (_IO_file_init_internal, _IO_file_attach_internal)
29563 (_IO_file_fopen_internal, _IO_file_read_internal)
29564 (_IO_file_sync_internal, _IO_file_seek_internal)
29565 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29566 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29567 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29568 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29569 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29570 (_IO_list_all_internal, _IO_link_in_internal)
29571 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29572 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29573 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29574 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29575 (_IO_do_write_internal, _IO_padn_internal)
29576 (_IO_getline_info_internal, _IO_getline_internal)
29577 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29578 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29579 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29580 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29581 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29582 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29583 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29584 with libc_hidden_ver, remove use of INTUSE.
29585 * libio/genops.c: Likewise.
29586 * libio/freopen.c: Likewise.
29587 * libio/freopen64.c: Likewise.
29588 * libio/iofclose.c: Likewise.
29589 * libio/iofdopen.c: Likewise.
29590 * libio/iofflush.c: Likewise.
29591 * libio/iofflush_u.c: Likewise.
29592 * libio/iofgets.c: Likewise.
29593 * libio/iofgets_u.c: Likewise.
29594 * libio/iofopen.c: Likewise.
29595 * libio/iofopncook.c: Likewise.
29596 * libio/iofread.c: Likewise.
29597 * libio/iofread_u.c: Likewise.
29598 * libio/ioftell.c: Likewise.
29599 * libio/iofwrite.c: Likewise.
29600 * libio/iogetline.c: Likewise.
29601 * libio/iogets.c: Likewise.
29602 * libio/iogetwline.c: Likewise.
29603 * libio/iopadn.c: Likewise.
29604 * libio/iopopen.c: Likewise.
29605 * libio/ioseekoff.c: Likewise.
29606 * libio/ioseekpos.c: Likewise.
29607 * libio/iosetbuffer.c: Likewise.
29608 * libio/iosetvbuf.c: Likewise.
29609 * libio/ioungetc.c: Likewise.
29610 * libio/ioungetwc.c: Likewise.
29611 * libio/iovdprintf.c: Likewise.
29612 * libio/iovsprintf.c: Likewise.
29613 * libio/iovsscanf.c: Likewise.
29614 * libio/memstream.c: Likewise.
29615 * libio/obprintf.c: Likewise.
29616 * libio/oldfileops.c: Likewise.
29617 * libio/oldiofclose.c: Likewise.
29618 * libio/oldiofdopen.c: Likewise.
29619 * libio/oldiofopen.c: Likewise.
29620 * libio/oldiopopen.c: Likewise.
29621 * libio/oldstdfiles.c: Likewise.
29622 * libio/putc.c: Likewise.
29623 * libio/setbuf.c: Likewise.
29624 * libio/setlinebuf.c: Likewise.
29625 * libio/stdfiles.c: Likewise.
29626 * libio/strops.c: Likewise.
29627 * libio/vasprintf.c: Likewise.
29628 * libio/vscanf.c: Likewise.
29629 * libio/vsnprintf.c: Likewise.
29630 * libio/vswprintf.c: Likewise.
29631 * libio/wfiledoalloc.c: Likewise.
29632 * libio/wfileops.c: Likewise.
29633 * libio/wgenops.c: Likewise.
29634 * libio/wmemstream.c: Likewise.
29635 * libio/wstrops.c: Likewise.
29636 * libio/__fpurge.c: Likewise.
29637 * libio/__fsetlocking.c: Likewise.
29638 * assert/assert.c: Likewise.
29639 * debug/fgets_chk.c: Likewise.
29640 * debug/fgets_u_chk.c: Likewise.
29641 * debug/fread_chk.c: Likewise.
29642 * debug/fread_u_chk.c: Likewise.
29643 * debug/gets_chk.c: Likewise.
29644 * debug/obprintf_chk.c: Likewise.
29645 * debug/vasprintf_chk.c: Likewise.
29646 * debug/vdprintf_chk.c: Likewise.
29647 * debug/vsnprintf_chk.c: Likewise.
29648 * debug/vsprintf_chk.c: Likewise.
29649 * malloc/mtrace.c: Likewise.
29650 * misc/error.c: Likewise.
29651 * misc/syslog.c: Likewise.
29652 * stdio-common/asprintf.c: Likewise.
29653 * stdio-common/fxprintf.c: Likewise.
29654 * stdio-common/getw.c: Likewise.
29655 * stdio-common/isoc99_fscanf.c: Likewise.
29656 * stdio-common/isoc99_scanf.c: Likewise.
29657 * stdio-common/isoc99_vfscanf.c: Likewise.
29658 * stdio-common/isoc99_vscanf.c: Likewise.
29659 * stdio-common/isoc99_vsscanf.c: Likewise.
29660 * stdio-common/printf-prs.c: Likewise.
29661 * stdio-common/printf_fp.c: Likewise.
29662 * stdio-common/printf_fphex.c: Likewise.
29663 * stdio-common/printf_size.c: Likewise.
29664 * stdio-common/putw.c: Likewise.
29665 * stdio-common/scanf.c: Likewise.
29666 * stdio-common/sprintf.c: Likewise.
29667 * stdio-common/tmpfile.c: Likewise.
29668 * stdio-common/vfprintf.c: Likewise.
29669 * stdio-common/vfscanf.c: Likewise.
29670 * stdlib/strfmon_l.c: Likewise.
29671 * sunrpc/openchild.c: Likewise.
29672 * sunrpc/xdr_stdio.c: Likewise.
29673 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29674 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29675
d6c33fda
RM
296762012-05-24 Roland McGrath <roland@hack.frob.com>
29677
c1487492
RM
29678 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29679
29680 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29681 in the third column, to generate for the shared library an IFUNC
29682 that uses _dl_vdso_vsym.
29683 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29684 * Makeconfig (object-suffixes-noshared): New variable.
29685
29686 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29687 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29688 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29689 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29690
d6c33fda
RM
29691 [BZ #14132]
29692 * include/sys/time.h (__gettimeofday): Remove macro.
29693 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29694 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29695 Remove INTDEF.
29696 (__gettimeofday): Add libc_hidden_def.
29697 (gettimeofday): Add libc_hidden_weak.
29698 * sysdeps/mach/gettimeofday.c: Likewise.
29699 * sysdeps/posix/gettimeofday.c: Likewise.
29700 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29701 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29702 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29703 (__gettimeofday_internal): Remove strong_alias.
29704 (__gettimeofday): Add libc_hidden_def.
29705 (gettimeofday): Add libc_hidden_weak.
29706 * sysdeps/unix/syscalls.list (gettimeofday):
29707 Remove __gettimeofday_internal alias.
29708
b5a2bbe6
L
297092012-05-24 Daniel Jacobowitz <drow@false.org>
29710 H.J. Lu <hongjiu.lu@intel.com>
29711
29712 [BZ #12495]
29713 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29714 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29715 (largebin_index_32_big): New.
29716 (largebin_index): Use it for 16-byte alignment.
29717 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29718 correction with front_misalign.
29719
cfba4fda
L
297202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29721
7f907421
L
29722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29724 Likewise.
29725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29726 Likewise.
29727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29728 Likewise.
29729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29730 Likewise.
29731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29732 Likewise.
29733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29734 Likewise.
29735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29736 Likewise.
29737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29738 Likewise.
29739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29740 Likewise.
29741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29742 Likewise.
29743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29744 Likewise.
29745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29746 Likewise.
29747
cfba4fda
L
29748 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29749 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29750
80bad0cc
JM
297512012-05-24 Joseph Myers <joseph@codesourcery.com>
29752
7a25eb06
JM
29753 [BZ #10846]
29754 [BZ #14036]
29755 * math/libm-test.inc (exp_test): Add test from bug 14036.
29756 (pow_test): Add test from bug 10846.
29757
795405f9
JM
29758 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29759 and other flags.
29760 (special_function): Do not include flags in test name.
29761 (parse_args): Likewise.
29762 * sysdeps/i386/fpu/libm-test-ulps: Update.
29763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29764 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29765 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29767
80bad0cc
JM
29768 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29769 exceptions.
29770 * math/libm-test.inc ("Philosophy"): Update comment about
29771 exception testing.
29772 (UNDERFLOW_EXCEPTION): New macro.
29773 (UNDERFLOW_EXCEPTION_OK): Likewise.
29774 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29775 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29776 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29777 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29778 (INVALID_EXCEPTION_OK): Update value.
29779 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29780 (OVERFLOW_EXCEPTION_OK): Likewise.
29781 (IGNORE_ZERO_INF_SIGN): Likewise.
29782 (test_exceptions): Handle underflow exceptions.
29783 (acos_test): Update for underflow exception expectations.
29784 (cexp_test): Likewise.
29785 (clog_test): Likewise.
29786 (clog10_test): Likewise.
29787 (csqrt_test): Likewise.
29788 (ctan_test): Likewise.
29789 (ctanh_test): Likewise.
29790 (exp_test): Likewise.
29791 (exp10_test): Likewise.
29792 (exp2_test): Likewise.
29793 (expm1_test): Likewise.
29794 (fma_test): Likewise.
29795 (j0_test): Likewise.
29796 (jn_test): Likewise.
29797 (nexttoward_test): Likewise.
29798 (pow_test): Likewise.
29799 (scalbn_test): Likewise.
29800 (scalbln_test): Likewise.
29801 (tan_test): Likewise.
29802 (y1_test): Likewise.
29803 * sysdeps/i386/fpu/libm-test-ulps: Update.
29804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29805
9e0e3d0b
DM
298062012-05-23 David S. Miller <davem@davemloft.net>
29807
29808 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29809 (__libc_sigaction): Remove unused local variables.
29810
ccd0a08f
L
298112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29812
29813 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29814
62bdf9a6
PE
298152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29816
f8591f80
PE
29817 mktime: avoid signed integer overflow
29818 * time/mktime.c (__mktime_internal): Do not mishandle the case
29819 where diff == INT_MIN.
29820
94c7d826
PE
29821 mktime: simplify computation of average
29822 * time/mktime.c (ranged_convert): Use new time_t_avg function
29823 instead of rolling our own (probably-slower) code.
29824
ce73d683
PE
29825 mktime: do not assume signed right shift propagates sign bit
29826 * time/mktime.c (isdst_differ): New static function.
29827 (__mktime_internal): No need to normalize tm_isdst now.
29828 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29829 tm_isdst values.
29830
72a22e59
PE
29831 mktime: merge another wrapv change from gnulib
29832 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29833 from some compilers.
29834
68605433
PE
29835 mktime: remove incorrect attempt at unusual arithmetics
29836 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29837 The code didn't really work on such machines anyway.
29838 (TYPE_MINIMUM): Assume two's complement.
29839 (twos_complement_arithmetic): Verify that long_int and time_t
29840 are two's complement (or unsigned, in the latter case).
29841
03cf7fe3
PE
29842 mktime: check signed shifts on long_int and time_t, too
29843 * time/mktime.c (SHR): Check that shifts work as desired
29844 on the types long_int and time_t too, as SHR is used on
29845 such types.
29846
f04dfbc2
PE
29847 mktime: do not assume 'long' is wide enough
29848 * time/mktime.c (verify): Move decl up.
29849 (long_int): New type.
29850 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29851 to remove assumption in the code that 'long' is wide enough to
29852 store year values. This assumption is not true on x32 and on
29853 some non-glibc platforms.
29854
62bdf9a6
PE
29855 mktime: merge wrapv change from gnulib
29856 * time/mktime.c (WRAPV): New macro.
29857 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29858 (guess_time_tm, __mktime_internal): Do not assume that signed
29859 integer overflow wraps around; modern compilers generate code
29860 where this assumption is no longer valid.
29861
5e292e4f
L
298622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29863
29864 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29865 Replace "jmp L(pseudo_end)" with "ret".
29866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29867 Likewise.
29868
8caf8c87
AJ
298692012-05-23 Andreas Jaeger <aj@suse.de>
29870
29871 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29872 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29873
1a09dc56
AJ
298742012-05-23 Andreas Jaeger <aj@suse.de>
29875 Maximilian Attems <max@stro.at>
29876
29877 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29878 New macros.
29879
1c87aba0
L
298802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29881
29882 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29883 code so that pseudo_end is just ret and the stack pointer is
29884 correct also for static library in error case.
29885
40e45bd5
JM
298862012-05-23 Joseph Myers <joseph@codesourcery.com>
29887
c2670533
JM
29888 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29889 move to syscalls.list.
29890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29894
40e45bd5
JM
29895 * manual/install.texi (Running make install): Do not mention Linux
29896 kernel version for which pt_chown is not needed.
29897 (Linux): Do not mention problems with nscd with 2.0 kernels.
29898 * INSTALL: Regenerated.
29899
be08eda5
AJ
299002012-05-23 Andreas Jaeger <aj@suse.de>
29901
29902 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29903 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29904 macro.
29905 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29907 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29909 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29911 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29913 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29915 * sysdeps/unix/sysv/linux/bits/in.h
29916 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29917
a6a056bb
RM
299182012-05-22 Roland McGrath <roland@hack.frob.com>
29919
29920 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29921 (PREPARE_VERSION): Just use assert instead, it will be elided
29922 under [NDEBUG] anyway.
29923
c9009328
L
299242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29925
29926 * sysdeps/unix/sysv/linux/Makefile: Include
29927 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29928 (sysdep_routines): Remove sysctl.
c9009328
L
29929 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29930 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29931 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29932 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29933 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29934
73338355
AJ
299352012-05-22 Andreas Jaeger <aj@suse.de>
29936
29937 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29938 that pseudo_end is just ret and the stack pointer is correct also
29939 for static library in error case.
29940
d44638b0
PP
299412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29942
29943 [BZ #14122]
29944 * nss/nsswitch.c (defconfig_entries): New variable.
29945 (__nss_database_lookup): Don't leak defconfig entries.
29946 (nss_parse_service_list): Don't leak on error paths.
29947 (free_database_entries): New function.
29948 (free_defconfig): New function.
29949 (free_mem): Move common code to free_database_entries.
29950
31a39bd8
L
299512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29952
da0331a8
L
29953 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29954 Add arch_prctl.
29955 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29956
31a39bd8
L
29957 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29958 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29960 New macro.
29961 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29962 (INTERNAL_SYSCALL_TYPES): Likewise.
29963 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29964 (LOAD_REGS_TYPES_[1-6]): Likewise.
29965 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29966 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29967
45470df3
AZ
299682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29969
29970 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29971 copysignl for GLIBC_2_0.
29972 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29973 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29975 logbl for GLIBC_2_0.
29976 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29977 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29978
98a61bcb
L
299792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29980
a4f6e481
L
29981 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29982 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29983
f63d5db6
L
29984 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29985 Use "neg %eax".
29986
98a61bcb
L
29987 * time/mktime.c: Update copyright years.
29988
95770f14
PE
299892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29990
6226efbd
PE
29991 mktime: merge comment-quoting-style change from gnulib
29992 * time/mktime.c: Quote 'like this' in comments.
29993 The GNU coding standards suggest that we no longer quote `like this',
29994 as "`" and "'" are typically rendered asymmetrically nowadays.
29995 The typical gnulib style is to quote 'like this' when quoting
29996 code, and "like this" when quoting English.
29997
b99e4f78
PE
29998 * time/mktime.c (compile-command): Add "-I.".
29999
643e01e6
PE
30000 mktime: merge mktime-internal.h change from gnulib
30001 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30002
2554247d
PE
30003 mktime: merge time_r change from gnulib
30004 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30005
826dd0ab
PE
30006 mktime: merge DEBUG change from gnulib
30007 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30008 case system <time.h> has a #define.
30009
bd83aabe
PE
30010 mktime: merge <sys/types.h> change from gnulib
30011 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30012 since <time.t> is now guaranteed to define time_t.
30013
95770f14
PE
30014 mktime: merge HAVE_CONFIG_H change from gnulib
30015 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30016
5e1a27a9
L
300172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30018
0e44a77e
L
30019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30020 Use "neg %eax".
30021
5e1a27a9
L
30022 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30023 __rlim_t cast.
30024 (struct rusage): Use anonymous union to pad each field to
30025 __syscall_slong_t.
30026
46259bec
DM
300272012-05-21 David S. Miller <davem@davemloft.net>
30028
30029 * Makefules (o-iterator): Remove .s cases.
30030 (compile-command.s): Delete.
30031 (COMPILE.s): Delete.
30032 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30033
59f0c22e
JM
300342012-05-21 Joseph Myers <joseph@codesourcery.com>
30035
30036 * configure.in (libc_cv_predef_stack_protector): Only consider
30037 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30038 * configure: Regenerated.
30039
20c07380
L
300402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30041
bbb3154b
L
30042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30043 New macro. Use R*LP on int and pointer.
30044 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30045 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30046 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30047 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30048
20c07380
L
30049 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30050 [__WORDSIZE_TIME64_COMPAT32] instead of
30051 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30052 (struct utmp): Likewise.
30053 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30054 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30055 Renamed to ...
30056 (__WORDSIZE_TIME64_COMPAT32): This.
30057 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30058 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30059 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30060 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30061 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30062 (__WORDSIZE_TIME64_COMPAT32): New macro.
30063
d8d1017e
AJ
300642012-05-21 Andreas Jaeger <aj@suse.de>
30065
30066 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30067 only if [SHARED]. Add prototype for __wcschr_ia32.
30068
6c7fb145
RM
300692012-05-21 Roland McGrath <roland@hack.frob.com>
30070
30071 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30072 of %rbp unmolested in the jmp_buf while mangling the low bits.
30073 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30074 unmolested high bits of %rbp while demangling the low bits.
30075 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30076
66274218
AJ
300772012-05-21 Andreas Jaeger <aj@suse.de>
30078
07c58f8f
AJ
30079 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30080 * sunrpc/svc_simple.c: Use it for registerrpc.
30081 * sunrpc/xcrypt.c: Use it for passwd2des.
30082
66274218
AJ
30083 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30084
61f65140
L
300852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30086
30087 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30088 Don't define if [__SYSCALL_WORDSIZE != 32].
30089 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30090 New macro.
30091
5fefb436
AJ
300922012-05-21 Bruno Haible <bruno@clisp.org>
30093 Andreas Jaeger <aj@suse.de>
30094
30095 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30096 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30097 inptr and inend for must_buffer_ch.
30098 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30099 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30100 * stdio-common/Makefile (tests): Remove bug15.
30101 (bug15-ENV): Remove macro.
30102 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30103 anymore.
30104
d8e272ab
AJ
301052012-05-19 Andreas Jaeger <aj@suse.de>
30106 Roland McGrath <roland@hack.frob.com>
30107
30108 * manual/contrib.texi: Completely rewritten. It contains now an
30109 alphabetical list of contributors and their contributions.
30110
4a56a162
RH
301112012-05-21 Richard Henderson <rth@twiddle.net>
30112
30113 * misc/getauxval.c (__getauxval): Use unsigned long int.
30114 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30115 (getauxval): Use unsigned long int.
30116
d024d23c
L
301172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30118
30119 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30120
cbc00a03
RM
301212012-05-21 Roland McGrath <roland@hack.frob.com>
30122
30123 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30124 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30125 __alignof__ (long double).
30126
478143fa
AZ
301272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30128
30129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30130
c7683a6d
RH
301312012-05-20 Richard Henderson <rth@twiddle.net>
30132
30133 * misc/getauxval.c: New file.
30134 * misc/sys/auxv.h: New file.
30135 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30136 (routines): Add getauxval.
30137 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30138 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30139 * elf/dl-sysdep.c (_dl_auxv): Remove.
30140 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30141 * elf/dl-support.c (_dl_auxv): New variable.
30142 (_dl_aux_init): Initialize it.
30143 * manual/startup.texi (Auxiliary Vector): New node.
30144 * sysdeps/generic/bits/hwcap.h: New file.
30145 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30146 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30147 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30148 * sysdeps/sparc/sysdep.h: ... here. Include it.
30149 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30152 Update.
c7683a6d
RH
30153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30161
a6f1845d
AZ
301622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30163
30164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30165
cbcbe830
DM
301662012-05-19 David S. Miller <davem@davemloft.net>
30167
30168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30169
e0b16cc2
JM
301702012-05-19 Joseph Myers <joseph@codesourcery.com>
30171
30172 [BZ #14123]
30173 * math/s_ccosh.c: Include <float.h>
30174 (__ccosh): Avoid internal overflow calculating sinh and cosh
30175 values before multiplying by sin and cos values.
30176 * math/s_ccoshf.c: Likewise.
30177 * math/s_ccoshl.c: Likewise.
30178 * math/s_csin.c: Likewise.
30179 * math/s_csinf.c: Likewise.
30180 * math/s_csinl.c: Likewise.
30181 * math/s_csinh.c: Likewise.
30182 * math/s_csinhf.c: Likewise.
30183 * math/s_csinhl.c: Likewise.
30184 * math/libm-test.inc (ccos_test): Add more tests.
30185 (ccosh_test): Likewise.
30186 (csin_test): Likewise.
30187 (csinh_test): Likewise.
30188 * sysdeps/i386/fpu/libm-test-ulps: Update.
30189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30190
6ad13e08
L
301912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30192
f66f0ce8
L
30193 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30194 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30195
6ad13e08
L
30196 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30197
b1d072a7
JM
301982012-05-19 Joseph Myers <joseph@codesourcery.com>
30199
30200 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30201 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30202 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30203 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30204 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30205 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30206 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30207 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30208 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30209 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30210 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30211 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30212 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30213 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30214 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30215 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30216 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30217 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30218 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30219 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30220 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30221 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30222 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30223 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30224 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30225 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30226 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30227 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30228 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30229 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30230 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30231
9eae47cb
AJ
302322012-05-18 Andreas Jaeger <aj@suse.de>
30233
30234 * csu/.gitignore: Delete.
30235
bb07f69f
L
302362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30237
30238 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30239 (timex): Use __syscall_slong_t.
30240
e6bdb741
AJ
302412012-05-18 Andreas Jaeger <aj@suse.de>
30242 Carlos O'Donell <carlos_odonell@mentor.com>
30243
30244 * manual/install.texi (Configuring and compiling): Update
30245 description about files modified in the source directory.
d6c33fda 30246 * INSTALL: Regenerated.
e6bdb741 30247
1b74487e
L
302482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30249
30250 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30251 value. Use "or" to set return value to -1.
30252 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30253 negate return value.
30254
a88b64b9
TMQMF
302552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30256
57f41c40
AS
30257 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30258 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30259 failure if the compiler has Graphite support disabled.
30260 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30261 Likewise.
57f41c40
AS
30262 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30263 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30264 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30265 Likewise.
30266
3707636e
L
302672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30268
610b8622
L
30269 * sysdeps/x86_64/x32/_itoa.h: New file.
30270
7cd195df
L
30271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30272 getdents system call only if kernel and user dirents have the
30273 same d_ino and d_off.
30274
94b07d20
L
30275 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30276 LLONG_MAX != LONG_MAX.
30277 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30278 (_fitoa_word): Likewise.
30279
18298070
L
30280 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30281 years.
30282 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30283 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30284 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30285
553c7ea4
L
30286 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30287 include <bits/wordsize.h>. Check __x86_64__ instead of
30288 __WORDSIZE.
30289 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30290 if __x86_64__ is defined. Use anonymous union on fpstate.
30291
3707636e
L
30292 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30293 anonymous union.
30294
b53ef01a
AS
302952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30296
37fb1dc0
AS
30297 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30298 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30299 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30300 Refer to _rtld_local_ro instead of _rtld_global_ro.
30301 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30302 Likewise.
30303 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30304 Likewise.
30305 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30306 Likewise.
30307 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30308 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30309 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30310
b53ef01a
AS
30311 * sysdeps/powerpc/powerpc32/dl-machine.c
30312 (__elf_machine_runtime_setup) [PROF]: Don't reference
30313 _dl_prof_resolve.
30314
7a185db2
AJ
303152012-05-18 Andreas Jaeger <aj@suse.de>
30316
30317 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30318 function only available for GCCs before 3.4 since GCC 3.4
30319 introduced a builtin.
30320 (lrint): Likewise.
30321 (llrintf): Likewise.
30322 (llrint): Likewise.
30323 (fmaxf): Likewise.
30324 (fmax): Likewise.
30325 (fminf): Likewise.
30326 (fmin): Likewise.
30327 (rint): Likewise.
30328 (rintf): Likewise.
30329 (nearbyint): Likewise.
30330 (nearbyintf): Likewise.
30331 (ceil): Likewise.
30332 (ceilf): Likewise.
30333 (floor): Likewise.
30334 (floorf): Likewise.
30335
3e5aef87
L
303362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30337
428bd707
L
30338 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30339 on both fields and cast pointer to __syscall_ulong_t.
30340
3e5aef87
L
30341 * bits/types.h (__fsword_t): New type.
30342 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30343 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30345 (__FSWORD_T_TYPE): Likewise.
30346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30347 (__FSWORD_T_TYPE): Likewise.
30348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30349 (__FSWORD_T_TYPE): Likewise.
30350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30351 (__FSWORD_T_TYPE): Likewise.
30352 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30353 __SWORD_TYPE with __fsword_t.
30354 (statfs64): Likewise.
30355
1ba7c3dc
DM
303562012-05-17 David S. Miller <davem@davemloft.net>
30357
30358 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30359
59910343
AJ
303602012-05-17 Andreas Jaeger <aj@suse.de>
30361
30362 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30363 warning.
30364
2e4c1e9e
L
303652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30366
30367 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30368
de7f5ce7
AJ
303692012-05-17 Andreas Jaeger <aj@suse.de>
30370
30371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30372 when it is used.
30373
286abc3d
CM
303742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30375
30376 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30377
477cc68e
L
303782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30379
30380 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30381 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30382
1a0994f5
CD
303832012-05-17 Andreas Jaeger <aj@suse.de>
30384 Carlos O'Donell <carlos_odonell@mentor.com>
30385
30386 [BZ #14059]
30387 * sysdeps/x86_64/multiarch/init-arch.h
30388 (bit_YMM_Usable): Rename to...
30389 (bit_AVX_Usable): ... this.
30390 (bit_FMA4_Usable): New macro.
30391 (bit_XMM_state): New macro.
30392 (bit_YMM_state): New macro.
30393 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30394 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30395 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30396 (CPUID_OSXSAVE): New macro.
30397 (CPUID_AVX): New macro.
30398 (CPUID_FMA4): New macro.
30399 (index_YMM_Usable): Rename to...
30400 (index_AVX_Usable): ... this.
30401 (HAS_AVX): Use HAS_ARCH_FEATURE.
30402 (HAS_FMA4): Likewise.
30403 (HAS_YMM_USABLE): Remove.
30404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30405 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30406 are present.
30407 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30408 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30409 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30410 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30411 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30412
0af797de
CM
304132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30414
30415 * math/libm-test.c: Support platforms without multiple rounding modes.
30416 * math/bug-nextafter.c: Support platforms without FP exceptions.
30417 * math/bug-nexttoward.c: Likewise.
30418 * math/test-fenv.c: Likewise.
30419 * math/test-misc.c: Likewise.
30420 * stdlib/bug-getcontext.c: Likewise.
30421
e39745ff
AJ
304222012-05-17 Andreas Jaeger <aj@suse.de>
30423
30424 * manual/examples/search.c (critter_cmp): Change signature to
30425 avoid warnings.
30426 * manual/string.texi (Collation Functions): Likewise.
30427
48970aba
L
304282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30429
30430 * bits/types.h: Fold copyright years.
30431 * bits/typesizes.h: Likewise.
30432 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30436 * time/time.h: Likewise.
30437
bedee953
PP
304382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30439
30440 [BZ #208]
30441 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30442 in instead of returning them. Return void.
30443 (__libc_mallinfo): Accumulate over all arenas.
30444 (__malloc_stats): Adjust for change in int_mallinfo interface.
30445
61653dfb
RM
304462012-05-16 Roland McGrath <roland@hack.frob.com>
30447
30b99d79
RM
30448 [BZ #10375]
30449 * configure.in (NM): Add AC_CHECK_TOOL for it.
30450 (libc_extra_cflags): New substituted variable.
30451 Check for -fstack-protector being used implicitly.
30452 * configure: Regenerated.
30453 * config.make.in (config-extra-cflags): New variable,
30454 gets @libc_extra_cflags@.
30455 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30456
61653dfb
RM
30457 [BZ #10375]
30458 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30459 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30460 * configure: Regenerated.
30461 * config.make.in (CPPUNDEFS): New substituted variable.
30462 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30463 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30464 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30465
661768bb
L
304662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30469 (mq_attr): Use __syscall_slong_t.
30470
d4261567
L
304712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30472
30473 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30474 Check __x86_64__ instead of __WORDSIZE.
30475 (_STAT_VER_LINUX): Likewise.
30476 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30477 __syscall_ulong_t and __syscall_slong_t.
30478 (stat64): Likewise.
30479
cf3ff365
L
304802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30481
30482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30483
76cf3e4d
L
304842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30485
30486 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30487
a637753a
L
304882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30489
30490 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30491 __syscall_ulong_t.
30492
d5e05119
L
30493 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30494 include <bits/wordsize.h>. Check __x86_64__ instead of
30495 __WORDSIZE.
30496 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30497 defined.
30498 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30499
f62ee380
L
30500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30501 include <bits/wordsize.h>. Check __x86_64__ instead of
30502 __WORDSIZE.
30503 (user_regs_struct): Use "__extension__ unsigned long long"
30504 instead of "unsigned long" if __x86_64__ is defined.
30505 (user): Likewise. Pad after pointer field if __ILP32__ is
30506 defined.
30507
4e124ced
JM
305082012-05-16 Joseph Myers <joseph@codesourcery.com>
30509
6a3951a0
JM
30510 * configure.in (makeinfo): Require version 4.5 or later. Allow
30511 versions 5 to 9.
30512 * configure: Regenerated.
30513 * manual/install.texi (texinfo): Increase version requirement to
30514 4.5 or later.
30515 * INSTALL: Regenerated.
30516
4e124ced
JM
30517 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30518
953ca31a
L
305192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30520
30521 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30522
617aca05
L
30523 * sysdeps/x86_64/x32/ffs.c: New file.
30524
5762f7ae
L
30525 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30526 __syscall_ulong_t.
30527 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30528 defined. Use __syscall_ulong_t.
30529 (shminfo): Use __syscall_ulong_t.
30530 (shm_info): Likewise.
30531
a26b6856
L
30532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30533 __syscall_ulong_t.
30534
cb2b9ef7
L
30535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30536 <bits/wordsize.h>.
30537 (msgqnum_t): Use __syscall_ulong_t.
30538 (msglen_t): Likewise.
30539 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30540 __syscall_ulong_t.
30541
34683bb0
L
30542 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30543 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30544
84a68786
L
30545 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30546
48baa5f1
L
30547 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30548 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30549
180be88b
L
30550 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30551 __syscall_slong_t.
30552
5e90c8ad
L
30553 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30554 include <bits/wordsize.h>. Check __x86_64__ instead of
30555 __WORDSIZE.
30556
23dfb58b
L
30557 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30558 "unsigned long long int" if __x86_64__ is defined.
30559 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30560
ce5d54b0
L
30561 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30562 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30563 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30564
13dc9eac
L
30565 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30566 <stdint.h>.
30567 (GET_PC): Cast to uintptr_t first.
30568 (GET_FRAME): Likewise.
30569 (GET_STACK): Likewise.
30570
a7895d15
L
30571 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30572 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30573 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30575 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30577 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30578 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30579 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30580 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30581 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30582 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30583 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30584 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30585 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30588 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30589 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30590 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30591 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30592 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30593 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30594 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30595 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30596 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30598 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30600
656416c9
AS
306012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30602
5bd66283
AS
30603 * Makerules (+depfiles): Also collect depfiles from .oS in
30604 $(extra-objs).
30605 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30606 .oS, $(libnldbl-routines)).
30607
656416c9
AS
30608 * Makerules (native-compile-mkdep-flags): Define.
30609 * sunrpc/Makefile (extra-objs): Add $(addprefix
30610 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30611 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30612 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30613 calling $(make-target-directory).
30614
a46f2169
L
306152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30616
30617 * bits/types.h (__snseconds_t): Removed.
30618 * time/time.h (struct timespec): Replace __snseconds_t with
30619 __syscall_slong_t.
30620 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30621 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30622 Likewise.
30623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30624 (__SNSECONDS_T_TYPE): Likewise.
30625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30626 (__SNSECONDS_T_TYPE): Likewise.
30627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30628 (__SNSECONDS_T_TYPE): Likewise.
30629
6af6528b
L
306302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30631
30632 * sysdeps/mach/hurd/bits/typesizes.h
30633 (__SYSCALL_SLONG_TYPE): New macro.
30634 (__SYSCALL_ULONG_TYPE): Likewise.
30635
de986b56
L
306362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30637
30638 * bits/types.h (__syscall_slong_t): New type.
30639 (__syscall_ulong_t): Likewise.
30640
30641 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30642 (__SYSCALL_ULONG_TYPE): Likewise.
30643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30644 (__SYSCALL_SLONG_TYPE): Likewise.
30645 (__SYSCALL_ULONG_TYPE): Likewise.
30646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30647 (__SYSCALL_SLONG_TYPE): Likewise.
30648 (__SYSCALL_ULONG_TYPE): Likewise.
30649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30650 (__SYSCALL_SLONG_TYPE): Likewise.
30651 (__SYSCALL_ULONG_TYPE): Likewise.
30652
85736dc7
L
306532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30654
30655 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30656 Add sigaltstack-offsets.sym.
30657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30658 <sigaltstack-offsets.h>.
30659 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30660 longjmp_msg pointer.
30661 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30662 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30663 signal stack.
30664 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30665
cc03b296
JM
306662012-05-15 Joseph Myers <joseph@codesourcery.com>
30667
a9538892
JM
30668 * elf/stackguard-macros.h: Remove file.
30669 * sysdeps/generic/stackguard-macros.h: New file.
30670 * sysdeps/i386/stackguard-macros.h: Likewise.
30671 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30672 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30673 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30674 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30675 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30676 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30677 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30678 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30679 <elf/stackguard-macros.h>.
30680
cc03b296
JM
30681 [BZ #14109]
30682 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30683 __aligned__ in attribute.
30684 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30685 (gregset_t): Likewise.
30686
93171016
L
306872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30688
30689 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30690 * sysdeps/x86_64/64/Implies-after: Here. New file.
30691 * sysdeps/x86_64/x32/Implies-after: New file.
30692
d86813a0
L
306932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30694
30695 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30696 and access return value for _dl_profile_fixup. Use R10_LP to
30697 load frame size.
30698
2953ec75
L
306992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30700
30701 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30702
3b550e9e
L
307032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30704
30705 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30706 * sysdeps/x86_64/x32/sysdep.h: New file.
30707
eda41706
L
307082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30709
30710 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30711 * sysdeps/x86_64/setjmp.S: Likewise.
30712
9ea01d93
AZ
307132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30714
30715 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30716 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30717 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30718 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30719 remove unused global constant.
30720
02a91938
CM
307212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30722
30723 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30724 include of <not-cancel.h>.
30725
6540185f
RM
307262012-05-15 Roland McGrath <roland@hack.frob.com>
30727
30728 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30729
509072a0
AJ
307302012-05-15 Jeff Law <law@redhat.com>
30731 Andreas Jaeger <aj@suse.de>
30732
30733 [BZ #13594]
30734 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30735 out from...
30736 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30737 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30738 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30739 code changing __hst_map_handle.map.
30740
ba75122d
RM
307412012-05-15 Roland McGrath <roland@hack.frob.com>
30742
30743 * configure.in (sysnames): Look for Implies-before and Implies-after
30744 files.
30745 * configure: Regenerated.
30746
890d8bd8
L
307472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30748
30749 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30750 8-byte data alignment with LP_SIZE alignment.
30751
f6ee6623
L
307522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30753
30754 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30755 into R10_LP.
30756
ea2626f6
L
307572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30758
30759 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30760
085f715e
L
307612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30762
30763 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30764 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30766 Likewise.
30767 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30768
be8498fc
L
307692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30770
30771 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30772 (stackinfo_sub_sp): Likewise.
30773
70bc83b9
L
307742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30775
30776 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30777 RAX_LP.
30778
9bc0b730
L
307792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30780
30781 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30782 into R*_LP.
30783
6d2850e7
L
307842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30785
30786 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30787 sizes into R*_LP.
30788
3cb84561
L
307892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30790
30791 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30792
54e2ed81
L
307932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30794
30795 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30796 into R11_LP and load __x86_64_shared_cache_size_half into
30797 R8_LP.
30798
8a17f349
L
307992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30800
30801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30802 R8_LP.
30803
777b1eea
AZ
308042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30805
30806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30807 logb for POWER7.
30808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30809 logbf for POWER7.
30810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30811 logbl for POWER7.
30812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30813 powerpc32/power7/fpu/s_logb.c via #include.
30814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30815 powerpc32/power7/fpu/s_logbf.c via #include.
30816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30817 powerpc32/power7/fpu/s_logbl.c via #include.
30818
d20d4ac2
JM
308192012-05-15 Joseph Myers <joseph@codesourcery.com>
30820
30821 * README.libm: Remove file.
30822
6cdef1ab
L
308232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30824
30825 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30826 count for x32. Use R*_LP and omit operand-size suffix.
30827
0b254d8f
L
308282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30829
30830 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30831 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30832 * sysdeps/x86_64/x32/shlib-versions: New file.
30833
ceb809dc
RM
308342012-05-14 Roland McGrath <roland@hack.frob.com>
30835
30836 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30837 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30838 Use _dl_fatal_printf instead.
30839
37f1abd4
JM
308402012-05-14 Joseph Myers <joseph@codesourcery.com>
30841
30842 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30843 set if not set by the user. Do not allow for being unset.
30844 * sysdeps/unix/sysv/linux/configure: Regenerated.
30845
11de3a33
L
308462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30847
30848 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30849 the `q' suffix from lea and replace .quad with ASM_ADDR.
30850
e02f153a
L
308512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30852
30853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30854 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30855 instead of $17.
30856 (PTR_DEMANGLE): Likewise.
30857
520ae0fd
L
308582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30859
30860 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30861 (LP_OP): Likewise.
30862 (ASM_ADDR): Likewise.
30863 (RAX_LP): Likewise.
30864 (RBP_LP): Likewise.
30865 (RBX_LP): Likewise.
30866 (RCX_LP): Likewise.
30867 (RDI_LP): Likewise.
30868 (RSI_LP): Likewise.
30869 (RSP_LP): Likewise.
30870 (R8_LP): Likewise.
30871 (R9_LP): Likewise.
30872 (R10_LP): Likewise.
30873 (R10_LP): Likewise.
30874 (R11_LP): Likewise.
30875 (R12_LP): Likewise.
30876 (R13_LP): Likewise.
30877 (R14_LP): Likewise.
30878 (R15_LP): Likewise.
30879
b985be81
L
308802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30881
30882 * sysdeps/x86_64/x32/dl-machine.h: New file.
30883
6a4888ff
AJ
308842012-05-14 Andreas Jaeger <aj@suse.de>
30885
30886 * manual/Makefile (subdir): Remove export of subdir.
30887 (all): Remove target.
30888 (.PHONY): Remove all from list.
30889 (mkinstalldirs): Remove.
30890 (.PHONY): Remove installdirs from list.
30891 ($(inst_infodir)/libc.info): Use make-target-directory.
30892 (installdirs): Remove.
30893 (subdir_%): Remove.
30894 (glibc-targets): Remove.
30895 (lib): Remove.
30896 (stubs): Remove.
30897 ($(objpfx)stubs ../po/manual.pot): Remove.
30898 ($(objpfx)stamp%): Remove.
30899 (make-target-directory): Remove.
30900 (subdir_install): Remove.
30901 (routines): Remove.
30902 (aux): Remove.
30903 (sources): Remove.
30904 (objects): Remove.
30905 (headers): Remove.
30906
30907 [BZ #13750]
30908 * manual/.gitignore: Remove, it's not needed anymore.
30909 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30910 all files in it.
30911 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30912 directory.
30913 (texis): Renamed to $(objpfx)texis.
30914 (texis-path): New, contains path to generated files.
30915 (chapters.%): Use texis-path for complete path, add extra argument
30916 libc-texinfo.sh.
30917 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30918 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30919 (summary,texi, stamp-summary): Use complete path of
30920 files. Generate files in build dir.
30921 (dir-add.texi): Build in build dir.
30922 (libm-err.texi,stamp-libm-err): Likewise.
30923 (version.texi, stamp-version): Likewise.
30924 (.%c.texi): Likewise.
30925 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30926 (mostlyclean): Remove target.
30927 (realclean): Remove target.
30928 (generated): Add new variable with contents from mostlyclean and
30929 realclean, remove entries duplicated in common-mostlyclean, add
30930 stamp-libm-err and stamp-version.
30931 (generated-dirs): Add libc directory.
30932 ($(inst_infodir)/libc.info): Install files from build dir.
30933
30934 * manual/install.texi (Configuring and compiling): Adjust since
30935 the info files are not part of the tar ball anymore.
30936
7ac77294
AJ
309372012-05-14 Andreas Jaeger <aj@suse.de>
30938
30939 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30940 variable.
30941
ffb7875d
JM
309422012-05-14 Joseph Myers <joseph@codesourcery.com>
30943
30944 [BZ #13717]
30945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30946 to 2.2.0 where earlier.
30947 * sysdeps/unix/sysv/linux/configure: Regenerated.
30948 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30949 Remove conditional code.
30950 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30951 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30952 Remove conditional code.
30953 [!__NR_lchown]: Likewise.
30954 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30955 [__NR_lchown]: Likewise.
30956 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30957 comment referencing __ASSUME_LCHOWN_SYSCALL.
30958 * sysdeps/unix/sysv/linux/i386/sigaction.c
30959 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30960 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30961 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30962 Remove conditional code.
30963 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30964 (__protocol_available): Remove #if 0 code.
30965 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30966 conditional code.
30967 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30968 * sysdeps/unix/sysv/linux/kernel-features.h
30969 (__ASSUME_GETCWD_SYSCALL): Don't define.
30970 (__ASSUME_REALTIME_SIGNALS): Likewise.
30971 (__ASSUME_PREAD_SYSCALL): Likewise.
30972 (__ASSUME_PWRITE_SYSCALL): Likewise.
30973 (__ASSUME_POLL_SYSCALL): Likewise.
30974 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30975 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30976 non-SPARC.
30977 (__ASSUME_SIOCGIFNAME): Don't define.
30978 (__ASSUME_MSG_NOSIGNAL): Likewise.
30979 (__ASSUME_SENDFILE): Define unconditionally.
30980 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30981 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30982 conditional code.
30983 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30984 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30985 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30986 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30987 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30988 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30989 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30991 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30994 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31003 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31006 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31009 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31012 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31014 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31015 Remove conditional code.
31016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31017 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31018 Remove conditional code.
31019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31020 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31021 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31022 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31023 Remove conditional code.
31024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31025 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31026 Remove conditional code.
31027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31028 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31029 Remove conditional code.
31030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31031 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31032 Remove conditional code.
31033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31034 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31035 Remove conditional code.
31036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31037 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31040 * sysdeps/unix/sysv/linux/sigaction.c
31041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31043 * sysdeps/unix/sysv/linux/sigpending.c
31044 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31045 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31046 * sysdeps/unix/sysv/linux/sigprocmask.c
31047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31049 * sysdeps/unix/sysv/linux/sigsuspend.c
31050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31052 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31053 (__libc_missing_rt_sigs): Remove.
31054 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31055 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31056 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31057 Remove conditional code.
31058 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31059 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31060 return 1.
31061 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31062 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31063 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31064 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31065
1bfb7291
AJ
310662012-05-14 Andreas Jaeger <aj@suse.de>
31067
caae5a81
AJ
31068 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31069 it's not used in glibc.
31070 (__coshm1): Likewise.
31071 (__acosh1p): Likewise.
31072 (__sgn): Likewise.
31073
1bfb7291
AJ
31074 * manual/string.texi (Copying and Concatenation): Add missing
31075 variable in concat example.
31076 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31077
c044d724
L
310782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31079
144c5467 31080 [BZ #14103]
c044d724
L
31081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31082 __builtin_clzl with __builtin_clzll.
31083
2523c62b
L
310842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31085
31086 [BZ #14104]
31087 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31088 libc_freeres_ptr.
31089
d7bb4c42
LD
310902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31091
31092 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31093 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31094 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31095 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31096
9dc4e1fb
MF
310972012-05-14 Mike Frysinger <vapier@gentoo.org>
31098
31099 * NEWS: Update ia64 info.
31100
c7df0112
AS
311012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31102
31103 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31104 used as bcopy.
31105
dc70356c
TS
311062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31107
31108 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31109 * sysdeps/unix/syscalls.list (dup3): Likewise.
31110 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31111 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31112
9fb1a21f
L
311132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31114
31115 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31116 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31117
4822a2a5
L
311182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31119
31120 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31121 thread pointer.
31122 (TLS_IE): Use mov/add instead of movq/addq to load thread
31123 pointer.
31124 (TLS_GD_PREFIX): New.
31125 (TLS_GD): Use it.
31126
842b81d6
DM
311272012-05-11 David S. Miller <davem@davemloft.net>
31128
31129 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31130 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31131 (_FPU_SETCW): Likewise.
31132
1cf463cd
L
311332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31134
31135 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31136 is 32-byte aligned.
31137
60cc4a18
AS
311382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31139
31140 [BZ #11837]
31141 * iconvdata/gb18030.c: Update tables.
31142 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31143 characters specially.
31144 (BODY for TO_LOOP): Add encoding of missing ranges.
31145
febb44a4
TS
311462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31147
31148 [BZ #13673]
31149 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31150 * sysdeps/mach/hurd/dup3.c: Likewise.
31151 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31152 * sysdeps/powerpc/memmove.c:: Likewise.
31153
0a10fb9e
L
311542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31155
31156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31157 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31158
df8a552f
L
311592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31160
31161 * elf/elf.h (R_X86_64_RELATIVE64): New.
31162 (R_X86_64_NUM): Updated.
31163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31164 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31165 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31166 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31167 tst-quad1pie tst-quad2pie
31168 (modules-names): Add tst-quadmod1 tst-quadmod2.
31169 ($(objpfx)tst-quad1): New dependency.
31170 ($(objpfx)tst-quad2): Likewise.
31171 ($(objpfx)tst-quad1pie): Likewise.
31172 ($(objpfx)tst-quad2pie): Likewise.
31173 * sysdeps/x86_64/tst-quad1.c: New file.
31174 * sysdeps/x86_64/tst-quad1pie.c: New file.
31175 * sysdeps/x86_64/tst-quad2.c: Likewise.
31176 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31177 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31178 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31179 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31180 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31181
f34d6f84
ST
311822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31183
f42d41d1
ST
31184 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31185 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31186 * streams/stropts.h (t_scalar_t): Define type.
31187
3c3571fc
ST
31188 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31189 (_PATH_PRESERVE): Set to "/var/lib".
31190 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31191
61f06bd3
ST
31192 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31193 instead of int.
31194
918d4d71
ST
31195 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31196 if __dir_mkfile succeeded.
31197
f34d6f84
ST
31198 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31199 checking for _hurd_dtablesize. Unlock it right after having
31200 finished _hurd_dtable allocation.
31201
10589b4a
TS
312022012-05-10 Thomas Schwinge <thomas@schwinge.name>
31203
674cdbc7
TS
31204 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31205 * sysdeps/mach/hurd/configure: Regenerated.
31206 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31207 special-casing to...
31208 * sysdeps/gnu/configure.in: ... this new file.
31209 * sysdeps/unix/sysv/linux/configure: Regenerated.
31210 * sysdeps/gnu/configure: New generated file.
31211
8e41b99f
TS
31212 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31213 for Linux: use nsec instead of usec, as well as:
31214 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31215 members of type struct timespec.
31216 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31217 New macros.
31218 (struct stat64): Likewise.
31219 (_STATBUF_ST_NSEC): New macro.
31220 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31221
10589b4a
TS
31222 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31223 __strtoul_internal rather than strtoul.
31224
63643c85
PT
312252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31226
31227 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31228 and reject them.
31229
3faebe6a
ST
312302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31231
31232 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31233 which preserves existing values.
31234 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31235
c6474b07
PT
312362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31237
31238 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31239 TIMEOUT values. Return EINVAL for NFDS values either negative or
31240 greater than FD_SETSIZE.
31241
1043890b
ST
312422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31243
31244 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31245 allocated, call __vm_protect to finish enabling the existing space, and
31246 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31247 allocate the remainder.
31248
37ed8b9b
PT
312492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31250
31251 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31252 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31253
db653660
ST
312542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31255
37ed8b9b
PT
31256 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31257 sysdeps/mach/hurd/readlink.c.
b29d4053 31258
db653660
ST
31259 * posix/tst-sysconf.c (posix_options): Only use
31260 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31261 _POSIX_SYNCHRONIZED_IO when they are defined
31262 * sysdeps/mach/hurd/bits/posix_opt.h:
31263 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31264 (_XOPEN_REALTIME): Undefine macro.
31265 (_XOPEN_REALTIME_THREADS): Undefine macro.
31266 (_XOPEN_SHM): Undefine macro.
31267 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31268 macro to -1.
31269 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31270 macro to -1.
31271 (_POSIX_ASYNC_IO): Undefine macro.
31272 (_POSIX_PRIORITIZED_IO): Undefine macro.
31273 (_POSIX_SPIN_LOCKS): Define macro to -1.
31274
ee16e894
ST
31275 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31276 SA_NODEFER, SA_RESETHAND.
31277 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31278 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31279 F_DUPFD_CLOEXEC.
31280
6103ae3b
TS
312812012-05-10 Thomas Schwinge <thomas@schwinge.name>
31282
31283 * elf/Makefile (pldd-modules): Define unconditionally.
31284
80b4e5f3
TS
312852012-05-10 Thomas Schwinge <thomas@schwinge.name>
31286
31287 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31288
edadcbd6
ST
312892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31290
31291 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31292 Return ENOENT when name is empty.
31293 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31294
80694780
TS
312952012-05-10 Thomas Schwinge <thomas@schwinge.name>
31296
1792c087
TS
31297 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31298
80694780
TS
31299 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31300
6b645f0d
ST
313012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31302
80694780
TS
31303 Fix mlock in all cases except non-readable pages.
31304 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31305 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31306
6b645f0d
ST
31307 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31308 (__mkdir): When path is `/', just fail with EEXIST.
31309 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31310
e468f8a3
TS
313112012-05-10 Thomas Schwinge <thomas@schwinge.name>
31312
31313 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31314 <sys/uio.h> (for writev).
31315 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31316 and <sys/param.h> (for MIN).
31317
a4186cff
PT
313182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31319
31320 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31321 REQUESTED_TIME. Properly set the remaining time and return EINTR
31322 if interrupted.
31323
510bbf14
TS
313242012-05-10 Thomas Schwinge <thomas@schwinge.name>
31325
31326 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31327 Depend on against $(link-rpcuserlibs).
31328
5d5722e8
ST
313292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31330
a4186cff
PT
31331 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31332 (__libc_stack_end): Do not use attribute_relro.
31333 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31334 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31335 to libthread-provided value.
a4186cff
PT
31336 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31337 attribute_relro.
5d5722e8 31338
37233df9
TS
313392012-05-10 Thomas Schwinge <thomas@schwinge.name>
31340
be971a2b
TS
31341 [BZ #3748]
31342 * bits/libc-lock.h (__libc_once_get): New macro.
31343 * sysdeps/mach/bits/libc-lock.h: Likewise.
31344 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31345 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31346 instead of using implementation details.
31347
37233df9
TS
31348 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31349 * libio/freopen.c: Likewise.
31350 * libio/freopen64.c: Likewise.
31351 * misc/syslog.c: Likewise.
31352 * nscd/connections.c: Likewise.
31353 * nscd/netgroupcache.c: Likewise.
31354 * sysdeps/posix/getcwd.c: Likewise.
31355
38de94a5
RM
313562012-05-10 Roland McGrath <roland@hack.frob.com>
31357
31358 * math/w_ilogbf.c: Add #include <limits.h>.
31359
67530489
ST
313602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31361
a4186cff 31362 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31363 path instead of returning without unlocking.
31364
67530489
ST
31365 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31366 immediate-write ioctls.
31367 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31368
5aa3a74a
TS
313692012-05-10 Thomas Schwinge <thomas@schwinge.name>
31370
18bad2ae
TS
31371 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31372 __builtin_frame_address instead of making assumptions about the
31373 location of the return address relative to DATA. Force early load of
31374 the return address.
31375 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31376 __builtin_frame_address.
31377
5aa3a74a
TS
31378 dup3 for GNU Hurd.
31379 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31380 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31381 implement dup3 and do some further code clean-ups.
31382 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31383 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31384
ecd0de9a
ST
313852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31386
cd9fa985
ST
31387 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31388
a4186cff
PT
31389 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31390 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31391 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31392 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31393 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31394 d->port.lock.
802ca5a5 31395
a4186cff
PT
31396 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31397 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31398 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31399
bcf55240
TS
314002012-05-10 Thomas Schwinge <thomas@schwinge.name>
31401
6960eb42
TS
31402 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31403 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31404 definitions.
31405
eb43375f
TS
31406 accept4 for GNU Hurd.
31407 * include/sys/socket.h (__libc_accept4): New prototype.
31408 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31409 to implement __libc_accept4.
31410 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31411 __libc_accept4.
31412 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31413
bcf55240
TS
31414 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31415 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31416 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31417 signal-defines.sym.
31418
6178c55b
ST
314192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31420
a4186cff 31421 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31422
6f080c2f
TS
314232012-05-10 Thomas Schwinge <thomas@schwinge.name>
31424
31425 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31426 assertion on O_CLOEXEC flag.
31427 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31428 * hurd/intern-fd.c: Likewise.
31429 * hurd/port2fd.c: Likewise.
31430
bcfe3a54
ST
314312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31432
31433 [BZ #3906]
31434 * bits/in.h (IPV6_PKTINFO): Define new macro.
31435 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31436
89c9aa49
AZ
314372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31438
31439 [BZ #13954]
31440 [BZ #13955]
31441 [BZ #13956]
31442 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31444 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31445 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31447 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31448 * math/libm-test.inc (logb_test) : Additional logb tests.
31449
021db4be
AJ
314502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31451 Andreas Jaeger <aj@suse.de>
31452
31453 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31454 * configure: Regenerated.
31455 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31456 * config.make.in (link-obsolete-rpc): New substituted variable.
31457 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31458 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31459 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31460 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31461 so that libc.a contains the symbols.
31462 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31463 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31464 * sunrpc/auth_none.c: Likewise.
31465 * sunrpc/auth_unix.c: Likewise.
31466 * sunrpc/authdes_prot.c: Likewise.
31467 * sunrpc/authuxprot.c: Likewise.
31468 * sunrpc/clnt_gen.c: Likewise.
31469 * sunrpc/clnt_perr.c: Likewise.
31470 * sunrpc/clnt_raw.c: Likewise.
31471 * sunrpc/clnt_simp.c: Likewise.
31472 * sunrpc/clnt_tcp.c: Likewise.
31473 * sunrpc/clnt_udp.c: Likewise.
31474 * sunrpc/clnt_unix.c: Likewise.
31475 * sunrpc/des_crypt.c: Likewise.
31476 * sunrpc/des_soft.c: Likewise.
31477 * sunrpc/get_myaddr.c: Likewise.
31478 * sunrpc/key_call.c: Likewise.
31479 * sunrpc/key_prot.c: Likewise.
31480 * sunrpc/netname.c: Likewise.
31481 * sunrpc/pm_getmaps.c: Likewise.
31482 * sunrpc/pm_getport.c: Likewise.
31483 * sunrpc/pmap_clnt.c: Likewise.
31484 * sunrpc/pmap_prot.c: Likewise.
31485 * sunrpc/pmap_prot2.c: Likewise.
31486 * sunrpc/pmap_rmt.c: Likewise.
31487 * sunrpc/publickey.c: Likewise.
31488 * sunrpc/rpc_cmsg.c: Likewise.
31489 * sunrpc/rpc_common.c: Likewise.
31490 * sunrpc/rpc_dtable.c: Likewise.
31491 * sunrpc/rpc_prot.c: Likewise.
31492 * sunrpc/rpc_thread.c: Likewise.
31493 * sunrpc/rtime.c: Likewise.
31494 * sunrpc/svc.c: Likewise.
31495 * sunrpc/svc_auth.c: Likewise.
31496 * sunrpc/svc_raw.c: Likewise.
31497 * sunrpc/svc_run.c: Likewise.
31498 * sunrpc/svc_tcp.c: Likewise.
31499 * sunrpc/svc_udp.c: Likewise.
31500 * sunrpc/svc_unix.c: Likewise.
31501 * sunrpc/svcauth_des.c: Likewise.
31502 * sunrpc/xcrypt.c: Likewise.
31503 * sunrpc/xdr.c: Likewise.
31504 * sunrpc/xdr_array.c: Likewise.
31505 * sunrpc/xdr_float.c: Likewise.
31506 * sunrpc/xdr_intXX_t.c: Likewise.
31507 * sunrpc/xdr_mem.c: Likewise.
31508 * sunrpc/xdr_rec.c: Likewise.
31509 * sunrpc/xdr_ref.c: Likewise.
31510 * sunrpc/xdr_sizeof.c: Likewise.
31511 * sunrpc/xdr_stdio.c: Likewise.
31512
b5c086a2
RM
315132012-05-10 Roland McGrath <roland@hack.frob.com>
31514
31515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31516 change. Update copyright years.
31517
6d74dd09
JM
315182012-05-10 Joseph Myers <joseph@codesourcery.com>
31519
31520 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31521
28e72501
MK
315222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31523 Joseph Myers <joseph@codesourcery.com>
31524 Paul Pluzhnikov <ppluzhnikov@google.com>
31525
31526 [BZ #14012]
31527 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31528 requiring rpcgen.
31529 [cross-compiling] (extra-libs): Likewise.
31530 [cross-compiling] (extra-libs-others): Likewise.
31531 [cross-compiling] (librpcsvc-routines): Likewise.
31532 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31533 [cross-compiling] (omit-deps): Likewise.
31534 (sunrpc-CPPFLAGS): New variable.
31535 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31536 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31537 (cross-rpcgen-objs): New variable.
31538 (extra-objs): Append $(cross-rpcgen-objs).
31539 ($(cross-rpcgen-objs)): New rule.
31540 ($(objpfx)cross-rpcgen): Likewise.
31541 (rpcgen-cmd): Define to use $(built-program-file). Expand
31542 comment.
31543 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31544 ($(objpfx)x%.stmp): Likewise.
31545 * sunrpc/proto.h [IS_IN_build] (_): Define.
31546 [IS_IN_build] (_libc_intl_domainname): Likewise.
31547
c8c59454
L
315482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31549
31550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31551 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31552 and R_X86_64_TPOFF64.
31553
6f27cd16
JM
315542012-05-10 Joseph Myers <joseph@codesourcery.com>
31555
31556 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31557 sysdeps/unix/sysv/syscalls.list.
31558 (stime): Likewise.
31559 (utime): Likewise.
31560 * sysdeps/unix/sysv/syscalls.list: Remove file.
31561
02467e1c
PE
315622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31563
31564 [BZ #3440]
31565 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31566 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31567 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31568 (__LC_IDENTIFICATION): Make these macros useful in #if
31569 expressions, as required by C99.
31570
da392631
AS
315712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31572
31573 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31574 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31575 after this.
31576
8115f29b
L
315772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31578
31579 * stdlib/longlong.h: Updated from GCC.
31580
bdd74070
AJ
315812012-05-09 Andreas Jaeger <aj@suse.de>
31582
edfe0dbe
AJ
31583 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31584 default is first entry.
31585 (run_mode): Set type.
31586 (main): Remove informal message about syslog.
31587 (options): Fix typo.
31588
bcfe3a54
ST
31589 [BZ #14053]
31590 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31591 to asm.
bcfe3a54
ST
31592 (lrint): Likewise.
31593 (llrintf): Likewise.
31594 (llrint): Likewise.
31595 (rint): Likewise.
31596 (rintf): Likewise.
31597 (nearbyint): Likewise.
31598 (nearbyintf): Likewise.
bdd74070 31599
91d8d69e
AJ
316002012-05-09 Andreas Jaeger <aj@suse.de>
31601 Pedro Alves <palves@redhat.com>
31602
31603 * nscd/nscd.c (run_mode): Use enum.
31604 (main): Cleanup coding style issue.
31605
bb90b80b
AJ
316062012-05-09 Alexandre Oliva <aoliva@redhat.com>
31607 Andreas Jaeger <aj@suse.de>
31608
bcfe3a54
ST
31609 * nscd/nscd.c (go_background): Replaced with...
31610 (run_mode): ... this.
bb90b80b 31611 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31612 (options): Add -F --foreground.
31613 (main): Implement it.
31614 (parse_opt): Parse it.
bb90b80b 31615
1a4b75a1
AJ
316162012-05-09 Andreas Jaeger <aj@suse.de>
31617
31618 [BZ #14083]
31619 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31620 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31621 -Wconversion warning.
31622 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31623 Likewise.
31624
b1cc2472
JM
316252012-05-09 Joseph Myers <joseph@codesourcery.com>
31626
31627 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31628 == 0.
31629 (LC_ALL): Use macro-int-constant.
31630 (LC_COLLATE): Likewise.
31631 (LC_CTYPE): Likewise.
31632 (LC_MESSAGES): Likewise.
31633 (LC_MONETARY): Likewise.
31634 (LC_NUMERIC): Likewise.
31635 (LC_TIME): Likewise.
31636 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31637 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31638 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31639 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31640 Specify type.
31641 [C99-based standards] (float_t): Expect type.
31642 [C99-based standards] (double_t): Expect type.
31643 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31644 type.
31645 [C99-based standards] (HUGE_VALL): Likewise.
31646 [C99-based standards] (INFINITY): Likewise.
31647 [C99-based standards] (NAN): Likewise.
31648 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31649 [C99-based standards] (FP_NAN): Likewise.
31650 [C99-based standards] (FP_NORMAL): Likewise.
31651 [C99-based standards] (FP_SUBNORMAL): Likewise.
31652 [C99-based standards] (FP_ZERO): Likewise.
31653 [C99-based standards] (FP_FAST_FMA): Use
31654 optional-macro-int-constant. Specify type. Require == 1.
31655 [C99-based standards] (FP_FAST_FMAF): Likewise.
31656 [C99-based standards] (FP_FAST_FMAL): Likewise.
31657 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31658 [C99-based standards] (FP_ILOGBNAN): Likewise.
31659 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31660 Specify type.
31661 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31662 [C99-based standards] (math_errhandling): Specify type.
31663 [ISO99 || ISO11] (signgam): Do not allow.
31664 [non-C99-based standards] (copysignf): Do not allow.
31665 [non-C99-based standards] (exp2f): Likewise.
31666 [non-C99-based standards] (log2f): Likewise.
31667 [non-C99-based standards] (modff): Allow.
31668 [non-C99-based standards] (erff): Do not allow.
31669 [non-C99-based standards] (erfcf): Likewise.
31670 [non-C99-based standards] (gammaf): Likewise.
31671 [non-C99-based standards] (hypotf): Likewise.
31672 [non-C99-based standards] (j0f): Likewise.
31673 [non-C99-based standards] (j1f): Likewise.
31674 [non-C99-based standards] (jnf): Likewise.
31675 [non-C99-based standards] (lgammaf): Likewise.
31676 [non-C99-based standards] (tgammaf): Likewise.
31677 [non-C99-based standards] (y0f): Likewise.
31678 [non-C99-based standards] (y1f): Likewise.
31679 [non-C99-based standards] (ynf): Likewise.
31680 [non-C99-based standards] (isnanf): Likewise.
31681 [non-C99-based standards] (acoshf): Likewise.
31682 [non-C99-based standards] (asinhf): Likewise.
31683 [non-C99-based standards] (atanhf): Likewise.
31684 [non-C99-based standards] (cbrtf): Likewise.
31685 [non-C99-based standards] (expm1f): Likewise.
31686 [non-C99-based standards] (ilogbf): Likewise.
31687 [non-C99-based standards] (log1pf): Likewise.
31688 [non-C99-based standards] (logbf): Likewise.
31689 [non-C99-based standards] (nextafterf): Likewise.
31690 [non-C99-based standards] (remainderf): Likewise.
31691 [non-C99-based standards] (rintf): Likewise.
31692 [non-C99-based standards] (scalbf): Likewise.
31693 [non-C99-based standards] (copysignl): Likewise.
31694 [non-C99-based standards] (exp2l): Likewise.
31695 [non-C99-based standards] (log2l): Likewise.
31696 [non-C99-based standards] (modfl): Allow.
31697 [non-C99-based standards] (erfl): Do not allow.
31698 [non-C99-based standards] (erfcl): Likewise.
31699 [non-C99-based standards] (gammal): Likewise.
31700 [non-C99-based standards] (hypotl): Likewise.
31701 [non-C99-based standards] (j0l): Likewise.
31702 [non-C99-based standards] (j1l): Likewise.
31703 [non-C99-based standards] (jnl): Likewise.
31704 [non-C99-based standards] (lgammal): Likewise.
31705 [non-C99-based standards] (tgammal): Likewise.
31706 [non-C99-based standards] (y0l): Likewise.
31707 [non-C99-based standards] (y1l): Likewise.
31708 [non-C99-based standards] (ynl): Likewise.
31709 [non-C99-based standards] (isnanl): Likewise.
31710 [non-C99-based standards] (acoshl): Likewise.
31711 [non-C99-based standards] (asinhl): Likewise.
31712 [non-C99-based standards] (atanhl): Likewise.
31713 [non-C99-based standards] (cbrtl): Likewise.
31714 [non-C99-based standards] (expm1l): Likewise.
31715 [non-C99-based standards] (ilogbl): Likewise.
31716 [non-C99-based standards] (log1pl): Likewise.
31717 [non-C99-based standards] (logbl): Likewise.
31718 [non-C99-based standards] (nextafterl): Likewise.
31719 [non-C99-based standards] (remainderl): Likewise.
31720 [non-C99-based standards] (rintl): Likewise.
31721 [non-C99-based standards] (scalbl): Likewise.
31722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31723 [non-C99-based standards] (FP_*): Do not allow.
31724 [C99-based standards] (FP_*): Change to
31725 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31726 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31727 allow.
31728 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31729 (SIG_ERR): Likewise.
31730 [X/Open-based standards] (SIG_HOLD): Likewise.
31731 (SIG_IGN): Likewise.
31732 (SIGABRT): Use macro-int-constant. Specify type. Require
31733 positive value.
31734 (SIGFPE): Likewise.
31735 (SIGILL): Likewise.
31736 (SIGINT): Likewise.
31737 (SIGSEGV): Likewise.
31738 (SIGTER): Likewise.
31739 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31740 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31741 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31742 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31743 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31744 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31745 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31746 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31747 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31748 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31749 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31750 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31751 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31752 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31753 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31754 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31755 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31756 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31757 [X/Open-based standards] (SIGTRAP): Likewise.
31758 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31759 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31760 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31761 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31762 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31763 allow.
31764
b9f1922d
IW
317652012-05-08 Ian Wienand <ianw@vmware.com>
31766
31767 [BZ #14080]
31768 * time/tzset.c (__tzset_parse_tz): Update default rules for
31769 daylight time changes in the Energy Policy Act of 2005.
31770
1db86e88
AJ
317712012-05-09 Andreas Jaeger <aj@suse.de>
31772
31773 [BZ #13983]
31774 * elf/ldconfig.c (parse_conf): Change string to make clear that
31775 ldconfig only issued a warning if ld.so.conf does not exist.
31776
dee4a4e3
DM
317772012-05-08 David S. Miller <davem@davemloft.net>
31778
ee0db190
DM
31779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31780 movxtod instead of popping the value on the stack.
31781
dee4a4e3
DM
31782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31783
6a43ec98
CD
317842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31785
31786 * config.h.in: Add HAVE_ARM_PCS_VFP.
31787
05c2c961
RMG
317882012-05-08 Roland Mc Grath <roland@hack.frob.com>
31789
bcfe3a54
ST
31790 [BZ #13979]
31791 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31792 checking but the checks are disabled for any reason.
05c2c961 31793
4b30f61a
L
317942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31795
31796 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31797 and ELF64_R_TYPE with ELFW(R_TYPE).
31798
eee2bc67
JM
317992012-05-08 Joseph Myers <joseph@codesourcery.com>
31800
7ea5391a
JM
31801 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31802 (ulimit): Likewise.
31803
eee2bc67
JM
31804 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31805 (settimeofday): Likewise.
31806
abb66a67
MF
318072012-05-08 Mike Frysinger <vapier@gentoo.org>
31808
31809 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31810 a struct th_u2 inside the union, and move tu_block/tu_code into
31811 a new th_u3 union of tu_block/tu_code inside of that. Move
31812 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31813 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31814 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31815 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31816 (th_stuff): Change to th_u1.tu_stuff.
31817 (th_data): Define.
31818 (th_msg): Change to th_u1.th_u2.tu_data.
31819
7f18b530
DM
318202012-05-07 David S. Miller <davem@davemloft.net>
31821
05760585
DM
31822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31823
7f18b530
DM
31824 [BZ #14074]
31825 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31826 (SETUP_PIC_REG): Use it.
31827 (SETUP_PIC_REG_LEAF): Use it.
31828
495fd99f
JM
318292012-05-07 Joseph Myers <joseph@codesourcery.com>
31830
31831 [BZ #13885]
31832 [BZ #13923]
31833 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31834 USE_AS_EXPM1L.
31835 (EXPL_FINITE): Likewise.
31836 (FLDLOG): Likewise.
31837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31838 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31839 e_expl.S.
31840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31841 USE_AS_EXPM1L.
31842 (EXPL_FINITE): Likewise.
31843 (FLDLOG): Likewise.
31844 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31845 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31846 e_expl.S.
31847 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31848 test of -max_value argument for long double.
31849 * sysdeps/i386/fpu/libm-test-ulps: Update.
31850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31851
6693d694
DM
318522012-05-06 David S. Miller <davem@davemloft.net>
31853
31854 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31855 quad soft-float symbols whose references which are compiler
31856 generated.
31857 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31858
6c23e11c
JM
318592012-05-06 Joseph Myers <joseph@codesourcery.com>
31860
d8b82cad
JM
31861 [BZ #13884]
31862 [BZ #13914]
31863 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31864 USE_AS_EXP10L.
31865 (EXPL_FINITE): Likewise.
31866 (FLDLOG): Likewise.
31867 (c0): Likewise.
31868 (c1): Likewise.
31869 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31870 Adjust comments for base varying.
31871 (__expl_finite): Change alias to EXPL_FINITE.
31872 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31873 e_expl.S.
31874 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31875 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31876 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31877 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31879 USE_AS_EXP10L.
31880 (EXPL_FINITE): Likewise.
31881 (FLDLOG): Likewise.
31882 (c0): Likewise.
31883 (c1): Likewise.
31884 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31885 Adjust comments for base varying.
31886 (__expl_finite): Change alias to EXPL_FINITE.
31887 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31888 tests for bugs.
31889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31890
6c23e11c
JM
31891 [BZ #14064]
31892 * math/libm-test.inc (check_float_internal): Correct ulp
31893 calculation for subnormal expected results.
31894
29ba805c
AJ
318952012-05-06 Andreas Jaeger <aj@suse.de>
31896
31897 * Makeconfig (+math-flags): New, set to -frounding-math.
31898 (+cflags): Add +math-flags so that all of glibc gets compiled with
31899 it.
31900
31901 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31902
7b17aeda
JM
319032012-05-05 Joseph Myers <joseph@codesourcery.com>
31904
5779f134
JM
31905 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31906 Disable one test.
31907
41498f4d
JM
31908 [BZ #13787]
31909 [BZ #13922]
31910 [BZ #14036]
31911 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31912 (__ieee754_expl): Allow for and saturate large arguments.
31913 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31914 (u_threshold): Likewise.
31915 (__exp): Call __ieee754_exp before checking for overflow and
31916 underflow.
31917 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31918 (u_threshold): Likewise.
31919 (__expf): Call __ieee754_expf before checking for overflow and
31920 underflow.
31921 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31922 (u_threshold): Likewise.
31923 (__expl): Call __ieee754_expl before checking for overflow and
31924 underflow.
31925 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31926 (__ieee754_expl): Allow for and saturate large arguments.
31927 * math/libm-test.inc (exp_test): Add another test. Do not allow
31928 missing overflow exception on overflow.
31929 (expm1_test): Do not allow missing overflow exception on overflow.
31930
6698b8bf
JM
31931 * sysdeps/i386/fpu/e_expl.c: Move to ...
31932 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31933 rather than using inline asm.
31934 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31935 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31936 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31937
7b17aeda
JM
31938 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31939 (nice): Likewise.
31940 (poll): Likewise.
31941 (signal): Likewise.
31942 (time): Likewise.
31943 (times): Likewise.
31944
f7c85819
JM
319452012-05-04 Joseph Myers <joseph@codesourcery.com>
31946
31947 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31948 sysdeps/unix/common/syscalls.list.
31949 (fchmod): Likewise.
31950 (fchown): Likewise.
31951 (ftruncate): Likewise.
31952 (getrusage): Likewise.
31953 (gettimeofday): Likewise.
31954 (setpgid): Likewise.
31955 (setregid): Likewise.
31956 (setreuid): Likewise.
31957 (sigaction): Likewise.
31958 (truncate): Likewise.
31959 (vhangup): Likewise.
31960 * sysdeps/unix/common/syscalls.list: Remove file.
31961 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31962 * sysdeps/unix/sysv/linux/Implies: Likewise.
31963
336270d0
L
319642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31965
31966 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31968 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31969 Moved to ...
31970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31971 Here.
31972 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31973 to ...
31974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31975 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31976 to ...
31977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31978 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31979 to ...
31980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31981 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31982 to ...
31983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31984 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31985 to ...
31986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31987 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31988 to ...
31989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31990 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31991 to ...
31992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31993 Here.
31994 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31995 to ...
31996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31997 Here.
31998 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31999 to ...
32000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32002 Moved to ...
32003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32004 Here.
32005 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32006 to ...
32007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32008
d128e450
JM
320092012-05-04 Joseph Myers <joseph@codesourcery.com>
32010
fa8ee516
JM
32011 * sysdeps/unix/common/bits/dirent.h: Remove file.
32012 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32013
d128e450
JM
32014 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32015 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32016 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32017 * sysdeps/unix/bsd/isatty.c: Likewise.
32018 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32019 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32020 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32021
ff8faaf0 320222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32023
62881be4 32024 [BZ #13563]
31dc8730
AZ
32025 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32026 long double comparison inaccuracies.
32027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32029
6fef930c
AS
320302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32031
32032 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32034
8f203e6c
JM
320352012-05-04 Joseph Myers <joseph@codesourcery.com>
32036
32037 [BZ #14049]
32038 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32039 nonzero digits before rounding a hex value.
32040 * stdlib/tst-strtod.c (tests): Add another test.
32041
5197d9c2
AK
320422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32043
32044 * sysdeps/s390/fpu/libm-test-ulps: Update.
32045
f0c1dedf
AJ
320462012-05-03 Andreas Jaeger <aj@suse.de>
32047
32048 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32049 does not get optimized out.
32050 (malloc_opt_barrier): New.
32051
a65ef2ae 320522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32053 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32054
2b942cb7 32055 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32056 intermediate file deletion.
2b942cb7 32057 (generated): Add .symlist files.
a65ef2ae 32058
54b71e02
JM
320592012-05-03 Joseph Myers <joseph@codesourcery.com>
32060
32061 [BZ #13775]
32062 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32063 Redirect under this condition.
32064 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32065 [__USE_GNU] (__dprintf_chk): Not under this condition.
32066 [__USE_GNU] (__vdprintf_chk): Likewise.
32067 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32068 under this condition.
32069 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32070 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32071 [__USE_XOPEN2K8] (vdprintf): Likewise.
32072 [__USE_GNU] (__dprintf_chk): Not under this condition.
32073 [__USE_GNU] (__vdprintf_chk): Likewise.
32074 [__USE_GNU] (dprintf): Likewise.
32075 [__USE_GNU] (vdprintf): Likewise.
32076
d3dfcc41
RM
320772012-05-03 Roland McGrath <roland@hack.frob.com>
32078
32079 * elf/Makefile (common-generated): Set this instead of generated for
32080 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32081 $(all-built-dso)-derived lists.
32082
7ac30cc5
AJ
320832012-05-03 Andreas Jaeger <aj@suse.de>
32084
0c51e550
AJ
32085 * sysdeps/i386/fpu/libm-test-ulps: Update.
32086
7ac30cc5
AJ
32087 * FAQ: Removed.
32088 * FAQ.in: Likewise.
32089 * scripts/gen-FAQ.pl: Likewise.
32090 * manual/install.texi (Installation): Point to online location of
32091 FAQ.
32092 * Makefile (files-for-dist): Remove FAQ.
32093 (FAQ): Remove.
32094
d4c2917f
AM
320952012-05-02 Allan McRae <allan@archlinux.org>
32096
32097 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32098 (LDFLAGS-reldepmod5.so): Likewise.
32099 (LDFLAGS-reldep6mod1.so): Likewise.
32100 (LDFLAGS-reldep6mod4.so): Likewise.
32101 (LDFLAGS-reldep8mod3.so): Likewise.
32102 (LDFLAGS-unload4mod1.so): Likewise.
32103 (LDFLAGS-unload4mod2.so): Likewise.
32104 (LDFLAGS-tst-initorder): Likewise.
32105 (LDFLAGS-tst-initordera2.so): Likewise.
32106 (LDFLAGS-tst-initordera3.so): Likewise.
32107 (LDFLAGS-tst-initordera4.so): Likewise.
32108 (LDFLAGS-tst-initorderb2.so): Likewise.
32109 (LDFLAGS-noload): Likewise.
32110 (LDFLAGS-next): Likewise.
32111 (LDFLAGS-order2mod1.so): Likewise.
32112 (LDFLAGS-order2mod2.so): Likewise.
32113 (LDFLAGS-tst-initorder2): Likewise.
32114 (LDFLAGS-tst-initorder2a.so): Likewise.
32115 (LDFLAGS-tst-initorder2b.so): Likewise.
32116 (LDFLAGS-tst-initorder2c.so): Likewise.
32117 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32118
d77f993f
DM
321192012-05-02 David S. Miller <davem@davemloft.net>
32120
32121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32122
171a70b4
PP
321232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32124
32125 [BZ #14055]
32126 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32127
0be196ad
AJ
321282012-05-02 Andreas Jaeger <aj@suse.de>
32129
32130 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32131 since we manipulate rounding mode.
32132 (CPPFLAGS-test-idouble.c): Likewise.
32133 (CPPFLAGS-test-ifloat.c): Likewise.
32134 (CFLAGS-test-ldouble.c): Likewise.
32135 (CFLAGS-test-double.c): Likewise.
32136 (CFLAGS-test-float.c): Likewise.
32137 (CFLAGS-test-misc.c): Likewise.
32138 (CFLAGS-test-test-fenv.c): Likewise.
32139
4f9d04aa
AZ
321402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32141
2b942cb7
RM
32142 [BZ #2550]
32143 [BZ #2570]
32144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32145 comparisons to determine direction to adjust input.
4f9d04aa 32146
82a79e7d
RM
321472012-05-01 Roland McGrath <roland@hack.frob.com>
32148
f5a01ca9
RM
32149 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32150 output to the target.
32151
90fe4186
RM
32152 * scripts/localplt.awk: New file.
32153 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32154 (check-localplt-CFLAGS): Variable removed.
32155 ($(all-built-dso:=.jmprel)): New static pattern rule.
32156 (generated): Add those targets.
32157 (localplt-built-dso): New variable.
32158 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32159
32160 * elf/check-localplt.c: File removed.
32161
82397ed6
RM
32162 * scripts/check-execstack.awk: New file.
32163 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32164 (check-execstack-CFLAGS): Variable removed.
32165 ($(objpfx)check-execstack.h): Target removed.
32166 ($(objpfx)execstack-default): New target.
32167 (generated): Add that instead of check-execstack.h.
32168 ($(all-built-dso:=.phdr)): New static pattern rule.
32169 (generated): Add those targets.
32170 * elf/check-execstack.c: File removed.
32171
82a79e7d
RM
32172 * scripts/check-textrel.awk: New file.
32173 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32174 (check-textrel-CFLAGS): Variable removed.
32175 (all-built-dso): Use := to define.o
32176 ($(all-built-dso:=.dyn)): New static pattern rule.
32177 (generated): Add those targets.
32178 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32179 * config.make.in (READELF): New substituted variable.
32180 * elf/check-textrel.c: File removed.
32181
62fde54f 321822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32183
615605c9
JM
32184 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32185 allow.
32186 * conform/data/ctype.h-data [C99-based standards] (isblank):
32187 Expect function.
32188 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32189 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32191 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32192 Specify type. Require positive value.
32193 (EILSEQ): Likewise.
32194 (ERANGE): Likewise.
32195 [ISO || POSIX] (EILSEQ): Do not expect.
32196 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32197 Specify type. Require positive value.
32198 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32199 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32200 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32201 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32202 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32203 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32204 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32205 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32206 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32207 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32208 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32209 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32210 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32211 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32212 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32213 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32214 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32215 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32216 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32217 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32218 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32219 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32220 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32221 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32222 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32223 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32224 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32225 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32226 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32227 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32228 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32229 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32230 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32231 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32232 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32233 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32234 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32235 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32236 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32237 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32238 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32239 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32240 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32241 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32242 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32243 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32244 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32245 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32246 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32247 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32248 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32249 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32250 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32251 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32252 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32253 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32254 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32255 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32256 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32257 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32258 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32259 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32260 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32261 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32262 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32263 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32264 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32265 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32266 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32267 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32268 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32269 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32270 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32271 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32272 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32273 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32274 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32275 Require >= 2.
32276 (FLT_ROUNDS): Expect as macro, not constant.
32277 (FLT_MANT_DIG): Use macro-int-constant.
32278 (DBL_MANT_DIG): Likewise.
32279 (LDBL_MANT_DIG): Likewise.
32280 (FLT_DIG): Likewise.
32281 (DBL_DIG): Likewise.
32282 (LDBL_DIG): Likewise.
32283 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32284 (DBL_MIN_EXP): Likewise.
32285 (LDBL_MIN_EXP): Likewise.
32286 (FLT_MAX_EXP): Use macro-int-constant.
32287 (DBL_MAX_EXP): Likewise.
32288 (LDBL_MAX_EXP): Likewise.
32289 (FLT_MAX_10_EXP): Likewise.
32290 (DBL_MAX_10_EXP): Likewise.
32291 (LDBL_MAX_10_EXP): Likewise.
32292 (FLT_MAX): Use macro-constant.
32293 (DBL_MAX): Likewise.
32294 (LDBL_MAX): Likewise.
32295 (FLT_EPSILON): Use macro-constant. Give upper bound.
32296 (DBL_EPSILON): Likewise.
32297 (LDBL_EPSILON): Likewise.
32298 (FLT_MIN): Likewise.
32299 (DBL_MIN): Likewise.
32300 (LDBL_MIN): Likewise.
32301 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32302 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32303 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32304 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32305 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32306 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32307 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32308 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32309 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32310 [ISO11] (FLT_TRUE_MIN): Likewise.
32311 [ISO11] (LDBL_TRUE_MIN): Likewise.
32312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32313 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32314 (SCHAR_MIN): Use macro-int-constant. Specify type.
32315 (SCHAR_MAX): Likewise.
32316 (UCHAR_MAX): Likewise.
32317 (CHAR_MIN): Likewise.
32318 (CHAR_MAX): Likewise.
32319 (MB_LEN_MAX): Use macro-int-constant.
32320 (SHRT_MIN): Use macro-int-constant. Specify type.
32321 (SHRT_MAX): Likewise.
32322 (USHRT_MAX): Likewise.
32323 (INT_MAX): Likewise.
32324 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32325 bound negative.
32326 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32327 bound with "U".
32328 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32329 bound with "L".
32330 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32331 bound negative. Suffix upper bound with "L".
32332 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32333 bound with "UL".
32334 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32335 Specify type.
32336 [C99-based standards] (LLONG_MAX): Likewise.
32337 [C99-based standards] (ULLONG_MAX): Likewise.
32338 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32339 == 0.
32340 [ISO11] (max_align_t): Require type.
32341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32342
c9140a62
JM
32343 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32344 from $CFLAGS, without defining away __attribute__ calls.
32345 (checknamespace): Use $CFLAGS_namespace.
32346
9af0bf29
JM
32347 * conform/conformtest.pl (@keywords): Only include C99 keywords
32348 for standards based on C99 or C11.
32349
343222a2
JM
32350 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32351 Disable tests.
32352 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32353 UNIX98]: Likewise.
32354
661f8cf0
JM
32355 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32356 usability of symbols in #if.
32357
ee74b9cb
JM
32358 * conform/conformtest.pl: If macro or constant types start
32359 "promoted:", expect the symbol to be of the following type
32360 promoted by the integer promotions.
62fde54f 32361
aafc49b3
JM
32362 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32363 in one place. Also handle "macro-constant".
32364
fefdf574
JM
32365 * conform/conformtest.pl: Only accept expected macro values with
32366 "==". Parse all "macro" lines in one place.
32367 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32368
f2d922fe
JM
32369 * conform/conformtest.pl: Handle braced types on "constant" lines
32370 instead of handling "typed-constant".
32371 * conform/data/signal.h-data: Use "constant" instead of
32372 "typed-constant".
32373
d22956c9
JM
32374 * conform/conformtest.pl: Handle "optional-" at start of lines in
32375 one place rather than duplicating several cases. Handle each
32376 format of "macro" line with initial "optional-".
32377
028e2e38
JM
32378 * conform/conformtest.pl: Only accept expected constant or
32379 optional-constant values with "==". Parse all "constant" lines in
32380 one place. Parse all "optional-constant" lines in one place.
32381 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32382 * conform/data/fmtmsg.h-data: Likewise.
32383 * conform/data/netinet/in.h-data: Likewise.
32384 * conform/data/tar.h-data: Likewise.
32385 * conform/data/limits.h-data: Use "==" form on "constant" and
32386 "optional-constant" lines.
32387
1b8f2850
JM
32388 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32389 Use -std=c99 for XOPEN2K.
32390 (@knownproblems): Remove.
32391 (newtoken): Don't check %isknown.
32392
a05a144b
JM
32393 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32394 Do not expect macro.
32395 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32396 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32397 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32398 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32399 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32400 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32401 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32402 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32403 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32404 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32405 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32406 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32407 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32408 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32409 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32410 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32411 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32412 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32413 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32414 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32415 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32417 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32418 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32419 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32420 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32421 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32422 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32423 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32424 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32425 [XPG3] (acosh): Likewise.
32426 [XPG3] (asinh): Likewise.
32427 [XPG3] (atanh): Likewise.
32428 [XPG3] (cbrt): Likewise.
32429 [XPG3] (expm1): Likewise.
32430 [XPG3] (ilogb): Likewise.
32431 [XPG3] (log1p): Likewise.
32432 [XPG3] (logb): Likewise.
32433 [XPG3] (nextafter): Likewise.
32434 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32435 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32436 [XPG3] (remainder): Likewise.
32437 [XPG3] (rint): Likewise.
32438 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32439 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32440 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32441 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32442 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32443 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32444 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32445 [UNIX98 || XOPEN2K] (scalb): Expect.
32446 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32447 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32448 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32449 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32450 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32451 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32452 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32453 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32454 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32455 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32456 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32457 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32458 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32459 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32460 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32461 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32462 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32463 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32464 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32465 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32466 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32467 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32468 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32469 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32470 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32471 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32472 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32473 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32474 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32475 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32476 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32477 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32478 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32479 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32480 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32481 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32482 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32483 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32484 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32485 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32486 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32487 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32488 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32489 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32490 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32491 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32492 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32493 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32494 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32495 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32496 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32497 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32498 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32499 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32500 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32501 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32502 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32503 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32504 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32505 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32506 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32507 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32508 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32509 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32510 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32511 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32512 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32513 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32514 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32515 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32516 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32517 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32518 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32519 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32520 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32521 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32522 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32523 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32524 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32525 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32526 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32527 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32528 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32529 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32530 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32531 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32532 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32533 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32534 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32535 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32536 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32537 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32538 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32539 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32540 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32541 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32542 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32543 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32544 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32545 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32546 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32547 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32548 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32549 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32550 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32551 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32552 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32553 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32554 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32555 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32556 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32557 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32558 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32559 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32560 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32561 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32562 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32563 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32564 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32565 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32566 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32567 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32568 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32569 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32570 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32571 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32572 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32575 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32576 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32577 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32580 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32581 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32582 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32583
73c5ebe3
JM
32584 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32585 _XOPEN_SOURCE_EXTENDED for XPG4.
32586
39c33b6c
JM
32587 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32588
62fde54f
JM
32589 * Makeconfig (localtime): Remove variable.
32590 (inst_localtime-file): Likewise.
32591
0741d64c
AS
325922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32593
32594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32595 Update.
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32597 Update.
32598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32599 Update.
32600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32601 Update.
32602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32603 Update.
32604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32605 Update.
32606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32607 Update.
32608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32609 Update.
32610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32611 Update.
32612
7cb029ee
JM
326132012-05-01 Joseph Myers <joseph@codesourcery.com>
32614
32615 [BZ #2550]
32616 [BZ #2570]
32617 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32618 comparisons to determine direction to adjust input.
32619 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32620 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32621 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32622 Likewise.
32623 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32624 Likewise.
32625 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32626 Likewise.
32627 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32628 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32629 Likewise.
32630 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32631 Likewise.
32632 * math/libm-test.inc (nexttoward_test): Add more tests.
32633
412bd966
AS
326342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32635
32636 [BZ #14040]
32637 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32638 in version GLIBC_2.1, not GLIBC_2.0.
32639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32640 Likewise.
32641
9568c0c2
JM
326422012-04-30 Joseph Myers <joseph@codesourcery.com>
32643
adfbc8ac
JM
32644 [BZ #13942]
32645 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32646 (1 - x) * (1 + x).
32647 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32648 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32649 * math/libm-test.inc (acos_test): Add more tests.
32650 (asin_test): Likewise.
32651 * sysdeps/i386/fpu/libm-test-ulps: Update.
32652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32653
5ba3cc69
JM
32654 [BZ #14034]
32655 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32656 of square root.
32657 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32658 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32659 * math/libm-test.inc (acos_test_tonearest): New function.
32660 (acos_test_towardzero): Likewise.
32661 (acos_test_downward): Likewise.
32662 (acos_test_upward): Likewise.
32663 (asin_test_tonearest): Likewise.
32664 (asin_test_towardzero): Likewise.
32665 (asin_test_downward): Likewise.
32666 (asin_test_upward): Likewise.
32667 (main): Call the new functions.
32668 * sysdeps/i386/fpu/libm-test-ulps: Update.
32669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32670
9568c0c2
JM
32671 [BZ #13884]
32672 [BZ #13924]
32673 * math/e_exp10.c: Include <float.h>.
32674 (__ieee754_exp10): Handle underflow here rather than multiplying
32675 large negative argument by M_LN10.
32676 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32677 of __ieee754_expf.
32678 * math/e_exp10l.c: Include <float.h>.
32679 (__ieee754_exp10l): Handle underflow here rather than multiplying
32680 large negative argument by M_LN10l.
32681 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32682 spurious overflow exception on underflow.
32683
5ac3ea17
MP
326842012-04-29 Marek Polacek <polacek@redhat.com>
32685
32686 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32687 (__fortify_function): New macro.
32688 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32689 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32690 __extern_always_inline.
32691 * libio/bits/stdio2.h: Likewise.
32692 * libio/bits/stdio.h: Likewise.
32693 * string/string.h: Likewise.
32694 * string/bits/string3.h: Likewise.
32695 * include/stdio.h: Likewise.
32696 * stdlib/bits/stdlib.h: Likewise.
32697 * stdlib/stdlib.h: Likewise.
32698 * rt/bits/mqueue2.h: Likewise.
32699 * rt/mqueue.h: Likewise.
32700 * posix/bits/unistd.h: Likewise.
32701 * posix/unistd.h: Likewise.
32702 * io/bits/poll2.h: Likewise.
32703 * io/bits/fcntl2.h: Likewise.
32704 * io/fcntl.h: Likewise.
32705 * io/sys/poll.h: Likewise.
32706 * misc/bits/syslog.h: Likewise.
32707 * misc/bits/syslog-ldbl.h: Likewise.
32708 * misc/sys/syslog.h: Likewise.
32709 * socket/bits/socket2.h: Likewise.
32710 * socket/sys/socket.h: Likewise.
32711 * debug/tst-chk1.c: Likewise.
32712 * wcsmbs/bits/wchar2.h: Likewise.
32713 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32714 * wcsmbs/wchar.h: Likewise.
32715
ecf0ebfb
AJ
327162012-04-29 Andreas Jaeger <aj@suse.de>
32717
32718 * Makerules (tests): Remove enable-check-abi protection.
32719 (check-abi-warn): Remove.
32720 (check-abi-%): Remove check-abi-warn usage.
32721
32722 * configure.in: Remove check-abi configure option.
32723 * configure: Regenerated.
32724 * config.make.in (enable-check-abi): Remove.
32725
6d5c57fa
AS
327262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32727
24c5d07e 32728 [BZ #14033]
ded5180a
AS
32729 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32730 double functions to double *_finite functions.
32731
7e0d315d
AS
32732 [BZ #13941]
32733 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32734 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32735 LDBL_MIN_EXP.
32736 * stdio-common/Makefile (tests): Add tst-sprintf3.
32737 * stdio-common/tst-sprintf3.c: New file.
32738
6d5c57fa
AS
32739 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32740 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32741
0749ff8b
JM
327422012-04-28 Joseph Myers <joseph@codesourcery.com>
32743
32744 * conform/conformtest.pl: Remove duplicate typed-constant
32745 handling.
32746
8dbd5d7b
DM
327472012-04-28 David S. Miller <davem@davemloft.net>
32748
32749 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32750 (check-abi-%): Remove AWK script prerequisite and explicit
32751 abilist directory.
32752 (check-abi): Rewrite to just diff the symlist with the abilist.
32753 (config-tls, config-abi-config): Delete, no longer used.
32754 (update-abi-%): Remove AWK script and explicit abilist directory.
32755 (update-abi): Rewrite to simply compare and conditionally copy the
32756 symlist and the sysdep abilist file. Remove update-abi-config
32757 checks.
32758 * abilist/ld.abilist: Remove.
32759 * abilist/libBrokenLocale.abilist: Remove.
32760 * abilist/libanl.abilist: Remove.
32761 * abilist/libcrypt.abilist: Remove.
32762 * abilist/libdl.abilist: Remove.
32763 * abilist/librt.abilist: Remove.
32764 * abilist/libthread_db.abilist: Remove.
32765 * abilist/libutil.abilist: Remove.
32766 * scripts/extract-abilist.awk: Remove.
32767 * scripts/merge-abilist.awk: Remove.
32768 * sysdeps/generic/libcidn.abilist: New file.
32769 * sysdeps/generic/libnss_compat.abilist: New file.
32770 * sysdeps/generic/libnss_db.abilist: New file.
32771 * sysdeps/generic/libnss_dns.abilist: New file.
32772 * sysdeps/generic/libnss_files.abilist: New file.
32773 * sysdeps/generic/libnss_hesiod.abilist: New file.
32774 * sysdeps/generic/libnss_nis.abilist: New file.
32775 * sysdeps/generic/libnss_nisplus.abilist: New file.
32776 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32777 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32778 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32779 file.
32780 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32781 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32782 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32783 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32784 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32785 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32786 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32787 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32788 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32789 file.
32790 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32791 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32792 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32793 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32794 file.
32795 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32796 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32797 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32798 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32799 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32800 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32801 file.
32802 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32803 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32804 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32805 file.
32806 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32808 New file.
32809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32810 New file.
32811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32812 New file.
32813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32814 New file.
32815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32816 New file.
32817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32818 New file.
32819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32820 New file.
32821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32822 New file.
32823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32824 New file.
32825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32826 New file.
32827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32828 New file.
32829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32830 New file.
32831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32832 New file.
32833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32834 file.
32835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32836 New file.
32837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32838 New file.
32839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32840 file.
32841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32842 New file.
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32844 New file.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32846 file.
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32848 New file.
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32850 New file.
32851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32852 New file.
32853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32854 New file.
32855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32856 New file.
32857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32858 New file.
32859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32861 file.
32862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32863 New file.
32864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32865 file.
32866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32867 file.
32868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32869 file.
32870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32871 file.
32872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32873 file.
32874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32875 New file.
32876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32877 file.
32878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32879 file.
32880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32881 New file.
32882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32883 file.
32884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32886 file.
32887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32888 New file.
32889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32890 file.
32891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32892 file.
32893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32894 file.
32895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32896 file.
32897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32898 file.
32899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32900 New file.
32901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32902 file.
32903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32904 file.
32905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32906 New file.
32907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32908 file.
32909 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32910 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32911 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32912 file.
32913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32914 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32915 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32916 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32917 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32918 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32919 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32920 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32921 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32922 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32925 file.
32926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32927 New file.
32928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32929 file.
32930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32931 file.
32932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32933 file.
32934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32935 file.
32936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32937 file.
32938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32939 New file.
32940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32941 New file.
32942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32943 file.
32944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32945 New file.
32946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32947 file.
32948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32950 file.
32951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32952 New file.
32953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32954 file.
32955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32956 file.
32957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32958 file.
32959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32960 file.
32961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32962 file.
32963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32964 New file.
32965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32966 New file.
32967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32968 file.
32969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32970 New file.
32971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32972 file.
32973
41d73a1b
JM
329742012-04-28 Joseph Myers <joseph@codesourcery.com>
32975
32976 * conform/conformtest.pl: Fix typo in handling typed-constant from
32977 allow-header.
32978
28aeeda4
JM
329792012-04-27 Joseph Myers <joseph@codesourcery.com>
32980
adae8f5e
JM
32981 * README: Cut down references to pre-2.6 Linux kernels and
32982 Linuxthreads. Update lists of configurations in libc and ports
32983 and sort alphabetically. Say "or newer" with Linux kernel version
32984 requirements.
32985
28aeeda4
JM
32986 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32987
a462cb63
RA
329882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32989
32990 [BZ #887]
32991 * math/libm-test.inc (logb_test_downward): New test to expose
32992 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32993 rounding mode.
32994
6ad3493e
JM
329952012-04-27 Joseph Myers <joseph@codesourcery.com>
32996
32997 [BZ #14027]
32998 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32999 to be done.
33000 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33001 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33002
2ce4f015
JM
330032012-04-26 Joseph Myers <joseph@codesourcery.com>
33004
5aeb141a
JM
33005 * sysdeps/unix/i386/brk.S: Remove file.
33006 * sysdeps/unix/i386/dl-brk.S: Likewise.
33007 * sysdeps/unix/i386/pipe.S: Likewise.
33008 * sysdeps/unix/i386/sigreturn.S: Likewise.
33009 * sysdeps/unix/i386/syscall.S: Likewise.
33010 * sysdeps/unix/i386/vfork.S: Likewise.
33011 * sysdeps/unix/i386/wait.S: Likewise.
33012
7143acae
JM
33013 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33014 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33015
2ce4f015
JM
33016 * configure.in (arm*-none*): Do not allow without
33017 --enable-hacker-mode.
33018 (netbsd*): Remove case setting base_os.
33019 (386bsd*): Likewise.
33020 (freebsd*): Likewise.
33021 (bsdi*): Likewise.
33022 (osf*): Likewise.
33023 (sunos*): Likewise.
33024 (ultrix*): Likewise.
33025 (newsos*): Likewise.
33026 (dynix*): Likewise.
33027 (*bsd*): Likewise.
33028 (sysv*): Likewise.
33029 (isc*): Likewise.
33030 (esix*): Likewise.
33031 (sco*): Likewise.
33032 (minix*): Likewise.
33033 (irix4*): Likewise.
33034 (irix6*): Likewise.
33035 (solaris[2-9]*): Likewise.
33036 (none): Likewise.
33037 * configure: Regenerated.
33038
0ac229c8
AZ
330392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33040
33041 [BZ #11521]
33042 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33043 overflow or cancellation in calculating denominator.
33044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33046 down expression to avoid unexpected rounding in newer GCCs.
33047 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33048
33f244f4
DM
330492012-04-26 David S. Miller <davem@davemloft.net>
33050
33051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33052 long-double compat symbols.
33053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33066
cfa1f3e8
DM
330672012-04-25 David S. Miller <davem@davemloft.net>
33068
33069 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33070 HWCAP_* values only after the memory barriers have been defined.
33071 (atomic_full_barrier): Define.
33072 (atomic_read_barrier): Define.
33073 (atomic_write_barrier): Define.
33074
6e236b92
SP
330752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33076
33077 * shlib-versions: Add libgcc_s version information.
33078 * sysdeps/generic/libgcc_s.h: Remove.
33079 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33080 libgcc_s.h.
33081 * sysdeps/gnu/unwind-resume.c: Likewise.
33082 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33083
aab39a09
DM
330842012-04-25 David S. Miller <davem@davemloft.net>
33085
33086 * sysdeps/unix/sparc/brk.S: Delete.
33087 * sysdeps/unix/sparc/dl-brk.S: Delete.
33088 * sysdeps/unix/sparc/pipe.S: Delete.
33089 * sysdeps/unix/sparc/sysdep.S: Delete.
33090 * sysdeps/unix/sparc/sysdep.h: Delete.
33091 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33092 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33093 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33094 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33095 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33096 (JUMPTARGET): Remove.
33097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33098 sysdeps/unix/sparc/sysdep.h
33099 (ENTRY, END): Remove.
33100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33101
a3cc4f48
JM
331022012-04-25 Joseph Myers <joseph@codesourcery.com>
33103
2ed8cda2
JM
33104 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33105 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33106 -DIS_IN_build.
33107
35d76d59
JM
33108 * timezone/README: Update upstream location and email address for
33109 tzcode and tzdata.
33110 * timezone/zdump.c: Update from tzcode 2012b.
33111 * timezone/zic.c: Likewise.
33112
a3cc4f48
JM
33113 * configure.in (libc_cv_as_needed): Remove test.
33114 * configure: Regenerated.
33115 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33116 conditional definition.
33117 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33118 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33119 * config.make.in (have-as-needed): Remove variable.
33120
ceab42c3
SP
331212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33122 Paul Pluzhnikov <ppluzhnikov@google.com>
33123
33124 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33125 strings correctly.
33126
3ce2865f
CLT
331272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33128
33129 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33130 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33131 * sysdeps/sh/strlen.S: Likewise.
33132
f37e0d68
JM
331332012-04-24 Joseph Myers <joseph@codesourcery.com>
33134
ae186e9a
JM
33135 * sysdeps/unix/fork.S: Remove file.
33136 * sysdeps/unix/i386/fork.S: Likewise.
33137 * sysdeps/unix/sparc/fork.S: Likewise.
33138
b96914af
JM
33139 * sysdeps/unix/system.c: Remove file.
33140 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33141
f37e0d68
JM
33142 * sysdeps/unix/getegid.S: Remove file.
33143 * sysdeps/unix/geteuid.S: Likewise.
33144
87ef29ca
RM
331452012-04-24 Roland McGrath <roland@hack.frob.com>
33146
83bcd236
RM
33147 * scripts/check-localplt.awk: New file.
33148 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33149 of diff.
33150 * scripts/data/localplt-generic.data: Add a comment.
33151
87ef29ca
RM
33152 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33153 NODE when __dir_mkfile failed.
33154 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33155 Reported by Ludovic Courtès <ludo@gnu.org>.
33156
e5a6e567
AJ
331572012-04-24 Andreas Jaeger <aj@suse.de>
33158
33159 * Makerules (common-clean): Also remove gen-as-const-headers
33160 files.
33161
c1820385
JM
331622012-04-24 Joseph Myers <joseph@codesourcery.com>
33163
33164 * Makerules (native-compile): Do not change working directory for
33165 build. Use $(OUTPUT_OPTION) in command.
33166 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33167
94e02fc4
AZ
331682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33169
33170 [BZ #13886]
33171 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33172 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33173 * math/libm-test.inc (floor_test): Add more tests.
33174 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33175
3a533ca3
JM
331762012-04-24 Joseph Myers <joseph@codesourcery.com>
33177
940ab4b3
JM
33178 * sysdeps/unix/getdents.c: Remove file.
33179 * sysdeps/unix/sysv/getdents.c: Likewise.
33180 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33181
90e037bd
JM
33182 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33183 sysdeps/unix/mman/syscalls.list.
33184 (mmap): Likewise.
33185 (mprotect): Likewise.
33186 (msync): Likewise.
33187 (munmap): Likewise.
33188 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33189 * sysdeps/unix/mman/syscalls.list: Remove.
33190 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33191
3a533ca3
JM
33192 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33193 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33194 * configure: Regenerated.
33195 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33196 $(libgcc_s_suffix).
33197 * config.make.in (libgcc_s_suffix): Remove variable.
33198
1ad743de
JM
331992012-04-23 Joseph Myers <joseph@codesourcery.com>
33200
4ad451e2
JM
33201 * sysdeps/unix/sysv/gethostname.c: Move to ...
33202 * sysdeps/posix/gethostname.c: ... here.
33203
5e37ce39
JM
33204 * sysdeps/unix/execve.S: Remove file.
33205
1ad743de
JM
33206 * sysdeps/unix/_exit.S: Remove file.
33207
4e681b5b
AJ
332082012-04-23 Andreas Jaeger <aj@suse.de>
33209
33210 [BZ #13739]
33211 * manual/Makefile: Remove make dist support, there's no
33212 need for a stand-alone documentation tar ball.
33213 (TEXI2DVI): Define always, it's not in Makeconfig.
33214 (dist): Removed.
33215 (tar-it): Removed.
33216 (edition): Removed.
33217 (glibc-doc-$(edition).tar): Removed
33218 (%.Z): Removed.
33219 (%.gz): Removed.
33220 (%.uu): Removed.
33221 (ETAGS): Remove, it's in Makeconfig.
33222 (move-if-change): Remove, it's in Makeconfig.
33223
38686a03 332242012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33225
33226 [BZ #13970]
33227 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33228 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33229 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33230 (strtod_l, strtof_l, strtold_l): Remove __wur.
33231 It is not necessarily an error to ignore strtol's return value.
33232 One can reliably look at the stored endptr to decide whether
33233 the number had valid syntax.
33234
7c0616fa
AJ
332352012-04-21 Andreas Jaeger <aj@suse.de>
33236
803cb6b7 33237 [BZ #13739]
7c0616fa
AJ
33238 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33239
b0fe253f
JM
332402012-04-21 Joseph Myers <joseph@codesourcery.com>
33241
33242 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33243 * sysdeps/unix/sysv/Versions: Remove file.
33244
8280f22d
MT
332452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33246
33247 [BZ #13927]
33248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33249
75ce411f 332502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33251
33252 [BZ #7064]
33253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33254 version from __vm86.
33255
097d59fa
JM
332562012-04-20 Joseph Myers <joseph@codesourcery.com>
33257
a90f3bcb
JM
33258 * sysdeps/unix/common/lxstat.c: Remove file.
33259 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33260
edc7ea78
JM
33261 * sysdeps/unix/sysv/Makefile: Remove file.
33262
cb78c221
JM
33263 * sysdeps/unix/sysv/direct.h: Remove file.
33264
efa6a45f
JM
33265 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33266 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33267 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33268 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33269 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33270 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33271 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33272
9c9f2d0c
JM
33273 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33274
4541c83b
JM
33275 * sysdeps/unix/xmknod.c: Remove file.
33276 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33277
f5d153a0
JM
33278 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33279
aa746595
JM
33280 * sysdeps/unix/sysv/i386/time.S: Remove file.
33281
cce5905e
JM
33282 * sysdeps/unix/fxstat.c: Remove file.
33283 * sysdeps/unix/xstat.c: Likewise.
33284 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33285
37fa3841
JM
33286 * sysdeps/unix/sysv/sigaction.c: Remove file.
33287
ff1962a3
JM
33288 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33289 (sysdep_headers): Remove variable.
33290 [termio.h not in sysdep_headers] (generated): Likewise.
33291 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33292 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33293 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33294 * sysdeps/unix/sysv/tcflow.c: Likewise.
33295 * sysdeps/unix/sysv/tcflush.c: Likewise.
33296 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33297 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33298 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33299 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33300 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33301
e7740d31
JM
33302 * sysdeps/unix/siglist.c: Remove file.
33303
ee06f18b
JM
33304 * sysdeps/unix/getppid.S: Remove file.
33305
097d59fa
JM
33306 * sysdeps/unix/mkdir.c: Remove file.
33307 * sysdeps/unix/rmdir.c: Likewise.
33308
ff3d51ec
AS
333092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33310
33311 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33312 ERR_MAX value.
33313 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33314 errlist-compat value.
33315
50f81fd7
DM
333162012-04-18 David S. Miller <davem@davemloft.net>
33317
33318 * sysdeps/generic/memcopy.h (reg_char): Delete.
33319 * debug/strcat_chk.c: Use char, not reg_char.
33320 * debug/strcpy_chk.c: Likewise.
33321 * debug/strncat_chk.c: Likewise.
33322 * debug/strncpy_chk.c: Likewise.
33323 * string/memchr.c: Likewise.
33324 * string/memrchr.c: Likewise.
33325 * string/rawmemchr.c: Likewise.
33326 * string/strcat.c: Likewise.
33327 * string/strchr.c: Likewise.
33328 * string/strchrnul.c: Likewise.
33329 * string/strcmp.c: Likewise.
33330 * string/strcpy.c: Likewise.
33331 * string/strncat.c: Likewise.
33332 * string/strncmp.c: Likewise.
33333 * string/strncpy.c: Likewise.
33334
8ff41c46
WS
333352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33336
33337 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33338 __builtin_memcopy is called when src and dest ranges are known to not
33339 overlap.
33340
6b652f46
WS
333412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33342
33343 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33344 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33345 fwd_align_merge macro call.
33346 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33347 bwd_align_merge macro call.
33348 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33349
b282631e
WS
333502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33351
33352 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33353 bwd_align_merge macros.
33354 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33355 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33356 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33357
95aa737c
DM
333582012-04-18 David S. Miller <davem@davemloft.net>
33359
33360 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33361
7a99a614
AJ
333622012-04-18 Andreas Jaeger <aj@suse.de>
33363
33364 [BZ# 6794]
33365 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33366 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33367 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33368
33369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33370 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33371 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33372
33373 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33374 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33375 Adjust for changed ldbl-128 files.
33376
33377 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33378 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33379 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33380
e5270c23
DM
333812012-04-17 David S. Miller <davem@davemloft.net>
33382
33383 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33384
fb5e92c9
AS
333852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33386
33387 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33388 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33389 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33390 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33391 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33392 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33393
76da7265
AZ
333942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33395
33396 [BZ #6794]
33397 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33398 * math/libm-test.inc: Add ilogb errno and exception tests.
33399 * math/w_ilogb.c: New file: ilogb wrapper.
33400 * math/w_ilogbf.c: New file: ilogbf wrapper.
33401 * math/w_ilogbl.c: New file: ilogbl wrapper.
33402 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33403 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33404 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33405 exception being thrown with 0.0 as argument.
33406 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33407 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33408 exception being thrown with 0.0 as argument.
33409 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33410 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33411 exception being thrown with 0.0 as argument.
33412 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33413 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33414 exception being thrown with 0.0 as argument.
33415 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33416 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33417 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33418 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33419 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33420 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33421 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33422 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33423 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33424
0396e69d
PB
334252012-04-17 Petr Baudis <pasky@ucw.cz>
33426
33427 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33428 with altivec.
33429
750b5926
MP
334302012-04-16 Marek Polacek <polacek@redhat.com>
33431
33432 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33433
751728a1
MP
334342012-04-16 Marek Polacek <polacek@redhat.com>
33435
33436 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33437 operands of fdivp instruction.
33438
34a27407
L
334392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33440
33441 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33442 * elf/tst-auditmod3b.c: Likewise.
33443 * elf/tst-auditmod4b.c: Likewise.
33444 * elf/tst-auditmod5b.c: Likewise.
33445 * elf/tst-auditmod6b.c: Likewise.
33446 * elf/tst-auditmod6c.c: Likewise.
33447 * elf/tst-auditmod7b.c: Likewise.
33448 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33449 * sysdeps/x86_64/preconfigure.in: Likewise.
33450 * sysdeps/x86_64/preconfigure: Regenerated.
33451
7e73e17d
L
334522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33453
33454 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33455 __ILP32__.
33456
c7a6ab72
AB
334572012-04-13 Antoine Balestrat <merkil33@gmail.com>
33458
33459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33460 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33461
a9e8e0e0
CL
334622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33463
33464 [BZ #13973]
33465 * locale/iso-639.def: Fix gl language name. Spotted by
33466 Yaron Shahrabani.
33467
ec98af7d
RM
334682012-04-12 Roland McGrath <roland@hack.frob.com>
33469
33470 [BZ #2074]
33471 * libio/libio.h (__io_write_fn): Update comment.
33472
247c3ede
PB
334732012-04-12 Petr Baudis <pasky@ucw.cz>
33474
33475 [BZ #2074]
33476 * stdio.texi (Hook Functions): The user provided writer function
33477 is not allowed to return -1.
33478
55939d6d
DM
334792012-04-11 David S. Miller <davem@davemloft.net>
33480
33481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33482
90020f5a
MF
334832012-04-11 Mike Frysinger <vapier@gentoo.org>
33484
33485 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33486 Add a leading slash to rtkaio.
33487
288f9098
JM
334882012-04-11 Jim Meyering <meyering@redhat.com>
33489
90020f5a
MF
33490 [BZ #11959]
33491 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33492 It is not necessarily an error to ignore fwrite's return
33493 value. One can reliably use ferror to test for errors after
33494 the fact.
288f9098 33495
4be2b570
L
334962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33497
33498 * bits/types.h (__snseconds_t): New type.
33499 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33500
33501 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33503 (__SNSECONDS_T_TYPE): Likewise.
33504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33505 (__SNSECONDS_T_TYPE): Likewise.
33506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33507 (__SNSECONDS_T_TYPE): Likewise.
33508
288f9098 335092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33510
33511 [BZ #2636]
33512 * manual/time.texi (Processor Time): Return type of times is
33513 elapsed real time since an arbitrary point in the past.
33514 (CPU Time): Move CLK_TCK from here...
33515 (Processor Time): ...to here. Correct description.
33516 * manual/conf.texi (Constants for Sysconf): Correct description of
33517 _SC_CLK_TCK.
33518
d7dd4413
DM
335192012-04-10 David S. Miller <davem@davemloft.net>
33520
33521 [BZ #13967]
33522 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33523 where the is a gap between DT_REL(A) and DT_JMPREL.
33524
b46068fc
L
335252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33526
33527 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33528 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33529 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33530
73d65cc3
SP
335312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33532
33533 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33534 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33535 (dl_main): Handle --inhibit-cache.
33536 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33537 _dl_inhibit_cache.
33538 * elf/dl-load.c (_dl_map_object): Use it.
33539 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33540
bcc8d661
JM
335412012-04-09 Joseph Myers <joseph@codesourcery.com>
33542
8f9a2fae
JM
33543 [BZ #13872]
33544 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33545 (__ieee754_powl): Saturate large exponents rather than testing for
33546 overflow of y*log2(x).
33547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33548 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33549 exceptions.
33550
bcc8d661
JM
33551 [BZ #11521]
33552 * math/s_ctan.c: Include <float.h>.
33553 (__ctan): Avoid internal overflow or cancellation in calculating
33554 denominator.
33555 * math/s_ctanf.c: Likewise.
33556 * math/s_ctanl.c: Likewise.
33557 * math/s_ctanh.c: Likewise.
33558 * math/s_ctanhf.c: Likewise.
33559 * math/s_ctanhl.c: Likewise.
33560 * math/libm-test.inc (ctan_test): Add more tests.
33561 (ctanh_test): Likewise.
33562 * sysdeps/i386/fpu/libm-test-ulps: Update.
33563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33564
823fbbb4
AJ
335652012-04-09 Andreas Jaeger <aj@suse.de>
33566
03879793
AJ
33567 [BZ #6894]
33568 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33569 is an optional BSD extension.
33570
823fbbb4
AJ
33571 [BZ #10254]
33572 * manual/stdio.texi (Opening Streams): Document additional fopen
33573 parameters.
33574
8de131cb
RM
335752012-04-09 Roland McGrath <roland@hack.frob.com>
33576
33577 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33578 %eax without telling the compiler.
33579
c0ed9d7d
CD
335802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33581
33582 [BZ # 13963]
33583 * manual/install.texi: Use sourceware.org.
33584
c483f6b4
JM
335852012-04-09 Joseph Myers <joseph@codesourcery.com>
33586
d7dd9453
JM
33587 [BZ #13873]
33588 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33589 (__ieee754_pow): Generate overflow and underflow using huge*huge
33590 and tiny*tiny rather than just returning constant infinity or zero
33591 for large exponents.
33592 * math/libm-test.inc (pow_test): Require overflow exceptions for
33593 applicable cases of large exponents.
33594
c483f6b4
JM
33595 [BZ #706]
33596 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33597 (__ieee754_pow): Use iterative multiplication algorithm only for
33598 integer exponents with absolute value below 1024. Check for odd
33599 integer exponents when using algorithm for real exponents.
33600 * math/libm-test.inc (pow_test): Add more tests.
33601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33602
d2de7579
JM
336032012-04-08 Joseph Myers <joseph@codesourcery.com>
33604
33605 [BZ #13705]
33606 * math/libm-test.inc (exp_test): Do not allow overflow exception
33607 on underflow test.
33608
f77f1232
AJ
336092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33610
33611 [BZ #13705]
33612 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33613 instead of __kernel_standard_f.
33614
3884932b
MF
336152012-04-08 Mike Frysinger <vapier@gentoo.org>
33616
33617 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33618 * sysdeps/x86_64/memset_chk.S: Likewise.
33619
54472e9c
AJ
336202012-04-08 Andreas Jaeger <aj@suse.de>
33621
6ab0fbfc
AJ
33622 [BZ #10153]
33623 * manual/startup.texi (Environment Access): Describe return value
33624 for putenv and setenv.
33625
61efba8c
AJ
33626 [BZ #6895]
33627 * manual/filesys.texi (Directory Entries): Add description for
33628 DT_LNK.
33629
95c3f29a
AJ
33630 [BZ #6890]
33631 * manual/filesys.texi (Directory Entries): Clarify that it's file
33632 system not operating system in the description of DT_UNKNOWN.
33633
54472e9c
AJ
33634 [BZ #6578]
33635 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33636
624254b1
SC
336372012-04-08 Stephen Compall <s11@member.fsf.org>
33638
33639 [BZ #6649]
33640 * manual/llio.texi (Opening and Closing Files): Add cross
33641 reference to explain mode argument.
33642
1e4920e0
MF
336432012-04-07 Mike Frysinger <vapier@gentoo.org>
33644
33645 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33646 * sysdeps/x86_64/memset_chk.S: Likewise.
33647
5ed848f3
DM
336482012-04-07 David S. Miller <davem@davemloft.net>
33649
33650 * elf/elf.h (R_SPARC_WDISP10): Define.
33651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33652 R_SPARC_SIZE32.
33653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33654 R_SPARC_SIZE64 and R_SPARC_H34.
33655
96154cd8
CD
336562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33657
33658 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33659 conditions and remove no longer applicable assertion.
33660
9904dc47
L
336612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33662
33663 * bits/byteswap.h: Include <features.h>.
33664 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33665 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33666
f8887d0a
L
336672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33668
33669 * bits/byteswap.h (__bswap_16): Removed.
33670 Include <bits/byteswap-16.h> to get __bswap_16.
33671 * sysdeps/i386/bits/byteswap.h: Likewise.
33672 * sysdeps/s390/bits/byteswap.h: Likewise.
33673 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33674 * bits/byteswap-16.h: New file.
33675 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33676 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33677 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33678 * string/Makefile (headers): Add bits/byteswap-16.h.
33679
62470f60
PP
336802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33681
33682 [BZ #13895]
33683 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33684 extra indirection.
33685 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33686 * nss/tst-nss-static.c: New.
33687
4dad7bab
RM
336882012-04-06 Robert Millan <rmh@gnu.org>
33689
33690 [BZ #6486]
33691 * manual/llio.texi (File Position Primitive): lseek
33692 refers to WHENCE when it really means OFFSET.
33693
e9142a17
AJ
336942012-04-06 Andreas Jaeger <aj@suse.de>
33695
2c040eff
AJ
33696 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33697 strncmp declarations.
33698
e9142a17
AJ
33699 * abilist/libc.abilist: Add __poll and __ppoll.
33700
ff9f1c5f
DM
337012012-04-05 David S. Miller <davem@davemloft.net>
33702
dcd2ae90
DM
33703 * scripts/check-local-headers.sh: Accept a host triplet in the
33704 path matched by the exclude regexp.
33705
993eb054
DM
33706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33707 definition.
33708 * sysdeps/powerpc/powerpc32/dl-machine.h
33709 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33710 * sysdeps/s390/s390-32/dl-machine.h
33711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33712 * sysdeps/sparc/sparc32/dl-machine.h
33713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33714 * sysdeps/sparc/sparc64/dl-machine.h
33715 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33716
ff9f1c5f
DM
33717 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33718 lazy binding.
48e2e132 33719 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33720 undefined symbol errors.
33721
48e2e132 33722 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33723 DT_NEEDED entries.
33724
e80d6f94
MM
337252012-04-05 Michael Matz <matz@suse.de>
33726
33727 [BZ #13592]
33728 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33729
349fa79f
AJ
337302012-04-05 Andreas Jaeger <aj@suse.de>
33731
33732 [BZ #13908]
33733 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33734 comment.
33735
f402708f
KK
337362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33737
33738 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33739 which ROUND is no valid rounding mode.
33740
2ecccfc9
KK
337412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33742
33743 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33744 read again.
33745 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33746
8a53f50f
KK
337472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33748
33749 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33750 an exception using FPU order intentionally.
33751
337522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33753
33754 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33755 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33756 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33757 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33758
d653abb7
SJ
337592012-04-05 Simon Josefsson <simon@josefsson.org>
33760
33761 [BZ #12340]
33762 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33763 EINVAL when BUFLEN is too smal.
33764
c3b1bf7d
TS
337652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33766
33767 [BZ #13553]
33768 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33769 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33770
b1aa60f3
AJ
337712012-04-03 Andreas Jaeger <aj@suse.de>
33772
c3b1bf7d 33773 [BZ #13938]
67f60a26
AJ
33774 * manual/setjmp.texi (System V contexts): Fix sentence.
33775
b1aa60f3
AJ
33776 [BZ #13926]
33777 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33778 New macro for this case.
33779 [!__GNUC__] (__bswap_64): New inline function for this case.
33780 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33781 * bits/byteswap.h: Likewise.
33782 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33783 ull, guard with __GLIBC_HAVE_LONG_LONG.
33784
33785 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33786 __GLIBC_HAVE_LONG_LONG.
33787
33788 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33789 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33790
39c59c35
TMQMF
337912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33792
33793 [BZ #13691]
33794 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33795 inptr and inend, rather than using last_ch.
33796
135ffda8
DM
337972012-04-02 David S. Miller <davem@davemloft.net>
33798
33799 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33800 * stdio-common/printf-parse.h (read_int): Change return type to
33801 'int', return -1 on INT_MAX overflow.
33802 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33803 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33804 overflows INT_MAX. Check for overflow of in-format-string precision
33805 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33806 SIZE_MAX not INT_MAX for integer overflow test.
33807 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33808 skip the construct in the format string but do not record anything.
33809 * stdio-common/bug22.c: Adjust to test both width/prevision
33810 INT_MAX overflow as well as total length INT_MAX overflow. Check
33811 explicitly for proper errno values.
33812
228c019e
TS
338132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33814
302cadd3
TS
33815 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33816 CHAR_MAX.
33817 * string/test-strcmp.c [! WIDE]: Likewise.
33818 * time/tst-mktime2.c: Likewise for INT_MAX.
33819 * string/test-string.h: #include <sys/param.h> for MIN.
33820
228c019e
TS
33821 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33822 * sysdeps/i386/init-first.c (init): Likewise.
33823 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33824 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33825 * sysdeps/sh/init-first.c (init): Likewise.
33826
cfa633f5
UD
338272012-04-01 Ulrich Drepper <drepper@gmail.com>
33828
33829 * po/ru.po: Update from translation team.
d1635ef8 33830 * po/vi.po: Likewise.
cfa633f5 33831
6cd0a5ea
SP
338322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33833
33834 * resolv/nss_dns/dns-host.c: Merge copyright years.
33835
4b43400f
LD
338362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33837
33838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33839 Optimize memcpy with prefetch if
33840 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33841 src, dst pointers have unequal 16 byte alignments.
33842
48c41d04
SP
338432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33844
33845 [BZ #13928]
33846 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33847 from a CNAME entry and return the minimum ttl for the query.
33848 (gaih_getanswer_slice): Likewise.
33849
b8dc394d
JL
338502012-03-30 Jeff Law <law@redhat.com>
33851
33852 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33853 due to long keys.
33854 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33855 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33856
2f5a5ed0
JL
33857 * resolv/nss_dns/dns-host.c: Update copyright year.
33858
1d39e359
UD
338592012-03-30 Ulrich Drepper <drepper@gmail.com>
33860
c030f70c 33861 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33862 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33863
1d39e359
UD
33864 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33865 comments for sendmmsg.
33866
338672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33868
33869 [BZ #13691]
33870 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33871 with only 1 character between 0x0041 and 0x01b0.
33872 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33873 * wcsmbs/tst-mbsnrtowcs.c: New file.
33874
20fde227
DM
338752012-03-29 David S. Miller <davem@davemloft.net>
33876
33877 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33878 small copies by hand.
33879
984a4237
JL
338802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33881
33882 [BZ #13761]
57f41c40
AS
33883 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33884 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33885 group memberships.
984a4237 33886
18c9d62b
DM
338872012-03-28 David S. Miller <davem@davemloft.net>
33888
88d85d4f
DM
33889 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33890 that branches into memcpy.
33891 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33892 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33894 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33896 bits.
33897 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33898 implementation too.
33899 * sysdeps/sparc/mempcpy.S: New file.
33900
e5aa83e1
DM
33901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33902 the IFUNC routine in the libc case.
33903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33904
88570753
DM
33905 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33906 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33907 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33908 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33909 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33910 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33911 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33912 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33913
249d7567
DM
33914 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33915 loop to 256 bytes instead of 64 bytes and fix test signedness.
33916
18c9d62b
DM
33917 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33918 * sysdeps/sparc/sparc32/Makefile: rather than here...
33919 * sysdeps/sparc/sparc64/Makefile: and here.
33920
05f3d1f6
UD
339212012-03-28 Ulrich Drepper <drepper@gmail.com>
33922
33923 * malloc/mallocbug.c: Avoid warnings about unused variables.
33924
86ae07a8
JL
339252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33926
33927 [BZ #13760]
33928 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33929 in the right place. Discard and retry query if response is
33930 larger than input buffer size.
33931
41bf21a1
JM
339322012-03-28 Joseph Myers <joseph@codesourcery.com>
33933
d6270972
JM
33934 [BZ #369]
33935 [BZ #2678]
33936 [BZ #3866]
33937 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33938 x for large integer exponent.
33939 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33940 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33941 sign of result as needed afterwards.
33942 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33943 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33944 result for underflowing pow the same as for overflow.
33945 (__kernel_standard_l): Handle powl overflow and underflow here
33946 rather than calling __kernel_standard.
33947 * math/libm-test.inc (pow_test): Add more tests.
33948
414fca03 33949 [BZ #3868]
41bf21a1
JM
33950 [BZ #13879]
33951 [BZ #13910]
33952 [BZ #13911]
33953 [BZ #13912]
33954 [BZ #13913]
33955 [BZ #13915]
33956 [BZ #13916]
33957 [BZ #13917]
33958 [BZ #13918]
33959 [BZ #13919]
33960 [BZ #13920]
33961 [BZ #13921]
33962 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33963 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33964 (__kernel_standard_l): New function.
33965 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33966 __kernel_standard.
33967 * math/w_acosl.c (__acosl): Likewise.
33968 * math/w_asinl.c (__asinl): Likewise.
33969 * math/w_atan2l.c (__atan2l): Likewise.
33970 * math/w_atanhl.c (__atanhl): Likewise.
33971 * math/w_coshl.c (__coshl): Likewise.
33972 * math/w_exp10l.c (__exp10l): Likewise.
33973 * math/w_exp2l.c (__exp2l): Likewise.
33974 * math/w_fmodl.c (__fmodl): Likewise.
33975 * math/w_hypotl.c (__hypotl): Likewise.
33976 * math/w_j0l.c (__j0l, __y0l): Likewise.
33977 * math/w_j1l.c (__j1l, __y1l): Likewise.
33978 * math/w_jnl.c (__jnl, __ynl): Likewise.
33979 * math/w_lgammal.c (__lgammal): Likewise.
33980 * math/w_log10l.c (__log10l): Likewise.
33981 * math/w_log2l.c (__log2l): Likewise.
33982 * math/w_logl.c (__logl): Likewise.
33983 * math/w_powl.c (__powl): Likewise.
33984 * math/w_remainderl.c (__remainderl): Likewise.
33985 * math/w_scalbl.c (sysv_scalbl): Likewise.
33986 * math/w_sinhl.c (__sinhl): Likewise.
33987 * math/w_sqrtl.c (__sqrtl): Likewise.
33988 * math/w_tgammal.c (__tgammal): Likewise.
33989 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33990 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33991 * math/libm-test.inc (acos_test): Add more tests.
33992 (acosh_test): Likewise.
33993 (asin_test): Likewise.
33994 (atanh_test): Likewise.
33995 (exp_test): Likewise.
33996 (exp10_test): Likewise.
33997 (exp2_test): Likewise.
33998 (expm1_test): Likewise.
33999 (lgamma_test): Likewise.
34000 (log_test): Likewise.
34001 (log10_test): Likewise.
34002 (log1p_test): Likewise.
34003 (log2_test): Likewise.
34004 (pow_test): Do not allow some spurious overflow exceptions.
34005 (sqrt_test): Add more tests.
34006 (tgamma_test): Likewise.
34007 (y0_test): Likewise.
34008 (y1_test): Likewise.
34009 (yn_test): Likewise.
34010
dd62fda6
AB
340112012-03-27 Anton Blanchard <anton@samba.org>
34012
34013 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34014 MAP_HUGETLB.
34015 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34017 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34018
1e3cdfda
AJ
340192012-03-27 David S. Miller <davem@davemloft.net>
34020
b855ab85
DM
34021 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34022
1e3cdfda
AJ
34023 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34024 have-as-vis3 check.
34025
340262012-03-27 Andreas Jaeger <aj@suse.de>
34027
34028 * sysdeps/x86_64/elf/configure.in: Moved to ...
34029 * sysdeps/x86_64/configure.in: ... here.
34030 * sysdeps/x86_64/elf/start.S: Moved to ...
34031 * sysdeps/x86_64/start.S: ... here.
34032 * sysdeps/x86_64/elf/configure: Delete.
34033
34034 * sysdeps/x86_64/configure.in: Merge contents from
34035 sysdeps/i386/configure.in (without i686 check).
34036
34037 * sysdeps/i386/elf/Versions: Merge into ...
34038 * sysdeps/i386/Versions: ... this.
34039 * sysdeps/i386/elf/Versions: Delete file.
34040 * sysdeps/i386/elf/start.S: Moved to ...
34041 * sysdeps/i386/start.S: ...here.
34042 * sysdeps/i386/elf/configure.in: Merge into...
34043 * sysdeps/i386/configure.in: ...here.
34044 * sysdeps/i386/elf/configure.in: Delete file.
34045 * sysdeps/i386/elf/configure: Delete file.
34046
34047 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34048 * debug/backtracesyms.c: ... here.
34049 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34050 * debug/backtracesymsfd.c: ... here.
34051 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34052 * sysdeps/generic/ifunc-sel.h: ... here.
34053
34054 * sysdeps/unix/i386/start.c: Delete file.
34055 * sysdeps/unix/sparc/start.c: Delete file.
34056 * sysdeps/unix/start.c: Delete file.
34057
34058 * sysdeps/sh/elf/configure.in: Moved to ...
34059 * sysdeps/sh/configure.in: ... here.
34060 * sysdeps/sh/elf/start.S: Moved to ...
34061 * sysdeps/sh/start.S: ... here.
34062 * sysdeps/sh/elf/configure: Delete file.
34063
34064 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34065 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34066 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34067 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34068 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34069 * sysdeps/powerpc/powerpc64/start.S: here.
34070 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34071 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34072 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34073 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34074 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34075
34076 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34077 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34078 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34079 * sysdeps/powerpc/powerpc32/start.S: ... here.
34080 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34081 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34082 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34083
34084 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34085 * sysdeps/powerpc/ifunc-sel.h: ... here.
34086 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34087 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34088
34089 * sysdeps/sparc/elf/configure.in: Moved to ...
34090 * sysdeps/sparc/configure.in: ... here.
34091 * sysdeps/sparc/elf/configure: Delete file.
34092 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34093 * sysdeps/sparc/sparc32/start.S: ... here.
34094 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34095 * sysdeps/sparc/sparc64/start.S: ... here.
34096 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34097 * sysdeps/sparc/sparc32/Makefile: ... this.
34098 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34099 * sysdeps/sparc/sparc64/Makefile: ... this.
34100
34101 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34102 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34103 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34104 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34105 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34106 * sysdeps/s390/s390-32/setjmp.S: ... here.
34107 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34108 * sysdeps/s390/s390-32/configure.in: ... here.
34109 * sysdeps/s390/s390-32/elf/configure: Delete file.
34110 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34111 * sysdeps/s390/s390-32/start.S: ... here.
34112
34113 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34114 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34115 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34116 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34117 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34118 * sysdeps/s390/s390-64/setjmp.S: ... here.
34119 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34120 * sysdeps/s390/s390-64/configure.in: ... here
34121 * sysdeps/s390/s390-64/elf/configure: Delete file.
34122 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34123 * sysdeps/s390/s390-64/start.S: ... here.
34124 * sysdeps/s390/s390-64/elf/configure: Delete.
34125
34126 * configure.in: Remove support for elf directories in sysdeps.
34127
34128 * configure: Regenerated.
34129 * sysdeps/i386/configure: Regenerated.
34130 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34131 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34132 * sysdeps/s390/s390-32/configure: Regenerated.
34133 * sysdeps/s390/s390-64/configure: Regenerated.
34134 * sysdeps/sh/configure: Regenerated.
34135 * sysdeps/sparc/configure: Regenerated.
34136 * sysdeps/x86_64/configure: Regenerated.
34137
a3f61311
AS
341382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34139
c876e002
AS
34140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34141
a3f61311
AS
34142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34143 denormal result into account.
34144
ac4c54f0
RM
341452012-03-25 Roland McGrath <roland@hack.frob.com>
34146
34147 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34148 Reported by Allan McRae <allan@archlinux.org>.
34149
6a9b9c02
JL
341502012-03-23 Jeff Law <law@redhat.com>
34151
34152 * nss/getnssent.c (__nss_getent): Fix typo.
34153
4c42a0c1
DM
341542012-03-23 David S. Miller <davem@davemloft.net>
34155
34156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34157
1532c7ac
L
341582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34159
34160 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34161 to pad to uint64_t for each field.
34162 (dl_tls_index): Replace unsigned long with uint64_t.
34163
3ff42526
PP
341642012-03-23 Daniel Jacobowitz <dmj@google.com>
34165 Paul Pluzhnikov <ppluzhnikov@google.com>
34166
34167 [BZ #6528]
34168 * grp/Makefile (otherlibs): Don't set it.
34169 * inet/Makefile (otherlibs): Likewise.
34170 * login/Makefile (otherlibs): Likewise.
34171 * nscd/Makefile (otherlibs): Likewise.
34172 * posix/Makefile (otherlibs): Likewise.
34173 * pwd/Makefile (otherlibs): Likewise.
34174 * rt/Makefile (otherlibs): Likewise.
34175 * sunrpc/Makefile (otherlibs): Likewise.
34176 * nss/Makefile (otherlibs): Likewise.
34177 Add libnss_files to routines and static-only-routines.
34178 ($(objpfx)getent): Remove rule.
34179 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34180 static-only-routines.
34181
7c69cd14
JM
341822012-03-22 Joseph Myers <joseph@codesourcery.com>
34183
34184 [BZ #13892]
34185 * math/s_cexp.c: Include <float.h>.
34186 (__cexp): Handle exp result overflowing not necessarily
34187 overflowing both real and imaginary parts of result.
34188 * math/s_cexpf.c: Likewise.
34189 * math/s_cexpl.c: Likewise.
34190 * math/libm-test.inc (cexp_test): Add more tests.
34191 * sysdeps/i386/fpu/libm-test-ulps: Update.
34192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34193
81b035fe
L
341942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34195
34196 * include/link.h (ELFW): New macro.
34197 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34198 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34199
1da7940c
L
342002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34201
34202 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34203 with uint64_t.
34204
b749dbb9
L
342052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34206
34207 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34208 declaration.
34209 (struct La_x32_retval): Likewise.
34210
2ff87f3f
L
342112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34212
34213 * sysdeps/x86_64/preconfigure.in: New file.
34214 * sysdeps/x86_64/preconfigure: New generated file.
34215
c0df8e69
JM
342162012-03-22 Joseph Myers <joseph@codesourcery.com>
34217
48e44791
JM
34218 [BZ #13824]
34219 * math/e_exp2l.c: Include <float.h>.
34220 (__ieee754_exp2l): Handle overflow and underflow cases
34221 separately. Only pass fractional part of argument to
34222 __ieee754_expl.
34223 * math/libm-test.inc (exp2_test): Add more tests.
34224
c0df8e69
JM
34225 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34226 negating x to take absolute value.
34227 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34228 Likewise.
34229 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34230 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34231 Likewise.
34232 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34233 computing low part if x was negated.
34234 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34235
c8e43ba7
L
342362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34237
34238 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34239 la_x32_gnu_pltexit.
34240 (pltexit): Cast int_retval to ptrdiff_t.
34241 * elf/tst-auditmod3b.c: Likewise.
34242 * elf/tst-auditmod4b.c: Likewise.
34243 * elf/tst-auditmod5b.c: Likewise.
34244 * elf/tst-auditmod6b.c: Likewise.
34245 * elf/tst-auditmod6c.c: Likewise.
34246 * elf/tst-auditmod7b.c: Likewise.
34247
34248 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34249 and x32_gnu_pltexit.
34250
34251 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34252 __ELF_NATIVE_CLASS.
34253 (La_x32_regs): New macro.
34254 (La_x32_retval): Likewise.
34255 (la_x32_gnu_pltenter): New function prototype.
34256 (la_x32_gnu_pltexit): Likewise.
34257
7998fa78
AS
342582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34259
dcb33988
AS
34260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34261 exponent.
34262
233fc563
AS
34263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34264
7998fa78
AS
34265 * configure.in (libc_cv_cc_nofma): Check for option to disable
34266 generation of FMA instructions.
34267 * configure: Regenerate.
34268 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34269 * sysdeps/ieee754/dbl-64/Makefile: New file.
34270 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34271 Remove brandred-fma4.
34272 (CFLAGS-brandred-fma4.c): Remove.
34273 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34274 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34275 define.
34276 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34277 define.
34278
8e95c99a
L
342792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34280
34281 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34282 LLONG_MAX != LONG_MAX.
34283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34284 (_fitoa_word): Likewise.
34285 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34286 LLONG_MAX != LONG_MAX.
34287 * stdio-common/_itowa.h: Include <_itoa.h>.
34288 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34289 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34290 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34291 only if not defined.
34292 (_ITOA_WORD_TYPE): Likewise.
34293 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34294 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34295
6f4db457
DM
342962012-03-21 David S. Miller <davem@davemloft.net>
34297
34298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34299
7785fe5a
L
343002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34301
34302 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34303 of x86_64 when setting libc_cv_slibdir, libdir and
34304 libc_cv_localedir.
34305 * sysdeps/unix/sysv/linux/configure: Regenerated.
34306
4535cd55
JM
343072012-03-21 Joseph Myers <joseph@codesourcery.com>
34308
34309 * manual/lang.texi (Old Varargs): Remove section.
34310 (How Variadic): Update menu.
34311 (va_start): Do not mention varargs.h.
34312
17228132
TS
343132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34314 Joseph Myers <joseph@codesourcery.com>
34315
34316 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34317 link test.
34318 * configure: Regenerated.
34319
8149f976
TS
343202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34321
05f3d1f6
UD
34322 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34323 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34324 conformtest.pl
8149f976 34325
1a4ac776
JM
343262012-03-21 Joseph Myers <joseph@codesourcery.com>
34327
be22ce65
JM
34328 * NOTES: Remove.
34329 * Makefile (files-for-dist): Remove NOTES.
34330 (NOTES): Remove rule.
34331 * README: Don't refer to NOTES.
34332 * manual/creature.texi: Don't include macros.texi.
34333 * manual/intro.texi (creature.texi): Remove comment referring to
34334 NOTES.
34335
40b601fb
JM
34336 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34337 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34338 * configure: Regenerated.
34339 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34340 LIBC_TRY_CC_OPTION.
34341 (libc_cv_as_i686): Likewise.
34342 (libc_cv_cc_avx): Likewise.
34343 (libc_cv_cc_sse2avx): Likewise.
34344 (libc_cv_cc_fma4): Likewise.
34345 (libc_cv_cc_novzeroupper): Likewise.
34346 * sysdeps/i386/configure: Regenerated.
34347
1a4ac776
JM
34348 [BZ #13883]
34349 * sysdeps/i386/fpu/s_cexp.S: Remove.
34350 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34351 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34352 * math/libm-test.inc (cexp_test): Add more tests.
34353 * sysdeps/i386/fpu/libm-test-ulps: Update.
34354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34355
a458e7fe
AM
343562012-03-21 Allan McRae <allan@archlinux.org>
34357
34358 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34359
0cb7efc5
JM
343602012-03-21 Joseph Myers <joseph@codesourcery.com>
34361
34362 [BZ #13871]
34363 * math/w_exp2.c: Do not include <float.h>.
34364 (o_threshold, u_threshold): Remove.
34365 (__exp2): Calculate result before checking finiteness and calling
34366 __kernel_standard.
34367 * math/w_exp2f.c: Likewise.
34368 * math/w_exp2l.c: Likewise.
34369 * math/libm-test.inc (exp2_test): Require overflow exception for
34370 1e6 input.
2460d3aa
JM
34371
34372 [BZ #3866]
34373 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34374 range of signed 64-bit integers before using fistpll. Remove
34375 checks for whether integers fit in mantissa bits.
34376 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34377 the range of signed 32-bit integers before using fistpl. Remove
34378 checks for whether integers fit in mantissa bits.
34379 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34380 (__ieee754_powl): Test for y outside the range of signed 64-bit
34381 integers before using fistpll. Reduce 64-bit values to 63-bit
34382 ones as needed.
34383 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34384 divide-by-zero is raised for zero to large negative powers.
34385 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34386 (__ieee754_powl): Test for y outside the range of signed 64-bit
34387 integers before using fistpll. Reduce 64-bit values to 63-bit
34388 ones as needed.
34389 * math/libm-test.inc (pow_test): Add more tests.
34390
eb96ffb0
L
343912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34392
34393 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34394 <stdio-common/_itoa.h>.
34395 * debug/segfault.c: Likewise.
34396 * elf/dl-cache.c: Likewise.
34397 * elf/dl-minimal.c: Likewise.
34398 * elf/dl-misc.c: Likewise.
34399 * elf/dl-sysdep.c: Likewise.
34400 * elf/dl-version.c: Likewise.
34401 * elf/rtld.c: Likewise.
34402 * hurd/hurdsock.c: Likewise.
34403 * hurd/lookup-retry.c: Likewise.
34404 * malloc/malloc.c: Likewise.
34405 * malloc/mtrace.c: Likewise.
34406 * nscd/nscd_getgr_r.c: Likewise.
34407 * nscd/nscd_getpw_r.c: Likewise.
34408 * nscd/nscd_getserv_r.c: Likewise.
34409 * posix/getopt_init.c: Likewise.
34410 * posix/wordexp.c: Likewise.
34411 * stdio-common/_itoa.c: Likewise.
34412 * stdio-common/printf_fphex.c: Likewise.
34413 * stdio-common/vfprintf.c: Likewise.
34414 * string/_strerror.c: Likewise.
34415 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34416 * sysdeps/i386/i686/hp-timing.h: Likewise.
34417 * sysdeps/mach/_strerror.c: Likewise.
34418 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34419 * sysdeps/mach/hurd/sethostid.c: Likewise.
34420 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34421 * sysdeps/mach/xpg-strerror.c: Likewise.
34422 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34423 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34424 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34425 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34426 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34427 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34428 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34429 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34430 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34431 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34432 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34433 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34434 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34435 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34436 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34437 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34438 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34439 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34440 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34441 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34442 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34443
34444 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34445
34446 * stdio-common/_itoa.h: Moved to ...
34447 * sysdeps/generic/_itoa.h: Here.
34448
34449 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34450
34451 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34452 instead of "_itoa.h" and "_itowa.h".
34453 * stdio-common/vfprintf.: Likewise.
34454
d1af992d
L
344552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34456
34457 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34458 <bits/wordsize.h>.
34459 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34460 (__signbit): Likwise.
34461 (llrintf): Likwise.
34462 (llrint): Likwise.
34463
114883e0
L
344642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34465
34466 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34467 __WORDSIZE != 64.
34468
c135cc1b
JM
344692012-03-20 Joseph Myers <joseph@codesourcery.com>
34470
34471 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34472 OVERFLOW_EXCEPTION_OK.
34473 * math/libm-test.inc ("Philosophy"): Update comment about
34474 exception testing.
34475 (OVERFLOW_EXCEPTION): Define.
34476 (OVERFLOW_EXCEPTION_OK): Likewise.
34477 (INVALID_EXCEPTION_OK): Renumber.
34478 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34479 (IGNORE_ZERO_INF_SIGN): Likewise.
34480 (test_exceptions): Handle FE_OVERFLOW.
34481 (exp10_test): Expect overflow exceptions.
34482 (exp2_test): Likewise.
34483 (expm1_test): Likewise.
34484 (nextafter_test): Likewise.
34485 (pow_test): Likewise.
34486 (scalbn_test): Likewise.
34487 (scalbln_test): Likewise.
34488
95443d88
L
344892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34490
34491 * sysdeps/x86_64/bits/atomic.h
34492 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34493 64bit integer.
34494 (atomic_exchange_acq): Likewise.
34495 (__arch_exchange_and_add_body): Likewise.
34496 (__arch_add_body): Likewise.
34497 (atomic_add_negative): Likewise.
34498 (atomic_add_zero): Likewise.
34499
490df6c4
L
345002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34501
c2722551 34502 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34503 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34504
5e52b189
L
345052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34506
34507 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34508 Check __x86_64__ instead of __WORDSIZE.
34509
a9879d4c
L
345102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34511
34512 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34513
5df98260
DM
345142012-03-19 David S. Miller <davem@davemloft.net>
34515
e1497744
DM
34516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34517
5df98260
DM
34518 * sysdeps/sparc/fpu/fenv_private.h: New file.
34519 * sysdeps/sparc/fpu/math_private.h: Use it.
34520 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34521 Remove.
57f41c40 34522 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34523 (libc_feholdexcept_setroundl): Remove.
34524 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34525 Remove.
34526 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34527 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34528
b4c35121
L
345292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34530
34531 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34532 int64_t instead of long int.
34533 (INSERT_WORDS64): Likwise.
34534
56965fd7
L
345352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34536
34537 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34538 _Unwind_GetCFA return to _Unwind_Ptr first.
34539
83d1aec8
JM
345402012-03-19 Joseph Myers <joseph@codesourcery.com>
34541
1897ad44
JM
34542 [BZ #13629]
34543 * math/s_clog.c: Include <float.h>.
34544 (__clog): Scale large or subnormal inputs.
34545 * math/s_clogf.c: Likewise.
34546 * math/s_clogl.c: Likewise.
34547 * math/s_clog10.c: Include <float.h>.
34548 (M_LOG10_2): Define.
34549 (__clog10): Scale large or subnormal inputs.
34550 * math/s_clog10f.c: Likewise.
34551 * math/s_clog10l.c: Likewise.
34552 * math/libm-test.inc (clog_test): Add more tests.
34553 (clog10_test): Likewise.
34554 * sysdeps/i386/fpu/libm-test-ulps: Update.
34555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34556
7726d6a9
JM
34557 [BZ #11451]
34558 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34559 x and y.
34560 * math/libm-test.inc (atan2_test): Add another test.
34561
83d1aec8
JM
34562 * Makerules (common-objdir-compile): Remove.
34563 * sysdeps/unix/Makefile (config-generated): Do not add
34564 $(unix-generated) to variable.
34565 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34566 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34567 Remove rule.
34568 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34569 Likewise.
34570 [generic bits/local_lim.h] (before-compile): Do not append to
34571 variable.
34572 [generic bits/local_lim.h] (common-generated): Likewise.
34573 [generic sys/param.h] (before-compile): Do not append to variable.
34574 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34575 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34576 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34577 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34578 include.
34579 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34580 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34581 [generic sys/param.h] ($(addprefix
34582 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34583 [generic sys/param.h] (common-generated): Do not append to
34584 variable.
34585 [generic sys/param.h] (sysdep_headers): Likewise.
34586 [generic bits/errno.h] (before-compile): Do not append to
34587 variable.
34588 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34589 rule.
34590 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34591 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34592 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34593 [generic bits/errno.h] (common-generated): Do not append to
34594 variable.
34595 [generic bits/ioctls.h] (before-compile): Do not append to
34596 variable.
34597 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34598 rule.
34599 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34600 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34601 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34602 rule.
34603 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34604 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34605 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34606 [generic bits/ioctls.h] (common-generated): Do not append to
34607 variable.
34608 [generic sys/syscall.h] (syscall.h): Remove variable.
34609 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34610 rule.
34611 [generic sys/syscall.h] (before-compile): Do not append to
34612 variable.
34613 [generic sys/syscall.h] (common-generated): Likewise.
34614 * sysdeps/unix/errnos-tmpl.c: Remove file.
34615 * sysdeps/unix/errnos.awk: Likewise.
34616 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34617 * sysdeps/unix/ioctls.awk: Likewise.
34618 * sysdeps/unix/mk-local_lim.c: Likewise.
34619 * sysdeps/unix/snarf-ioctls: Likewise.
34620
4851a949
RH
346212012-03-19 Richard Henderson <rth@twiddle.net>
34622
bd37f2ee
RH
34623 * sysdeps/i386/fpu/fenv_private.h: New file.
34624 * sysdeps/i386/fpu/math_private.h: Use it.
34625 (math_opt_barrier, math_force_eval): Remove.
34626 (libc_feholdexcept_setround_53bit): Remove.
34627 (libc_feupdateenv_53bit): Remove.
34628 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34629 (math_opt_barrier, math_force_eval): Remove.
34630 (libc_feholdexcept): Remove.
34631 (libc_feholdexcept_setround): Remove.
34632 (libc_fetestexcept, libc_fesetenv): Remove.
34633 (libc_feupdateenv_test): Remove.
34634 (libc_feupdateenv, libc_feholdsetround): Remove.
34635 (libc_feresetround): Remove.
34636
d0adc922
RH
34637 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34638 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34639
0fe0f1f8
RH
34640 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34641 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34642 (libc_feupdateenv_testl): New.
34643 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34644 (libc_feupdateenv_testf): New.
34645 (libc_feupdateenv): Use libc_feupdateenv_test.
34646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34647 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34648
eb92c487
RH
34649 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34650 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34651 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34652 (libc_feresetround_noex): New.
34653 (libc_feresetround_noexf): New.
34654 (libc_feresetround_noexl): New.
34655 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34656 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34657 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34658 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34659 SET_RESTORE_ROUND.
34660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34662 (__cos): Likewise.
34663 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34664 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34665 SET_RESTORE_ROUND_NOEX.
34666 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34667 SET_RESTORE_ROUND_NOEXF.
34668 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34669 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34670 (libc_feholdsetroundf): New.
34671 (libc_feresetround, libc_feresetroundf): New.
34672
7d2e8012
RH
34673 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34674 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34675 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34676
b4dabbb4
RH
34677 * sysdeps/generic/math_private.h: Include <fenv.h>.
34678 (default_libc_feholdexcept): New.
34679 (default_libc_feholdexcept_setround): New.
34680 (default_libc_fesetenv, default_libc_feupdateenv): New.
34681 (libc_feholdexcept): Only define if undefined.
34682 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34683 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34684 (libc_feholdexcept_setroundl): Likewise.
34685 (libc_feholdexcept_setround_53bit): Likewise.
34686 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34687 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34688 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34689 (libc_feupdateenv_53bit): Likewise.
34690 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34691 (libc_feholdexcept): Convert from macro to inline function.
34692 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34693 (libc_fesetenv, libc_feupdateenv): Likewise.
34694
4851a949
RH
34695 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34696 not previously defined.
34697 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34698 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34699 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34700 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34701 * sysdeps/ieee754/flt-32/math_private.h: New file.
34702 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34703 math_private.h below SET_FLOAT_WORD.
34704 (__isnan, __isinf_ns, __finite): Remove.
34705 (__isnanf, __isinf_nsf, __finitef): Remove.
34706
e79d442e
AS
347072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34708
34709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34710
90b80344
DM
347112012-03-17 David S. Miller <davem@davemloft.net>
34712
34713 [BZ #6471]
34714 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34715 for 2.16.
34716
edc21804
DM
347172012-03-16 David S. Miller <davem@davemloft.net>
34718
77e927af
DM
34719 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34720 warnings.
34721
374976dd
DM
34722 [BZ #6471]
34723 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34724 properly.
34725 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34726 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34727 sysdep_routines when subdir is sysvipc.
34728 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34729 __getshmlba helper.
34730
edc21804
DM
34731 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34732
473c3ef3
L
347332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34734
34735 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34736 [__LP64__].
34737
eb0f39b6
L
347382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34739
34740 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34741 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34742 (__lround): Renamed to ...
34743 (__llround): This. Replace long int with long long int.
34744 Define lround functions as aliases of llround functions.
34745 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34746
6b6cd74b
L
347472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34748
34749 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34750 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34751 adresses to uintptr_t. Replace "long int" and "unsigned long
34752 int" with "greg_t" on va_arg.
34753
f1a77b01
L
347542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34755
34756 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34757 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34758
34759 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34760 Move e_machine check before EI_CLASS check. Handle x32
34761 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34762 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34763 SKIP_EM_IA_64 and include
34764 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34765
34766 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34767 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34768 (add_system_dir): New macro.
34769
34770 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34771 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34772
11b90b9f
JM
347732012-03-16 Joseph Myers <joseph@codesourcery.com>
34774
c36e1d23
JM
34775 [BZ #2551]
34776 [BZ #2552]
34777 [BZ #2553]
34778 [BZ #2554]
34779 [BZ #2562]
34780 [BZ #2563]
34781 [BZ #2565]
34782 [BZ #2566]
34783 [BZ #2576]
34784 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34785 (y0): Likewise.
34786 * math/w_j0f.c (j0f): Likewise.
34787 (y0f): Likewise.
34788 * math/w_j0l.c (__j0l): Likewise.
34789 (__y0l): Likewise.
34790 * math/w_j1.c (j1): Likewise.
34791 (y1): Likewise.
34792 * math/w_j1f.c (j1f): Likewise.
34793 (y1f): Likewise.
34794 * math/w_j1l.c (__j1l): Likewise.
34795 (__y1l): Likewise.
34796 * math/w_jn.c (jn): Likewise.
34797 (yn): Likewise.
34798 * math/w_jnf.c (jnf): Likewise.
34799 (ynf): Likewise.
34800 * math/w_jnl.c (__jnl): Likewise.
34801 (__ynl): Likewise.
34802 * math/libm-test.inc (j0_test): Add more tests.
34803 (j1_test): Likewise.
34804 (jn_test): Likewise. Add trailing semicolon to existing test.
34805 (y0_test): Likewise.
34806 (y1_test): Likewise.
34807 * sysdeps/i386/fpu/libm-test-ulps: Update.
34808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34809
11b90b9f
JM
34810 [BZ #13851]
34811 [BZ #13854]
34812 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34813 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34814 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34815 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34816 (__tanl): Set errno for infinite argument.
34817 * sysdeps/i386/fpu/mptan.c: Remove.
34818 * sysdeps/i386/fpu/s_tan.S: Likewise.
34819 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34820 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34821 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34822 * math/libm-test.inc (tan_test): Add more tests and enable more
34823 tests for double and long double.
34824 * sysdeps/i386/fpu/libm-test-ulps: Update.
34825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34826
6a1bd2a1
JK
348272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34828
34829 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34830 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34831
10a803e0
RM
348322012-03-16 Roland McGrath <roland@hack.frob.com>
34833
34834 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34835 * configure.in: Use it for both main tree and add-ons.
34836 * configure: Regenerated.
34837
f196c7f7
L
348382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34839
34840 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34841
8848d99d
JM
348422012-03-16 Joseph Myers <joseph@codesourcery.com>
34843
96cbe7f4
JM
34844 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34845 in comment.
34846
8848d99d
JM
34847 [BZ #13851]
34848 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34849 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34850 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34851 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34852 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34853 infinite argument.
34854 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34856 != 0 for prec == 2.
34857 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34858 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34859 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34860 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34861 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34862 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34863 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34864 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34865 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34866 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34867 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34868 * math/libm-test.inc (cos_test): Add more tests and enable more
34869 tests for long double.
34870 (sin_test): Likewise.
34871 (sincos_test): Likewise.
34872 * sysdeps/i386/fpu/libm-test-ulps: Update.
34873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34874
dd7f4703
DM
348752012-03-16 David S. Miller <davem@davemloft.net>
34876
34877 * sysdeps/sparc/fpu/math_private.h: New file.
34878
006f1daa
DM
348792012-03-15 David S. Miller <davem@davemloft.net>
34880
c0c83bc8
DM
34881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34882 file.
e6a62e18 34883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34885 file.
e6a62e18
DM
34886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34892 sysdep routines.
34893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34894
88cb87d9
DM
34895 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34896 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34897
006f1daa 34898 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34900 sparc-ifunc.h
006f1daa 34901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34903 Likewise.
34904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34905 Likewise.
006f1daa
DM
34906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34910 Likewise.
006f1daa
DM
34911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34916 Likewise.
34917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34918 Likewise.
006f1daa
DM
34919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34943
11e0098e
AS
349442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34945
34946 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34947 scaling.
34948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34949
e85b09d0
AJ
349502012-03-15 Andreas Jaeger <aj@suse.de>
34951
34952 [BZ #13852]
34953 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34954 ieee754/flt-32 implementation for sin, cos and sincos.
34955 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34956 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34957 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34958 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34959 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34960 ieee754/flt-32 implementation for tan.
34961
34962 * math/libm-test.inc (cos_test): Enable some large input tests for
34963 float as well
34964 (sin_test): Likewise.
34965 (sincos_test): Likewise.
34966 (tan_test): Add tests for large input.
34967
34968 * sysdeps/i386/fpu/libm-test-ulps: Update.
34969
81c64153
AJ
349702012-03-15 Andreas Jaeger <aj@suse.de>
34971
34972 [BZ #13658]
34973 * math/libm-test.inc (cos_test): Add more test cases.
34974 (sin_test): Likewise.
34975 (sincos_test): Likewise.
34976
7bbfa5c6
AJ
349772012-03-15 Andreas Jaeger <aj@suse.de>
34978
34979 [BZ #13837]
34980 * math/libm-test.inc (cos_test): Add a test case for large input
34981 value.
34982 (sin_test): Likewise.
34983 (sincos_test): Likewise.
34984
57f41c40
AS
349852012-03-15 Andreas Jaeger <aj@suse.de>
34986 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34987
34988 [BZ #13658]
0671f479 34989 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34990 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34991 * sysdeps/i386/fpu/branred.c: Likewise.
34992 * sysdeps/i386/fpu/dosincos.c: Likewise.
34993 * sysdeps/i386/fpu/mpa.c: Likewise.
34994 * sysdeps/i386/fpu/s_cos.S: Likewise.
34995 * sysdeps/i386/fpu/s_sin.S: Likewise.
34996 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34997 * sysdeps/i386/fpu/sincos32.c: Likewise.
34998
34999 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35000 Define.
35001 (libc_feupdateenv_53bit): Define.
35002 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35003 Define.
35004 (libc_feupdateenv_53bit): Define.
35005
35006 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35007 53 bit (without extend i386 double precision).
35008
35009 * math/libm-test.inc (sincos_test): Add tests for large input.
35010 (sin): Likewise.
35011 (cos): Likewise.
35012
35013 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35014
9cad04ea
AS
350152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35016
35017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35018
f7062b9a
DM
350192012-03-15 David S. Miller <davem@davemloft.net>
35020
35021 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35022 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35023 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35024 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35037 file.
f7062b9a 35038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35040 file.
f7062b9a 35041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35043 file.
f7062b9a 35044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35046 file.
f7062b9a
DM
35047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35049 fmin/fmax sysdep routines.
35050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35051
7bd951ff
DM
350522012-03-14 David S. Miller <davem@davemloft.net>
35053
559398ab
DM
35054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35083 routines.
35084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35085 file.
559398ab 35086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35088 file.
559398ab 35089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35091 file.
559398ab 35092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35094 file.
559398ab 35095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35097 file.
559398ab 35098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35100 file.
35101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35102 file.
35103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35104 file.
35105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35106 file.
35107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35108 New file.
35109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35110 file.
35111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35112 file.
559398ab 35113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35115 file.
559398ab 35116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35118 file.
559398ab 35119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35121 file.
559398ab 35122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35124 VIS3 routines.
559398ab
DM
35125
35126 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35127 New file.
35128
5a1c1e32
DM
35129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35130
eae47a36
DM
35131 * sysdeps/sparc/configure.in: New file.
35132 * sysdeps/sparc/configure: Generate.
35133 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35134 * configure: Regenerate.
35135 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35136 * config.make.in (have-as-vis3): New.
35137 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35138 available use -Av9d instead of -Av9a.
35139 * sysdeps/sparc/sparc64/Makefile: Likewise.
35140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35142 New file.
35143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35144 file.
35145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35146 New file.
35147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35148 file.
eae47a36
DM
35149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35154
c0c83bc8
DM
35155 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35156 fzeros/fnegs to load 0x80000000 into a float register instead of
35157 using the stack.
7bd951ff
DM
35158 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35159
bd951ccb
JM
351602012-03-14 Joseph Myers <joseph@codesourcery.com>
35161
35162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35163 bits/syscall.h.
35164 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35165 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35166 ($(inst_includedir)/bits/syscall.h): Remove rule.
35167 ($(objpfx)bits/syscall.d): Include instead of
35168 $(objpfx)syscall-list.d.
35169 (generated): Change syscall-list.h and syscall-list.d to
35170 bits/syscall.h and bits/syscall.d.
35171
bb4e6db2
RM
351722012-03-14 Roland McGrath <roland@hack.frob.com>
35173
35174 [BZ #13846]
35175 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35176
aa4a2ae1
JM
351772012-03-14 Joseph Myers <joseph@codesourcery.com>
35178
e456826d
JM
35179 [BZ #13841]
35180 * math/s_csqrt.c: Include <float.h>.
35181 (__csqrt): Scale large or subnormal inputs.
35182 * math/s_csqrtf.c: Likewise.
35183 * math/s_csqrtl.c: Likewise.
35184 * math/libm-test.inc (csqrt_test): Add more tests.
35185 * sysdeps/i386/fpu/libm-test-ulps: Update.
35186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35187
aa4a2ae1
JM
35188 [BZ #13840]
35189 * math/libm-test.inc (hypot_test): Add more tests.
35190
7c10fd35
DM
351912012-03-13 David S. Miller <davem@davemloft.net>
35192
35193 [BZ #13840]
35194 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35195 double-precision for the calculation instead of scaling.
35196
f453b98b
JM
351972012-03-13 Joseph Myers <joseph@codesourcery.com>
35198
35199 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35200 manipulate bits before adding and subtracting TWO52[sx].
35201 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35202 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35203 Likewise.
35204 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35205
09a3453f
DM
352062012-03-13 David S. Miller <davem@davemloft.net>
35207
8e59da90
DM
35208 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35209 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35211 rtld-global-offsets.h
35212 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35213
2a8ab7f2
DM
35214 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35215 large parameters.
35216
10f62770
DM
35217 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35218
5f0bdb18
DM
35219 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35220 'err' in the ifdef scope in which it is actually used.
35221
09a3453f
DM
35222 * nss/nss_db/db-init.c: Include string.h
35223
b4b2eb5e
DM
352242012-03-12 David S. Miller <davem@davemloft.net>
35225
98bb2f1c
DM
35226 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35227 masking out of the most significant byte of random value used.
35228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35229 Fix coding style in previous change.
35230
b4b2eb5e
DM
35231 * sysdeps/unix/sysv/linux/kernel-features.h
35232 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35233 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35234 expression.
35235 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35236 later.
35237
6e226b09
DM
352382012-03-11 David S. Miller <davem@davemloft.net>
35239
a1bcbd40
DM
35240 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35241 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35242 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35243 for 'resultvar' otherwise things get truncated on 64-bit.
35244
cb9d6174
DM
35245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35246 Fix masking out of the most significant byte of random value used.
35247
6e226b09
DM
35248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35249
058c132d
AS
352502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35251
35252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35253
2d2cd515
DM
352542012-03-09 David S. Miller <davem@davemloft.net>
35255
35256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35257 variables with appropriate CPP guards.
57f41c40
AS
35258 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35259 from the frame pointer, not the stack pointer. Correct layout
35260 comments. Fix test on resulting framesize and the management of
35261 the outregs buffer for pltexit. Preserve floating point return
35262 values across _dl_call_pltexit call.
2d2cd515
DM
35263 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35264 framesize and the management of the outregs buffer for pltexit.
35265 Preserve floating point return values across _dl_call_pltexit
35266 call.
57f41c40
AS
35267 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35268 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35269 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35270 (print_exit): Fix format string for return register value.
35271
9a07f9d0
JM
352722012-03-10 Joseph Myers <joseph@codesourcery.com>
35273
35274 * sunrpc/Makefile (others): Add rpcgen.
35275 ($(objpfx)rpcgen): Remove special build rule and dependency on
35276 libc.
35277 * sunrpc/rpcgen.c: New file.
35278
547b5e30
PE
352792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35280
c524201a
PE
35281 [BZ #13673]
35282 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35283 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35284 * sysdeps/i386/crti.S: Likewise.
35285 * sysdeps/i386/crtn.S: Likewise.
35286 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35287 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35288 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35289 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35290 * sysdeps/sh/crti.S: Likewise.
35291 * sysdeps/sh/crtn.S: Likewise.
35292 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35293
7b6235f2
PE
35294 [BZ #13673]
35295 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35296 with URL.
35297 * locale/programs/locfile-kw.gperf: Likewise.
35298 * locale/programs/charmap-kw.h: Regenerated.
35299 * locale/programs/locfile-kw.h: Likewise.
35300
547b5e30
PE
35301 [BZ #13673]
35302 * intl/plural.y: Replace FSF snail mail address with URL.
35303 * intl/plural.c: Regenerated.
35304
5f0a5dae
RH
353052012-03-09 Richard Henderson <rth@twiddle.net>
35306
35307 * include/math_private.h: Remove file.
35308 * math/math_private.h: Move file ...
35309 * sysdeps/generic/math_private.h: ... here.
35310
b8c03620
RH
35311 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35312 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35313 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35314
4e234f5d 35315 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35316 and <math_private.h>.
35317 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35318 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35319 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35320 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35321 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35322 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35325 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35326 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35328 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35332 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35333 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35334 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35335 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35336 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35337 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35338 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35339 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35341 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35347 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35349 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35350 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35351 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35352 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35353 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35354 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35355 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35356 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35357 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35358 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35359 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35360 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35361 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35362 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35363 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35364 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35365 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35366 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35367 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35368 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35369 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35370 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35371 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35372 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35373 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35375 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35376 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35377 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35378 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35380 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35381 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35382 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35383 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35384 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35385 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35386 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35387 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35388 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35389 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35391 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35397 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35398 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35400 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35401 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35404 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35405 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35406 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35407 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35408 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35409 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35410 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35411 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35412 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35413 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35414 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35415 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35416 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35417 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35418 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35419 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35420 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35421 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35422 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35423 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35424 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35425 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35426 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35427 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35428 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35429 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35430 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35431 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35432 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35433 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35434 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35435 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35436 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35437 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35438 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35439 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35440 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35441 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35442 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35443 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35444 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35445 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35446 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35447 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35448 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35449 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35450 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35451 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35452 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35453 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35454 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35455 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35456 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35457 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35458 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35459 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35460 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35461 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35462 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35463 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35464 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35465 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35466 * sysdeps/ieee754/k_standard.c: Likewise.
35467 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35468 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35469 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35470 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35471 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35472 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35473 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35475 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35476 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35477 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35479 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35480 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35481 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35482 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35483 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35484 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35485 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35486 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35488 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35489 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35490 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35492 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35493 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35494 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35498 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35499 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35500 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35501 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35503 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35504 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35505 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35506 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35507 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35508 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35509 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35510 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35511 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35512 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35513 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35515 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35516 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35518 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35519 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35520 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35521 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35522 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35523 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35524 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35525 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35526 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35527 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35528 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35529 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35533 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35536 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35539 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35540 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35543 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35544 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35546 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35547 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35548 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35549 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35550 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35553 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35554 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35558 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35559 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35560 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35563 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35564 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35565 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35566 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35568 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35571 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35572 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35573 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35574 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35575 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35576 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35577 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35578 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35579 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35580 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35581 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35582 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35583 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35586 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35587 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35588 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35589 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35590 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35592 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35594 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35595 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35596 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35598 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35599 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35600 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35601 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35605 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35609 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35611 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35612 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35614 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35615 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35616 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35617 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35618 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35619 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35620 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35621 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35624 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35626 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35627 * sysdeps/ieee754/s_lib_version.c: Likewise.
35628 * sysdeps/ieee754/s_matherr.c: Likewise.
35629 * sysdeps/ieee754/s_signgam.c: Likewise.
35630 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35631 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35632 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35633 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35634 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35635 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35636 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35637 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35638 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35639 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35640 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35641 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35642 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35643 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35644 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35645 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35646 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35647 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35648 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35650 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35651
1991fa03
JM
356522012-03-09 Joseph Myers <joseph@codesourcery.com>
35653
35654 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35655 * sunrpc/rpc_main.c: Likewise.
35656 * sunrpc/rpc_svcout.c: Likewise.
35657
60d6f5a6
DM
356582012-03-09 David S. Miller <davem@davemloft.net>
35659
35660 * include/math_private.h: New file.
35661
4962050e
JM
356622012-03-09 Joseph Myers <joseph@codesourcery.com>
35663
02a6f887
JM
35664 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35665 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35666 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35667 from <bits/socket_type.h>.
35668 (enum __socket_type): Don't define here.
35669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35671 bits/socket_type.h.
35672
c6e013c1
JM
35673 [BZ #13566]
35674 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35675 checking __USE_GNU.
35676
4962050e
JM
35677 * Makerules ($(inst_includedir)/%.h): New rule.
35678 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35679 (install-others): Remove variable setting.
35680 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35681
38842f45
RH
356822012-03-08 Richard Henderson <rth@twiddle.net>
35683
67bb6da6
RH
35684 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35685 from macro to inline function; merge with the
35686 !__LIBC_INTERNAL_MATH_INLINES version.
35687 (__ieee754_sqrtf): Likewise.
35688
15194b4b
RH
35689 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35690 to inline function.
35691 (__rintf, __floor, __floorf): Likewise.
35692
64e21ede
RH
35693 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35694 macro to inline function.
35695 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35696
38842f45
RH
35697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35698 not <math/math_private.h>.
35699
c64bf5fe
DM
357002012-03-08 David S. Miller <davem@davemloft.net>
35701
35702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35703 copyright year.
35704 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35705
82d86f28
TS
357062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35707
35708 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35709 normalization.
35710 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35711 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35712
aea5d727
UD
357132012-03-08 Ulrich Drepper <drepper@gmail.com>
35714
35715 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35716 be defined individually, they must be defined as a block. Define
35717 S for printing a string instead of hidint the different by using a
35718 macro for adding the 'l'.
35719 * stdio-common/tst-fphex-wide.c: Adjust.
35720
70bca0a3
MP
357212012-03-07 Marek Polacek <polacek@redhat.com>
35722
35723 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35724
65b81130
MP
357252012-03-08 Marek Polacek <polacek@redhat.com>
35726
35727 [BZ #13806]
35728 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35729 * stdio-common/tst-fphex.c: Define a few macros to make the
35730 test reusable. Use them.
35731 * stdio-common/tst-fphex-wide.c: New file.
35732
07037eeb
JM
357332012-03-08 Joseph Myers <joseph@codesourcery.com>
35734
a7a93d50
JM
35735 [BZ #6911]
35736 * manual/macros.texi (gnusystems): New macro.
35737 (nongnusystems): Likewise.
35738 (gnulinuxhurdsystems): Likewise.
35739 (gnuhurdsystems): Likewise..
35740 (gnulinuxsystems): Likewise.
35741 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35742 variants of the GNU system, not "GNU system".
35743 * manual/conf.texi: Likewise.
35744 * manual/errno.texi: Likewise. Update example of errno macro
35745 expansion.
35746 * manual/filesys.texi: Likewise.
35747 (getumask): Document as specific to GNU/Hurd.
35748 * manual/install.texi: Likewise. Reword some references to
35749 GNU/Linux.
35750 * manual/intro.texi: Likewise.
35751 * manual/io.texi: Likewise.
35752 (File Name Portability): Detail which constraints are inapplicable
35753 to all GNU systems and which are only inapplicable to GNU/Hurd.
35754 * manual/job.texi: Likewise.
35755 * manual/llio.texi: Likewise.
35756 (O_NOCTTY): Document as present on GNU/Linux.
35757 * manual/maint.texi: Likewise.
35758 * manual/memory.texi: Likewise.
35759 * manual/pattern.texi: Likewise.
35760 * manual/pipe.texi: Likewise.
35761 * manual/process.texi: Likewise.
35762 * manual/resource.texi: Likewise.
35763 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35764 child on GNU/Hurd.
35765 * manual/setjmp.texi: Likewise.
35766 * manual/signal.texi: Likewise.
35767 * manual/startup.texi: Likewise.
35768 * manual/stdio.texi: Likewise.
35769 * manual/terminal.texi: Likewise.
35770 (ONLCR): Document as POSIX.
35771 (OXTABS): Document availability on GNU/Linux as XTABS.
35772 (ONOEOT): Document availability separately from other bits.
35773 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35774 * manual/time.texi: Likewise.
35775 * manual/users.texi: Likewise.
35776 * INSTALL: Regenerated.
35777 * sysdeps/gnu/errlist.c: Regenerated.
35778
07037eeb
JM
35779 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35780 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35781 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35782 puts.
35783 * configure: Regenerated.
35784
d1d3431a
JM
357852012-03-07 Joseph Myers <joseph@codesourcery.com>
35786
af6a1e37
JM
35787 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35788 default includes instead of AC_HEADER_CHECK.
35789 * sysdeps/i386/configure: Regenerated.
35790
d1d3431a
JM
35791 [BZ #10716]
35792 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35793 * math/s_cacoshf.c (__cacoshf): Likewise.
35794 * math/s_cacoshl.c (__cacoshl): Likewise.
35795 * math/s_casinh.c (__casinh): Set signs of result from argument.
35796 * math/s_casinhf.c (__casinhf): Likewise.
35797 * math/s_casinhl.c (__casinhl): Likewise.
35798 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35799 (casinh_test): Add more tests.
35800 * sysdeps/i386/fpu/libm-test-ulps: Update.
35801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35802
482ff4da
UD
358032012-03-07 Ulrich Drepper <drepper@gmail.com>
35804
872fda05
UD
35805 * po/zh_TW.po: Update from translation team.
35806
a4300c7a
UD
35807 * login/Makefile (distribute): Remove variable.
35808 * catgets/Makefile: Likewise.
35809 * mach/Makefile: Likewise.
35810 * malloc/Makefile: Likewise.
35811 * misc/Makefile: Likewise.
35812 * iconv/Makefile: Likewise.
35813 * nscd/Makefile: Likewise.
35814 * hurd/Makefile: Likewise.
35815 * manual/Makefile: Likewise.
35816 * locale/Makefile: Likewise.
35817 * intl/Makefile: Likewise.
35818 * conform/Makefile: Likewise.
35819 * nss/Makefile: Likewise.
35820 * time/Makefile: Likewise.
35821 * soft-fp/Makefile: Likewise.
35822 * dirent/Makefile: Likewise.
35823 * gmon/Makefile: Likewise.
35824 * po/Makefile: Likewise.
35825 * rt/Makefile: Likewise.
35826 * socket/Makefile: Likewise.
35827 * math/Makefile: Likewise.
35828 * signal/Makefile: Likewise.
35829 * debug/Makefile: Likewise.
35830 * elf/Makefile: Likewise.
35831 * timezone/Makefile: Likewise.
35832 * stdlib/Makefile: Likewise.
35833 * iconvdata/Makefile: Likewise.
35834 * sunrpc/Makefile: Likewise.
35835 * io/Makefile: Likewise.
35836 * argp/Makefile: Likewise.
35837 * inet/Makefile: Likewise.
35838 * hesiod/Makefile: Likewise.
35839 * grp/Makefile: Likewise.
35840 * csu/Makefile: Likewise.
35841 * wctype/Makefile: Likewise.
35842 * crypt/Makefile: Likewise.
35843 * libio/Makefile: Likewise.
35844 * string/Makefile: Likewise.
35845 * nis/Makefile: Likewise.
35846 * resolv/Makefile: Likewise.
35847 * stdio-common/Makefile: Likewise.
35848 * wcsmbs/Makefile: Likewise.
35849 * dlfcn/Makefile: Likewise.
35850 * posix/Makefile: Likewise.
35851
3b7c4e74 35852 [BZ #6959]
482ff4da
UD
35853 * timezone/Makefile: Don't install timezone files, just the programs
35854 and scripts.
35855
f72ed77d
UD
358562012-03-06 Ulrich Drepper <drepper@gmail.com>
35857
a000466f
UD
35858 * nss/databases.def: Add missing gshadow entry.
35859
f72ed77d
UD
35860 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35861
a53b7a4e
MP
358622012-03-06 Marek Polacek <polacek@redhat.com>
35863
35864 [BZ #13726]
35865 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35866 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35867 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35868 * stdio-common/tst-long-dbl-fphex.c: New file.
35869
e9258400
DM
358702012-03-06 David S. Miller <davem@davemloft.net>
35871
35872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35873 (set_obp_int): New function.
35874 (get_obp_int): New function.
35875 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35877 Avoid unused variable warnings on 'val' and use builtin_expect.
35878 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35879 __builtin_expect.
e9258400
DM
35880 (INLINE_CLONE_SYSCALL): Likewise.
35881
3bd2c723
DM
358822012-03-05 David S. Miller <davem@davemloft.net>
35883
35884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35885
bbb78d03
AS
358862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35887
884c5db4
AS
35888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35889
bbb78d03
AS
35890 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35891 only for |x| >= 40.
35892 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35893
1c9f702a 358942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35895
35896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35897 Replace gettimeofday with __vdso_gettimeofday.
35898
7be16f82
RM
35899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35900 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35901 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35902
35903 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35904 time with __vdso_time.
35905
ed58a00f
JM
359062012-03-05 Joseph Myers <joseph@codesourcery.com>
35907
35908 * manual/lang.texi (size_t): Note types to which size_t may be
35909 equivalent with the GNU C Library, but do not describe when
35910 differences between them are significant.
35911
30ee4ced
AJ
359122012-03-05 Andreas Jaeger <aj@suse.de>
35913
35914 * sysdeps/i386/fpu/libm-test-ulps: Update.
35915
b7cd39e8
JM
359162012-03-05 Joseph Myers <joseph@codesourcery.com>
35917
35918 [BZ #3976]
35919 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35920 (__ieee754_pow): Save and restore rounding mode and use
35921 round-to-nearest for main computations.
35922 * math/libm-test.inc (pow_test_tonearest): New function.
35923 (pow_test_towardzero): Likewise.
35924 (pow_test_downward): Likewise.
35925 (pow_test_upward): Likewise.
35926 (main): Call the new functions.
35927 * sysdeps/i386/fpu/libm-test-ulps: Update.
35928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35929
35930 [BZ #3976]
35931 * math/libm-test.inc (cosh_test_tonearest): New function.
35932 (cosh_test_towardzero): Likewise.
35933 (cosh_test_downward): Likewise.
35934 (cosh_test_upward): Likewise.
35935 (sinh_test_tonearest): Likewise.
35936 (sinh_test_towardzero): Likewise.
35937 (sinh_test_downward): Likewise.
35938 (sinh_test_upward): Likewise.
35939 (main): Call the new functions.
35940 * sysdeps/i386/fpu/libm-test-ulps: Update.
35941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35942
6c6a98c9
TV
359432012-03-05 Tom de Vries <tom@codesourcery.com>
35944
35945 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35946 default stack guard is set in last bytes.
35947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35948
21bb2d2e 359492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35950
21bb2d2e 35951 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35952
21bb2d2e
AJ
35953 [BZ #13656]
35954 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35955 possibly allocate from heap instead of stack.
35956 * stdio-common/bug-vfprintf-nargs.c: New file.
35957 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35958
c6922934
AS
359592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35960
35961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35962
bc957d53
MP
359632012-03-03 Marek Polacek <polacek@redhat.com>
35964
35965 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35966 * math/math_private.h: Likewise.
35967 * stdlib/tst-strtod.c: Likewise.
35968 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35969 * sysdeps/x86_64/bits/atomic.h: Likewise.
35970
6358490d
DM
359712012-03-02 David S. Miller <davem@davemloft.net>
35972
35973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35977 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35978 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35979 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35980 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35981
01ae168d
RM
359822012-03-02 Roland McGrath <roland@hack.frob.com>
35983
d9a17c07
RM
35984 [BZ #13792]
35985 * manual/examples/README: New file, says the example source files
35986 can be used under GPL>=2.
35987 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35988 line containing just "*/".
35989 * manual/examples/add.c: Add copyright header (GPL>=2).
35990 * manual/examples/argp-ex1.c: Likewise.
35991 * manual/examples/argp-ex2.c: Likewise.
35992 * manual/examples/argp-ex3.c: Likewise.
35993 * manual/examples/argp-ex4.c: Likewise.
35994 * manual/examples/atexit.c: Likewise.
35995 * manual/examples/db.c: Likewise.
35996 * manual/examples/dir.c: Likewise.
35997 * manual/examples/dir2.c: Likewise.
35998 * manual/examples/execinfo.c: Likewise.
35999 * manual/examples/filecli.c: Likewise.
36000 * manual/examples/filesrv.c: Likewise.
36001 * manual/examples/fmtmsgexpl.c: Likewise.
36002 * manual/examples/genpass.c: Likewise.
36003 * manual/examples/inetcli.c: Likewise.
36004 * manual/examples/inetsrv.c: Likewise.
36005 * manual/examples/isockad.c: Likewise.
36006 * manual/examples/longopt.c: Likewise.
36007 * manual/examples/memopen.c: Likewise.
36008 * manual/examples/memstrm.c: Likewise.
36009 * manual/examples/mkfsock.c: Likewise.
36010 * manual/examples/mkisock.c: Likewise.
36011 * manual/examples/mygetpass.c: Likewise.
36012 * manual/examples/pipe.c: Likewise.
36013 * manual/examples/popen.c: Likewise.
36014 * manual/examples/rprintf.c: Likewise.
36015 * manual/examples/search.c: Likewise.
36016 * manual/examples/select.c: Likewise.
36017 * manual/examples/setjmp.c: Likewise.
36018 * manual/examples/sigh1.c: Likewise.
36019 * manual/examples/sigusr.c: Likewise.
36020 * manual/examples/stpcpy.c: Likewise.
36021 * manual/examples/strdupa.c: Likewise.
36022 * manual/examples/strftim.c: Likewise.
36023 * manual/examples/strncat.c: Likewise.
36024 * manual/examples/subopt.c: Likewise.
36025 * manual/examples/swapcontext.c: Likewise.
36026 * manual/examples/termios.c: Likewise.
36027 * manual/examples/testopt.c: Likewise.
36028 * manual/examples/testpass.c: Likewise.
36029 * manual/examples/timeval_subtract.c: Likewise.
36030
01ae168d
RM
36031 [BZ #13792]
36032 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36033 function to ...
36034 * manual/timeval_subtract.c.texi: ... here, new file.
36035
49efa33d
DM
360362012-03-02 David S. Miller <davem@davemloft.net>
36037
36038 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36039
28afd92d
JM
360402012-03-02 Joseph Myers <joseph@codesourcery.com>
36041
804360ed
JM
36042 [BZ #3976]
36043 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36044 (__sin): Save and restore rounding mode and use round-to-nearest
36045 for all computations.
36046 (__cos): Save and restore rounding mode and use round-to-nearest
36047 for all computations.
36048 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36049 <fenv.h>.
36050 (tan): Save and restore rounding mode and use round-to-nearest for
36051 all computations.
36052 * math/libm-test.inc (cos_test_tonearest): New function.
36053 (cos_test_towardzero): Likewise.
36054 (cos_test_downward): Likewise.
36055 (cos_test_upward): Likewise.
36056 (sin_test_tonearest): Likewise.
36057 (sin_test_towardzero): Likewise.
36058 (sin_test_downward): Likewise.
36059 (sin_test_upward): Likewise.
36060 (tan_test_tonearest): Likewise.
36061 (tan_test_towardzero): Likewise.
36062 (tan_test_downward): Likewise.
36063 (tan_test_upward): Likewise.
36064 (main): Call the new functions.
36065 * sysdeps/i386/fpu/libm-test-ulps: Update.
36066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36067
a6d06d7b
JM
36068 [BZ #10135]
36069 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36070 small n, then large n, before computing and testing k+n.
36071 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36073 Likewise.
36074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36075 Likewise.
36076 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36077 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36078 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36079 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36082 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36083 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36084 * math/libm-test.inc (scalbn_test): Add more tests.
36085 (scalbln_test): Likewise.
36086
07e12bb3
JM
36087 * manual/filesys.texi (mode_t): Describe constraints on size and
36088 signedness, not exact equivalence to a particular type.
36089 (ino_t): Likewise.
36090 (ino64_t): Likewise.
36091 (dev_t): Likewise.
36092 (nlink_t): Likewise.
36093 (blkcnt_t): Likewise.
36094 (blkcnt64_t): Likewise.
36095 * manual/llio.texi (off_t): Likewise.
36096
28afd92d
JM
36097 [BZ #3976]
36098 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36099 (__ieee754_exp): Save and restore rounding mode and use
36100 round-to-nearest for all computations.
36101 * math/libm-test.inc (exp_test_tonearest): New function.
36102 (exp_test_towardzero): Likewise.
36103 (exp_test_downward): Likewise.
36104 (exp_test_upward): Likewise.
36105 (main): Call the new functions.
36106 * sysdeps/i386/fpu/libm-test-ulps: Update.
36107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36108
b1eeb65d
CD
361092012-03-01 Chris Demetriou <cgd@google.com>
36110
36111 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36112 have predictable order.
36113
53362a4b
DM
361142012-03-01 David S. Miller <davem@davemloft.net>
36115
3c969083
DM
36116 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36117
759707de
DM
36118 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36119 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36120 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36121 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36122
dfdb8ff2
DM
36123 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36124 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36125 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36127 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36128 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36129 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36130 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36131 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36132
ead89f96
DM
36133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36134
7f66bd07
DM
36135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36136 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36137 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36138
53362a4b
DM
36139 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36140 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36141 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36142 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36143 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36145 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36146 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36147 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36148 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36149 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36150 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36152 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36153 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36155 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36156 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36157 * sysdeps/sparc/elf/configure: Regenerated.
36158
7b1902cb
JM
361592012-03-01 Joseph Myers <joseph@codesourcery.com>
36160
bec039bc
JM
36161 * configure.in (AS, LD): Require binutils 2.20 or later.
36162 * configure: Regenerated.
36163 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36164 as required minimum version.
36165 * INSTALL: Regenerated.
36166
7b1902cb
JM
36167 [BZ #2541]
36168 [BZ #4108]
36169 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36170 before squaring exponent.
36171 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36172 bottom long double and 27 bits of top long double before squaring
36173 exponent.
36174 * math/libm-test.inc (erfc_test): Add more tests.
36175 * sysdeps/i386/fpu/libm-test-ulps: Update.
36176 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36178
f775c276
KT
361792012-03-01 Kai Tietz <ktietz@redhat.com>
36180
36181 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36182 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36183 containing bit-fields.
36184 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36185 * soft-fp/single.h (_FP_UNION_S): Likewise.
36186 * soft-fp/double.h (_FP_UNION_D): Likewise.
36187
5b8a4d4a
JM
361882012-02-29 Joseph Myers <joseph@codesourcery.com>
36189
0bab47b6
JM
36190 [BZ #13786]
36191 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36192 not include ../strcmp.S.
36193 [USE_AS_STRNCASECMP_L]: Likewise.
36194 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36195 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36196 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36197 (__strncasecmp_l_ia32): Define as alias to
36198 __strncasecmp_l_nonascii.
36199
0fcad3e2
JM
36200 [BZ #5794]
36201 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36202 * sysdeps/i386/fpu/libm-test-ulps: Update.
36203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36204
5b8a4d4a
JM
36205 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36207
8fdceb2e
JL
362082012-02-29 Jeff Law <law@redhat.com>
36209
36210 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36211 out of bounds read.
36212
1f393a11
MP
362132012-02-29 Marek Polacek <polacek@redhat.com>
36214
36215 [BZ #13706]
36216 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36217 * elf/Makefile: Add rules to run tst-unused-dep.out.
36218
8847f037
DM
362192012-02-28 David S. Miller <davem@davemloft.net>
36220
36221 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36222 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36223 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36224 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36225 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36226 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36227
169d7f11
JM
362282012-02-29 Joseph Myers <joseph@codesourcery.com>
36229
36230 * math/libm-test.inc (llround_test): Move one test from
36231 lround_test. Use TEST_f_L in moved test.
36232 (lround_test): Move misplaced test to llround_test. Add testcase
36233 from bug 2561.
36234
39adf059
UD
362352012-02-28 Ulrich Drepper <drepper@gmail.com>
36236
36237 * sysdeps/x86_64/fpu/e_expf.S: New file.
36238 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36239
71b5d1c5
SB
362402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36241
36242 [BZ #13637]
36243 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36244 of remain_len that may cause incomplete multi-byte character and
36245 false match.
36246 * posix/bug-regex33.c: New file.
36247 * posix/Makefile (tests): Add bug-regex33.
36248
1f77f049
JM
362492012-02-28 Joseph Myers <joseph@codesourcery.com>
36250
36251 * manual/macros.texi: New file.
36252 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36253 * manual/libc.texinfo: Include macros.texi.
36254 * manual/creatute.texi: Likewise.
36255 * manual/install.texi: Likewise.
36256 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36257 @glibcadj{} in references to the GNU C Library.
36258 * manual/charset.texi: Likewise.
36259 * manual/conf.texi: Likewise.
36260 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36261 when not using those macros.
36262 * manual/creature.texi: Likewise.
36263 * manual/crypt.texi: Likewise.
36264 * manual/errno.texi: Likewise.
36265 * manual/filesys.texi: Likewise.
36266 * manual/header.texi: Likewise.
36267 * manual/install.texi: Likewise.
36268 * manual/intro.texi: Likewise.
36269 * manual/io.texi: Likewise.
36270 * manual/job.texi: Likewise.
36271 * manual/lang.texi: Likewise.
36272 * manual/libc.texiinfo: Likewise.
36273 * manual/llio.texi: Likewise.
36274 * manual/locale.texi: Likewise.
36275 * manual/maint.texi: Likewise.
36276 * manual/math.texi: Likewise.
36277 * manual/memory.texi: Likewise.
36278 * manual/message.texi: Likewise.
36279 * manual/nss.texi: Likewise.
36280 * manual/pattern.texi: Likewise.
36281 * manual/process.texi: Likewise.
36282 * manual/resource.texi: Likewise.
36283 * manual/search.texi: Likewise.
36284 * manual/setjmp.texi: Likewise.
36285 * manual/signal.texi: Likewise.
36286 * manual/socket.texi: Likewise.
36287 * manual/startup.texi: Likewise.
36288 * manual/stdio.texi: Likewise.
36289 * manual/string.texi: Likewise.
36290 * manual/sysinfo.texi: Likewise.
36291 * manual/syslog.texi: Likewise.
36292 * manual/terminal.texi: Likewise.
36293 * manual/time.texi: Likewise.
36294 * manual/users.texi: Likewise.
36295 * INSTALL: Regenerated.
36296 * NOTES: Regenerated.
d40c5d54 36297 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36298
450bf206
AS
362992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36300
36301 * include/dirent.h: Include <dirstream.h> before
36302 <dirent/dirent.h>.
36303
741a235b
DM
363042012-02-28 David S. Miller <davem@davemloft.net>
36305
36306 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36307 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36308 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36309 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36310
d6b5aa58
DM
363112012-02-27 David S. Miller <davem@davemloft.net>
36312
1aff59a3
DM
36313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36315 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36316 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36317
d6b5aa58
DM
36318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36319 frame pointer instead of stack pointer relative arg slot.
36320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36321 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36322 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36323
433f48bf
CD
363242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36325
36326 [BZ #3992]
36327 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36328
d674b76d
DM
363292012-02-27 David S. Miller <davem@davemloft.net>
36330
36331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36337 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36338 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36339
0e7727f7
JM
363402012-02-27 Joseph Myers <joseph@codesourcery.com>
36341
36342 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36343 later. Allow versions 5-9.
43be4ca2 36344 * configure: Regenerated.
0e7727f7
JM
36345 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36346 required minimum version and 4.6 as recommended version. Do not
36347 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36348 * INSTALL: Regenerated.
0e7727f7 36349
a78bc654
DM
363502012-02-27 David S. Miller <davem@davemloft.net>
36351
428d5830
DM
36352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36356 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36357 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36358 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36359 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36360
a78bc654
DM
36361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36362 manipulate bits before adding and subtracting TWO112[sx].
36363 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36364
4579f81c
RM
363652012-02-27 Roland McGrath <roland@hack.frob.com>
36366
36c8acb4
RM
36367 [BZ #13775]
36368 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36369 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36370 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36371 being in POSIX, because they are in 1003.1-2008.
36372
84ad622b
RM
36373 * rt/tst-aio.c: Include <fcntl.h>.
36374 * rt/tst-aio7.c: Likewise.
36375 * rt/tst-aio64.c: Likewise.
36376
4579f81c
RM
36377 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36378
abd923db
JM
363792012-02-27 Joseph Myers <joseph@codesourcery.com>
36380
36381 * manual/install.texi (--with-headers): Describe headers as
36382 interface headers, not private headers.
36383 (Specific advice for GNU/Linux systems): Describe use of headers
36384 from "make headers_install", not private headers from older
36385 kernels.
43be4ca2 36386 * INSTALL: Regenerated.
abd923db
JM
36387 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36388 Change to 2.6.19.
36389 * sysdeps/unix/sysv/linux/configure: Regenerated.
36390
6664049b
JM
36391 * manual/llio.texi (fclean): Remove documentation.
36392
bb8b6697
JM
36393 * manual/Makefile (libc-texi-generated): New variable. Include
36394 version.texi.
36395 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36396 $(libc-texi-generated), not duplicated list of files.
36397 (version.texi, stamp-version): New rules.
36398 (realclean): Remove $(libc-texi-generated), not individual files
36399 from that list. Do not remove dir-add.texinfo.
36400 * manual/libc.texinfo: Comment out uses of edition numbers and
36401 references to printed manual. Remove last-updated dates.
36402 (EDITION): Comment out.
36403 (ISBN): Likewise.
36404 (VERSION, UPDATED): Remove.
36405 (version.texi): Include.
36406
12e5c3b9
AS
364072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36408
36409 * sysdeps/posix/spawni.c: Include <signal.h>.
36410 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36411 * sysdeps/pthread/aio_fsync.c: Likewise.
36412
4efeffc1 364132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36414
ba63ba08
UD
36415 * conform/Makefile (tests): Run only when not cross-compiling and
36416 when fast-check is not defined.
36417
d94a4670
UD
36418 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36419 * conform/data/limits.h-data: Fixes for POSIX2008.
36420 * conform/run-conformtest.sh: Run all tests.
36421 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36422 headers.
36423 * include/bits/dlfcn.h: Likewise.
36424 * include/langinfo.h: Likewise.
36425 * include/monetary.h: Likewise.
36426 * include/sys/poll.h: Likewise.
36427
36428 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36429 for __USE_GNU.
36430 * posix/spawn.h: Define __need_sigset_t.
36431 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36432 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36433 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36434 to get sigevent_t only.
36435 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36436 only for __USE_GNU.
36437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36438 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36439 process_vm_writev only for __USE_GNU.
36440 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36441
36442 * conform/Makefile: For now ignore errors from run-conformtest.
36443 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36444 POSIX to avoid namespace pollution. Don't prepend headers.
36445 * conform/data/aio.h-data: Fixes for POSIX testing.
36446 * conform/data/fcntl.h-data: Likewise.
36447 * conform/data/glob.h-data: Likewise.
36448 * conform/data/grp.h-data: Likewise.
36449 * conform/data/pthread.h-data: Likewise.
36450 * conform/data/pwd.h-data: Likewise.
36451 * conform/data/signal.h-data: Likewise.
36452 * conform/data/spawn.h-data: Likewise.
36453 * conform/data/stdio.h-data: Likewise.
36454 * conform/data/stdlib.h-data: Likewise.
36455 * conform/data/stropts.h-data: Likewise.
36456 * conform/data/sys/mman.h-data: Likewise.
36457 * conform/data/sys/stat.h-data: Likewise.
36458 * conform/data/sys/types.h-data: Likewise.
36459 * conform/data/sys/wait.h-data: Likewise.
36460 * conform/data/time.h-data: Likewise.
36461 * conform/data/unistd.h-data: Likewise.
36462 * conform/data/utime.h-data: Likewise.
36463
36464 * io/sys/stat.h: fchmod was always in POSIX.
36465 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36466 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36467 * rt/aio.h: Define __need_timespec before including <time.h>.
36468 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36469 struct. Add forward declaration of pthread_attr_t and use it in
36470 sigevent.
36471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36473 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36474 always remove CLK_TCK definition.
36475
c20105c3
AS
364762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36477
36478 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36479
7a270350
UD
364802012-02-25 Ulrich Drepper <drepper@gmail.com>
36481
31341567
UD
36482 * conform/run-conformtest.sh: New file.
36483 * conform/Makefile: Run run-conformtest for tests.
36484 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36485 support.
36486
36487 * conform/data/uchar.h-data: New file.
36488 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36489 * conform/data/arpa/inet.h-data: Likewise.
36490 * conform/data/assert.h-data: Likewise.
36491 * conform/data/complex.h-data: Likewise.
36492 * conform/data/cpio.h-data: Likewise.
36493 * conform/data/ctype.h-data: Likewise.
36494 * conform/data/dirent.h-data: Likewise.
36495 * conform/data/dlfcn.h-data: Likewise.
36496 * conform/data/errno.h-data: Likewise.
36497 * conform/data/fcntl.h-data: Likewise.
36498 * conform/data/float.h-data: Likewise.
36499 * conform/data/fmtmsg.h-data: Likewise.
36500 * conform/data/fnmatch.h-data: Likewise.
36501 * conform/data/ftw.h-data: Likewise.
36502 * conform/data/glob.h-data: Likewise.
36503 * conform/data/grp.h-data: Likewise.
36504 * conform/data/iconv.h-data: Likewise.
36505 * conform/data/inttypes.h-data: Likewise.
36506 * conform/data/langinfo.h-data: Likewise.
36507 * conform/data/libgen.h-data: Likewise.
36508 * conform/data/limits.h-data: Likewise.
36509 * conform/data/locale.h-data: Likewise.
36510 * conform/data/math.h-data: Likewise.
36511 * conform/data/monetary.h-data: Likewise.
36512 * conform/data/mqueue.h-data: Likewise.
36513 * conform/data/ndbm.h-data: Likewise.
36514 * conform/data/net/if.h-data: Likewise.
36515 * conform/data/netdb.h-data: Likewise.
36516 * conform/data/netinet/in.h-data: Likewise.
36517 * conform/data/nl_types.h-data: Likewise.
36518 * conform/data/poll.h-data: Likewise.
36519 * conform/data/pthread.h-data: Likewise.
36520 * conform/data/pwd.h-data: Likewise.
36521 * conform/data/regex.h-data: Likewise.
36522 * conform/data/sched.h-data: Likewise.
36523 * conform/data/search.h-data: Likewise.
36524 * conform/data/semaphore.h-data: Likewise.
36525 * conform/data/setjmp.h-data: Likewise.
36526 * conform/data/signal.h-data: Likewise.
36527 * conform/data/spawn.h-data: Likewise.
36528 * conform/data/stdarg.h-data: Likewise.
36529 * conform/data/stdio.h-data: Likewise.
36530 * conform/data/stdlib.h-data: Likewise.
36531 * conform/data/string.h-data: Likewise.
36532 * conform/data/strings.h-data: Likewise.
36533 * conform/data/stropts.h-data: Likewise.
36534 * conform/data/sys/ipc.h-data: Likewise.
36535 * conform/data/sys/mman.h-data: Likewise.
36536 * conform/data/sys/msg.h-data: Likewise.
36537 * conform/data/sys/resource.h-data: Likewise.
36538 * conform/data/sys/select.h-data: Likewise.
36539 * conform/data/sys/sem.h-data: Likewise.
36540 * conform/data/sys/shm.h-data: Likewise.
36541 * conform/data/sys/socket.h-data: Likewise.
36542 * conform/data/sys/stat.h-data: Likewise.
36543 * conform/data/sys/statvfs.h-data: Likewise.
36544 * conform/data/sys/time.h-data: Likewise.
36545 * conform/data/sys/timeb.h-data: Likewise.
36546 * conform/data/sys/times.h-data: Likewise.
36547 * conform/data/sys/types.h-data: Likewise.
36548 * conform/data/sys/uio.h-data: Likewise.
36549 * conform/data/sys/un.h-data: Likewise.
36550 * conform/data/sys/utsname.h-data: Likewise.
36551 * conform/data/sys/wait.h-data: Likewise.
36552 * conform/data/syslog.h-data: Likewise.
36553 * conform/data/tar.h-data: Likewise.
36554 * conform/data/termios.h-data: Likewise.
36555 * conform/data/utime.h-data: Likewise.
36556 * conform/data/utmpx.h-data: Likewise.
36557 * conform/data/varargs.h-data: Likewise.
36558 * conform/data/wchar.h-data: Likewise.
36559 * conform/data/wctype.h-data: Likewise.
36560 * conform/data/wordexp.h-data: Likewise.
36561
36562 * include/stropts.h: New file.
36563 * include/uchar.h: New file.
36564 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36565 * include/assert.h: Likewise.
36566 * include/ctype.h: Likewise.
36567 * include/dirent.h: Likewise.
36568 * include/dlfcn.h: Likewise.
36569 * include/fcntl.h: Likewise.
36570 * include/fnmatch.h: Likewise.
36571 * include/glob.h: Likewise.
36572 * include/grp.h: Likewise.
36573 * include/libio.h: Likewise.
36574 * include/locale.h: Likewise.
36575 * include/math.h: Likewise.
36576 * include/net/if.h: Likewise.
36577 * include/netdb.h: Likewise.
36578 * include/netinet/in.h: Likewise.
36579 * include/pthread.h: Likewise.
36580 * include/pwd.h: Likewise.
36581 * include/regex.h: Likewise.
36582 * include/sched.h: Likewise.
36583 * include/search.h: Likewise.
36584 * include/setjmp.h: Likewise.
36585 * include/signal.h: Likewise.
36586 * include/stdio.h: Likewise.
36587 * include/stdlib.h: Likewise.
36588 * include/string.h: Likewise.
36589 * include/sys/cdefs.h: Likewise.
36590 * include/sys/mman.h: Likewise.
36591 * include/sys/msg.h: Likewise.
36592 * include/sys/resource.h: Likewise.
36593 * include/sys/select.h: Likewise.
36594 * include/sys/socket.h: Likewise.
36595 * include/sys/stat.h: Likewise.
36596 * include/sys/statvfs.h: Likewise.
36597 * include/sys/time.h: Likewise.
36598 * include/sys/times.h: Likewise.
36599 * include/sys/uio.h: Likewise.
36600 * include/sys/utsname.h: Likewise.
36601 * include/sys/wait.h: Likewise.
36602 * include/termios.h: Likewise.
36603 * include/time.h: Likewise.
36604 * include/ulimit.h: Likewise.
36605 * include/unistd.h: Likewise.
36606 * include/utime.h: Likewise.
36607 * include/wchar.h: Likewise.
36608 * include/wctype.h: Likewise.
36609 * include/wordexp.h: Likewise.
36610
36611 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36612
7a270350
UD
36613 * time/time.h: TIME_UTC must be a macro.
36614 Make timespec_get available for ISO C11 only as well.
36615
7724defc
UD
366162012-02-24 Ulrich Drepper <drepper@gmail.com>
36617
36618 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36619 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36620
6b1d1d46
JM
366212012-02-24 Joseph Myers <joseph@codesourcery.com>
36622
36623 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36624
0f8bbd69
JM
366252012-02-24 Joseph Myers <joseph@codesourcery.com>
36626
36627 * manual/texinfo.tex: Update to version 2012-01-19.16.
36628
66ab80bc
JM
366292012-02-24 Joseph Myers <joseph@codesourcery.com>
36630
36631 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36632
74981cc5
RM
366332012-02-24 Roland McGrath <roland@hack.frob.com>
36634
ee968201
RM
36635 [BZ #13738]
36636 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36637 * manual/fdl-1.3.texi: New file.
36638 * manual/fdl-1.1.texi: File removed.
36639
74981cc5
RM
36640 [BZ #13738]
36641 * manual/libc.texinfo (FDL_VERSION): New @set.
36642 Use it for mention of FDL in cover text.
36643 (Documentation License): Use it in @include file name.
36644
7bb764bc
JM
366452012-02-22 Joseph Myers <joseph@codesourcery.com>
36646 Roland McGrath <roland@hack.frob.com>
36647
36648 [BZ #5461]
57f41c40
AS
36649 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36650 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36651 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36652 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36653 name.
36654 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36655
6cbeae47
JM
366562012-02-22 Joseph Myers <joseph@codesourcery.com>
36657
36658 [BZ #2547]
36659 [BZ #11365]
36660 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36661 manipulate bits before adding and subtracting TWO23[sx].
36662 * math/libm-test.inc (nearbyint_test): Add more tests.
36663
fe45ce09
JM
366642012-02-22 Joseph Myers <joseph@codesourcery.com>
36665
36666 [BZ #2548]
36667 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36668 bits before adding and subtracting TWO23[sx].
36669 * math/libm-test.inc (rint_test): Add more tests.
36670 (rint_test_tonearest): Likewise.
36671 (rint_test_towardzero): Likewise.
36672 (rint_test_downward): Likewise.
36673 (rint_test_upward: Likewise.
36674
ff3b3d82
JM
366752012-02-22 Joseph Myers <joseph@codesourcery.com>
36676
36677 [BZ #10110]
36678 * include/stdc-predef.h: New file. Extracted from features.h.
36679 * include/features.h: Include stdc-predef.h.
36680 * Makefile (headers): Add stdc-predef.h.
36681 * CONFORMANCE (Compiler limitations): Update.
36682
ef0aab35
JM
366832012-02-22 Joseph Myers <joseph@codesourcery.com>
36684
36685 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36686
58639409
DM
366872012-02-21 David S. Miller <davem@davemloft.net>
36688
36689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36690 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36691
c0e70b25
DM
366922012-02-20 David S. Miller <davem@davemloft.net>
36693
36694 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36695 using a normal save/restore sequence, rather than allocating a
36696 dummy stack frame just to store a frame pointer and restore.
36697 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36698
fb06851d
JM
366992012-02-21 Joseph Myers <joseph@codesourcery.com>
36700
36701 * manual/install.texi: Fix stray word in line-wrapped comment.
36702
7a8b71c3
DM
367032012-02-20 David S. Miller <davem@davemloft.net>
36704
d510c123
DM
36705 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36706 both binutils and gcc support GOTDATA.
36707
0722d7c2
DM
36708 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36709 "rd %pc" in the PIC register setup sequences.
36710
3d2b3019
DM
36711 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36712 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36713 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36714 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36715 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36718 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36720 (SYSCALL_ERROR_HANDLER): Likewise.
36721 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36722 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36724 (SYSCALL_ERROR_HANDLER): Likewise.
36725
c80098a9
DM
36726 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36727 (HAVE_GCC_GOTDATA): New.
36728 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36729 relocation support in both binutils and gcc.
36730 * sysdeps/sparc/elf/configure: Regenerate.
36731
3a2545a0
DM
36732 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36733 * sysdeps/sparc/sparc32/elf/configure: Delete.
36734 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36735 * sysdeps/sparc/sparc64/elf/configure: Delete.
36736 * sysdeps/sparc/elf/configure.in: New file.
36737 * sysdeps/sparc/elf/configure: Generate.
36738
7a8b71c3
DM
36739 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36740 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36741 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36742 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36743 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36744
f1e86fca
JM
367452012-02-21 Joseph Myers <joseph@codesourcery.com>
36746
36747 * manual/install.texi: Do not mention specific glibc version
36748 numbers.
36749 * manual/libc.texinfo (VERSION, UPDATED): Update.
36750 (@copying): Use @copyright{} and range of years.
36751
0e7dfaef
JM
367522012-02-21 Joseph Myers <joseph@codesourcery.com>
36753
36754 [BZ #13695]
36755 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36756 [crti.S not in sysdirs] (generated): Do not append.
36757 [crti.S not in sysdirs] (omit-deps): Likewise.
36758 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36759 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36760 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36761 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36762 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36763 Likewise.
36764 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36765 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36766 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36767 * csu/defs.awk: Remove file.
36768 * sysdeps/generic/initfini.c: Likewise.
36769 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36770 variable.
36771 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36772 Likewise.
36773
599af3ca
JM
367742012-02-20 Joseph Myers <joseph@codesourcery.com>
36775
36776 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36777 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36778 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36779 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36781 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36782 <bits/epoll.h>.
36783 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36784 (__EPOLL_PACKED): Define to empty if not defined by
36785 <bits/epoll.h>.
36786 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36788 bits/epoll.h.
36789
0e499750
JM
367902012-02-20 Joseph Myers <joseph@codesourcery.com>
36791
36792 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36793 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36794 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36795 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36796 <bits/timerfd.h>.
36797 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36799 bits/timerfd.h.
36800
5ad91f6e
JM
368012012-02-20 Joseph Myers <joseph@codesourcery.com>
36802
36803 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36804 in C locale.
36805 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36806 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36807 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36809
06b99b02
AJ
368102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36811
36812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36813 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36814
7638c0fd
AS
368152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36816
36817 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36818 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36819 defined.
36820 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36821 Likewise.
36822 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36823 entry for 2.16.
36824
92221550
AJ
368252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36826
36827 * math/w_acos.c: Use non-signaling floating-point comparisons.
36828 * math/w_acosf.c: Likewise.
36829 * math/w_acosh.c: Likewise.
36830 * math/w_acoshf.c: Likewise.
36831 * math/w_acoshl.c: Likewise.
36832 * math/w_acosl.c: Likewise.
36833 * math/w_asin.c: Likewise.
36834 * math/w_asinf.c: Likewise.
36835 * math/w_asinl.c: Likewise.
36836 * math/w_atanh.c: Likewise.
36837 * math/w_atanhf.c: Likewise.
36838 * math/w_atanhl.c: Likewise.
36839 * math/w_exp2.c: Likewise.
36840 * math/w_exp2f.c: Likewise.
36841 * math/w_exp2l.c: Likewise.
36842 * math/w_j0.c: Likewise.
36843 * math/w_j0f.c: Likewise.
36844 * math/w_j0l.c: Likewise.
36845 * math/w_j1.c: Likewise.
36846 * math/w_j1f.c: Likewise.
36847 * math/w_j1l.c: Likewise.
36848 * math/w_jn.c: Likewise.
36849 * math/w_jnf.c: Likewise.
36850 * math/w_log.c: Likewise.
36851 * math/w_log10.c: Likewise.
36852 * math/w_log10f.c: Likewise.
36853 * math/w_log10l.c: Likewise.
36854 * math/w_log2.c: Likewise.
36855 * math/w_log2f.c: Likewise.
36856 * math/w_log2l.c: Likewise.
36857 * math/w_logf.c: Likewise.
36858 * math/w_logl.c: Likewise.
36859 * math/w_sqrt.c: Likewise.
36860 * math/w_sqrtf.c: Likewise.
36861 * math/w_sqrtl.c: Likewise.
36862 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36863 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36864 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36865 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36866 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36867
ebaf36eb
JM
368682012-02-19 Joseph Myers <joseph@codesourcery.com>
36869
36870 [BZ #9739]
36871 * manual/string.texi (strnlen): Use correct parameter name in
36872 equivalent expression.
36873
71c254a6
JM
368742012-02-19 Joseph Myers <joseph@codesourcery.com>
36875
36876 [BZ #11174]
36877 * manual/users.texi (seteuid): Consistently use neweuid for
36878 argument name.
36879
16d2c631
JM
368802012-02-19 Joseph Myers <joseph@codesourcery.com>
36881
36882 [BZ #13704]
36883 * manual/nss.texi (Services in the NSS configuration): Correct
36884 list of services in example configuration file.
36885
cd837b09
NB
368862012-02-19 Nick Bowler <nbowler@draconx.ca>
36887
36888 [BZ #11322]
36889 * manual/arith.texi: Remove statements about negative zero
36890 behaving identically to zero.
36891
02c4bbad
JM
368922012-02-18 Joseph Myers <joseph@codesourcery.com>
36893
36894 [BZ #5993]
36895 * manual/install.texi: Do not document upgrading from libc5.
36896
366842e7
JM
368972012-02-18 Joseph Myers <joseph@codesourcery.com>
36898
36899 [BZ #4596]
36900 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36901
dd54084d
DM
369022012-02-18 David S. Miller <davem@davemloft.net>
36903
36904 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36905 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36906 %o7 across the call.
36907 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36908 instead.
36909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36910 SETUP_PIC_REG_LEAF.
36911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36912 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36913 * sysdeps/sparc/crtn.S: Likewise.
36914
2bcc53a3
UD
369152012-02-17 Ulrich Drepper <drepper@gmail.com>
36916
36917 * aout/Makefile: Remove.
36918
09c093b5
RK
369192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36920
36921 [BZ #13058]
36922 * manual/examples/argp-ex1.c (main): Format definition in GNU
36923 style.
36924 * manual/examples/argp-ex2.c (main): Likewise.
36925 * manual/examples/argp-ex3.c (main): Likewise.
36926 * manual/examples/argp-ex4.c (main): Likewise.
36927 * manual/examples/longopt.c (main): Use new-style prototype
36928 definition.
36929 * manual/examples/strncat.c (main): Specify return type and use
36930 (void) for arguments.
36931 * manual/examples/subopt.c (main): Use char **argv argument.
36932
2ee633a2
JM
369332012-02-17 Joseph Myers <joseph@codesourcery.com>
36934
36935 [BZ #5077]
36936 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36937 rounding modes.
36938
0520adde
FB
369392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36940
36941 [BZ #6907]
36942 * manual/string.texi (strchr): Change when strchrnul is
36943 recommended.
36944
3f4081cd
DGM
369452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36946
36947 [BZ #174]
36948 * manual/locale.texi (setlocale): Document LOCPATH.
36949
d1b10e78
JM
369502012-02-17 Joseph Myers <joseph@codesourcery.com>
36951
36952 [BZ #10210]
36953 * manual/process.texi (execle): Move @dots{} before last argument.
36954
79c6869c
PB
369552012-02-17 Paul Bolle <pebolle@tiscali.nl>
36956
36957 [BZ #12047]
36958 * manual/charset.texi (Generic Charset Conversion): Fix typo
36959 (LC_TYPE -> LC_CTYPE).
36960
cc6e48bc
NB
369612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36962
36963 [BZ #5805]
36964 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36965 (scalbnf): Likewise.
36966 (scalbnl): Likewise.
36967 (scalbln): Likewise.
36968 (scalblnf): Likewise.
36969 (scalblnl): Likewise.
36970 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36971 (vwarnx): Likewise.
36972 (verr): Likewise.
36973 (verrx): Likewise.
36974 * manual/filesys.texi (telldir): Use braces around return type.
36975 * manual/llio.texi (mmap): Add space after comma.
36976 (mmap64): Likewise.
36977 * manual/math.texi (jn): Use @var{} on parameter names.
36978 (jnf): Likewise.
36979 (jnl): Likewise.
36980 (yn): Likewise.
36981 (ynf): Likewise.
36982 (ynl): Likewise.
36983 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36984 line.
36985 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36986 "...".
36987 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36988 (sched_get_priority_max): Likewise.
36989 * manual/signal.texi (sigvec): Add space after comma.
36990 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36991 names.
36992 (if_indextoname): Likewise.
36993 (if_freenameindex): Likewise.
36994 (sendto): Use ',' instead of '.' in prototype.
36995 * manual/startup.texi (syscall): Use @dots{} instead of literal
36996 "...".
36997 * manual/stdio.texi (__fpending): Separate initial words of
36998 paragraph from @deftypefun line.
36999 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37000 "...".
37001 (vsyslog): Use @var{} on parameter names.
37002 * manual/terminal.texi (stty): Use @var{} on parameter names.
37003 * manual/users.texi (getutmp): Use @var{} on parameter names.
37004 (getutmpx): Likewise.
37005
5b23062f
JM
370062012-02-17 Joseph Myers <joseph@codesourcery.com>
37007
37008 [BZ #6884]
37009 * manual/stdio.texi (fopen): Fix typos in description of
37010 ",ccs=STRING".
37011
8dee4833
AJ
370122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37013
37014 [BZ #4026]
37015 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37016 get clock_id definition.
37017
9078ce93
TS
370182012-02-17 Thomas Schwinge <thomas@schwinge.name>
37019
37020 [BZ #4822]
37021 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37022 (madvise): Cast every argument to void on its own.
37023
3835c55f
JM
370242012-02-17 Joseph Myers <joseph@codesourcery.com>
37025
37026 [BZ #9902]
37027 * manual/startup.texi (Exit Status): Fix typo.
37028
35c47e37
JM
370292012-02-17 Joseph Myers <joseph@codesourcery.com>
37030
37031 [BZ #10140]
37032 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37033 * manual/examples/argp-ex2.c: Likewise.
37034 * manual/examples/argp-ex3.c: Likewise.
37035
e3b69ca7
RH
370362012-02-16 Richard Henderson <rth@redhat.com>
37037
37038 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37039 * sysdeps/s390/s390-32/initfini.c: Remove.
37040 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37041 * sysdeps/s390/s390-64/initfini.c: Remove.
37042
df83af67
KK
370432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37044
37045 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37046 compiler output for sysdeps/generic/initfini.c.
37047 * sysdeps/sh/elf/initfini.c: Remove file.
37048
f63f3380
DM
370492012-02-16 David S. Miller <davem@davemloft.net>
37050
fb59b3a4
DM
37051 [BZ #11494]
37052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37053
f63f3380
DM
37054 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37055 * sysdeps/sparc/crti.S: New file.
37056 * sysdeps/sparc/crtn.S: New file.
37057 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37058 * sysdeps/sparc/sparc64/Makefile: Likewise.
37059
df6a4a4a
MF
370602012-02-15 Mike Frysinger <vapier@gentoo.org>
37061
6dd8f3dc 37062 [BZ #3335]
df6a4a4a
MF
37063 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37064
1cac7236
RM
370652012-02-15 Roland McGrath <roland@hack.frob.com>
37066
d2c736f8
RM
37067 [BZ #4822]
37068 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37069
1cac7236
RM
37070 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37071 (write, read, close): Likewise.
37072 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37073
8e475601
JM
370742012-02-15 Joseph Myers <joseph@codesourcery.com>
37075
37076 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37077 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37078 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37079 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37080 <bits/signalfd.h>.
37081 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37083 bits/signalfd.h.
37084
ed656b40
MP
370852012-02-14 Marek Polacek <polacek@redhat.com>
37086
37087 * sysdeps/x86_64/crti.S: New file.
37088 * sysdeps/x86_64/crtn.S: New file.
37089 * sysdeps/x86_64/elf/initfini.c: Remove file.
37090
2a979d3a
JM
370912012-02-13 Joseph Myers <joseph@codesourcery.com>
37092
37093 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37094 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37095 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37096 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37097 <bits/inotify.h>.
37098 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37100 bits/inotify.h.
37101
2a418ac3
JM
371022012-02-13 Joseph Myers <joseph@codesourcery.com>
37103
37104 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37105 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37106 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37107 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37108 <bits/eventfd.h>.
37109 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37111 bits/eventfd.h.
37112
fb779be7
TS
371132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37114
e19e83c5
RM
37115 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37116 __feraiseexcept instead of feraiseexcept.
7c35ffed 37117
fb779be7
TS
37118 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37119 nanosleep invocations.
37120 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37121 strings, and add error checking for a nanosleep invocations.
37122
59ba27a6
PE
371232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37124
37125 Replace FSF snail mail address with URLs, as per GNU coding standards.
37126 Most of the snail mail addresses were wrong anyway, and omitting
37127 them makes the source code easier to maintain. Almost all of the
37128 changes are to license notices and to locale LC_IDENTIFICATION
37129 addresses, except for this one:
37130 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37131 not its snail mail address.
37132
57b957eb
RH
371332012-02-09 Richard Henderson <rth@twiddle.net>
37134
af850b1c
RH
37135 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37136 of kernel-features.h.
37137
57b957eb
RH
37138 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37139
6b73181a
MP
371402012-02-08 Marek Polacek <polacek@redhat.com>
37141
37142 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37143 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37144 * sysdeps/gnu/_G_config.h: Likewise.
37145 * sysdeps/generic/_G_config.h: Likewise.
37146
26ecc33a
AS
371472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37148
6c6dbc63
AS
37149 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37150 tests.
37151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37152
e216c012
AS
37153 * sysdeps/powerpc/powerpc32/crti.S: New file.
37154 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37155 * sysdeps/powerpc/powerpc64/crti.S: New file.
37156 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37157
26ecc33a
AS
37158 * Makeconfig (have-initfini): Don't set.
37159 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37160 * configure.in (nopic_initfini): Don't substitute.
37161 * config.h.in (HAVE_INITFINI): Don't #undef.
37162 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37163 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37164
3add8e13
JM
371652012-02-08 Joseph Myers <joseph@codesourcery.com>
37166
37167 Support crti.S and crtn.S provided directly by architectures.
37168 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37169 [crti.S in sysdirs] (omit-deps): Likewise.
37170 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37171 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37172 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37173 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37174 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37175 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37176 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37177 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37178 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37179 compiler output for sysdeps/generic/initfini.c.
37180 * sysdeps/i386/elf/Makefile: Remove file.
37181 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37182
a22f12b4
MP
371832012-02-07 Marek Polacek <polacek@redhat.com>
37184
37185 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37186 * sysdeps/gnu/_G_config.h: Likewise.
37187 * sysdeps/mach/hurd/_G_config.h: Likewise.
37188
148cf100
MP
371892012-02-07 Marek Polacek <polacek@redhat.com>
37190
37191 * math/Makefile (tests): Add tst-CMPLX2.
37192 * math/tst-CMPLX2.c: New file.
37193
cfdc0dd7
AS
371942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37195
84ba42c4
AS
37196 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37197
cfdc0dd7
AS
37198 * math/libm-test.inc (jn_test): Add missing L suffix.
37199
622c86f4
MP
372002012-02-06 Marek Polacek <polacek@redhat.com>
37201
37202 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37203 * sysdeps/i386/fpu/e_powf.S: Likewise.
37204 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37205 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37206 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37207 * sysdeps/i386/fpu/e_pow.S: Likewise.
37208 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37209 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37210 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37211 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37212 * sysdeps/i386/fpu/e_log2.S: Likewise.
37213 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37214 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37215 * sysdeps/i386/fpu/e_powl.S: Likewise.
37216 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37217 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37218 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37219 * sysdeps/i386/fpu/e_logl.S: Likewise.
37220 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37221 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37222 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37223 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37225 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37226 * sysdeps/i386/fpu/e_log.S: Likewise.
37227 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37228 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37229 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37230 * sysdeps/i386/fpu/e_logf.S: Likewise.
37231 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37232 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37233 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37234 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37235 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37236 * sysdeps/i386/fpu/e_log10.S: Likewise.
37237 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37238 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37239 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37240 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37241 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37242 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37243 * sysdeps/i386/asm-syntax.h: Likewise.
37244 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37246 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37247 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37248 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37249 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37250 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37251 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37252 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37253 * sysdeps/powerpc/sysdep.h: Likewise.
37254 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37255 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37256
d4a54ac6
JM
372572012-02-06 Joseph Myers <joseph@codesourcery.com>
37258
37259 [BZ #411]
37260 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37261
314054ea
JM
372622012-02-06 Joseph Myers <joseph@codesourcery.com>
37263
37264 * sysdeps/i386/sysdep.h: Include <features.h>.
37265 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37266 version.
37267
d8e0ca50
JM
372682012-02-05 Joseph Myers <joseph@codesourcery.com>
37269
37270 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37271 Define.
37272 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37273 LOAD_PIC_REG_STR.
37274
b1da7dd9
JM
372752012-02-03 Joseph Myers <joseph@codesourcery.com>
37276
37277 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37278 (SETUP_PIC_REG): Use GET_PC_THUNK.
37279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37280 macro.
37281
9a1d9254
JM
372822012-02-03 Joseph Myers <joseph@codesourcery.com>
37283
37284 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37285 for non-PIC compilation.
37286 (SETUP_PIC_REG): Add .p2align directive.
37287 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37288 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37289 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37290 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37291 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37292 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37293 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37294 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37295 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37296 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37297 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37298 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37299 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37300 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37301 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37302 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37303 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37304 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37305 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37306 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37308 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37309 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37310 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37311 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37313 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37315 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37316 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37317 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37318 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37319 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37320 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37321 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37322 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37323 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37324 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37325 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37326 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37327 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37328
65dc3b75
JM
373292012-02-03 Joseph Myers <joseph@codesourcery.com>
37330
37331 * math/tst-CMPLX.c: Include <stdio.h>.
37332
d55bf177
JM
373332012-01-31 Joseph Myers <joseph@codesourcery.com>
37334
37335 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37336 float.
37337 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37338 * sysdeps/sparc/bits/mathdef.h: Likewise.
37339
69db4f8f
MP
373402012-01-31 Marek Polacek <polacek@redhat.com>
37341
37342 * libio/libio.h: Don't define _PARAMS.
37343 * locale/programs/config.h: Don't define PARAMS.
37344 * stdlib/strtol_l.c: Likewise.
37345 (__strtol_l): Remove PARAMS from the prototype.
37346
41b81892
UD
373472012-01-31 Ulrich Drepper <drepper@gmail.com>
37348
3b49edc0
UD
37349 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37350 names. Just use the correct names. Remove unnecessary wrapper
37351 functions.
37352 * malloc/arena.c: Likewise.
37353 * malloc/hooks.c: Likewise.
37354
41b81892
UD
37355 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37356 ARENA_TEST says not to. Simplify test for creation of a new arena.
37357 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37358
27a25b6e
UD
373592012-01-30 Ulrich Drepper <drepper@gmail.com>
37360
37361 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37362 into tail calls.
37363 (update_get_addr): New function.
37364 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37365 GET_ADDR_MODULE parameter.
37366
c8a89e7d
JM
373672012-01-30 Joseph Myers <joseph@codesourcery.com>
37368
37369 * crypt/cert.c: Remove __STDC__ conditionals.
37370 * crypt/crypt-entry.c: Likewise.
37371 * crypt/crypt_util.c: Likewise.
37372 * libio/filedoalloc.c: Likewise.
37373 * libio/fileops.c: Likewise.
37374 * libio/genops.c: Likewise.
37375 * libio/iofclose.c: Likewise.
37376 * libio/iofdopen.c: Likewise.
37377 * libio/iofopen.c: Likewise.
37378 * libio/iofopen64.c: Likewise.
37379 * libio/iogetdelim.c: Likewise.
37380 * libio/iopopen.c: Likewise.
37381 * libio/obprintf.c: Likewise.
37382 * libio/oldfileops.c: Likewise.
37383 * libio/oldiofclose.c: Likewise.
37384 * libio/oldiofdopen.c: Likewise.
37385 * libio/oldiofopen.c: Likewise.
37386 * libio/oldiopopen.c: Likewise.
37387 * libio/wfiledoalloc.c: Likewise.
37388 * libio/wgenops.c: Likewise.
37389 * locale/programs/xmalloc.c: Likewise.
37390 * misc/syslog.c: Likewise.
37391 * stdio-common/xbug.c: Likewise.
37392 * string/memchr.c: Likewise.
37393 * string/memcmp.c: Likewise.
37394 * string/memrchr.c: Likewise.
37395 * string/rawmemchr.c: Likewise.
37396 * sysdeps/posix/getcwd.c: Likewise.
37397 * time/strftime_l.c: Likewise.
37398
3b100462
JM
373992012-01-30 Joseph Myers <joseph@codesourcery.com>
37400
37401 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37402 * config.make.in (config-cflags-sse2avx): Define.
37403 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37404 Fix typo.
37405
607998af
CM
374062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37407
37408 * scripts/config.guess: Update from upstream config git repository.
37409 * scripts/config.sub: Likewise.
37410
3601428f
CM
374112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37412
3ac8b282
CM
37413 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37414 (EM_NUM): Update.
37415 (R_TILEPRO_*, R_TILEGX_*): New macros.
37416
e034841e
CM
37417 * scripts/firstversions.awk: Fix bug in version range handling.
37418
540d7568
CM
37419 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37420
3601428f
CM
37421 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37422
463de862
CM
37423 * include/sys/epoll.h: New file.
37424 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37425 libc_hidden_def.
37426
73139a76
UD
374272012-01-28 Ulrich Drepper <drepper@gmail.com>
37428
96bc5b45
UD
37429 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37430 Avoid unnecessary __WORDSIZE == 64 test.
37431 (fmaxf): Use VEX format if possible.
37432 (fmax): Likewise.
37433 (fminf): Likewise.
37434 (fmin): Likewise.
37435
56f6f6a2
UD
37436 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37437 * math/math_private.h: Remove libc_fegetround* and
37438 libc_fesetround*.
37439 * sysdeps/i386/configure.in: Check for -msse2avx.
37440 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37441 also if SSE2AVX is defined.
37442 Remove libc_fegetround* and libc_fesetround*.
37443 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37444 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37446 of HAS_YMM_USABLE.
37447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37448 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37452
73139a76
UD
37453 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37454
d73f93a4
AZ
374552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37456
37457 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37458 size is not set.
37459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37460
6ee65ed6
UD
374612012-01-27 Ulrich Drepper <drepper@gmail.com>
37462
37463 [BZ #13618]
37464 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37465 relocation.
37466 * Makeconfig (libm): Define.
37467 * elf/Makefile: Add rules to build and run tst-relsort1.
37468 * elf/tst-relsort1.c: New file.
37469 * elf/tst-relsort1mod1.c: New file.
37470 * elf/tst-relsort1mod2.c: New file.
37471
8db21882
JM
374722012-01-27 Joseph Myers <joseph@codesourcery.com>
37473
37474 * math/s_ldexp.c: Remove __STDC__ conditionals.
37475 * math/s_ldexpf.c: Likewise.
37476 * math/s_ldexpl.c: Likewise.
37477 * math/s_nextafter.c: Likewise.
37478 * math/s_nexttowardf.c: Likewise.
37479 * math/s_significand.c: Likewise.
37480 * math/s_significandf.c: Likewise.
37481 * math/s_significandl.c: Likewise.
37482 * math/w_jnl.c: Likewise.
37483 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37484 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37485 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37486 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37487 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37489 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37490 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37491 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37492 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37493 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37496 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37498 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37500 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37502 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37503 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37504 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37505 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37506 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37507 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37508 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37509 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37510 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37511 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37512 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37513 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37514 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37515 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37516 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37517 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37518 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37519 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37520 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37521 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37522 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37523 * sysdeps/ieee754/k_standard.c: Likewise.
37524 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37525 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37526 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37527 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37528 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37529 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37530 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37531 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37532 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37533 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37534 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37535 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37536 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37537 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37538 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37540 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37541 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37542 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37543 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37544 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37545 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37546 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37547 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37548 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37549 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37553 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37554 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37555 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37556 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37557 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37558 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37559 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37560 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37563 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37564 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37566 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37567 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37568 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37569 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37571 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37572 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37573 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37574 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37575 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37576 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37577 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37578 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37579 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37580 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37581 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37582 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37583 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37584 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37585 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37586 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37588 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37589 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37590 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37591 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37592 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37593 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37594 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37595 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37596 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37597 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37598 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37599 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37600 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37601 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37602 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37603 * sysdeps/ieee754/s_matherr.c: Likewise.
37604 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37605 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37608
965a54a4
JM
376092012-01-26 Joseph Myers <joseph@codesourcery.com>
37610
37611 * crypt/md5.h: Remove __STDC__ conditionals.
37612 * libio/libioP.h: Likewise.
37613 * locale/programs/config.h: Likewise.
37614 * sysdeps/generic/sysdep.h: Likewise.
37615 * sysdeps/i386/asm-syntax.h: Likewise.
37616 * sysdeps/s390/asm-syntax.h: Likewise.
37617 * sysdeps/unix/sysdep.h: Likewise.
37618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37620
7071ad79
JM
376212012-01-26 Joseph Myers <joseph@codesourcery.com>
37622
37623 * libio/libio.h: Remove __STDC__ conditionals.
37624 * malloc/obstack.h: Likewise.
37625 * math/complex.h: Likewise.
37626 * math/math.h: Likewise.
37627 * sysdeps/generic/_G_config.h: Likewise.
37628 * sysdeps/gnu/_G_config.h: Likewise.
37629 * sysdeps/mach/hurd/_G_config.h: Likewise.
37630 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37631 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37632 * sysdeps/sparc/bits/mathdef.h: Likewise.
37633
afc5ed09
UD
376342012-01-26 Ulrich Drepper <drepper@gmail.com>
37635
37636 [BZ #13583]
37637 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37638 Clean up HAS_* macros.
afc5ed09 37639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37640 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37641 possible.
37642 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37643 HAS_AVX.
37644 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37645 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37646 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37648 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37649
bdb6de1d
JM
376502012-01-25 Joseph Myers <joseph@codesourcery.com>
37651
37652 * elf/tst-unique3.cc (gets): Remove declaration.
37653 * elf/tst-unique3lib.cc (gets): Likewise.
37654 * elf/tst-unique3lib2.cc (gets): Likewise.
37655 * elf/tst-unique4.cc (gets): Likewise.
37656
b15549e6
UD
376572012-01-24 Ulrich Drepper <drepper@gmail.com>
37658
37659 * include/stdio.h: Add C++ protection. Add gets declarations and
37660 definitions.
37661 * debug/tst-chk1.c: Don't declare gets here.
37662 * stdio-common/tst-gets.c: Likewise.
37663
a037381f
JM
376642012-01-24 Joseph Myers <joseph@codesourcery.com>
37665
37666 * posix/glob: Remove directory.
37667
f1d4aa75
JM
376682012-01-24 Joseph Myers <joseph@codesourcery.com>
37669
37670 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37671
81c0c964
PT
376722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37673
37674 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37675 of the non-standard EPFNOSUPPORT.
37676
0ea698ae
ST
376772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37678
37679 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37680 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37681 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37682
d220b117
UD
376832012-01-21 Ulrich Drepper <drepper@gmail.com>
37684
37685 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37686
3e1aa84e
UD
376872012-01-20 Ulrich Drepper <drepper@gmail.com>
37688
37689 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37690 transient errors.
37691 * nscd/grpcache.c (cache_addgr): Likewise.
37692 * nscd/hstcache.c (cache_addhst): Likewise.
37693 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37694 * nscd/pwdcache.c (cache_addpw): Likewise.
37695 * nscd/servicescache.c (cache_addserv): Likewise.
37696
400aa020
UD
376972012-01-16 Ulrich Drepper <drepper@gmail.com>
37698
d77e7869
UD
37699 * malloc/malloc.c: Various cleanups.
37700 * malloc/hooks.c: Likewise.
37701
400aa020
UD
37702 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37703 * stdlib/bug-fmtmsg1.c: New file.
37704
37705 * stdlib/fmtmsg.c (init): Add missing unlock.
37706 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37707
e0a309cf
MP
377082012-01-12 Marek Polacek <polacek@redhat.com>
37709
37710 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37711 and _GNU_SOURCE.
37712
929d11c7
WS
377132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37714
37715 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37717 macro to ensure uniqueness of label name.
37718 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37719 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37720
41d0e869
UD
377212012-01-11 Ulrich Drepper <drepper@gmail.com>
37722
0cc5ed3b
UD
37723 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37724
41d0e869
UD
37725 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37726 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37727 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37729
a47a831a
UD
377302012-01-10 Ulrich Drepper <drepper@gmail.com>
37731
daa891c0
UD
37732 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37733
37734 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37735 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37736 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37737
e58ef0f2
UD
37738 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37739
a47a831a 37740 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37741 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37744
37745 * math/bits/math-finite.h: Add ldexp support.
37746
a0bfc9c7
MP
377472012-01-10 Marek Polacek <polacek@redhat.com>
37748
37749 * locale/programs/localedef.h (show_archive_content): Add noreturn
37750 attribute.
37751
d6e97a1d
UD
377522012-01-09 Ulrich Drepper <drepper@gmail.com>
37753
37754 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37755
d5835c26
UD
377562012-01-08 Ulrich Drepper <drepper@gmail.com>
37757
e5f484c6
UD
37758 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37759
d5835c26
UD
37760 * io/Makefile (headers): Add bits/poll2.h.
37761
d1f741e9
WS
377622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37763
37764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37765 typo #include statement.
37766
ec09c1c4
UD
377672012-01-08 Ulrich Drepper <drepper@gmail.com>
37768
37769 * include/sys/cdefs.h: Define __attribute_alloc_size.
37770 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37771 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37772 * elf/pldd.c: Likewise.
37773 * iconv/iconv_charmap.c: Likewise.
37774 * iconv/iconvconfig.c: Likewise.
37775 * iconv/strtab.c: Likewise.
37776 * locale/programs/locale.c: Likewise.
37777 * locale/programs/localedef.h: Likewise.
37778 * locale/programs/simple-hash.c: Likewise.
37779 * nscd/nscd.h: Likewise.
37780 * nss/makedb.c: Likewise.
37781 * sysdeps/generic/ldconfig.h: Likewise.
37782 * locale/programs/localedef.c: Remove xmalloc prototype.
37783 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37784
20b38e03
PP
377852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37786
37787 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37788 appropriate.
37789
a0da5fe1
UD
377902012-01-08 Ulrich Drepper <drepper@gmail.com>
37791
1d5a644a 37792 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37793 * math/tst-CMPLX.c: New file.
1d5a644a 37794
8784a6db
UD
37795 * math/complex.h (CMPLXL): Fix typo.
37796
d9a216c0
UD
37797 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37798 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37799 GLIBC_2.16.
37800 * debug/tst-chk1.c: Add poll and ppoll tests.
37801 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37802 * include/sys/poll.h: Add hidden proto for ppoll.
37803 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37804 * sysdeps/mach/hurd/ppoll.c: Likewise.
37805 * io/ppoll.c: Likewise.
37806 * debug/poll_chk.c: New file.
37807 * debug/ppoll_chk.c: New file.
37808 * include/bits/poll2.h: New file.
37809 * io/bits/poll2.h: New file.
37810
ac097f5c
UD
37811 [BZ #1350]
37812 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37813
2119dcfa
UD
37814 * configure.in: static is always set to yes. Remove.
37815 * config.make.in: Don't set build-static.
37816 * Makeconfig: Remove use of build-static.
37817 * dlfcn/Makefile: Likewise.
37818 * elf/Makefile: Likewise.
37819 * math/Makefile: Likewise.
37820 * misc/Makefile: Likewise.
37821 * nptl/Makefile: Likewise.
37822 * sysdeps/mach/hurd/Makefile: Likewise.
37823
121766a9
UD
37824 * configure.in: PWD_P is not used anymore.
37825 * config.make.in: Remove PWD_P entry.
37826
51a1d39c 37827 * configure.in: Remove last remnants of RANLIB.
8720d066 37828 No need to check for signed size_t anymore.
215f4bdc
UD
37829 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37830 and IA-64.
3857022a 37831 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37832 * aclocal.m4: Likewise.
37833
d3ed7225
UD
37834 * wcsmbs/mbrtoc16.c: Implement using towc function.
37835 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37836 * wcsmbs/wcsmbsload.c: Likewise.
37837 * iconv/gconv_simple.c: Likewise.
37838 * iconv/gconv_int.h: Likewise.
37839 * iconv/gconv_builtin.h: Likewise.
37840 * iconv/iconv_prog.c: Remove CHAR16 handling.
37841
37842 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37843
37844 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37845
a0da5fe1
UD
37846 * configure.in: Remove --with-elf and --enable-bounded options.
37847 Dont set base_machine for ia64. More non-ELF conditions removed.
37848 Remove testing and setting of leading underscore information.
37849 * config.make.in (build-bounded): Set to no.
37850 * config.h.in: Remove NO_UNDERSCORES entry.
37851 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37852 them.
37853 * csu/start.c: Remove !NO_UNDERSCORE code.
37854 * locale/localeinfo.h: Likewise.
37855 * sysdeps/generic/machine-gmon.h: Likewise.
37856 * sysdeps/generic/sysdep.h: Likewise.
37857 * sysdeps/i386/sysdep.h: Likewise.
37858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37859 * sysdeps/mach/sysdep.h: Likewise.
37860 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37861 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37862 * sysdeps/sh/sysdep.h: Likewise.
37863 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37864 * sysdeps/unix/i386/sysdep.S: Likewise.
37865 * sysdeps/unix/sparc/start.c: Likewise.
37866 * sysdeps/unix/sparc/sysdep.S: Likewise.
37867 * sysdeps/unix/sparc/sysdep.h: Likewise.
37868 * sysdeps/unix/start.c: Likewise.
37869 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37870 * sysdeps/x86_64/sysdep.h: Likewise.
37871
df78418a
UD
378722012-01-07 Ulrich Drepper <drepper@gmail.com>
37873
a784e502
UD
37874 [BZ #13553]
37875 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37876 for non-gcc.
37877 * argp/argp-fmtstream.h: Use const instead __const.
37878 * argp/argp.h: Likewise.
37879 * assert/assert.h: Likewise.
37880 * bits/fenv.h: Likewise.
37881 * bits/sched.h: Likewise.
37882 * bits/sigset.h: Likewise.
37883 * bits/sigthread.h: Likewise.
37884 * catgets/nl_types.h: Likewise.
37885 * conform/data/pthread.h-data: Likewise.
37886 * crypt/crypt-private.h: Likewise.
37887 * crypt/crypt.h: Likewise.
37888 * crypt/crypt_util.c: Likewise.
37889 * ctype/ctype.h: Likewise.
37890 * debug/execinfo.h: Likewise.
37891 * debug/mbsnrtowcs_chk.c: Likewise.
37892 * debug/mbsrtowcs_chk.c: Likewise.
37893 * debug/wcsnrtombs_chk.c: Likewise.
37894 * debug/wcsrtombs_chk.c: Likewise.
37895 * debug/wcstombs_chk.c: Likewise.
37896 * dirent/dirent.h: Likewise.
37897 * dlfcn/dlfcn.h: Likewise.
37898 * elf/neededtest4.c: Likewise.
37899 * grp/grp.h: Likewise.
37900 * gshadow/gshadow.h: Likewise.
37901 * iconv/gconv.h: Likewise.
37902 * iconv/gconv_int.h: Likewise.
37903 * iconv/gconv_simple.c: Likewise.
37904 * iconv/iconv.h: Likewise.
37905 * iconv/loop.c: Likewise.
37906 * iconv/skeleton.c: Likewise.
37907 * include/aio.h: Likewise.
37908 * include/aliases.h: Likewise.
37909 * include/argz.h: Likewise.
37910 * include/arpa/inet.h: Likewise.
37911 * include/assert.h: Likewise.
37912 * include/dirent.h: Likewise.
37913 * include/dlfcn.h: Likewise.
37914 * include/execinfo.h: Likewise.
37915 * include/fcntl.h: Likewise.
37916 * include/fenv.h: Likewise.
37917 * include/glob.h: Likewise.
37918 * include/grp.h: Likewise.
37919 * include/libintl.h: Likewise.
37920 * include/mntent.h: Likewise.
37921 * include/netdb.h: Likewise.
37922 * include/pwd.h: Likewise.
37923 * include/rpc/netdb.h: Likewise.
37924 * include/sched.h: Likewise.
37925 * include/search.h: Likewise.
37926 * include/shadow.h: Likewise.
37927 * include/signal.h: Likewise.
37928 * include/stdio.h: Likewise.
37929 * include/stdlib.h: Likewise.
37930 * include/string.h: Likewise.
37931 * include/sys/socket.h: Likewise.
37932 * include/sys/stat.h: Likewise.
37933 * include/sys/statfs.h: Likewise.
37934 * include/sys/statvfs.h: Likewise.
37935 * include/sys/syslog.h: Likewise.
37936 * include/sys/time.h: Likewise.
37937 * include/sys/uio.h: Likewise.
37938 * include/time.h: Likewise.
37939 * include/unistd.h: Likewise.
37940 * include/utmp.h: Likewise.
37941 * include/wchar.h: Likewise.
37942 * include/wctype.h: Likewise.
37943 * inet/aliases.h: Likewise.
37944 * inet/arpa/inet.h: Likewise.
37945 * inet/netinet/ether.h: Likewise.
37946 * inet/netinet/in.h: Likewise.
37947 * intl/libintl.h: Likewise.
37948 * io/bits/fcntl2.h: Likewise.
37949 * io/fcntl.h: Likewise.
37950 * io/ftw.h: Likewise.
37951 * io/sys/poll.h: Likewise.
37952 * io/sys/stat.h: Likewise.
37953 * io/sys/statfs.h: Likewise.
37954 * io/sys/statvfs.h: Likewise.
37955 * io/utime.h: Likewise.
37956 * libio/bits/stdio.h: Likewise.
37957 * libio/bits/stdio2.h: Likewise.
37958 * libio/libio.h: Likewise.
37959 * libio/libioP.h: Likewise.
37960 * libio/stdio.h: Likewise.
37961 * locale/lc-ctype.c: Likewise.
37962 * locale/locale.h: Likewise.
37963 * login/utmp.h: Likewise.
37964 * malloc/arena.c: Likewise.
37965 * malloc/malloc.c: Likewise.
37966 * malloc/malloc.h: Likewise.
37967 * malloc/mcheck.c: Likewise.
37968 * malloc/mtrace.c: Likewise.
37969 * math/bits/mathcalls.h: Likewise.
37970 * math/fenv.h: Likewise.
37971 * math/math_private.h: Likewise.
37972 * misc/bits/error.h: Likewise.
37973 * misc/bits/syslog.h: Likewise.
37974 * misc/err.h: Likewise.
37975 * misc/error.h: Likewise.
37976 * misc/fstab.h: Likewise.
37977 * misc/mntent.h: Likewise.
37978 * misc/regexp.h: Likewise.
37979 * misc/search.h: Likewise.
37980 * misc/sgtty.h: Likewise.
37981 * misc/sys/mman.h: Likewise.
37982 * misc/sys/syslog.h: Likewise.
37983 * misc/sys/uio.h: Likewise.
37984 * misc/sys/xattr.h: Likewise.
37985 * misc/ttyent.h: Likewise.
37986 * nis/rpcsvc/ypclnt.h: Likewise.
37987 * nss/nss.h: Likewise.
37988 * posix/bits/unistd.h: Likewise.
37989 * posix/fnmatch.h: Likewise.
37990 * posix/glob.h: Likewise.
37991 * posix/sched.h: Likewise.
37992 * posix/spawn.h: Likewise.
37993 * posix/sys/wait.h: Likewise.
37994 * posix/unistd.h: Likewise.
37995 * posix/wordexp.h: Likewise.
37996 * pwd/pwd.h: Likewise.
37997 * resolv/netdb.h: Likewise.
37998 * resource/sys/resource.h: Likewise.
37999 * rt/aio.h: Likewise.
38000 * rt/bits/mqueue2.h: Likewise.
38001 * rt/mqueue.h: Likewise.
38002 * shadow/shadow.h: Likewise.
38003 * signal/signal.h: Likewise.
38004 * socket/send.c: Likewise.
38005 * socket/sendto.c: Likewise.
38006 * socket/sys/socket.h: Likewise.
38007 * stdio-common/printf.h: Likewise.
38008 * stdlib/bits/stdlib.h: Likewise.
38009 * stdlib/fmtmsg.h: Likewise.
38010 * stdlib/monetary.h: Likewise.
38011 * stdlib/stdlib.h: Likewise.
38012 * stdlib/ucontext.h: Likewise.
38013 * streams/stropts.h: Likewise.
38014 * string/argz.h: Likewise.
38015 * string/bits/string2.h: Likewise.
38016 * string/string.h: Likewise.
38017 * string/strings.h: Likewise.
38018 * sunrpc/rpc/auth.h: Likewise.
38019 * sunrpc/rpc/auth_des.h: Likewise.
38020 * sunrpc/rpc/clnt.h: Likewise.
38021 * sunrpc/rpc/netdb.h: Likewise.
38022 * sunrpc/rpc/pmap_clnt.h: Likewise.
38023 * sunrpc/rpc/xdr.h: Likewise.
38024 * sysdeps/generic/inttypes.h: Likewise.
38025 * sysdeps/generic/net/if.h: Likewise.
38026 * sysdeps/generic/sys/swap.h: Likewise.
38027 * sysdeps/gnu/net/if.h: Likewise.
38028 * sysdeps/gnu/utmpx.h: Likewise.
38029 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38030 * sysdeps/i386/i486/bits/string.h: Likewise.
38031 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38032 * sysdeps/s390/bits/string.h: Likewise.
38033 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38034 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38035 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38036 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38037 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38038 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38039 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38040 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38041 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38042 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38043 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38044 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38045 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38046 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38047 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38048 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38049 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38051 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38053 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38054 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38055 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38056 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38057 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38058 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38059 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38060 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38061 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38062 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38063 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38064 * sysvipc/sys/ipc.h: Likewise.
38065 * sysvipc/sys/msg.h: Likewise.
38066 * sysvipc/sys/sem.h: Likewise.
38067 * sysvipc/sys/shm.h: Likewise.
38068 * termios/termios.h: Likewise.
38069 * time/sys/time.h: Likewise.
38070 * time/time.h: Likewise.
38071 * wcsmbs/bits/wchar2.h: Likewise.
38072 * wcsmbs/uchar.h: Likewise.
38073 * wcsmbs/wchar.h: Likewise.
38074 * wctype/wctype.h: Likewise.
38075
0269750c
UD
38076 [BZ #13551]
38077 * Makeconfig: Remove all but ELF support including AIX support.
38078 * Makerules: Likewise.
38079 * config.h.in: Likewise.
38080 * config.make.in: Likewise.
38081 * configure: Likewise.
38082 * configure.in: Likewise.
38083 * csu/Makefile: Likewise.
38084 * csu/version.c: Likewise.
38085 * debug/Makefile: Likewise.
38086 * dlfcn/Makefile: Likewise.
38087 * elf/Makefile: Likewise.
38088 * extra-lib.mk: Likewise.
38089 * iconv/Makefile: Likewise.
38090 * include/libc-symbols.h: Likewise.
38091 * include/shlib-compat.h: Likewise.
38092 * resolv/Makefile: Likewise.
38093 * resolv/res_libc.c: Likewise.
38094 * rt/Makefile: Likewise.
38095 * sysdeps/i386/asm-syntax.h: Likewise.
38096 * sysdeps/i386/sysdep.h: Likewise.
38097 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38098 * sysdeps/mach/sysdep.h: Likewise.
38099 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38100 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38101 * sysdeps/s390/asm-syntax.h: Likewise.
38102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38103 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38104 * sysdeps/sh/sysdep.h: Likewise.
38105 * sysdeps/unix/sparc/sysdep.h: Likewise.
38106 * sysdeps/wordsize-32/divdi3.c: Likewise.
38107 * sysdeps/x86_64/sysdep.h: Likewise.
38108
00bbd29b
UD
38109 * argp/Versions: Remove _argp_unlock_xxx.
38110
38111 [BZ #13559]
38112 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38113 * abilist/libBrokenLocale.abilist: Likewise.
38114 * abilist/libanl.abilist: Likewise.
38115 * abilist/libc.abilist: Likewise.
38116 * abilist/libcrypt.abilist: Likewise.
38117 * abilist/libdl.abilist: Likewise.
38118 * abilist/libm.abilist: Likewise.
38119 * abilist/libnsl.abilist: Likewise.
38120 * abilist/libpthread.abilist: Likewise.
38121 * abilist/libresolv.abilist: Likewise.
38122 * abilist/librt.abilist: Likewise.
38123 * abilist/libthread_db.abilist: Likewise.
38124 * abilist/libutil.abilist: Likewise.
38125 * abilist/libnss_db.abilist: New file.
38126
38127 * scripts/abilist.awk: Add support for indirect functions.
38128
a2693a0e
UD
38129 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38130
3f05895f
UD
38131 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38132
ecb6fb48
UD
38133 * shlib-versions: Remove entries for ports architectures.
38134
664f8cb9
UD
38135 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38136 files in ports.
38137 * elf/stackguard-macros.h: Remove support for IA-64.
38138 * elf/tst-auditmod1.c: Likewise.
38139 * sysdeps/generic/ldsodefs.h: Likewise.
38140
7ae81d88
UD
38141 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38142 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38143 configure files.
38144
bdeba135
UD
38145 [BZ #13552]
38146 * configure.in: Remove --enable-omitfp support.
38147 * FAQ.in: Adjust.
38148 * config.make.in: Likewise.
38149 * Makeconfig: Likewise.
38150 * manual/install.texi: Likewise.
38151
d75a0a62
UD
38152 In case anyone cares, the IA-64 architecture could move to ports.
38153 * sysdeps/ia64/*: Removed.
38154 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38155 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38156
dcc9756b
UD
38157 [BZ #13555]
38158 * configure.in: Remove entries for unsupported architectures.
38159
d3761ebc 38160 [BZ #13533]
9954432e
UD
38161 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38162 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38163 routines.
38164 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38165 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38166 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38167 fall back to using wcrtomb.
38168 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38169 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38170 renaming.
38171 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38172 * wcsmbs/tst-c16c32-1.c: New file.
38173
38174 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38175 local variable.
38176
c3a87236
UD
38177 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38178
28926a1b
UD
38179 * elf/tst-unique3.cc: Add explicit declaration of gets.
38180 * elf/tst-unique3lib.cc: Likewise.
38181 * elf/tst-unique3lib2.cc: Likewise.
38182 * elf/tst-unique4.cc: Likewise.
38183
df78418a
UD
38184 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38185
8ecd6b2a
JM
381862012-01-06 Joseph Myers <joseph@codesourcery.com>
38187
38188 [BZ #13566]
38189 * assert/assert.h (static_assert): Don't define for C++.
38190 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38191 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38192
9f115170
UD
381932012-01-03 Ulrich Drepper <drepper@gmail.com>
38194
5e0d0300
UD
38195 * iconv/loop.c (single loop): Fix assertion in storing of
38196 remaining bytes.
38197
9f115170
UD
38198 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38199
81fb02b0
UD
382002012-01-01 Ulrich Drepper <drepper@gmail.com>
38201
38202 * posix/getconf.c: Update copyright year.
38203 * nss/getent.c: Likewise.
a316c1f6 38204 * nss/makedb.c: Likewise.
81fb02b0
UD
38205 * iconv/iconvconfig.c: Likewise.
38206 * iconv/iconv_prog.c: Likewise.
38207 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38208 * elf/pldd.c: Likewise.
38209 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38210 * catgets/gencat.c: Likewise.
38211 * csu/version.c: Likewise.
38212 * elf/ldd.bash.in: Likewise.
38213 * elf/sprof.c (print_version): Likewise.
38214 * locale/programs/locale.c: Likewise.
38215 * locale/programs/localedef.c: Likewise.
a316c1f6 38216 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38217 * nscd/nscd.c (print_version): Likewise.
38218 * debug/xtrace.sh: Likewise.
38219 * malloc/memusage.sh: Likewise.
38220 * malloc/mtrace.pl: Likewise.
38221 * debug/catchsegv.sh: Likewise.
38222
2ba92745
JJ
382232011-12-30 Jakub Jelinek <jakub@redhat.com>
38224
38225 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38226 pure attribute.
38227
dadebdae
UD
382282011-12-24 Ulrich Drepper <drepper@gmail.com>
38229
d3761ebc 38230 [BZ #13533]
db6af3eb
UD
38231 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38232 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38233 transformations.
38234 * iconv/gconv_int.h: Likewise.
38235 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38236 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38237 from libc for GLIBC_2.16.
38238 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38239 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38240 * wcsmbs/uchar.h: Really define mbstate_t.
38241 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38242 * wcsmbs/c16rtomb.c: New file.
38243 * wcsmbs/mbrtoc16.c: New file.
38244 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38245 for C/POSIX locale.
38246 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38247 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38248
dadebdae
UD
38249 * wcsmbs/wchar.h: Add missing __restrict.
38250
67371b56
UD
382512011-12-23 Ulrich Drepper <drepper@gmail.com>
38252
74033a25
UD
38253 [BZ #13532]
38254 * time/Makefile (routines): Add timespec_get.
38255 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38256 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38257 timespec for ISO C11.
38258 * time/timespec_get.c: New file.
38259 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38260 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38261
380d7e87
UD
38262 [BZ #13531]
38263 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38264 * stdlib/stdlib.h: Declare aligned_alloc.
38265 * Versions.def: Add GLIBC_2.16 for libc.
38266 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38267
4e9e7a35
UD
38268 [BZ 13527]
38269 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38270 ISO C11.
38271
380d7e87 38272 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38273 code.
38274
03a71829
UD
38275 [BZ #13528]
38276 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38277
839e283e
UD
38278 [BZ #13529]
38279 * assert/assert.h (static_assert): Define.
38280
ce5294e2 38281 * version.h: Update for 2.16 development version.
90fa7312 38282
8d44e150 38283 [BZ #13526]
d7809905
UD
38284 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38285 _ISOC11_SOURCE.
38286
c0da14cd
UD
38287 * version.h (RELEASE): Bump for 2.15 release.
38288 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38289
530a3249
MP
38290 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38291 Patch by Marek Polacek <mpolacek@redhat.com>.
38292
67371b56
UD
38293 * bits/byteswap.h: Protect long long constants with __extension__.
38294 * sysdeps/i386/bits/byteswap.h: Likewise.
38295 * sysdeps/ia64/bits/byteswap.h: Likewise.
38296 * sysdeps/s390/bits/byteswap.h: Likewise.
38297 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38298
15db4de1
LD
382992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38300
38301 [BZ #13540]
bbe315ea
LD
38302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38303 destination buffer.
15db4de1
LD
38304 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38305
2b2596b1
MP
383062011-12-23 Marek Polacek <polacek@redhat.com>
38307
38308 * elf/dl-addr.c (determine_info): Add inline keyword.
38309 * elf/tst-auditmod4b.c (check_avx): Likewise.
38310 * elf/tst-auditmod6b.c (check_avx): Likewise.
38311 * elf/tst-auditmod6c.c (check_avx): Likewise.
38312 * elf/tst-auditmod7b.c (check_avx): Likewise.
38313
70c6c246
UD
383142011-12-23 Ulrich Drepper <drepper@gmail.com>
38315
38316 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38317 !__SSE_MATH__.
38318
c044cf14
LD
383192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38320
15db4de1 38321 [BZ #13540]
c044cf14
LD
38322 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38323 processing for last bytes.
38324
6b13d9d9
BH
383252011-08-06 Bruno Haible <bruno@clisp.org>
38326
d455f537
BH
38327 [BZ #13061]
38328 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38329 U+0385, not to U+1FEE.
38330
6b13d9d9
BH
38331 [BZ #13062]
38332 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38333 entry for U+00A5 U+0301.
38334
db910efd
UD
383352011-12-22 Ulrich Drepper <drepper@gmail.com>
38336
27deeafc
UD
38337 [BZ #13166]
38338 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38339 buffer for the output is too small.
38340
aed9d171
UD
38341 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38342 optimization.
38343
db910efd
UD
38344 [BZ #13185]
38345 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38346 SSE flags if possible.
38347
2bd779ae
LD
383482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38349
e7f9dac3 38350 [BZ #13540]
2bd779ae
LD
38351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38352 processing for last bytes.
38353
154bfc16
JM
383542011-12-22 Joseph Myers <joseph@codesourcery.com>
38355
38356 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38357 (syscall-list-default-options, syscall-list-default-condition)
38358 (syscall-list-includes): Define.
38359 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38360 list of ABIs and options and #if conditions for each ABI. Do not
38361 handle common syscalls between ABIs specially.
38362 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38363 Remove.
38364 (syscall-list-variants, syscall-list-32bit-options)
38365 (syscall-list-32bit-condition, syscall-list-64bit-options)
38366 (syscall-list-64bit-condition): Define.
38367 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38368 (syscall-list-variants, syscall-list-32bit-options)
38369 (syscall-list-32bit-condition, syscall-list-64bit-options)
38370 (syscall-list-64bit-condition): Define.
38371 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38372 Remove.
38373 (syscall-list-variants, syscall-list-32bit-options)
38374 (syscall-list-32bit-condition, syscall-list-64bit-options)
38375 (syscall-list-64bit-condition): Define.
38376 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38377 Remove.
38378 (syscall-list-variants, syscall-list-32bit-options)
38379 (syscall-list-32bit-condition, syscall-list-64bit-options)
38380 (syscall-list-64bit-condition): Define.
38381
21eaf3a5
UD
383822011-12-22 Ulrich Drepper <drepper@gmail.com>
38383
16c6f992
UD
38384 * locale/iso-639.def: Add brx entry.
38385
41043168
UD
38386 [BZ #13328]
38387 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38388 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38389
21eaf3a5
UD
38390 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38391 __feraiseexcept_renamed.
38392
e3a851a2
UD
383932011-12-21 Ulrich Drepper <drepper@gmail.com>
38394
4920765e
UD
38395 [BZ #13538]
38396 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38397 EPOLLET with unsigned values.
38398 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38400
e3a851a2
UD
38401 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38402 to large cancellation.
38403 * math/s_cacoshf.c: Likewise.
38404 * math/s_cacoshl.c: Likewise.
38405
b27e24b8
RK
384062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38407
38408 [BZ #13305]
aebefeee 38409 [BZ #12786]
b27e24b8
RK
38410 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38411 * math/s_cacoshf.c: Likewise.
38412 * math/s_cacoshl.c: Likewise.
38413
ee190f67
UD
384142011-12-21 Ulrich Drepper <drepper@gmail.com>
38415
38416 [BZ #13439]
38417 * iconv/gconv.h: Define __GCONV_SWAP.
38418 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38419 * iconvdata/utf-16.c: Likewise.
38420 * iconvdata/utf-32.c: Likewise.
38421
707f25df
AS
384222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38423
38424 [BZ #13524]
38425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38426 numerator after shifting it by one limb.
38427
d2daaa1e
RÁE
384282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38429
38430 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38431 under [__USE_EXTERN_INLINES].
38432
a4647e72
UD
384332011-12-17 Ulrich Drepper <drepper@gmail.com>
38434
38435 [BZ #13446]
38436 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38437
f0b264f1
AZ
384382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38439
38440 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38441 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38442 optimized code.
38443 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38444 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38445 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38446 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38447 for strncasecmp/strncasecmp_l compilation.
38448 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38449 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38450
8ef4f244
MP
384512011-12-08 Marek Polacek <mpolacek@redhat.com>
38452
38453 [BZ #13484]
38454 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38455 of __asm__.
38456
97ac2654
UD
384572011-12-17 Ulrich Drepper <drepper@gmail.com>
38458
38459 [BZ #13506]
38460 * time/tzfile.c (__tzfile_read): Check values from file header.
38461
91d2a845
WS
384622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38463
38464 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38465 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38466 * powerpc/powerpc32/dl-start.S: Likewise.
38467 * powerpc/powerpc32/elf/start.S: Likewise.
38468 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38469 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38470 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38471 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38472 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38473 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38474 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38475 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38476 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38477 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38478 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38479 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38480 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38481 * powerpc/powerpc32/memset.S: Likewise.
38482 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38483 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38484 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38485 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38486 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38487 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38488 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38489 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38490 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38491 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38492 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38493 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38494 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38495
a1267ba1
AZ
384962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38497
38498 * math/libm-test.inc: Added more nearbyint tests.
38499 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38502 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38503
ad8ac1bd
RL
385042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38505
38506 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38507 FD_CLOEXEC.
38508
1d3e4b61
UD
385092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38510
38511 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38512 Add wcscpy-ssse3 wcscpy-c.
38513 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38514 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38515 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38516 * sysdeps/x86_64/wcschr.S: New file.
38517 * sysdeps/x86_64/wcsrchr.S: New file.
38518 * string/test-strcmp.c: Remove checking of wcscmp function for
38519 wrong alignments.
38520 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38521 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38522 wcsrchr-sse2 wcsrchr-c.
38523 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38524 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38525 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38526 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38527 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38528 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38529 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38530 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38531 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38532 * wcsmbc/wcschr.c (WCSCHR): New macro.
38533
5b330a2d
UD
385342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38535
38536 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38537 * wcsmbs/test-wcsrchr.c: New file.
38538 * string/test-strrchr.c: Add wcsrchr support.
38539 (WIDE): New macro.
38540 * wcsmbs/test-wcscpy.c: New file.
38541 * string/test-strcpy.c: Add wcscpy support.
38542 (WIDE): New macro.
26428b7c 38543
f039c043
UD
385442011-12-10 Ulrich Drepper <drepper@gmail.com>
38545
38546 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38547 the inner loop.
38548
850fb039
AS
385492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38550
38551 [BZ #13472]
38552 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38553
4efbd5cb
UD
385542011-12-04 Ulrich Drepper <drepper@gmail.com>
38555
52ff5dd0 38556 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38557 Minor optimizations.
52ff5dd0 38558
4efbd5cb
UD
38559 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38560 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38561 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38562
8a426e12
UD
385632011-12-03 Ulrich Drepper <drepper@gmail.com>
38564
aff2453d
UD
38565 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38566 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38567 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38568 for gcc to avoid warnings.
38569 * inet/Makefile (tests): Add tst-checks.
38570 * inet/tst-checks.c: New file.
38571
38572 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38573 warning.
38574
38575 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38576 __wmemcmp_sse2.
38577
38578 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38579 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38580
8a426e12
UD
38581 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38582
9bea3473
UD
385832011-12-02 Ulrich Drepper <drepper@gmail.com>
38584
3a965496
UD
38585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38586 problem.
38587
9bea3473
UD
38588 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38589
f101631b
UD
385902011-11-29 Joseph Myers <joseph@codesourcery.com>
38591
38592 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38593 conditional on GCC version.
38594 (__arch_compare_and_exchange_val_8_acq)
38595 (__arch_compare_and_exchange_val_16_acq)
38596 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38597 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38598 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38599
a98275aa
UD
386002011-12-02 Joseph Myers <joseph@codesourcery.com>
38601
38602 * sysdeps/sh/backtrace.c: New file.
38603
d4cc29a2
AS
386042011-12-02 Andreas Schwab <schwab@redhat.com>
38605
38606 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38607 parenthesis.
38608
6257af2d
AS
386092011-12-01 Andreas Schwab <schwab@redhat.com>
38610
38611 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38612 falling back to utime.
38613
b5f44c1a
AS
386142011-11-30 Andreas Schwab <schwab@redhat.com>
38615
38616 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38617 expectations for float.
38618
f3a6cc0a
AS
386192011-11-29 Andreas Schwab <schwab@redhat.com>
38620
38621 * locale/weight.h (findidx): Add parameter len.
38622 * locale/weightwc.h (findidx): Likewise.
38623 * posix/fnmatch_loop.c (FCT): Adjust caller.
38624 * posix/regcomp.c (build_equiv_class): Likewise.
38625 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38626 * posix/regexec.c (check_node_accept_bytes): Likewise.
38627 * string/strcoll_l.c (STRCOLL): Likewise.
38628 * string/strxfrm_l.c (STRXFRM): Likewise.
38629
9d65ea3a
UD
386302011-11-17 Ulrich Drepper <drepper@gmail.com>
38631
38632 * Makefile.in: Remove CVSOPT handling.
38633 * configure.in: Remove use of AC_REVISION.
38634 * iconvdata/Makefile (distribute): No need to filter out CVS.
38635 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38636 handling.
38637
5583a086
AS
386382011-11-16 Andreas Schwab <schwab@redhat.com>
38639
38640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38641 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38642 [USE_AS_STRNCASECMP_L]: Likewise.
38643 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38644 NO_TLS_DIRECT_SEG_REFS.
38645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38646 Fix argument offsets for non-PIC.
38647 [USE_AS_STRNCASECMP_L]: Likewise.
38648 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38649 NO_TLS_DIRECT_SEG_REFS.
38650
d62a8200
UD
386512011-11-15 Ulrich Drepper <drepper@gmail.com>
38652
9d65ea3a 38653 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38654 O_CLOEXEC.
38655 * locale/loadlocale.c (_nl_load_locale): Likewise.
38656
09f93bd3
AS
386572011-11-15 Andreas Schwab <schwab@redhat.com>
38658
446514f9
AS
38659 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38660 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38661 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38662 (SYSCALL_GETTIME): Set errno on error.
38663
09f93bd3
AS
38664 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38665 count references to noai6ai_cached.
38666
312be3f9
UD
386672011-11-15 Ulrich Drepper <drepper@gmail.com>
38668
38669 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38670
38671 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38672 FD_CLOEXEC for /proc/self/maps.
38673
38674 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38675 FD_CLOEXEC for /proc/meminfo.
38676
38677 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38678 gai.conf.
38679
38680 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38681 FD_CLOEXEC for given file.
38682
38683 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38684
38685 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38686 FD_CLOEXEC for /etc/hosts.
38687 (_gethtent): Likewise.
38688
38689 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38690
38691 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38692 cancellation and set FD_CLOEXEC for /etc/netgroup.
38693
38694 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38695 reading /etc/publickey.
38696
38697 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38698 allow cancellation when reading /etc/group.
38699
38700 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38701 cancellation.
38702 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38703
38704 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38705 when using data file.
38706
38707 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38708
38709 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38710 (write_nis_obj): Use "c" and "e" in fopen.
38711
38712 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38713
38714 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38715
38716 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38717
38718 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38719
38720 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38721 locale.alias.
38722
38723 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38724
38725 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38726
38727 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38728
38729 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38730 file parsing and set FD_CLOEXEC.
38731
82af0fa8
UD
387322011-11-14 Ulrich Drepper <drepper@gmail.com>
38733
38734 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38735
a5fb313c
AS
387362011-11-14 Andreas Schwab <schwab@redhat.com>
38737
38738 * malloc/arena.c (arena_get2): Don't call reused_arena when
38739 _int_new_arena failed.
38740
6abf3465
UD
387412011-11-14 Ulrich Drepper <drepper@gmail.com>
38742
38743 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38744 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38746 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38747 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38748 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38749 to compile strcasecmp and strncasecmp.
38750 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38751 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38752
38753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38754
76e3966e
UD
387552011-11-13 Ulrich Drepper <drepper@gmail.com>
38756
38757 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38758 locale-defines.sym to gen-as-const-headers.
38759 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38760 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38762 to compile strcasecmp and strncasecmp.
38763 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38764 strcasecmp_l and strncasecmp_l.
38765 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38766 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38767 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38768 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38769 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38770 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38771 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38772 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38773 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38774 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38775 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38776
ab26144e
UD
387772011-11-12 Ulrich Drepper <drepper@gmail.com>
38778
7edb22ef
UD
38779 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38780 result of SYSDEP_GETTIME_CPU to retval.
38781 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38782 parameter list to macro. Remove trailing semicolon. Adjust users.
38783
9694fc44
UD
38784 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38785 variable.
38786
8ad89ef8
UD
38787 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38788 mantissa words.
38789 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38790
0c822ef9
UD
38791 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38792 from unused variable.
38793
874e0564
UD
38794 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38795 DWARF definitions.
38796 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38797 for assembling.
38798
3a2edc79
UD
38799 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38800 over namespaces.
38801
f3c2577f
UD
38802 * sunrpc/rpc_prot.c (rejected): Fix case value.
38803
294ce126
UD
38804 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38805 unsigned long long int to avoid warnings in shift.
38806
5e2b63c6
UD
38807 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38808 of use of trans.
38809 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38810 variable tmp.
38811
e7f4b08e
UD
38812 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38813 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38814 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38815
ab26144e
UD
38816 * nis/nis_table.c (nis_list): Use variable of correct type for
38817 result of __follow_path call.
38818
8a6d5255
AZ
388192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38820
38821 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38822 of math functions ceil, trunc, floor, round, and sqrt, when
38823 avaliable on the platform.
38824 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38825 name clash.
38826 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38827 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38828 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38829
aaddc98c
MP
388302011-10-30 Marek Polacek <mpolacek@redhat.com>
38831
38832 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38833 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38834
95b7042b
RM
388352011-11-11 Roland McGrath <roland@hack.frob.com>
38836
38837 * include/unistd.h: Fix __readlink return type.
38838 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38839
57769839
UD
388402011-11-11 Ulrich Drepper <drepper@gmail.com>
38841
38842 * stdlib/ucontext.h: Undo last change for makecontext.
38843
edc5984d
AS
388442011-11-11 Andreas Schwab <schwab@redhat.com>
38845
98591e58
AS
38846 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38847
edc5984d
AS
38848 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38849 * setjmp/setjmp.h: Mark functions as non-leaf.
38850 * setjmp/bits/setjmp2.h: Likewise.
38851 * stdlib/ucontext.h: Likewise.
38852
77cdc054
AS
388532011-11-10 Andreas Schwab <schwab@redhat.com>
38854
38855 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38856 (reused_arena): Don't check arena limit.
38857 (arena_get2): Atomically check arena limit.
38858
fe72eebd
UD
388592011-11-08 Ulrich Drepper <drepper@gmail.com>
38860
5f078c32
UD
38861 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38862 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38863
fe72eebd
UD
38864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38865 instructions.
38866
ae1bc2fa
AS
388672011-11-07 Andreas Schwab <schwab@redhat.com>
38868
7583a88d
AS
38869 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38870 handler when locking.
38871
ae1bc2fa
AS
38872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38873 Fix size of allocated buffer.
38874
10fb0bfa
AS
388752011-11-04 Andreas Schwab <schwab@redhat.com>
38876
998832a4
AS
38877 [BZ #10103]
38878 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38879 declarations for long double functions.
38880 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38881
10fb0bfa
AS
38882 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38883
3d7ba52b
AS
388842011-11-03 Andreas Schwab <schwab@redhat.com>
38885
a9ae54a1
AS
38886 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38887 installed.
38888
3d7ba52b
AS
38889 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38890 is disabled.
38891
bc8db248
ST
388922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38893
38894 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38895
45b96dd6
AS
388962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38897
647776f6
AS
38898 * include/alloca.h (stackinfo_alloca_round): Define.
38899 (extend_alloca): Use it.
38900 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38901 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38902 here.
38903
d91a8b93
AS
38904 * scripts/check-local-headers.sh: Ignore libaudit.h.
38905
45b96dd6
AS
38906 * nscd/Makefile (extra-objs): Make recursively expanded.
38907
432d41ce
UD
389082011-11-01 Ulrich Drepper <drepper@gmail.com>
38909
34372fc6
UD
38910 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38911 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38912
fadb59f8
UD
38913 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38914 * posix/tst-rfc3484-2.c: Likewise.
38915 * posix/tst-rfc3484-3.c: Likewise.
38916
78239589
UD
38917 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38918 process_vm_writev.
38919 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38920 process_vm_writev.
38921 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38922 process_vm_writev from libc using GLIBC_2.15 version.
38923
432d41ce
UD
38924 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38925
02f9c6cf
PP
389262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38927
38928 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38929 stack usage.
38930
3a2c0242
UD
389312011-10-31 Ulrich Drepper <drepper@gmail.com>
38932
f4ec4833
UD
38933 [BZ #13367]
38934 * nss/getent.c (initgroups_keys): Show error message in case no group
38935 names are given.
38936
3a2c0242
UD
38937 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38938 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38939 __bump_nl_timestamp.
38940 * nscd/connections (nscd_init): When host database is served open
38941 netlink socket and request notification about configuration changes.
38942 (main_loop_poll): Track netlink file descriptor and bump timestamp
38943 in case data becomes available.
38944 (main_loop_epoll): Likewise.
38945 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38946 (database_pers_head): Add extra_data fileds.
38947 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38948 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38949 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38950 Adjust caller.
38951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38952 in6ai data, call __free_in6ai.
38953 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38954 Add -DHAVE_NETLINK.
38955 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38956 interface information. Reuse previous data if netlink timestamp
38957 is not changed.
38958 (__bump_nl_timestamp): New function.
38959 (__free_in6ai): New function.
38960
636064eb
UD
389612011-10-30 Ulrich Drepper <drepper@gmail.com>
38962
38963 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38964 close_not_cancel_no_status here.
38965 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38966
9beb2334
UD
389672011-10-29 Ulrich Drepper <drepper@gmail.com>
38968
6ef76f3b
UD
38969 [BZ #13276]
38970 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38971 return value.
38972
0ffc4f3e 38973 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38974 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38975 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38976
cb95113e
UD
389772011-07-03 Andreas Jaeger <aj@suse.de>
38978
38979 [BZ #10709]
38980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38981 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38982 * math/libm-test.inc (sin_test): Add test case.
38983
a1b560ff
UD
389842011-10-29 Ulrich Drepper <drepper@gmail.com>
38985
c9aaface
UD
38986 [BZ #13337]
38987 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38988 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38989
d272e7f1
UD
38990 * elf/chroot_canon.c (chroot_canon): Cleanups.
38991
1bc33071
UD
38992 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38993
1760874d
TJ
38994 [BZ #13335]
38995 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38996 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38997
51d91b18
UD
38998 * string/test-strchr.c: Make usable for strchrnul testing.
38999 * string/test-strchrnul.c: New file.
39000 * string/Makefile (strop-tests): Add strchrnul.
39001
a1b560ff 39002 * po/it.po: Update from translation team.
b611fb81 39003 * po/es.po: Likewise.
a1b560ff 39004
a5b81e1f
UD
390052011-10-28 Ulrich Drepper <drepper@gmail.com>
39006
fd52bc6d
UD
39007 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39008 the three constants needed as parameters. Drop the others.
39009 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39010 __m128i_strloadu_tolower.
52e4b9eb
UD
39011 Create and initialize variable zero and use it in all the places
39012 where _mm_setzero_si128 was used.
fd52bc6d 39013
a5b81e1f
UD
39014 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39015 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39016 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39017 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39018 anymore.
39019 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39020 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39021 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39022 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39023 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39024 __mpranred, __mptan.
39025 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39026 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39027 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39028 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39029 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39030 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39032 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39033 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39034
b4343346
AS
390352011-10-28 Andreas Schwab <schwab@redhat.com>
39036
0c92d8a8
AS
39037 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39038 redefine if SHARED.
39039 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39040
b4343346
AS
39041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39042 wide char related routines to wcsmbs subdir.
39043
3871f58f
AS
390442011-10-27 Andreas Schwab <schwab@redhat.com>
39045
39046 [BZ #13344]
39047 * misc/sys/cdefs.h (__THROWNL): Define.
39048 * posix/unistd.h: Use __THREADNL instead of __THREAD
39049 for memory synchronization functions.
39050
94d44d9f
RM
390512011-10-26 Roland McGrath <roland@hack.frob.com>
39052
21b64b15 39053 [BZ #13349]
94d44d9f
RM
39054 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39055 doesn't exist.
39056 * manual/stdio.texi (Obstack Streams): Node removed.
39057
f6ce9294
AS
390582011-10-26 Andreas Schwab <schwab@redhat.com>
39059
80479147
AS
39060 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39061 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39063
f6ce9294
AS
39064 * math/math_private.h (math_force_eval): Allow non-addressable
39065 arguments.
39066 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39067
618280a1
UD
390682011-10-25 Ulrich Drepper <drepper@gmail.com>
39069
e0016b11
UD
39070 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39071 file is not needed.
39072
39073 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39074 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39075 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39076 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39077 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39078 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39079 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39080 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39081 Add AVX variants.
39082 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39083 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39084 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39085 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39086 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39087 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39088 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39089 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39090 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39091 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39092 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39093 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39095 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39096 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39097 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39098 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39099 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39100 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39101
39102 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39103 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39104
618280a1
UD
39105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39106 place. Use VEX encoding when compiling for AVX.
39107
37822576
AS
391082011-10-25 Andreas Schwab <schwab@redhat.com>
39109
1f1e1947
AS
39110 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39111 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39112
37822576
AS
39113 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39114
31ea014d
UD
391152011-10-25 Ulrich Drepper <drepper@gmail.com>
39116
d7826aa1 39117 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39118 useless if() expression.
d7826aa1
UD
39119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39120 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39121 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39123 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39124 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39127 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39128 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39129 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39130 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39131 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39132 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39133 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39134 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39135 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39136 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39137 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39138
31ea014d
UD
39139 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39140
16437fec
AS
391412011-10-25 Andreas Schwab <schwab@redhat.com>
39142
39143 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39144 condition.
39145 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39146
31d3cc00
UD
391472011-10-25 Ulrich Drepper <drepper@gmail.com>
39148
39149 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39150 .text section. Avoid duplicate constants.
39151 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39153 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39155 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39159 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39160 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39161 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39162 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39163 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39164 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39165 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39166 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39167 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39168 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39169 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39171 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39172 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39173 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39174 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39175 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39176 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39177 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39178 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39179 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39180 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39181 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39182 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39183 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39184 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39185 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39186 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39187 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39188 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39189 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39190 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39191 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39192 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39193 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39194 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39195 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39196
58985aa9
UD
391972011-10-24 Ulrich Drepper <drepper@gmail.com>
39198
202c9deb
UD
39199 * sysdeps/x86_64/dla.h: Move to ...
39200 * sysdeps/x86_64/fpu/dla.h: ...here.
39201 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39202 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39203
af968f62
UD
39204 * config.make.in: Add have-mfma4 entry.
39205 * configure.in: Substitute libc_cv_cc_fma4.
39206 * math/Makefile (dbl-only-routines): Add sincostab.
39207 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39208 Use __sincostab not sincos.
39209 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39210 name is a macro.
39211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39215 using __copysign.
39216 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39217 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39218 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39219 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39220 and __inv.
39221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39222 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39223 __copysign.
39224 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39225 define aliases when function name is a macro.
39226 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39227 sysdeps/ieee754/dbl-64/sincos.tbl.
39228 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39229 fma4-enabled routines.
39230 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39231 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39232 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39233 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39234 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39235 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39236 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39237 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39238 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39239 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39240 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39241 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39242 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39243 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39244 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39245 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39246 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39247 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39248 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39250 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39251 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39253 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39254 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39255 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39257 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39258 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39259 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39260
58985aa9
UD
39261 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39262 rename.
39263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39271
a201fbcf
AS
392722011-10-24 Andreas Schwab <schwab@redhat.com>
39273
39274 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39275
fc2ee42a
LD
392762011-10-23 Ulrich Drepper <drepper@gmail.com>
39277
bb3129bd
UD
39278 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39279
0275fff8
UD
39280 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39281 prediction.
39282 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39283
2fa2ae85
UD
39284 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39285 Remove unused variable magic_bits.
39286 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39287
fc2ee42a
LD
39288 * string/strnlen.c: Define and use STRNLEN macro.
39289 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39290 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39292 * wcsmbs/wcslen.c: Define and use WCSLEN.
39293 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39294 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39295 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39296 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39297 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39298 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39299 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39300
ce7dd29f
LD
393012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39302
39303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39304 strnlen-sse2-no-bsf.
39305 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39306 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39307 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39308 Add strnlen support.
39309 (USE_AS_STRNLEN): New macro.
39310 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39311 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39312 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39313 * sysdeps/x86_64/wcslen.S: New file.
39314
979c70a3
MZ
393152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39316
39317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39318 XMM-moves are used for copying on small sizes.
39319
2d09f82f
LD
393202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39321
39322 * wcsmbs/Makefile (strop-tests): Add wcschr.
39323 * wcsmbs/test-wcschr.c: New file.
39324 * string/test-strchr.c: Update.
39325 Add wcschr support.
39326 (WIDE): New macro.
39327
619fccca
LD
393282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39329
2d09f82f 39330 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39331 * wcsmbs/test-wcslen.c: New file.
39332 * string/test-strlen.c: Update.
39333 Add wcslen support.
39334 (WIDE): New macro.
39335
09f699ea
UD
393362011-10-23 Ulrich Drepper <drepper@gmail.com>
39337
39338 * po/it.po: Update from translation team.
39339
95584d3b
LD
393402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39341
39342 * sysdeps/x86_64/wcscmp.S: Update.
39343 Fix wrong comparison semantics.
39344 wcscmp shall use signed comparison not unsigned.
39345 Don't use substraction to avoid overflow bug.
39346 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39347 * wcsmbc/wcscmp.c: Likewise.
39348 * string/test-strcmp.c: Likewise.
39349 Add new tests to check cases with negative values.
39350
c8b3296b
UD
393512011-10-23 Ulrich Drepper <drepper@gmail.com>
39352
39353 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39354 * sysdeps/x86_64/dla.h: ...here. New file.
39355 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39356 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39358 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39364
246ad57a
AS
393652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39366
39367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39368 __ynl_finite aliases.
39369
a1a87169
UD
393702011-10-22 Ulrich Drepper <drepper@gmail.com>
39371
0d355eb7
UD
39372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39373
a1a87169
UD
39374 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39375 define DLA_FMA.
39376 [DLA_FMA] (EMULV): Use DLA_FMA.
39377 [DLA_FMA] (MUL12): Use EMULV.
39378 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39379 that are not needed.
39380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39385 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39387
ee2aafe0
AS
393882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39389
39390 * math/s_nan.c: Undef __nan.
39391 * math/s_nanf.c: Undef __nanf.
39392 * math/s_nanl.c: Undef __nanl.
39393 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39394 "math_private.h".
39395
bc62c2fb
UD
393962011-10-22 Ulrich Drepper <drepper@gmail.com>
39397
77425c63
UD
39398 * math/s_catan.c: Add branch predictions.
39399 * math/s_catanf.c: Likewise.
39400 * math/s_catanh.c: Likewise.
39401 * math/s_catanhf.c: Likewise.
39402 * math/s_catanhl.c: Likewise.
39403 * math/s_catanl.c: Likewise.
39404 * math/s_cexp.c: Likewise.
39405 * math/s_cexpf.c: Likewise.
39406 * math/s_cexpl.c: Likewise.
39407 * math/s_clog.c: Likewise.
39408 * math/s_clog10.c: Likewise.
39409 * math/s_clog10f.c: Likewise.
39410 * math/s_clog10l.c: Likewise.
39411 * math/s_clogf.c: Likewise.
39412 * math/s_clogl.c: Likewise.
39413 * math/s_csqrt.c: Likewise.
39414 * math/s_csqrtf.c: Likewise.
39415 * math/s_csqrtl.c: Likewise.
39416 * math/s_ctanf.c: Likewise.
39417 * math/s_ctanh.c: Likewise.
39418 * math/s_ctanhf.c: Likewise.
39419 * math/s_ctanhl.c: Likewise.
39420 * math/s_ctanl.c: Likewise.
39421
bc62c2fb
UD
39422 * math/math_private.h: Define __nan, __nanf, __nanl.
39423 * math/s_cacosh.c: Include <math_private.h>.
39424 * math/s_cacoshl.c: Likewise.
39425 * math/s_casinh.c: Likewise.
39426 * math/s_casinhf.c: Likewise.
39427 * math/s_casinhl.c: Likewise.
39428 * math/s_ccos.c: Rely entire on ccosh.
39429 * math/s_ccosf.c: Rely entire on ccoshf.
39430 * math/s_ccosl.c: Rely entirely on ccoshl.
39431 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39432 Remove tests for FE_INVALID.
39433 * math/s_ccoshf.c: Likewise.
39434 * math/s_ccoshl.c: Likewise.
39435 * math/s_csin.c: Likewise.
39436 * math/s_csinf.c: Likewise.
39437 * math/s_csinh.c Likewise.
39438 * math/s_csinhf.c: Likewise.
39439 * math/s_csinhl.c: Likewise.
39440 * math/s_csinl.c: Likewise.
39441 * math/s_ctan.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39443 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39444 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39445
8ec250a4
UD
394462011-10-21 Ulrich Drepper <drepper@gmail.com>
39447
c196fed8
UD
39448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39449 compilation problems.
39450
8ec250a4
UD
39451 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39452 __builtin_expect.
39453
8d4f46c6
UD
394542011-10-20 Ulrich Drepper <drepper@gmail.com>
39455
ed72b654
UD
39456 * sysdeps/i386/configure.in: Test for -mfma4 option.
39457 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39458 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39459 COMMON_CPUID_INDEX_80000001.
39460 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39461 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39462 use it if FMA3 is not supported.
39463 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39464
8d4f46c6
UD
39465 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39466 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39467
d45c60c2
AS
394682011-10-20 Andreas Schwab <schwab@redhat.com>
39469
39470 [BZ #12892]
39471 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39472 it would create a cycle with a link time dependency.
39473
d9a4d2ab
UD
394742011-10-19 Ulrich Drepper <drepper@gmail.com>
39475
855d1560
UD
39476 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39477 instruction.
39478 * string/Makefile (strop-tests): Add rawmemchr.
39479 * string/test-rawmemchr.c: New file.
39480
d9a4d2ab
UD
39481 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39482 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39483 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39484 when compiling str{,n}casecmp and when AVX is available. Hook up
39485 new optimized code in initializers.
39486
8f3b1ffe
AS
394872011-10-19 Andreas Schwab <schwab@redhat.com>
39488
39489 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39490 __feraiseexcept instead of feraiseexcept.
39491
d38f1dba
UD
394922011-10-18 Ulrich Drepper <drepper@gmail.com>
39493
d9a8d0ab
UD
39494 * math/math_private.h: Define defaults for libc_fetestexcept and
39495 libc_feupdateenv.
39496 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39497 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39498 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39499 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39500 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39501 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39502 libc_fetestexcept and libc_feupdateenv.
39503
4855e3dd
UD
39504 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39505 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39506 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39507 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39508 libc_feholdexcept_setround.
39509
581d30e3
UD
39510 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39511 Add s_nearbyint-c and s_nearbyintf-c.
39512 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39513 nearbyintf inlines.
39514 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39515 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39516 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39517 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39518
d38f1dba
UD
39519 * math/math_private.h: Define defaults for libc_fegetround,
39520 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39521 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39522 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39523 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39524 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39525 standard functions.
39526 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39527 Remove comments and hacks for old compiler versions.
39528 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39529 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39530 libc_feholdexceptl.
39531
caa6c9d8
AS
395322011-10-18 Andreas Schwab <schwab@redhat.com>
39533
39534 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39535 (__feraiseexcept_renamed): Add __NTH.
39536 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39537 namespace violations.
39538
97c066e6
UD
395392011-10-17 Ulrich Drepper <drepper@gmail.com>
39540
99ce7b04
UD
39541 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39542
1004d182
UD
39543 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39544
228a984d
UD
39545 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39546 recently added interfaces.
39547 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39548
c8553a6a
UD
39549 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39550 about macro parameter expansion.
39551
ed22dcf6
UD
39552 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39553 __NO_MATH_INLINES is defined. Cleanups.
39554
39555 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39556 and __floorf is target has SSE4.1.
39557 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39558 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39559 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39560 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39561
b171c137
UD
39562 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39563 name.
39564 (floorf): Likewise.
39565
97c066e6
UD
39566 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39567
629f62ef
AS
395682011-10-17 Andreas Schwab <schwab@redhat.com>
39569
49a43d80
AS
39570 * misc/sys/cdefs.h: Fix last change.
39571
629f62ef
AS
39572 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39573 database lookup.
39574
e453f6cd
UD
395752011-10-16 Ulrich Drepper <drepper@gmail.com>
39576
aa78043a
UD
39577 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39578
ad0f5cad
UD
39579 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39581 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39582 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39583 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39584 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39585 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39586 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39587 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39588 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39589 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39590 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39591 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39592 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39593 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39594 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39595 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39596 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39597 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39598 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39599 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39600 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39601
39602 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39603 ceil, ceilf, floor, floorf.
39604
39605 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39606 Perform IRELATIVE relocations last.
39607
e453f6cd
UD
39608 * elf/do-rel.h: Add another parameter nrelative, replacing the
39609 local variable with the same name. Change name of the function
39610 to end in Rel or Rela (uppercase).
39611 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39612 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39613 elf_dynamic_do_##reloc function.
39614
fd5bdc09
UD
396152011-10-15 Ulrich Drepper <drepper@gmail.com>
39616
79b195b5
UD
39617 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39618 is sufficient, at least on modern CPUs.
39619
d4a28569
UD
39620 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39621
b61099b5
UD
39622 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39623 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39624
bcf01e6d
UD
39625 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39626 __expl_finite.
39627 * math/bits/math-finite.h: Add entries for exp.
39628 * math/e_expl.c: Add __*_finite alias.
39629 * sysdeps/i386/fpu/e_exp.S: Likewise.
39630 * sysdeps/i386/fpu/e_expf.S: Likewise.
39631 * sysdeps/i386/fpu/e_expl.c: Likewise.
39632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39633 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39634 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39636 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39637 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39638 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39639
ba1a0d59
UD
39640 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39641 is sufficient, at least on modern CPUs.
39642
fd5bdc09
UD
39643 * ctype/ctype-info.c (__ctype_init): Define.
39644 * include/ctype.h (__ctype_init): Declare.
39645 (__ctype_b_loc): The variable is always initialized.
39646 (__ctype_toupper_loc): Likewise.
39647 (__ctype_tolower_loc): Likewise.
39648 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39649 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39650
7872cfb0
AS
396512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39652
b468825a
AS
39653 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39654
7872cfb0
AS
39655 * configure.in: Also look in $cxxmachine/include for C++ system
39656 headers.
39657
be13f7bf
LD
396582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39659
39660 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39661 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39662 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39663 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39664 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39665 (USE_AS_WMEMCMP): New macro.
39666 Fixing indents.
39667 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39668 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39669 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39670 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39672 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39673 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39674 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39675 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39676 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39678 (USE_AS_WMEMCMP): New macro.
39679 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39680 * sysdeps/string/test-memcmp.c: Update.
39681 Fix simple_wmemcmp.
39682 Add new tests.
39683 * wcsmbs/wmemcmp.c: Update.
39684 (WMEMCMP): New macro.
39685 Fix overflow bug.
39686
556a2007
AJ
396872011-10-12 Andreas Jaeger <aj@suse.de>
39688
39689 [BZ #13268]
39690 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39691
538faaa7
UD
396922011-10-15 Ulrich Drepper <drepper@gmail.com>
39693
ab6737ff
UD
39694 * libio/iofwide.c (do_length): Avoid warning.
39695
538faaa7
UD
39696 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39697
396a21b1
UD
396982011-10-14 Ulrich Drepper <drepper@gmail.com>
39699
cdf2901f
UD
39700 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39701
38ad40ce
UD
39702 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39703 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39704 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39705 * sysdeps/i386/i686/fpu/e_log.S: New file.
39706 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39707 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39708
396a21b1
UD
39709 * ctype/ctype.h: Add support for inlined isXXX functions when
39710 compiling C++ code.
39711
6b1f68c9
AS
397122011-10-14 Andreas Schwab <schwab@redhat.com>
39713
349290c0
AS
39714 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39715
6b1f68c9
AS
39716 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39717
f2282d42
RM
397182011-10-13 Roland McGrath <roland@hack.frob.com>
39719
39720 [BZ #13291]
39721 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39722
5298ffa8
AS
397232011-10-13 Andreas Schwab <schwab@redhat.com>
39724
714fad23
AS
39725 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39726 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39727 feraiseexcept.
39728
81dcc7fb
AS
39729 * sysdeps/x86_64/memrchr.S: Check for zero size.
39730
5298ffa8
AS
39731 * string/stratcliff.c: Add memrchr tests.
39732
951fbcec
LD
397332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39734
39735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39736 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39737 rawmemchr-sse2 rawmemchr-sse2-bsf.
39738 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39739 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39740 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39741 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39742 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39743 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39744 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39745 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39746 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39747 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39748 * string/memrchr.c (MEMRCHR): New macro.
39749
0ac5ae23
UD
397502011-10-12 Ulrich Drepper <drepper@gmail.com>
39751
39752 Add integration with gcc's -ffinite-math-only and optimize wrapper
39753 functions in libm.
39754 * Versions.def: Define GLIBC_2.15 version for libm.
39755 * math/Makefile (headers): Add bits/math-finite.h.
39756 * math/bits/math-finite.h: New file.
39757 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39758 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39759 * math/e_acoshl.c: Add __*_finite alias.
39760 * math/e_acosl.c: Likewise.
39761 * math/e_asinl.c: Likewise.
39762 * math/e_atan2l.c: Likewise.
39763 * math/e_atanhl.c: Likewise.
39764 * math/e_coshl.c: Likewise.
39765 * math/e_exp10.c: Likewise.
39766 * math/e_exp10f.c: Likewise.
39767 * math/e_exp10l.c: Likewise.
39768 * math/e_exp2l.c: Likewise.
39769 * math/e_fmodl.c: Likewise.
39770 * math/e_gammal_r.c: Likewise.
39771 * math/e_hypotl.c: Likewise.
39772 * math/e_j0l.c: Likewise.
39773 * math/e_j1l.c: Likewise.
39774 * math/e_jnl.c: Likewise.
39775 * math/e_lgammal_r.c: Likewise.
39776 * math/e_log10l.c: Likewise.
39777 * math/e_log2l.c: Likewise.
39778 * math/e_logl.c: Likewise.
39779 * math/e_powl.c: Likewise.
39780 * math/e_sinhl.c: Likewise.
39781 * math/e_sqrtl.c: Likewise.
39782 * math/e_scalb.c: Completely rewritten and optimized.
39783 * math/e_scalbf.c: Likewise.
39784 * math/e_scalbl.c: Likewise.
39785 * math/w_acos.c: Likewise.
39786 * math/w_acosf.c: Likewise.
39787 * math/w_acosl.c: Likewise.
39788 * math/w_acosh.c: Likewise.
39789 * math/w_acoshf.c: Likewise.
39790 * math/w_acoshl.c: Likewise.
39791 * math/w_asin.c: Likewise.
39792 * math/w_asinf.c: Likewise.
39793 * math/w_asinl.c: Likewise.
39794 * math/w_atan2.c: Likewise.
39795 * math/w_atan2f.c: Likewise.
39796 * math/w_atan2l.c: Likewise.
39797 * math/w_atanh.c: Likewise.
39798 * math/w_atanhf.c: Likewise.
39799 * math/w_atanhl.c: Likewise.
39800 * math/w_exp10.c: Likewise.
39801 * math/w_exp10f.c: Likewise.
39802 * math/w_exp10l.c: Likewise.
39803 * math/w_fmod.c: Likewise.
39804 * math/w_fmodf.c: Likewise.
39805 * math/w_fmodl.c: Likewise.
39806 * math/w_j0.c: Likewise.
39807 * math/w_j0f.c: Likewise.
39808 * math/w_j0l.c: Likewise.
39809 * math/w_j1.c: Likewise.
39810 * math/w_j1f.c: Likewise.
39811 * math/w_j1l.c: Likewise.
39812 * math/w_jn.c: Likewise.
39813 * math/w_jnf.c: Likewise.
39814 * math/w_log.c: Likewise.
39815 * math/w_logf.c: Likewise.
39816 * math/w_logl.c: Likewise.
39817 * math/w_log10.c: Likewise.
39818 * math/w_log10f.c: Likewise.
39819 * math/w_log10l.c: Likewise.
39820 * math/w_log2.c: Likewise.
39821 * math/w_log2f.c: Likewise.
39822 * math/w_log2l.c: Likewise.
39823 * math/w_pow.c: Likewise.
39824 * math/w_powf.c: Likewise.
39825 * math/w_powl.c: Likewise.
39826 * math/w_remainder.c: Likewise.
39827 * math/w_remainderf.c: Likewise.
39828 * math/w_remainderl.c: Likewise.
39829 * math/w_scalb.c: Likewise.
39830 * math/w_scalbf.c: Likewise.
39831 * math/w_scalbl.c: Likewise.
39832 * math/w_sqrt.c: Likewise.
39833 * math/w_sqrtf.c: Likewise.
39834 * math/w_sqrtl.c: Likewise.
39835 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39836 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39837 used.
39838 * math/math_private.h: Declare __kernel_standard_f.
39839 * math/w_cosh.c: Remove cruft and optimize a bit.
39840 * math/w_coshf.c: Likewise.
39841 * math/w_coshl.c: Likewise.
39842 * math/w_exp2.c: Likewise.
39843 * math/w_exp2f.c: Likewise.
39844 * math/w_exp2l.c: Likewise.
39845 * math/w_hypot.c: Likewise.
39846 * math/w_hypotf.c: Likewise.
39847 * math/w_hypotl.c: Likewise.
39848 * math/w_lgamma.c: Likewise.
39849 * math/w_lgamma_r.c: Likewise.
39850 * math/w_lgammaf.c: Likewise.
39851 * math/w_lgammaf_r.c: Likewise.
39852 * math/w_lgammal.c: Likewise.
39853 * math/w_lgammal_r.c: Likewise.
39854 * math/w_sinh.c: Likewise.
39855 * math/w_sinhf.c: Likewise.
39856 * math/w_sinhl.c: Likewise.
39857 * math/w_tgamma.c: Likewise.
39858 * math/w_tgammaf.c: Likewise.
39859 * math/w_tgammal.c: Likewise.
39860 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39861 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39862 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39863 Minor optimizations. Pretty printing. Remove cruft.
39864 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39865 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39866 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39868 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39869 * sysdeps/i386/fpu/e_asin.S: Likewise.
39870 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39871 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39872 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39873 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39874 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39875 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39876 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39877 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39878 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39879 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39880 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39881 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39882 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39883 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39884 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39885 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39886 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39887 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39888 * sysdeps/i386/fpu/e_log.S: Likewise.
39889 * sysdeps/i386/fpu/e_log10.S: Likewise.
39890 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39891 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39892 * sysdeps/i386/fpu/e_log2.S: Likewise.
39893 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39894 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39895 * sysdeps/i386/fpu/e_logf.S: Likewise.
39896 * sysdeps/i386/fpu/e_logl.S: Likewise.
39897 * sysdeps/i386/fpu/e_pow.S: Likewise.
39898 * sysdeps/i386/fpu/e_powf.S: Likewise.
39899 * sysdeps/i386/fpu/e_powl.S: Likewise.
39900 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39901 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39902 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39903 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39904 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39905 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39906 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39907 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39908 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39909 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39912 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39913 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39914 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39915 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39922 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39923 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39926 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39927 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39929 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39930 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39931 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39932 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39933 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39934 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39935 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39936 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39937 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39938 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39939 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39940 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39941 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39942 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39943 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39944 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39945 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39946 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39947 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39948 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39949 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39950 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39951 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39953 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39954 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39955 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39956 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39959 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39960 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39961 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39962 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39963 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39964 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39965 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39966 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39967 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39968 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39969 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39971 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39972 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39973 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39974 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39975 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39976 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39977 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39978 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39979 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39980 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39981 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39983 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39985 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39987 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39988 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39989 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39990 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39991 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39992 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39993 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39994 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39995 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39996 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39997 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39998 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39999 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40000 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40001 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40002 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40006 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40007 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40008 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40009 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40010 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40011 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40012 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40013 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40014 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40015 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40017 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40018 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40019 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40020 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40021 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40022 (__isnanf): Likewise.
40023 (__isinf_ns): Likewise.
40024 (__isinf_nsf): Likewise.
40025 (__finite): Likewise.
40026 (__finitef): Likewise.
40027 (__ieee754_sqrt): Define as macro.
40028 (__ieee754_sqrtf): Define as macro.
40029 (__ieee754_sqrtl): Define as macro.
40030 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40031 inlined copy.
40032 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40033 __FINITE_MATH_ONLY__ consistent.
40034 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40035
12cc2fcd
AS
400362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40037
a843a204
AS
40038 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40039 of rawmemchr.
40040
12cc2fcd
AS
40041 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40042
c853acd5
UD
400432011-10-09 Ulrich Drepper <drepper@gmail.com>
40044
40045 * po/ja.po: Update from translation team.
40046
c658d255
RM
400472011-10-08 Roland McGrath <roland@hack.frob.com>
40048
110946e4
RM
40049 * locale/programs/locarchive.c (prepare_address_space): New function.
40050 (create_archive, enlarge_archive, open_archive): Use it.
40051
50604220
RM
40052 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40053 inside [SHARED], where it is used.
40054
c658d255
RM
40055 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40056
40057 * nss/getent.c (netgroup_keys): Remove unused variable.
40058 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40059
6a621eb7
UD
400602011-10-08 Ulrich Drepper <drepper@gmail.com>
40061
7edb55ce
UD
40062 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40063 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40065 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40066 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40067 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40068 * math/Makefile (libm-calls): Add s_isinf_ns.
40069 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40070 * math/multc3.c: Likewise.
40071 * math/s_casin.c: Likewise.
40072 * math/s_casinf.c: Likewise.
40073 * math/s_casinl.c: Likewise.
40074 * math/s_ccos.c: Likewise.
40075 * math/s_ccosf.c: Likewise.
40076 * math/s_ccosl.c: Likewise.
40077 * math/s_ctan.c: Likewise.
40078 * math/s_ctanf.c: Likewise.
40079 * math/s_ctanh.c: Likewise.
40080 * math/s_ctanhf.c: Likewise.
40081 * math/s_ctanhl.c: Likewise.
40082 * math/s_ctanl.c: Likewise.
40083 * math/w_fmod.c: Likewise.
40084 * math/w_fmodf.c: Likewise.
40085 * math/w_fmodl.c: Likewise.
40086 * math/w_remainder.c: Likewise.
40087 * math/w_remainderf.c: Likewise.
40088 * math/w_remainderl.c: Likewise.
40089 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40090 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40091 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40093 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40094 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40095 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40096 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40097
187da0ae
UD
40098 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40099 of the number.
40100 * stdio-common/printf_fphex.c: Likewise.
40101 * stdio-common/printf_size.c: Likewise.
40102
9277c064
UD
40103 * math/e_exp10.c: Include math_private.h using <...> not "...".
40104 * math/e_exp10f.c: Likewise.
40105 * math/e_exp10l.c: Likewise.
40106 * math/e_exp2l.c: Likewise.
40107 * math/e_j0l.c: Likewise.
40108 * math/e_j1l.c: Likewise.
40109 * math/e_jnl.c: Likewise.
40110 * math/e_lgammal_r.c: Likewise.
40111 * math/e_rem_pio2l.c: Likewise.
40112 * math/e_scalb.c: Likewise.
40113 * math/e_scalbf.c: Likewise.
40114 * math/e_scalbl.c: Likewise.
40115 * math/k_cosl.c: Likewise.
40116 * math/k_sinl.c: Likewise.
40117 * math/k_tanl.c: Likewise.
40118 * math/s_cacoshf.c: Likewise.
40119 * math/s_catan.c: Likewise.
40120 * math/s_catanf.c: Likewise.
40121 * math/s_catanh.c: Likewise.
40122 * math/s_catanhf.c: Likewise.
40123 * math/s_catanhl.c: Likewise.
40124 * math/s_catanl.c: Likewise.
40125 * math/s_ccosh.c: Likewise.
40126 * math/s_ccoshf.c: Likewise.
40127 * math/s_ccoshl.c: Likewise.
40128 * math/s_cexp.c: Likewise.
40129 * math/s_cexpf.c: Likewise.
40130 * math/s_cexpl.c: Likewise.
40131 * math/s_clog.c: Likewise.
40132 * math/s_clog10.c: Likewise.
40133 * math/s_clog10f.c: Likewise.
40134 * math/s_clog10l.c: Likewise.
40135 * math/s_clogf.c: Likewise.
40136 * math/s_clogl.c: Likewise.
40137 * math/s_csin.c: Likewise.
40138 * math/s_csinf.c: Likewise.
40139 * math/s_csinh.c: Likewise.
40140 * math/s_csinhf.c: Likewise.
40141 * math/s_csinhl.c: Likewise.
40142 * math/s_csinl.c: Likewise.
40143 * math/s_csqrt.c: Likewise.
40144 * math/s_csqrtf.c: Likewise.
40145 * math/s_csqrtl.c: Likewise.
40146 * math/s_ctan.c: Likewise.
40147 * math/s_ctanf.c: Likewise.
40148 * math/s_ctanh.c: Likewise.
40149 * math/s_ctanhf.c: Likewise.
40150 * math/s_ctanhl.c: Likewise.
40151 * math/s_ctanl.c: Likewise.
40152 * math/s_ldexp.c: Likewise.
40153 * math/s_ldexpf.c: Likewise.
40154 * math/s_ldexpl.c: Likewise.
40155 * math/s_significand.c: Likewise.
40156 * math/s_significandf.c: Likewise.
40157 * math/s_significandl.c: Likewise.
40158 * math/w_acos.c: Likewise.
40159 * math/w_acosf.c: Likewise.
40160 * math/w_acosh.c: Likewise.
40161 * math/w_acoshf.c: Likewise.
40162 * math/w_acoshl.c: Likewise.
40163 * math/w_acosl.c: Likewise.
40164 * math/w_asin.c: Likewise.
40165 * math/w_asinf.c: Likewise.
40166 * math/w_asinl.c: Likewise.
40167 * math/w_atan2.c: Likewise.
40168 * math/w_atan2f.c: Likewise.
40169 * math/w_atan2l.c: Likewise.
40170 * math/w_atanh.c: Likewise.
40171 * math/w_atanhf.c: Likewise.
40172 * math/w_atanhl.c: Likewise.
40173 * math/w_cosh.c: Likewise.
40174 * math/w_coshf.c: Likewise.
40175 * math/w_coshl.c: Likewise.
40176 * math/w_dremf.c: Likewise.
40177 * math/w_exp10.c: Likewise.
40178 * math/w_exp10f.c: Likewise.
40179 * math/w_exp10l.c: Likewise.
40180 * math/w_exp2.c: Likewise.
40181 * math/w_exp2f.c: Likewise.
40182 * math/w_fmod.c: Likewise.
40183 * math/w_fmodf.c: Likewise.
40184 * math/w_fmodl.c: Likewise.
40185 * math/w_hypot.c: Likewise.
40186 * math/w_hypotf.c: Likewise.
40187 * math/w_hypotl.c: Likewise.
40188 * math/w_j0.c: Likewise.
40189 * math/w_j0f.c: Likewise.
40190 * math/w_j0l.c: Likewise.
40191 * math/w_j1.c: Likewise.
40192 * math/w_j1f.c: Likewise.
40193 * math/w_j1l.c: Likewise.
40194 * math/w_jn.c: Likewise.
40195 * math/w_jnf.c: Likewise.
40196 * math/w_jnl.c: Likewise.
40197 * math/w_lgamma.c: Likewise.
40198 * math/w_lgamma_r.c: Likewise.
40199 * math/w_lgammaf.c: Likewise.
40200 * math/w_lgammaf_r.c: Likewise.
40201 * math/w_lgammal.c: Likewise.
40202 * math/w_lgammal_r.c: Likewise.
40203 * math/w_log.c: Likewise.
40204 * math/w_log10.c: Likewise.
40205 * math/w_log10f.c: Likewise.
40206 * math/w_log10l.c: Likewise.
40207 * math/w_log2.c: Likewise.
40208 * math/w_log2f.c: Likewise.
40209 * math/w_log2l.c: Likewise.
40210 * math/w_logf.c: Likewise.
40211 * math/w_logl.c: Likewise.
40212 * math/w_pow.c: Likewise.
40213 * math/w_powf.c: Likewise.
40214 * math/w_powl.c: Likewise.
40215 * math/w_remainder.c: Likewise.
40216 * math/w_remainderf.c: Likewise.
40217 * math/w_remainderl.c: Likewise.
40218 * math/w_scalb.c: Likewise.
40219 * math/w_scalbf.c: Likewise.
40220 * math/w_scalbl.c: Likewise.
40221 * math/w_sinh.c: Likewise.
40222 * math/w_sinhf.c: Likewise.
40223 * math/w_sinhl.c: Likewise.
40224 * math/w_sqrt.c: Likewise.
40225 * math/w_sqrtf.c: Likewise.
40226 * math/w_sqrtl.c: Likewise.
40227 * math/w_tgamma.c: Likewise.
40228 * math/w_tgammaf.c: Likewise.
40229 * math/w_tgammal.c: Likewise.
40230
6a621eb7
UD
40231 * po/ja.po: Update from translation team.
40232
bf582445
AJ
402332011-09-29 Andreas Jaeger <aj@suse.de>
40234
f9efbf3a
AJ
40235 [BZ #13179]
40236 * sunrpc/netname.c (netname2host): Fix logic.
40237
bf582445
AJ
40238 [BZ #6779]
40239 [BZ #6783]
40240 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40241 correctly.
40242 * math/w_remainder.c (__remainder): Likewise.
40243 * math/w_remainderf.c (__remainderf): Likewise.
40244 * math/libm-test.inc (remainder_test): Add test cases.
40245
48693bea
AK
402462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40247
40248 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40249 sdiv_qrnnd.
40250
42622229
LD
402512011-10-07 Ulrich Drepper <drepper@gmail.com>
40252
40253 * string/test-memcmp.c: Avoid unncessary #defines.
40254 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40255
093ecf92
LD
402562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40257
40258 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40259 Use new sse2 version for core i3 - i7 as it's faster
40260 than sse42 version.
40261 (bit_Prefer_PMINUB_for_stringop): New.
40262 * sysdeps/x86_64/rawmemchr.S: Update.
40263 Replace with faster SSE2 version.
40264 * sysdeps/x86_64/memrchr.S: New file.
40265 * sysdeps/x86_64/memchr.S: Update.
40266 Replace with faster SSE2 version.
40267
fde56e5c
MP
402682011-09-12 Marek Polacek <mpolacek@redhat.com>
40269
40270 * elf/dl-load.c (lose): Add cast to avoid warning.
40271
21fd49a9
UD
402722011-10-07 Ulrich Drepper <drepper@gmail.com>
40273
5a06e643
UD
40274 * po/ca.po: Update from translation team.
40275
684ae515
UD
40276 * inet/getnetgrent_r.c: Hook up nscd.
40277 * nscd/Makefile (routines): Add nscd_netgroup.
40278 (nscd-modules): Add netgroupcache.
40279 (CFLAGS-netgroupcache.c): Define.
40280 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40281 (cache_search): Add const to second parameter.
40282 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40283 INNETGR.
40284 (dbs): Add netgrdb entry.
40285 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40286 (verify_persistent_db): Handle netgrdb.
40287 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40288 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40289 GETFDNETGR.
40290 (netgroup_response_header): Define.
40291 (innetgroup_response_header): Define.
40292 (datahead): Add netgroup_response_header and innetgroup_response_header
40293 elements.
40294 * nscd/nscd.conf: Add entries for netgroup cache.
40295 * nscd/nscd.h (dbtype): Add netgrdb.
40296 (_PATH_NSCD_NETGROUP_DB): Define.
40297 (netgroup_iov_disabled): Declare.
40298 (xmalloc, xcalloc, xrealloc): Move declarations here.
40299 (cache_search): Adjust prototype.
40300 Add netgroup-related prototypes.
40301 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40302 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40303 (__nscd_innetgr): Declare.
40304 * nscd/selinux.c (perms): Use access_vector_t as element type and
40305 add netgroup-related initializers.
40306 * nscd/netgroupcache.c: New file.
40307 * nscd/nscd_netgroup.c: New file.
40308 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40309 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40310 For four parameters use innetgr.
40311 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40312 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40313 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40314 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40315
21fd49a9
UD
40316 * nscd/connections.c (register_traced_file): Don't register file
40317 for disabled databases.
40318
054c0457
UD
403192011-10-06 Ulrich Drepper <drepper@gmail.com>
40320
32b63198
UD
40321 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40322
054c0457
UD
40323 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40324 from tree and freeing node.
40325
64031225
JO
403262011-09-25 Jiri Olsa <jolsa@redhat.com>
40327
40328 * nss/nsswitch.c (__nss_database_lookup): Handle
40329 nss_parse_service_list out of memory case.
40330
0490345c
JO
403312011-09-15 Jiri Olsa <jolsa@redhat.com>
40332
40333 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40334 out of memory case.
40335
3a62d00d
AS
403362011-10-04 Andreas Schwab <schwab@redhat.com>
40337
40338 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40339 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40340 pass it down.
40341 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40342 elf_machine_rela, elf_machine_lazy_rel.
40343 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40344 (ELF_DYNAMIC_DO_REL): Likewise.
40345 (ELF_DYNAMIC_DO_RELA): Likewise.
40346 (ELF_DYNAMIC_RELOCATE): Likewise.
40347 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40348 to ELF_DYNAMIC_DO_REL.
40349 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40350 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40351 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40352 elf_machine_rela.
40353 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40354 skip_ifunc, don't call ifunc function if non-zero.
40355 (elf_machine_rela): Likewise.
40356 (elf_machine_lazy_rel): Likewise.
40357 (elf_machine_lazy_rela): Likewise.
40358 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40359 (elf_machine_lazy_rel): Likewise.
40360 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40361 Likewise.
40362 (elf_machine_lazy_rel): Likewise.
40363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40364 Likewise.
40365 (elf_machine_lazy_rel): Likewise.
40366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40367 (elf_machine_lazy_rel): Likewise.
40368 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40369 (elf_machine_lazy_rel): Likewise.
40370 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40371 (elf_machine_lazy_rel): Likewise.
40372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40373 (elf_machine_lazy_rel): Likewise.
40374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40375 (elf_machine_lazy_rel): Likewise.
40376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40377 (elf_machine_lazy_rel): Likewise.
40378
68577918
UD
403792011-09-28 Ulrich Drepper <drepper@gmail.com>
40380
40381 * nss/nss_files/files-init.c (_nss_files_init): Use static
40382 initialization for all the *_traced_file variables.
40383
68822d74
AS
403842011-09-28 Andreas Schwab <schwab@redhat.com>
40385
40386 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40387
2056100b
RM
403882011-09-27 Roland McGrath <roland@hack.frob.com>
40389
40390 [BZ #13226]
40391 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40392
32c76b63
AS
403932011-09-27 Andreas Schwab <schwab@redhat.com>
40394
40395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40396 Reread the line before reparsing it.
40397
bf972c9d
AS
403982011-09-26 Andreas Schwab <schwab@redhat.com>
40399
40400 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40401
e057a1b5
JM
404022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40403 Maxim Kuvyrkov <maxim@codesourcery.com>
40404 Joseph Myers <joseph@codesourcery.com>
40405
40406 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40407 if needed for __stack_chk_guard.
40408
bc7e1c36
RM
404092011-09-19 Roland McGrath <roland@hack.frob.com>
40410
ecb1482f
RM
40411 * sysdeps/posix/spawni.c (script_execute): Always define it.
40412 It will be optimized away if unused.
40413 (maybe_script_execute): New function.
40414 (__spawni): Call it.
40415
bc7e1c36
RM
40416 * Makerules: Don't include tls.make.
40417 (config-tls): Always set to thread.
40418 * tls.make.c: File removed.
40419
1c3b002b
MF
404202011-09-19 Mike Frysinger <vapier@gentoo.org>
40421
40422 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40423 * config.make.in (CPPFLAGS-config): New substituted variable.
40424
2840865d
UD
404252011-09-15 Ulrich Drepper <drepper@gmail.com>
40426
88738eb6
UD
40427 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40428
cbf645a6 40429 [BZ #13192]
2840865d
UD
40430 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40431 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40432
b402e91a
RM
404332011-09-15 Roland McGrath <roland@hack.frob.com>
40434
40435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40436 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40438 (CALL_FAIL): Likewise.
40439 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40440 (CALL_FAIL): Macro removed.
40441 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40442
4c1a1f71
UD
404432011-09-15 Ulrich Drepper <drepper@gmail.com>
40444
40445 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40446 for __FINITE_MATH_ONLY__ == 1.
40447
edc121be
AS
404482011-09-15 Andreas Schwab <schwab@redhat.com>
40449
40450 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40451 __ieee754_sqrt instead of sqrt.
40452 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40453 __ieee754_sqrtf instead of sqrtf.
40454 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40455 __floorf instead of floorf.
40456 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40457 __floorf, __truncf instead of floorf, truncf.
40458
cd205654
UD
404592011-09-14 Ulrich Drepper <drepper@gmail.com>
40460
ee4d0315
UD
40461 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40462
cd205654
UD
40463 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40464 __extern_always_inline.
40465 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40466 32-bit.
40467
48b67d71
AS
404682011-09-14 Andreas Schwab <schwab@redhat.com>
40469
40470 * elf/rtld.c (dl_main): Also relocate in dependency order when
40471 doing symbol dependency testing.
40472
1ae12c75
AS
404732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40474
40475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40476 Always define `refsym'.
40477
995a80df
AS
404782011-09-13 Andreas Schwab <schwab@redhat.com>
40479
e529793b
AS
40480 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40481 (__FD_ELT): Renamed from __FDELT.
40482 * misc/bits/select2.h (__FD_ELT): Likewise.
40483 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40484 __FD_MASK instead of __FDELT, __FDMASK.
40485 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40486 Likewise.
40487 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40488 Likewise.
40489
52d4fef8
AS
40490 * elf/Makefile (gen-ldd): Fix pattern.
40491
995a80df
AS
40492 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40493 (init_tls): Likewise.
40494
8682f8b0
UD
404952011-09-12 Ulrich Drepper <drepper@gmail.com>
40496
40497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40498
de82006d
AS
404992011-09-12 Andreas Schwab <schwab@redhat.com>
40500
a7c8e6a1
AS
40501 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40502 `struct cmsghdr *' instead of `void *'.
40503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40504 Likewise.
40505
0f31fe77
AS
405062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40507
40508 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40509 if non-absolute.
40510 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40511 ldd_rewrite_script.
0f31fe77 40512
32b4c839
UD
405132011-09-11 Ulrich Drepper <drepper@gmail.com>
40514
83cd1420
UD
40515 * configure.in: Remove --with-tls option.
40516 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40517 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40518 out in case it is missing.
40519 * sysdeps/ia64/elf/configure.in: Likewise.
40520 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40521 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40522 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40523 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40524 * sysdeps/sh/elf/configure.in: Likewise.
40525 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40526 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40527 * sysdeps/x86_64/elf/configure.in: Likewise.
40528 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40529 * sysdeps/mach/hurd/tls.h: Likewise.
40530
633f745d
UD
40531 [BZ #13067]
40532 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40533
f318beb8
UD
40534 [BZ #13090]
40535 * configure.in: Fix use of AC_INIT.
40536
32b4c839
UD
40537 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40538
3ce1f295
UD
405392011-09-10 Ulrich Drepper <drepper@gmail.com>
40540
bb016596
UD
40541 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40542 __set_errno.
8e58439c
UD
40543 * malloc/hooks.c: Likewise.
40544
aebae053 40545 [BZ #11929]
02d46fc4
UD
40546 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40547 variables statically.
40548 (narenas): Initialize.
40549 (list_lock): Initialize.
bb016596
UD
40550 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40551 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40552 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40553 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40554 Add initializers to main_arena and mp_.
40555 (malloc_state): Remove pagesize member. Change all users to use
40556 GLRO(dl_pagesize).
40557
40558 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40559 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40560 is always initialized.
40561
22a89187
UD
40562 * malloc/malloc.c: Removed unused configurations and dead code.
40563 * malloc/arena.c: Likewise.
40564 * malloc/hooks.c: Likewise.
02d46fc4 40565 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40566
d063d164
UD
40567 * include/tls.h: Removed. USE___THREAD must always be defined.
40568 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40569 * elf/dl-libc.c: Likewise.
40570 * elf/dl-tsd.c: Likewise.
40571 * include/errno.h: Likewise.
40572 * include/netdb.h: Likewise.
40573 * include/resolv.h: Likewise.
40574 * inet/herrno-loc.c: Likewise.
40575 * inet/herrno.c: Likewise.
40576 * malloc/arena.c: Likewise.
40577 * malloc/hooks.c: Likewise.
40578 * malloc/malloc.c: Likewise.
40579 * resolv/res-state.c: Likewise.
40580 * resolv/res_libc.c: Likewise.
40581 * sysdeps/i386/dl-machine.h: Likewise.
40582 * sysdeps/ia64/dl-machine.h: Likewise.
40583 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40584 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40585 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40586 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40587 * sysdeps/sh/dl-machine.h: Likewise.
40588 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40589 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40590 * sysdeps/unix/i386/sysdep.S: Likewise.
40591 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40592 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40596 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40597 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40602 * sysdeps/x86_64/dl-machine.h: Likewise.
40603 * tls.make.c: Likewise.
40604
3ce1f295
UD
40605 * configure.in: Remove --with-__thread option. Make tests for
40606 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40607 tls_model attribute fail if no support is available. Remove
40608 USE_IN_LIBIO.
40609 * Makeconfig: Adjust for dropped configure option. All features are
40610 now mandatory.
40611 * Makerules: Likewise.
40612 * Versions.def: Likewise.
40613 * argp/argp-fmtstream.c: Likewise.
40614 * argp/argp-fmtstream.h: Likewise.
40615 * argp/argp-help.c: Likewise.
40616 * assert/assert.c: Likewise.
40617 * config.h.in: Likewise.
40618 * config.make.in: Likewise.
40619 * configure: Likewise.
40620 * configure.in: Likewise.
40621 * csu/Versions: Likewise.
40622 * csu/init.c: Likewise.
40623 * elf/tst-audit2.c: Likewise.
40624 * elf/tst-tls10.c: Likewise.
40625 * elf/tst-tls10.h: Likewise.
40626 * elf/tst-tls11.c: Likewise.
40627 * elf/tst-tls12.c: Likewise.
40628 * elf/tst-tls14.c: Likewise.
40629 * elf/tst-tlsmod11.c: Likewise.
40630 * elf/tst-tlsmod12.c: Likewise.
40631 * elf/tst-tlsmod13.c: Likewise.
40632 * elf/tst-tlsmod13a.c: Likewise.
40633 * elf/tst-tlsmod14a.c: Likewise.
40634 * elf/tst-tlsmod15b.c: Likewise.
40635 * elf/tst-tlsmod16a.c: Likewise.
40636 * elf/tst-tlsmod16b.c: Likewise.
40637 * elf/tst-tlsmod7.c: Likewise.
40638 * elf/tst-tlsmod8.c: Likewise.
40639 * elf/tst-tlsmod9.c: Likewise.
40640 * gmon/gmon.c: Likewise.
40641 * grp/fgetgrent_r.c: Likewise.
40642 * grp/putgrent.c: Likewise.
40643 * hurd/fopenport.c: Likewise.
40644 * include/libc-symbols.h: Likewise.
40645 * include/tls.h: Likewise.
40646 * intl/gettextP.h: Likewise.
40647 * intl/loadinfo.h: Likewise.
40648 * locale/global-locale.c: Likewise.
40649 * locale/localeinfo.h: Likewise.
40650 * mach/devstream.c: Likewise.
40651 * malloc/arena.c: Likewise.
40652 * malloc/set-freeres.c: Likewise.
40653 * misc/err.c: Likewise.
40654 * misc/getttyent.c: Likewise.
40655 * misc/mntent_r.c: Likewise.
40656 * posix/getopt.c: Likewise.
40657 * posix/wordexp.c: Likewise.
40658 * pwd/fgetpwent_r.c: Likewise.
40659 * resolv/Versions: Likewise.
40660 * resolv/res_hconf.c: Likewise.
40661 * shadow/fgetspent_r.c: Likewise.
40662 * shadow/putspent.c: Likewise.
40663 * stdio-common/printf_fphex.c: Likewise.
40664 * stdio-common/tmpfile.c: Likewise.
40665 * stdlib/abort.c: Likewise.
40666 * stdlib/fmtmsg.c: Likewise.
40667 * sunrpc/auth_unix.c: Likewise.
40668 * sunrpc/clnt_perr.c: Likewise.
40669 * sunrpc/clnt_tcp.c: Likewise.
40670 * sunrpc/clnt_udp.c: Likewise.
40671 * sunrpc/clnt_unix.c: Likewise.
40672 * sunrpc/openchild.c: Likewise.
40673 * sunrpc/svc_simple.c: Likewise.
40674 * sunrpc/svc_tcp.c: Likewise.
40675 * sunrpc/svc_udp.c: Likewise.
40676 * sunrpc/svc_unix.c: Likewise.
40677 * sunrpc/xdr.c: Likewise.
40678 * sunrpc/xdr_array.c: Likewise.
40679 * sunrpc/xdr_rec.c: Likewise.
40680 * sunrpc/xdr_ref.c: Likewise.
40681 * sunrpc/xdr_stdio.c: Likewise.
40682
1248c1c4
PB
406832011-09-09 Ulrich Drepper <drepper@gmail.com>
40684
40685 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40686
406872011-07-03 Andreas Jaeger <aj@suse.de>
40688
40689 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40690 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40691 regenerate with gen-libm-tests.pl.
40692
406932010-05-12 Petr Baudis <pasky@suse.cz>
40694
40695 [BZ #11589]
40696 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40697 around j0() zero points by switching to j1().
40698 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40701 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40702
f22e1074
UD
407032011-09-09 Ulrich Drepper <drepper@gmail.com>
40704
f19009c1
UD
40705 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40706 instead of 0.
40707 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40708 instead of 0.
f19009c1
UD
40709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40710 Patch in part by Pavel Roskin <proski@gnu.org>.
40711
3f8cc204
UD
40712 [BZ #13138]
40713 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40714 realloc.
40715 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40716 Free memory block if necessary.
40717
f22e1074
UD
40718 [BZ #12847]
40719 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40720 be NULL. Don't lock in this case.
40721
0a2349f9
RM
407222011-09-09 Roland McGrath <roland@hack.frob.com>
40723
40724 * elf/elf.h (ELFOSABI_GNU): New macro.
40725 (ELFOSABI_LINUX): Define to that.
40726
f3cdd467
DZ
407272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40728
40729 * string/strncat.c (strncat): Undef the symbol in case it has been
40730 defined in bits/string.h.
40731
74718d13
UD
407322011-09-09 Ulrich Drepper <drepper@gmail.com>
40733
633e9e0f
UD
40734 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40735
0a2349f9 40736 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40737 link map.
40738
f9924780
AJ
407392011-08-17 Andreas Jaeger <aj@suse.de>
40740
40741 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40742
7f5517aa
PP
407432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40744 Ian Lance Taylor <iant@google.com>
40745
40746 * math/libm-test.inc (lround_test): New testcase.
40747 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40748
762011fe
UD
407492011-09-08 Ulrich Drepper <drepper@gmail.com>
40750
92963737
UD
40751 * Makefile: Remove support for automatic cvs check-ins.
40752 * Makerules: Likewise.
40753 * config.make.in: Likewise.
40754 * configure.in: Likewise.
40755 * intl/Makefile: Likewise.
40756 * locale/Makefile: Likewise.
40757 * po/Makefile: Likewise.
40758 * posix/Makefile: Likewise.
40759 * sysdeps/gnu/Makefile: Likewise.
40760 * sysdeps/mach/hurd/Makefile: Likewise.
40761 * sysdeps/sparc/sparc32/Makefile: Likewise.
40762
b0727fd8
JS
40763 [BZ #13118]
40764 * posix/Makefile (bug-regex32-ENV): Define.
40765 Patch by John Stanley <jpsinthemix@verizon.net>.
40766
a0f33f99
UD
40767 * misc/Makefile (headers): Add bits/select2.h.
40768 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40769 * misc/bits/select2.h: New file.
40770 * include/bits/select2.h: New file.
40771 * debug/Makefile (routines): Add fdelt_chk.
40772 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40773 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40774 FD_ISSET.
40775 * debug/fdelt_chk.c: New file.
40776
762011fe
UD
40777 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40778 * wcsmbs/test-wmemcmp.c: Likewise.
40779 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40780 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40781
407822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40783
40784 * string/Makefile (strop-tests): Add memcmp.
40785 * string/test-wmemcmp.c: New file.
40786 * string/test-memcmp.c: Add wmemcmp support.
40787
7f513ec8
RM
407882011-09-08 Roland McGrath <roland@hack.frob.com>
40789
0442afb4
RM
40790 [BZ #13153]
40791 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40792 2011-07-19 change.
40793
7f513ec8
RM
40794 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40795 garbage value in a __mach_port_mod_refs call in the cases of the
40796 task-self and thread-self ports.
40797
a12b2239
ST
407982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40799
40800 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40801
610f9ab4
AS
408022011-09-08 Andreas Schwab <schwab@redhat.com>
40803
7f513ec8 40804 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40805
48882a1a
LD
408062011-09-07 Ulrich Drepper <drepper@gmail.com>
40807
b49865be
UD
40808 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40809
fdc86bc9
UD
40810 * elf/dl-libc.c (dlerror_run): Pass back error code from
40811 dl_catch_error.
40812
c966526a
UD
40813 [BZ #13123]
40814 * elf/dl-load.c (lose): Free l_origin if it is valid.
40815
48882a1a
LD
40816 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40817 names.
40818 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40819 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40820 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40821 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40822 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40823 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40824
77a2a8b4
AZ
408252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40826
40827 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40828 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40829 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40830 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40831 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40832 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40833 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40834 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40835 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40836 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40837
24f579d8
AM
408382011-08-15 Alan Modra <amodra@gmail.com>
40839
40840 [BZ #13092]
40841 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40842 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40843 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40844 ppc_mcount to static-only-routines.
40845 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40846 __mcount_internal.
40847 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40848 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40849
3d4837df
UD
408502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40851
40852 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40853 for finite and infinity parameters.
40854
22700377
WS
408552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40856
40857 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40858 and add nop instructions for throughput optimization.
40859 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40860
5025581e
WS
408612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40862
40863 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40864 aligned copy for power7 with vector-scalar instructions.
40865 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40866
08a300c9
L
408672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40868
40869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40870 AVX check.
40871
59178ef9
AS
408722011-09-07 Andreas Schwab <schwab@redhat.com>
40873
40874 [BZ #13144]
40875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40876 last change.
40877
e38ba7ab
UD
408782011-09-07 Ulrich Drepper <drepper@gmail.com>
40879
40880 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40881 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40882 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40883 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40884 clock_gettime.
40885
d53a73ac
UD
408862011-09-06 Ulrich Drepper <drepper@gmail.com>
40887
fc8bffcc
UD
40888 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40889 Forgot to demangle the pointer.
40890
ceaa0c5d
UD
40891 * sysdeps/i386/sysdep.h: Define atom_text_section.
40892 * sysdeps/x86_64/sysdep.h: Likewise.
40893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40894 section with atom_text_section.
40895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40896 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40897 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40899 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40900
a77d3c17
UD
40901 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40902 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40903 already be defined. Change to take two parameters and don't assign
40904 result to variable. Adjust all users.
40905 Define INTERNAL_GETTIME if not already defined.
40906 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40907 call.
40908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40909 HAVE_CLOCK_GETTIME_VSYSCALL.
40910 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40911
d53a73ac
UD
40912 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40913 gettimeofday vsyscall, just use time.
40914
a8f84144
AS
409152011-09-06 Andreas Schwab <schwab@redhat.com>
40916
40917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40918 <errno.h>.
40919
ef606249
UD
409202011-09-06 Ulrich Drepper <drepper@gmail.com>
40921
40922 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40923 syscall on x86-64.
40924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40925 syscall.
40926 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40928 syscall if possible.
40929
6585cb60
UD
409302011-09-05 Ulrich Drepper <drepper@gmail.com>
40931
40932 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40933 e_ident. Don't pass to find_mapsXX.
40934 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40935
a5f524e4
LD
409362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40937
40938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40939 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40940 * sysdeps/x86_64/multiarch/strchr.S: Update.
40941 Check bit_slow_BSF bit.
40942 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40943 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40944 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40945
554881ef
UD
409462011-09-05 Ulrich Drepper <drepper@gmail.com>
40947
d96de963
UD
40948 [BZ #13134]
40949 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40950 before glibc 2.15.
40951 (tryshell): Define.
40952 (__spawni): Change last parameter to be flag. Test
40953 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40954 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40955 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40956 * posix/spawni.c: Likewise.
40957 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40958 * posix/spawnp.c: Likewise. Change normal version to use
40959 SPAWN_XFLAGS_USE_PATH.
40960 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40961 SPAWN_XFLAGS_TRY_SHELL.
40962
d48e5868
UD
40963 [BZ #13150]
40964 * posix/glob.h: Remove gcc 1.x support.
40965
554881ef
UD
40966 [BZ #13068]
40967 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40968
693fb948
LD
409692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40970
40971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40972 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40973 strrchr-sse2-bsf
40974 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40975 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40977 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40978 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40980
1b48c537
UD
409812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40982
49d42c37
UD
40983 * sysdeps/x86_64/wcscmp.S: New file.
40984
1b48c537
UD
40985 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40986 wcscmp-c wcscmp-sse2
40987 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40988 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40989 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40990 * wcsmbs/wcscmp.c: Allow renaming.
40991
15c95c5d
DM
409922011-09-05 David S. Miller <davem@davemloft.net>
40993
40994 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40995 stack slot, rather than the struct return pointer slot.
40996 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40997 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40999 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41000
2f0ad8f3
UD
410012011-09-05 Ulrich Drepper <drepper@gmail.com>
41002
d88ae418
UD
41003 * po/ja.po: Update from translation team.
41004
2f0ad8f3
UD
41005 [BZ #13144]
41006 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41007 kernel in 64-bit binaries.
41008
5f4318d1
DM
410092011-09-01 David S. Miller <davem@davemloft.net>
41010
41011 * elf/elf.h (HWCAP_SPARC_*): Move to..
41012 * sysdeps/sparc/sysdep.h: this new file and add new values.
41013 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41014 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41015 _DL_HWCAP_COUNT to 24.
41016 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41017 entries.
41018 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41019 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41020 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41022 instead of magic constants.
41023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41024
3ba57516
DM
410252011-08-31 David S. Miller <davem@davemloft.net>
41026
41027 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41029 Reimplement to do errno handling inline.
41030 (SYSCALL_ERROR_HANDLER): New macro.
41031 (__SYSCALL_STRING): Do not do errno handling in asm.
41032 (__CLONE_SYSCALL_STRING): Delete.
41033 (__INTERNAL_SYSCALL_STRING): Delete.
41034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41035 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41036 (PSEUDO): Reimplement to do errno handling inline.
41037 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41038 (SYSCALL_ERROR_HANDLER): New macro.
41039 (__SYSCALL_STRING): Do not do errno handling in asm.
41040 (__CLONE_SYSCALL_STRING): Delete.
41041 (__INTERNAL_SYSCALL_STRING): Delete.
41042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41043 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41044 i386.
41045 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41046 (inline_syscall*): Add 'err' argument.
41047 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41048 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41049 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41050 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41051
41052 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41053 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41054
2bc17433
AS
410552011-08-30 Andreas Schwab <schwab@redhat.com>
41056
41057 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41058
fbeb5f4d
JO
410592011-08-29 Jiri Olsa <jolsa@redhat.com>
41060
41061 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41062 directive.
41063
ad69cc26
DM
410642011-08-24 David S. Miller <davem@davemloft.net>
41065
41066 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41067
39dd69df
AS
410682011-08-24 Andreas Schwab <schwab@redhat.com>
41069
41070 * elf/Makefile: Add rules to build and run unload8 test.
41071 * elf/unload8.c: New file.
41072 * elf/unload8mod1.c: New file.
41073 * elf/unload8mod1x.c: New file.
41074 * elf/unload8mod2.c: New file.
41075 * elf/unload8mod3.c: New file.
41076
41077 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41078 it wasn't used.
41079
2c0b250a
DM
410802011-08-23 David S. Miller <davem@davemloft.net>
41081
41082 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41083 subtract stack bias.
41084 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41085 %sp not %fp in calculations.
41086 (_JMPBUF_UNWINDS_ADJ): Likewise.
41087
22044b48
DM
41088 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41089 (aio_suspend): Call it to force an exception region around the
41090 AIO_MISC_WAIT() invocation.
41091
2cae4995
AS
410922011-08-23 Andreas Schwab <schwab@redhat.com>
41093
41094 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41095 backslash.
41096
873a772e
AJ
410972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41098
41099 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41100 protection macro.
41101 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41102 and <dl-machine.h>.
41103 (Elf64_FuncDesc): Remove.
41104
25ad0df1
DM
411052011-08-22 David S. Miller <davem@davemloft.net>
41106
41107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41108 sigaltstack check, add missing cfi directives.
41109 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41110 missing cfi directives, and sigaltstack handling.
41111
e888bcbe
AS
411122011-08-16 Andreas Schwab <schwab@redhat.com>
41113
41114 [BZ #11724]
41115 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41116 object is seen twice.
41117 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41118
41119 * elf/Makefile (distribute): Add tst-initorder2.c.
41120 (tests): Add tst-initorder2.
41121 (modules-names): Add tst-initorder2a tst-initorder2b
41122 tst-initorder2c tst-initorder2d. Add rules to build them.
41123 ($(objpfx)tst-initorder2.out): New rule.
41124 * elf/tst-initorder2.c: New file.
41125 * elf/tst-initorder2.exp: New file.
41126
87162f46
AS
411272011-08-22 Andreas Schwab <schwab@redhat.com>
41128
70538b7f
AS
41129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41130
f55ffe58
AS
41131 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41132 dependencies back to end of function.
41133
87162f46
AS
41134 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41135 $(elfobjdir)/ld.so.
41136
91b392a4
UD
411372011-08-21 Ulrich Drepper <drepper@gmail.com>
41138
41139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41140 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41142 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41143 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41144 of __vdso_gettimeofday.
41145 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41146 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41147 attribute_hidden.
41148 (_libc_vdso_platform_setup): Remove initialization of
41149 __vdso_gettimeofday and __vdso_time.
41150
5c43483f
UD
411512011-08-20 Ulrich Drepper <drepper@gmail.com>
41152
775a77e7
UD
41153 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41154 and fgetc_unlocked.
41155 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41156 getc_unlocked.
89f447ed 41157
49c74ba9
UD
41158 * elf/dl-open.c (add_to_global): Report additions to the global scope
41159 for LD_DEBUG=scopes.
41160 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41161 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41162
5c43483f
UD
41163 [BZ #13114]
41164 * stdio-common/Makefile (tests): Add bug24.
41165 * stdio-common/bug24.c: New file.
41166
a101b025
AJ
411672011-08-19 Andreas Jaeger <aj@suse.de>
41168
41169 [BZ #13114]
41170 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41171 non-existant file when using close-on-exec mode.
41172
c88f1766
UD
411732011-08-20 Ulrich Drepper <drepper@gmail.com>
41174
0276a718
UD
41175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41176 the very first instruction.
41177
c88f1766
UD
41178 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41179 the CFI state in the end.
41180 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41181 inclusion of dl-trampoline.h.
41182 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41183
51ccffa0
AS
411842011-08-19 Andreas Schwab <schwab@redhat.com>
41185
94d7165f
AS
41186 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41187 expectations for long double.
41188
51ccffa0
AS
41189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41190 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41191
fd708658 411922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41193
41194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41195 artificual limit depends upon the system page size.
41196
44f0a71e
UD
411972011-08-17 Ulrich Drepper <drepper@gmail.com>
41198
41199 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41200 * resolv/Makefile: Define CFLAGS-libresolv.
41201
8de79a24
AS
412022011-08-17 Andreas Schwab <schwab@redhat.com>
41203
41204 * nss/makedb.c (compute_tables): Make variables used in nested
41205 function static.
41206
27724598
UD
412072011-08-17 Ulrich Drepper <drepper@gmail.com>
41208
c5305d88
UD
41209 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41210 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41211 if buffer was too small.
41212
27724598
UD
41213 * elf/pldd.c (main): Attach to all threads in the process.
41214 Rewrite /proc handling to use *at functions.
41215
076fe015
UD
412162011-08-16 Ulrich Drepper <drepper@gmail.com>
41217
174baab3
UD
41218 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41219 specifies first scope to show.
41220 (dl_open_worker): Update callers. Move printing scope of new
41221 object to before the relocation.
44f0a71e 41222 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41223 * sysdeps/generic/ldsodefs.h: Update declaration.
41224
076fe015
UD
41225 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41226 string for the scope number.
41227
a60df2c3
UD
412282011-08-14 Ulrich Drepper <drepper@gmail.com>
41229
41230 * nscd/servicescache.c (cache_addserv): Make sure written is always
41231 initialized.
41232
5e4287d1
RM
412332011-08-14 Roland McGrath <roland@hack.frob.com>
41234
85ae0589
RM
41235 * sysdeps/i386/i486/bits/atomic.h
41236 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41237 statement expression, so as to suppress "set but not used" warning.
41238 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41239
69f63097
RM
41240 * string/strncat.c (STRNCAT): Use prototype definition.
41241
675456ef
RM
41242 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41243 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41244 -Iprograms here.
41245 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41246 (localedef-modules): Add localedef.
41247 (locale-modules): Add locale.
41248
5e4287d1
RM
41249 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41250 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41251 to avoid a warning.
41252
9c96ff23
DM
412532011-08-14 David S. Miller <davem@davemloft.net>
41254
41255 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41256 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41257
f9ddf089
UD
412582011-08-13 Ulrich Drepper <drepper@gmail.com>
41259
44f0a71e 41260 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41261 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41262 * elf/rtld.c (dl_main): Set l_name of vDSO.
41263 Call _dl_show_scope when DL_DEBUG_SCOPES.
41264 (process_dl_debug): Recognize scopes flag and also set it for all.
41265 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41266 Declare _dl_show_scope.
41267
1dc27704
UD
41268 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41269 (do_dlopen): Pass caller_dlopen to dl_open.
41270 (__libc_dlopen_mode): Initialize caller_dlopen.
41271
f9ddf089
UD
41272 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41273 of libc. Make tolower call locale-independent. Optimize a bit by
41274 using isdigit instead of isalnum.
41275 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41276
9ac533d3
UD
412772011-08-12 Ulrich Drepper <drepper@gmail.com>
41278
41279 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41280 was a dependency or dynamically loaded.
41281
89edf2e9
UD
412822011-08-11 Ulrich Drepper <drepper@gmail.com>
41283
8e999d29
UD
41284 * intl/l10nflist.c: Allow architecture-specific pop function.
41285 * sysdeps/x86_64/l10nflist.c: New file.
41286
89edf2e9
UD
41287 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41288 classification.
41289
14d96785
AS
412902011-08-10 Andreas Schwab <schwab@redhat.com>
41291
41292 * include/dirent.h: Add libc_hidden_proto for scandirat and
41293 scandirat64. Don't declare __scandirat64.
41294 * dirent/scandirat.c: Add libc_hidden_def.
41295 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41296 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41297
6761ac04
DM
412982011-08-10 David S. Miller <davem@davemloft.net>
41299
41300 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41301 enum.
41302 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41303 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41304 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41305
c55fbd1e
UD
413062011-08-09 Ulrich Drepper <drepper@gmail.com>
41307
41308 * Versions.def [libc]: Add GLIBC_2.15.
41309 * dirent/Makefile (routines): Add scandirat and scandirat64.
41310 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41311 GLIBC_2.15.
41312 * dirent/dirent.h: Declare scandirat and scandirat64.
41313 * dirent/scandirat.c: New file.
41314 * dirent/scandirat64.c: New file.
41315 * sysdeps/wordsize-64/scandirat.c: New file.
41316 * sysdeps/wordsize-64/scandirat64.c: New file.
41317 * dirent/opendir.c: Define opendirat.
41318 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41319 using scandirat.
41320 * dirent/scandir64.c: Adjust for scandir.c change.
41321 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41322 __scandirat64, and __scandir_cancel_handler.
41323 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41324 additional parameter and use openat instead of open (outside of ld.so).
41325 Add new __opendir as wrapper around __opendirat.
41326 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41327 here without requiring old scandirat implementation.
41328
879165f2
UD
413292011-08-08 Ulrich Drepper <drepper@gmail.com>
41330
41331 * dirent/scandir.c (cancel_handler): Renamed to
41332 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41333 defined. Adjust users.
41334 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41335 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41336
cb7e923b
UD
413372011-08-04 Ulrich Drepper <drepper@gmail.com>
41338
16292edd
UD
41339 * string/test-string.h (IMPL): Use __STRING to expand name and then
41340 stringify it.
41341
cb7e923b
UD
41342 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41343 of cleanups.
41344
cff82933
LD
413452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41346
41347 * string/Makefile: Update.
41348 (strop-tests): Append strncat.
41349 * string/test-wcscmp.c: New file.
41350 New comprehensive test for wcscmp.
41351 * string/test-strcmp.c: Update.
41352 (WIDE): New define.
41353
9be9bfcc
AS
413542011-07-22 Andreas Schwab <schwab@redhat.com>
41355
41356 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41357 line.
41358
2e96f1c7
AS
413592011-07-26 Andreas Schwab <schwab@redhat.com>
41360
41361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41362 encoding to ACE if AI_IDN.
41363
85188888
JJ
413642011-08-01 Jakub Jelinek <jakub@redhat.com>
41365
41366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41367 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41368
5fa16e9b
LD
413692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41370
41371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41372 Fix overflow bug in strncat.
41373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41374
41375 * string/test-strncat.c: Update.
41376 Add new tests for checking overflow bugs.
41377
413782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41379
41380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41381 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41382 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41383 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41384 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41385 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41386 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41387 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41388 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41389
41390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41391 (USE_AS_STRCAT): Define.
41392 Add strcat and strncat support.
41393 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41394
8c1a459f
AS
413952011-07-25 Andreas Schwab <schwab@redhat.com>
41396
41397 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41398 __n bigger than INT_MAX+1.
41399 (__strncmp_g): Likewise.
41400
bba33c28
UD
414012011-07-23 Ulrich Drepper <drepper@gmail.com>
41402
798be72d
UD
41403 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41404 * libio/stido.h: Likewise.
41405
8accd4dc
UD
41406 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41407 (AF_NFC): Define.
41408 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41409 (AF_NFC): Define.
41410
cbff0d96
UD
41411 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41412 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41414 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41415 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41416
9191c04a
UD
41417 [BZ #13021]
41418 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41419 installed.
41420
bba33c28
UD
41421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41422 typo.
41423 (_dl_x86_64_save_sse): Likewise.
41424
90f139dd
UD
414252011-07-22 Ulrich Drepper <drepper@gmail.com>
41426
1aae088a
UD
41427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41428 OSXSAVE.
41429 (_dl_x86_64_save_sse): Likewise.
41430
8e2045f5
UD
41431 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41432
90f139dd
UD
41433 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41434
1d002f25
AS
414352011-07-21 Andreas Schwab <schwab@redhat.com>
41436
41437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41438 change.
41439 (_dl_x86_64_save_sse): Use correct AVX check.
41440
21137f89
UD
414412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41442
41443 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41444 bug in strncpy/strncat.
41445 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41446
a65c0b7a
UD
414472011-07-21 Ulrich Drepper <drepper@gmail.com>
41448
41449 * string/tester.c (test_strcat): Add tests for different alignments
41450 of source and destination.
41451 (test_strncat): Likewise.
41452
6986b98a
UD
414532011-07-20 Ulrich Drepper <drepper@gmail.com>
41454
90bb2039
UD
41455 [BZ #12852]
41456 * posix/glob.c (glob): Check passed in values before using them in
41457 expressions to avoid some overflows.
41458 (glob_in_dir): Likewise.
41459
5644ef54
UD
41460 [BZ #13007]
41461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41462 check for AVX enablement so that we don't crash with old kernels and
41463 new hardware.
41464 * elf/tst-audit4.c: Add same checks here.
41465 * elf/tst-audit6.c: Likewise.
41466
41467 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41468
bfc9dc9b
AS
414692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41470
41471 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41472
702e64bb
UD
414732011-07-20 Ulrich Drepper <drepper@gmail.com>
41474
41475 * po/cs.po: Update from translation team.
41476 * po/bg.po: Likewise.
41477
295e904f
MP
414782011-07-12 Marek Polacek <mpolacek@redhat.com>
41479
41480 * misc/sys/cdefs.h: Add support for const attribute.
41481 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41482 to gnu_dev_{major,minor,makedev} functions.
41483
3ff94596
MP
414842011-07-20 Marek Polacek <mpolacek@redhat.com>
41485
41486 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41487
28b59fca
AS
414882011-07-20 Andreas Schwab <schwab@redhat.com>
41489
41490 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41491 strlen results.
41492
19df733e
AK
414932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41494
41495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41496 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41497 register in order to avoid conflicts with the soft frame pointer
41498 being held in r11 when necessary.
41499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41500 (INTERNAL_VSYSCALL_NCS): Likewise.
41501
c8835729
MP
415022011-07-14 Marek Polacek <mpolacek@redhat.com>
41503
41504 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41505 * elf/dl-fini.c (_dl_fini): Adjust caller.
41506 * elf/dl-close.c (_dl_close_worker): Likewise.
41507 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41508
b902330c
MP
415092011-07-15 Marek Polacek <mpolacek@redhat.com>
41510
8991e135
MP
41511 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41512 "aux_cache->nlibs < 0".
41513
b902330c
MP
41514 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41515 in the reload-count case.
41516
99710781
LD
415172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41518
41519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41520 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41521 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41523 * sysdeps/x86_64/multiarch/strcat.S: New file.
41524 * sysdeps/x86_64/multiarch/strncat.S: New file.
41525 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41527 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41528 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41530 (USE_AS_STRCAT): Define.
41531 Add strcat and strncat support.
41532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41534 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41535 * string/strncat.c: Update.
41536 (USE_AS_STRNCAT): Define.
41537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41538 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41539 and i7.
41540 * sysdeps/x86_64/multiarch/init-arch.h
41541 (bit_Prefer_PMINUB_for_stringop): New.
41542 (index_Prefer_PMINUB_for_stringop): Likewise.
41543 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41544 bit_Prefer_PMINUB_for_stringop.
41545
7dc6bd90
UD
415462011-07-19 Ulrich Drepper <drepper@gmail.com>
41547
41548 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41549 buffer64.
41550 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41551 of casting of buffer.
41552 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41553 buffer32 and buffer64.
41554 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41555 writes instead of casting of buffer.
41556 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41557 buffer32.
41558 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41559 casting of buffer.
41560
e0e72284
AS
415612011-07-19 Andreas Schwab <schwab@redhat.com>
41562
41563 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41564
feb1eb0b
UD
415652011-07-19 Ulrich Drepper <drepper@gmail.com>
41566
41567 * nscd/nscd.c (termination_handler): Don't do anything for a database
41568 if it has not yet been initialized.
41569
298711ff
UD
415702011-07-18 Ulrich Drepper <drepper@gmail.com>
41571
41572 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41573
415742011-07-15 Marek Polacek <mpolacek@redhat.com>
41575
41576 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41577
f9d68389
UD
415782011-07-18 Ulrich Drepper <drepper@gmail.com>
41579
41580 * po/nl.po: Update from translation team.
41581 * po/sv.po: Likewise.
41582
db290cf5
RM
415832011-07-16 Roland McGrath <roland@hack.frob.com>
41584
41585 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41586 now disallowed by GCC.
5c550700 41587
fd5e21c7
RM
41588 * configure.in (use-default-link): Default to yes if a test -shared
41589 link meets our qualifications.
41590 * configure: Regenerated.
41591
5c550700
RM
41592 * config.make.in (output-format): New variable.
41593 * configure.in: Check for ld --print-output-format support.
41594 * configure: Regenerated.
41595 * Makerules ($(common-objpfx)format.lds)
41596 [$(output-format) != unknown]: Just use $(output-format),
41597 instead of the linker-script munging.
41598
9fa2c032
RM
415992011-07-14 Roland McGrath <roland@hack.frob.com>
41600
a6928d51
RM
41601 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41602 of $(common-objpfx)shlib.lds.
41603 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41604
661607b3
RM
41605 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41606 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41607
9fa2c032
RM
41608 * configure.in (-z relro check): Adjust test code to add a large
41609 writable data section after it.
41610 * configure: Regenerated.
41611
defe9061
RM
416122011-07-11 Roland McGrath <roland@hack.frob.com>
41613
41614 * configure.in (-z relro check): Fix test code to make the variable
41615 truly const.
41616 * configure: Regenerated.
41617
319b9ad4
UD
416182011-07-11 Ulrich Drepper <drepper@gmail.com>
41619
41620 * nscd/nscd.h (struct traced_file): Define.
41621 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41622 elements. Add traced_files.
41623 (inotify_fd): Declare.
41624 (register_traced_file): Declare.
41625 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41626 (inotify_fd): Export.
41627 (resolv_conf_descr): Remove.
41628 (nscd_init): Move inotify descriptor creation to main.
41629 Don't register files for notification here.
41630 (register_traced_file): New function.
41631 (invalidate_cache): Don't use reset_res to determine whether to call
41632 res_init, go through the list of registered files.
41633 (main_loop_poll): The inotify descriptors are now stored in the
41634 structures for the traced files.
41635 (main_loop_epoll): Likewise
41636 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41637 to __nss_disable_nscd.
41638 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41639 for a database anymore. Check the records for all the registered
41640 files instead.
41641 * nss/Makefile (libnss_files-routines): Add files-init.
41642 (libnss_db-routines): Add db-init.
41643 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41644 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41645 * nss/nss_db/db-init.c: New file.
41646 * nss/nss_files/files-init.c: New file.
41647 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41648 __nss_lookup_function.
41649 (__nss_lookup_function): Call nss_load_library.
41650 (nss_load_all_libraries): New function.
41651 (__nss_disable_nscd): Take parameter with callback function for files
41652 to register. Set is_nscd. Load all the DSOs for the NSS modules
41653 used for the cached services.
41654 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41655 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41656 options for features to all the files in nscd.
41657
41658 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41659
23bee3e8
RM
416602011-07-10 Roland McGrath <roland@hack.frob.com>
41661
41662 * csu/elf-init.c (__libc_csu_init): Comment typo.
41663
46a5b7f0
UD
416642011-07-09 Ulrich Drepper <drepper@gmail.com>
41665
41666 * po/pl.po: Update from translation team.
41667 * po/ja.po: Likewise.
41668 * po/ru.po: Likewise.
41669 * po/ko.po: Likewise.
41670 * po/fr.po: Likewise.
41671
d30cf5bb
RM
416722011-07-09 Roland McGrath <roland@hack.frob.com>
41673
113ddea4
RM
41674 * configure.in (.ctors/.dtors header and trailer check):
41675 Use an empirical test on a built program.
41676 * configure: Regenerated.
41677
574920b4
RM
41678 * configure.in (-z relro check): Use an empirical test on a built DSO.
41679 Detect, but do not require, on ia64.
41680 * configure: Regenerated.
41681
d30cf5bb
RM
41682 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41683 Update tests that use readelf to use $READELF instead.
41684 * configure: Regenerated.
41685
8538fdb3
UD
416862011-07-08 Ulrich Drepper <drepper@gmail.com>
41687
41688 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41689 if the result is not used.
41690
04d08991
AJ
416912011-07-05 Andreas Jaeger <aj@suse.de>
41692
41693 [BZ#9696]
41694 * stdlib/tst-strtod.c: Add testcase.
41695
de283087
AD
416962011-07-07 Ulrich Drepper <drepper@gmail.com>
41697
4e5f31c8 41698 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41699 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41700 The latter has a higher limit. Take additional parameter to pass to
41701 the new function.
41702 (__pathconf): Pass file to __statfs_link_max.
41703 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41704 __statfs_link_max.
41705 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41706 __statfs_link_max.
41707
de283087
AD
41708 [BZ #12868]
41709 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41710 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41711 Handle Lustre.
41712 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41713 (__statfs_filesize_max): Likewise.
41714 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41715
c75fa153
AJ
417162011-07-05 Andreas Jaeger <aj@suse.de>
41717
41718 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41719
1a544854
UD
417202011-07-06 Marek Polacek <mpolacek@redhat.com>
41721
41722 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41723 `status' variable.
41724 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41725 Likewise.
41726
6f0eec67
UD
417272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41728
41729 * Makefile (strop-tests): Add strncat.
41730 * string/test-strncat.c: New file.
41731
aae30307
UD
417322011-06-30 Marek Polacek <mpolacek@redhat.com>
41733
41734 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41735
c0cfb5eb
UD
417362011-06-21 Andreas Jaeger <aj@suse.de>
41737
41738 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41739 Copy rule from iconvdata/Makefile.
41740
01636b21
UD
417412011-07-06 Ulrich Drepper <drepper@gmail.com>
41742
41743 [BZ #12922]
41744 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41745 but no long options are defined, just return 'W'.
41746
9895c8bc
UD
417472011-06-22 Marek Polacek <mpolacek@redhat.com>
41748
41749 [BZ #9696]
41750 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41751
5d4cf042
UD
417522011-07-06 Ulrich Drepper <drepper@gmail.com>
41753
41754 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41755 netgroups to read.
960e5535 41756 (innetgr): Likewise.
5d4cf042 41757
751eb97e
RM
417582011-07-05 Roland McGrath <roland@hack.frob.com>
41759
41760 * config.make.in (install_root): Default to $(DESTDIR).
41761
f15f1e45
UD
417622011-07-05 Ulrich Drepper <drepper@gmail.com>
41763
41764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41765
4e34ac6a
RM
417662011-07-02 Roland McGrath <roland@hack.frob.com>
41767
5e9b6af4
RM
41768 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41769
84f9ea0f
RM
41770 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41771 containing directory rather than embedding absolute directory names.
41772
ea5ee9f7
RM
41773 * scripts/check-local-headers.sh: Rewritten using awk.
41774 Match by word, not by line. Print error messages for matches.
41775 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41776
1b74661a
RM
41777 * Makerules [shlib-lds-flags empty]:
41778 ($(common-objpfx)libc_pic.opts): New target.
41779 ($(common-objpfx)libc_pic.os.clean): New target.
41780 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41781
41782 * config.make.in (OBJCOPY): New variable.
41783 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41784 * configure: Regenerated.
41785
f781ef40
RM
41786 * config.make.in (use-default-link): New variable.
41787 * configure.in (use_default_link): Grok --with-default-link to set it.
41788 * configure: Regenerated.
41789 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41790 (shlib-lds, shlib-lds-flags): Define to empty.
41791
2d4fa81e
RM
41792 * Makerules (shlib-lds): New variable.
41793 (shlib-lds-flags): New variable.
41794 (build-shlib, build-moduile, build-module-asneeded): Use it.
41795 ($(common-objpfx)libc.so): Use $(shlib-lds).
41796 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41797 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41798
31fffa6b
RM
41799 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41800 DT_FLAGS/DT_FLAGS_1 with zero flags.
41801
4e34ac6a
RM
41802 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41803 linker script munging.
41804
fcfc776b
UD
418052011-07-02 Ulrich Drepper <drepper@gmail.com>
41806
41807 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41808 as 128-bit value.
41809 * crypt/sha512.c (sha512_process_block): Perform total addition using
41810 128-bit if possible.
41811 (__sha512_finish_ctx): Likewise.
41812 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41813 as 64-bit value.
41814 * crypt/sha256.c (SWAP64): Define.
41815 (sha256_process_block): Perform total addition using 64-bit if
41816 possible.
41817 (__sha256_finish_ctx): Likewise.
41818
99231d9a
UD
418192011-07-01 Ulrich Drepper <drepper@gmail.com>
41820
41821 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41822 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41823 * nscd/hstcache.c (cache_addhst): Likewise.
41824 * nscd/grpcache.c (cache_addgr): Likewise.
41825 * nscd/aicache.c (addhstaiX): Likewise
41826 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41827
445b4a53
TK
418282011-07-01 Thorsten Kukuk <kukuk@suse.de>
41829
41830 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41832 * nscd/hstcache.c (cache_addhst): Likewise.
41833 * nscd/grpcache.c (cache_addgr): Likewise.
41834 * nscd/aicache.c (addhstaiX): Likewise
41835
6d4d8e8e
AS
418362011-07-01 Andreas Schwab <schwab@redhat.com>
41837
41838 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41839 domain only when needed.
41840
89f654c5
AS
418412011-06-30 Andreas Schwab <schwab@redhat.com>
41842
41843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41844 is always restored.
41845
cf3b23ff
UD
418462011-06-29 Ulrich Drepper <drepper@gmail.com>
41847
41848 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41849 are re-adding the entry.
41850 * nscd/servicescache.c (cache_addserv): Likewise.
41851
751626f9
AJ
418522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41853
41854 * sysdeps/generic/dl-irel.h: fix protection against multiple
41855 inclusions.
41856 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41857
9113ea1f
UD
418582011-06-28 Ulrich Drepper <drepper@gmail.com>
41859
5c0b8d90
UD
41860 [BZ #12935]
41861 * malloc/memusage.sh: Fix quoting in message.
41862 * debug/xtrace.sh: Likewise.
41863
9113ea1f
UD
41864 * configure.in: Remove support for --experimental-malloc option, make
41865 it the default.
41866 * config.make.in: Likewise.
41867 * malloc/Makefile: Likewise.
41868
a4172181
AS
418692011-06-27 Andreas Schwab <schwab@redhat.com>
41870
41871 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41872 two-byte characters.
41873
78a7eee7
RM
418742011-06-27 Roland McGrath <roland@hack.frob.com>
41875
62bede13
RM
41876 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41877 AC_CACHE_CHECK invocation.
41878 * configure: Regenerated.
41879
78a7eee7
RM
41880 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41881
5ce33a62
UD
418822011-06-27 Ulrich Drepper <drepper@gmail.com>
41883
034807a9
UD
41884 [BZ #12350]
41885 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41886 bit from old_res_options.
41887
4902da17
UD
41888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41889
5ce33a62
UD
41890 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41891 value type for setfct.
41892
c2344f56
L
418932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41894
41895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41896 __gettimeofday instead of gettimeofday.
41897
68468076
UD
418982011-06-26 Ulrich Drepper <drepper@gmail.com>
41899
41900 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41901
acb0d739
L
419022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41903
41904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41905
41906 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41907 info.
41908
8912479f
L
419092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41910
41911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41912 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41913 strcpy-sse2-unaligned strncpy-sse2-unaligned
41914 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41915 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41916 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41917 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41918 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41920 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41921 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41922 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41923 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41924 (STRCPY): Support SSE2 and SSSE3 versions.
41925
d5495a11
UD
419262011-06-24 Ulrich Drepper <drepper@gmail.com>
41927
41928 [BZ #12874]
41929 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41930 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41931 kernels which artificially limit size of requests.
41932
0b1cbaae
L
419332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41934
41935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41936 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41937 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41938 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41939 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41940 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41941 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41942 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41943 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41945 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41946 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41947 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41948 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41949 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41951 Enable unaligned load optimization for Intel Core i3, i5 and i7
41952 processors.
41953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41954 Define.
41955 (index_Fast_Unaligned_Load): Define.
41956 (HAS_FAST_UNALIGNED_LOAD): Define.
41957
07f494a0
MP
419582011-06-23 Marek Polacek <mpolacek@redhat.com>
41959
41960 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41961
fa3fc0fe
UD
419622011-06-22 Ulrich Drepper <drepper@gmail.com>
41963
41964 [BZ #12907]
41965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41966 until it is clear that the information is realy needed.
41967 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41968
e12df166
AS
419692011-06-22 Andreas Schwab <schwab@redhat.com>
41970
41971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41972
852eb34d
UD
419732011-06-22 Ulrich Drepper <drepper@gmail.com>
41974
84e2a551
UD
41975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41976 /sys/devices/system/cpu/online if it is usable.
41977
852eb34d
UD
41978 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41979 reading the information from the /proc filesystem to once a second.
41980
6e502e19
UD
419812011-06-21 Andreas Jaeger <aj@suse.de>
41982
41983 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41984 NULL after inclusion of kernel headers.
41985
75d39ff2
UD
419862011-06-21 Ulrich Drepper <drepper@gmail.com>
41987
51f9aa6a
UD
41988 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41989 calls to internal_setent.
41990
c0244a9d
UD
41991 [BZ #12885]
41992 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41993 addresses using gethostbyname4_r ignore IPv4 addresses.
41994
c5e3c2ae
UD
41995 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41996 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41997
75d39ff2
UD
41998 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41999
42675c6f
DM
420002011-06-20 David S. Miller <davem@davemloft.net>
42001
42002 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42003 inclusions.
42004 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42005
42006 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42007 (elf_irel): Use it.
42008 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42009 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42010 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42011 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42012 * sysdeps/x86_64/dl-irel.h: Likewise.
42013
42014 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42015 * elf/dl-sym.c: Likewise.
42016
57912a71
UD
420172011-06-15 Ulrich Drepper <drepper@gmail.com>
42018
42019 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42020 need to dereference resplen2.
42021
ee22793d
AS
420222011-06-14 Andreas Schwab <schwab@redhat.com>
42023
42024 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42025
a9e836b0
UD
420262011-06-15 Ulrich Drepper <drepper@gmail.com>
42027
77fb9117
UD
42028 * Makeconfig: Define vardbdir and inst_vardbdir.
42029 * nss/Makefile: Add rules to install db-Makefile.
42030
40c1b22c
UD
42031 * nss/nss_db/db-XXX.c: Cleanup.
42032
9f2da732
UD
42033 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42034 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42035 GLIBC_PRIVATE.
42036 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42037 * nss/makedb.c: Implement -g option to specify that value strings
42038 are generated and should not be added to table iterated over for
42039 get*ent calls.
42040 * nss/nss_db/db-initgroups.c: New file.
42041
82e9a1f7
UD
42042 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42043 interface.
42044
c41af17e
UD
42045 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42046 (internal_getgrouplist): Adjust to name change.
42047 Update use_initgroups_entry if this is not the first call.
42048 * nss/databases.def: Add initgroups entry.
42049
a9e836b0
UD
42050 * nss/makedb.c (compute_tables): Check result of multiple hash table
42051 sizes to minimize maximum chain length.
42052
2666d441
UD
420532011-06-14 Ulrich Drepper <drepper@gmail.com>
42054
42055 * Versions.def: Add entry for libnss_db.
42056 * shlib-versions: Likewise.
42057 * nss/Makefile: Add rules to build libnss_db.
42058 * nss/Versions: Add libnss_db information. Organize libnss_files
42059 entries better.
42060 * nss/db-Makefile: Add gshadow support. Change rules for the new
42061 makedb progra. Some minor improvements to generate smaller files.
42062 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42063 here from...
42064 * nss/makedb.c: ...here.
42065 Improve database format to be smaller and require less memory at
42066 runtime.
42067 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42068 db anymore.
42069 * nss/nss_db/db-netgrp.c: Likewise.
42070 * nss/nss_db/db-open.c: Likewise.
42071 * nss/nss_files/flies-XXX.x: Adjust comments.
42072 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42073 * nss/nss_files/files-grp.c: Likewise.
42074 * nss/nss_files/files-hosts.c: Likewise.
42075 * nss/nss_files/files-network.c: Likewise.
42076 * nss/nss_files/files-proto.c: Likewise.
42077 * nss/nss_files/files-pwd.c: Likewise.
42078 * nss/nss_files/files-rpc.c: Likewise.
42079 * nss/nss_files/files-service.c: Likewise.
42080 * nss/nss_files/files-sgrp.c: Likewise.
42081 * nss/nss_files/files-spwd.c: Likewise.
42082 * nss/nss_db/db-alias.c: Removed.
42083 * nss/nss_db/dummy-db.h: Removed.
42084
9ee76b5a
UD
420852011-06-02 Ulrich Drepper <drepper@gmail.com>
42086
42087 * nss/makedb.c: Rewritten to not use database library.
42088 * nss/Makefile: Update to build new makedb program.
42089
c71ca1f8
AJ
420902011-06-14 Andreas Jaeger <aj@suse.de>
42091
42092 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42093 memset declaration.
42094
3154bfb8
UD
420952011-06-10 Andreas Schwab <schwab@redhat.com>
42096
42097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42098 tmpbuf.
42099
b350afab
RM
421002011-06-10 Roland McGrath <roland@hack.frob.com>
42101
decd4e50
RM
42102 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42103 * elf/Makefile ($(objpfx)ld.so): Likewise.
42104
5615eaf2
RM
42105 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42106 Don't list ld.so twice in dependencies.
42107
42108 * posix/bug-regex31.c: Include <stdlib.h>.
42109
42110 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42111
42112 * nis/nss_compat/compat-spwd.c
42113 (getspent_next_nss_netgr): Remove unused variable.
42114 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42115
42116 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42117 nonmembers" output to use the right array.
42118
42119 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42120
42121 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42122
42123 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42124 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42125 * catgets/gencat.c (read_input_file): Likewise.
42126 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42127
42128 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42129 variable definition inside #if's controlling its use.
42130
42131 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42132
42133 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42134
42135 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42136
42137 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42138 unreachable code.
42139
42140 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42141
b68e08db
RM
42142 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42143 * configure: Regenerated.
42144
b350afab
RM
42145 * Makerules: Revert last change.
42146 * elf/Makefile: Likewise.
42147
28368601
RM
421482011-06-09 Roland McGrath <roland@hack.frob.com>
42149
42150 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42151 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42152 (reloc-link): Likewise.
42153
11988f8f
UD
421542011-06-09 Ulrich Drepper <drepper@gmail.com>
42155
42156 * elf/Makefile: Add rules to build pldd.
42157 * elf/pldd.c: New file.
42158 * elf/pldd-xx.c: New file.
42159
e80fab37
UD
421602011-06-07 Ulrich Drepper <drepper@gmail.com>
42161
42162 * version.h: Update for 2.15 development version.
42163
9b849836
DM
421642011-06-07 David S. Miller <davem@davemloft.net>
42165
42166 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42167 ifuncs.
42168 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42169 elf_machine_lazy_rel): Likewise.
42170 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42171 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42172 elf_machine_lazy_rel): Likewise.
42173 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42174 dl_hwcap via passed in argument.
42175 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42176 Likewise.
42177
5a31b283
AK
421782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42179
42180 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42181
069e52f8
RM
421822011-06-06 Roland McGrath <roland@hack.frob.com>
42183
42184 [BZ #12849]
42185 * manual/fdl-1.1.texi: New file, verbatim from:
42186 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42187 * manual/lgpl-2.1.texi: New file, verbatim from:
42188 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42189 * manual/Makefile (licenses): New variable, list those new file names.
42190 (texis): Use it.
42191 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42192
42193 * manual/fdl.texi: File removed.
42194 * manual/lesser.texi: File removed.
42195 * manual/libc.texinfo (Copying, Documentation License):
42196 Use new @include file names, put @appendix directive before @include.
42197
f16846a5
JJ
421982011-06-04 Jakub Jelinek <jakub@redhat.com>
42199
42200 [BZ #12841]
42201 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42202 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42203 (mq_open): Add __NTH.
42204
3d29045b
L
422052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42206
42207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42208 Assume Intel Core i3/i5/i7 processor if AVX is available.
42209
8c297311
UD
422102011-05-31 Ulrich Drepper <drepper@gmail.com>
42211
42212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42213 typo.
42214
c8fc0c91
UD
422152011-05-31 Andreas Schwab <schwab@redhat.com>
42216
42217 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42218 memory. Use alloca_account. Fix memory leak when retrying.
42219
5b27a807
UD
422202011-05-31 Ulrich Drepper <drepper@gmail.com>
42221
356f8bc6
UD
42222 * version.h (RELEASE): Bump for 2.14 release.
42223 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42224
5b27a807
UD
42225 * config.make.in (RANLIB): Remove entry.
42226
01f16ab0
UD
422272011-05-30 Ulrich Drepper <drepper@gmail.com>
42228
41fce8bd
UD
42229 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42230 (libc.pot): Work around missing support for .ksh extension in xgettext.
42231
4769ae77
UD
42232 [BZ #12684]
42233 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42234 if both request failed.
42235 (send_dg): In case of server errors clear resplen or *resplen2.
42236
6b1e7d19
UD
42237 [BZ #12454]
42238 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42239 when there are multiple maps.
42240 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42241 (_dl_fini): Remove test here.
42242
01f16ab0
UD
42243 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42244
b1ebd700
UD
422452011-05-29 Ulrich Drepper <drepper@gmail.com>
42246
7ae22829
UD
42247 [BZ #12350]
42248 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42249 bit from old_res_options.
42250 (gaih_inet): Likewise.
42251
553149f6 42252 [BZ #11099]
18a84741 42253 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42254 as signed.
42255
652ffab1
UD
42256 * resolv/res_init.c (res_setoptions): Make the code more compact.
42257
16985fd0
UD
42258 [BZ #11558]
42259 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42260 set RES_USEVC.
42261
0464f746
UD
42262 [BZ #11634]
42263 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42264
7d17596c
UD
42265 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42266
cf6bbbd7
UD
42267 [BZ #11781]
42268 * malloc/malloc.h: Declare malloc hook variables as volatile.
42269
13f1ab36
UD
42270 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42271 in last patch.
42272
b1ebd700
UD
42273 [BZ #11799]
42274 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42275 raise in the comment.
80e2212d
UD
42276 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42277 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42278 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42279
ce67228d
UD
422802011-05-28 Ulrich Drepper <drepper@gmail.com>
42281
8887a920
UD
42282 [BZ #12811]
42283 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42284 grow the buffers more if it already has to be sufficient.
42285 (build_wcs_upper_buffer): Likewise.
42286 * posix/regexec.c (check_matching): Likewise.
42287 (clean_state_log_if_needed): Likewise.
42288 (extend_buffers): Don't enlarge buffers beyond size of the input
42289 buffer.
42290 Patches mostly by Emil Wojak <emil@wojak.eu>.
42291 * posix/bug-regex32.c: New file.
42292 * posix/Makefile (tests): Add bug-regex32.
42293
4f031072
UD
42294 * locale/findlocale.c (_nl_find_locale): Return right away if
42295 _nl_explode_name failed.
42296 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42297
d0478f0c
UD
42298 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42299
de81b246
UD
42300 * debug/xtrace.sh: Unify messages.
42301 * malloc/memusage.sh: Likewise.
42302
c738465a
UD
42303 [BZ #12813]
42304 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42305 time symbol from vDSO. Substitute with vsyscall if not available.
42306 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42307 __vdso_time.
42308
f1f929d7
UD
42309 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42310 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42311 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42312 Add sendmmsg and internal_sendmmsg.
42313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42314 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42316
ce67228d
UD
42317 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42318 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42320
e57420c6
UD
423212011-05-27 Ulrich Drepper <drepper@gmail.com>
42322
a8509ca5
UD
42323 [BZ #12813]
42324 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42325 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42326 available.
42327 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42328 __vdso_getcpu.
42329
e57420c6
UD
42330 [BZ #12814]
42331 * iconvdata/Makefile (tests): Add bug-iconv9.
42332 * iconvdata/bug-iconv9.c: New file.
42333
4d07db15
AS
423342011-05-27 Andreas Schwab <schwab@redhat.com>
42335
42336 [BZ #12814]
42337 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42338
ea486f69
JJ
423392011-05-25 Jakub Jelinek <jakub@redhat.com>
42340
42341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42342 (struct user_regs_struct): Change intcs field back to cs.
42343
6f038433
UD
423442011-05-25 Ulrich Drepper <drepper@gmail.com>
42345
42346 * po/ja.po: Update from translation team.
42347
67f86a25
UD
423482011-05-23 Ulrich Drepper <drepper@gmail.com>
42349
42350 [BZ #12795]
42351 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42352 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42353
def7fbd6
AS
423542011-05-20 Andreas Schwab <schwab@redhat.com>
42355
42356 * stdlib/longlong.h: Update from GCC.
42357
f50ef8f1
AS
423582011-05-23 Andreas Schwab <schwab@redhat.com>
42359
42360 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42361 parameter name.
42362 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42363 Add parameter name.
42364 (__sysconf): Pass it down.
42365
de7ce8f1
UD
423662011-05-22 Ulrich Drepper <drepper@gmail.com>
42367
f2962a71
UD
42368 [BZ #12671]
42369 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42370 some situations.
42371 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42372 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42373 add in in __libc_use_alloca calls. Adjust callers.
42374 (glob): Use malloc in some situations.
42375
de7ce8f1
UD
42376 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42377 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42378 pltexit.
42379
aec84f53
UD
423802011-05-21 Ulrich Drepper <drepper@gmail.com>
42381
05bb4a68
UD
42382 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42383 and CLOCK_BOOTTIME_ALARM.
42384
7ea72f99
UD
42385 [BZ #12782]
42386 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42387 is returned.
42388
7e4afad5
UD
42389 * string/_strerror.c (__strerror_r): Print negative errors as signed
42390 numbers.
42391
8e211fec
UD
42392 [BZ #12777]
42393 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42394 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42395 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42396
f7d82dc9
UD
42397 * configure.in: Fix typo in redirection and correct removal of test
42398 files in two cases.
42399
cc9e536d
UD
42400 [BZ #12788]
42401 * locale/setlocale.c (new_composite_name): Fix test to check for
42402 identical name of all categories.
42403
aec84f53
UD
42404 [BZ #12792]
42405 * libio/filedoalloc.c (local_isatty): New function.
42406 (_IO_file_doallocate): Use local_isatty.
42407 * stdio-common/perror.c (perror): In case a new stream is used
42408 forward the stream error.
42409 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42410 error flag.
42411
78e64fdc
RT
424122011-05-20 Ulrich Drepper <drepper@gmail.com>
42413
34a9094f
UD
42414 [BZ #11869]
42415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42416 alloca.
42417 * include/alloca.h (extend_alloca_account): Define.
42418
78e64fdc
RT
42419 [BZ #11857]
42420 * posix/regex.h: Fix comments with documentation of user-accessible
42421 fields after compilation and describe correct free'ing of pattern
42422 after re_compile_pattern.
42423 Patch by Reuben Thomas <rrt@sc3d.org>.
42424
457bddfc
RA
424252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42426
42427 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42428 and -mno-altivec to prevent the compiler from using Altivec and/or
42429 VSX instructions when the corresponding registers are not available.
42430
a4527b51
AS
424312011-05-19 Andreas Schwab <schwab@redhat.com>
42432
42433 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42434
ed690b2f
UD
424352011-05-19 Ulrich Drepper <drepper@gmail.com>
42436
42437 * libio/freopen.c (freopen): Use __dup2, not dup2.
42438 * libio/freopen64.c (freopen64): Likewise.
42439
8db73634
L
424402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42441
42442 [BZ #12775]
42443 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42444 * math/Makefile (tests): Add test-powl.
42445 (CFLAGS-test-powl.c): Define.
42446 * math/test-powl.c: New file.
42447
0a197a9d
L
424482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42449
42450 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42451
ee30c380
UD
424522011-05-17 Ulrich Drepper <drepper@gmail.com>
42453
42454 [BZ #11837]
42455 * iconvdata/gb18030.c: Update to GB18020-2005.
42456
6ce75379
UD
424572011-05-16 Ulrich Drepper <drepper@gmail.com>
42458
a4b89fd8
AR
42459 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42460 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42461 Patch by Aharon Robbins <arnold@skeeve.com>.
42462
ea389b12
UD
42463 [BZ #11892]
42464 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42465 on the stack.
42466
68a3f91f
UD
42467 [BZ #11895]
42468 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42469 through underflows.
42470
15cc7dd1
UD
42471 [BZ #12766]
42472 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42473 point to strings before performing equality test for error_one_per_line
42474 mode.
42475
f3799213
UD
42476 [BZ #11697]
42477 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42478
d79a9c94
UD
42479 [BZ #11820]
42480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42481 (struct user_fpregs_struct): Avoid __uint*_t types.
42482
56e5eb46
UD
42483 [BZ #6420]
42484 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42485 symbol info. Use it instead of calling _dl_addr locally.
42486 (lock_and_info): New function.
42487 (tr_freehook): Call lock_and_info and pass symbol info as additional
42488 parameter to tr_where.
42489 (tr_mallochook): Likewise.
42490 (tr_reallochook): Likewise.
42491 (tr_memalignhook): Likewise.
42492
6ce75379
UD
42493 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42494 used and couldn't be at all thread-safe.
42495
f8a3b5bf
UD
424962011-05-15 Ulrich Drepper <drepper@gmail.com>
42497
94b7cc37
UD
42498 * libio/freopen.c (freopen): Don't close old file descriptor
42499 before the new one is opened. Instead dup the new file descriptor
42500 to the old one after the new stream is created.
42501 * libio/freopen64.c (freopen64): Likewise.
42502 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42503 * libio/fileops.c (_IO_new_file_close_it): Handle new
42504 _IO_FLAGS2_NOCLOSE flag.
42505 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42506 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42507 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42508 _IO_FLAGS2_NOCLOSE flag.
42509 * include/unistd.h: Add hidden_proto for dup3.
42510 Define __have_dup3.
42511 * io/dup3.c: Define hidden symbol.
42512 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42513
bd25564e
UD
42514 [BZ #7101]
42515 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42516 when an incomplete long option is used.
42517 * posix/tst-getopt_long1.c: New file.
42518 * posix/Makefile (tests): Add tst-getopt_long1.
42519
c84cfef4
UD
42520 [BZ #10138]
42521 * scripts/config.guess: Update from autoconf-2.68.
42522 * scripts/config.sub: Likewise.
42523
3b85df27
UD
42524 [BZ #10157]
42525 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42526 tests into ...
42527 (has_cpuclock): ...this. New function.
42528 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42529 macro here based on has_cpuclock code.
42530
15a856b1
UD
42531 [BZ #10149]
42532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42533 First byte (not low byte) is now always NUL.
42534 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42535
05f399e6
UD
42536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42537 Use non-cancelable interfaces.
42538
10a52685 42539 [BZ #9809]
94ecc67d
UD
42540 * locale/iso-639.def: Add entry for Sorani.
42541
f8a3b5bf
UD
42542 [BZ #11901]
42543 * include/stdlib.h: Move include protection to the right place.
42544 Define abort_msg_s. Declare __abort_msg with it.
42545 * stdlib/abort.c (__abort_msg): Adjust type.
42546 * assert/assert.c (__assert_fail_base): New function. Majority
42547 of code from __assert_fail. Allocate memory for __abort_msg with
42548 mmap.
42549 (__assert_fail): Now call __assert_fail_base.
42550 * assert/assert-perr.c: Remove bulk of implementation. Use
42551 __assert_fail_base.
42552 * include/assert.hL Declare __assert_fail_base.
42553 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42554 mmap.
42555 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42556
1af4e298
UD
425572011-05-14 Ulrich Drepper <drepper@gmail.com>
42558
f8a3b5bf 42559 [BZ #11952]
d26dfc60
MG
42560 [BZ #12453]
42561 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42562 until all modules are registered in the DTV.
42563 * elf/Makefile: Add rules to build and run tst-tls19.
42564 * elf/tst-tls19.c: New file.
42565 * elf/tst-tls19mod1.c: New file.
42566 * elf/tst-tls19mod2.c: New file.
42567 * elf/tst-tls19mod3.c: New file.
42568 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42569
2fc54d6f
UD
42570 [BZ #12083]
42571 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42572 correctly.
42573
98d76b46
UD
42574 [BZ #12601]
42575 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42576 two-byte sequence errors.
42577 * iconvdata/Makefile (tests): Add bug-iconv8.
42578 * iconvdata/bug-iconv8.c: New file.
42579
da3c19ef
UD
42580 [BZ #12626]
42581 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42582 buf2 definition.
42583
ca408c15
UD
42584 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42585
d6f67f7d
UD
42586 [BZ #12432]
42587 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42588 (dummy_getcfa): New function.
42589 (init): Get _Unwind_GetCFA address, use dummy if not found.
42590 (backtrace_helper): In recursion check, also check whether CFA changes.
42591 (__backtrace): Completely initialize arg.
42592
1af4e298 42593 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42594 storing incomplete byte sequence in state object. Avoid testing for
42595 guaranteed too small input if we know there is enough data available.
1af4e298 42596
da62f81b
AS
425972011-05-11 Andreas Schwab <schwab@redhat.com>
42598
42599 * Makeconfig (+link-pie): Indent.
42600 * Rules (binaries-pie): Define if $(have-fpie) and
42601 $(build-shared).
42602 (binaries-shared): Also filter out $(binaries-pie).
42603 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42604 * nscd/Makefile (others-pie): Add nscd.
42605 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42606 ($(objpfx)nscd): Remove command override.
42607 * login/Makefile (others-pie): Add pt_chown.
42608 ($(objpfx)pt_chown): Remove command override.
42609 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42610 remove command overrides.
42611
fcabc0f8
UD
426122011-05-13 Ulrich Drepper <drepper@gmail.com>
42613
20030ae6
UD
42614 * libio/tst_putwc.c: Fix error messages.
42615
fcabc0f8
UD
42616 [BZ #12724]
42617 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42618 currently writing and seek to current position when not.
42619 * libio/Makefile (tests): Add bug-fclose1.
42620 * libio/bug-fclose1.c: New file.
42621
320a5dc0
PB
426222011-05-12 Ulrich Drepper <drepper@gmail.com>
42623
42624 [BZ #12511]
42625 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42626 don't set DF_1_NODELETE here.
42627 (do_lookup_x): When entering new entry test for copy relocation
42628 and if necessary set DF_1_NODELETE flag.
42629 * elf/tst-unique4.cc: New file.
42630 * elf/tst-unique4.h: New file.
42631 * elf/tst-unique4lib.cc: New file.
42632 * elf/Makefile: Add rules to build and run tst-unique4.
42633 Patch by Piotr Bury <pbury@goahead.com>.
42634
22836f52
UD
426352011-05-11 Ulrich Drepper <drepper@gmail.com>
42636
f574184a
UD
42637 [BZ #12052]
42638 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42639
e1fb097f
UD
42640 [BZ #12625]
42641 * misc/mntent_r.c (addmntent): Flush the stream after the output
42642
22836f52
UD
42643 [BZ #12393]
42644 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42645 (is_trusted_path_normalize): Skip initial colon. Append slash
42646 to empty buffer. Duplicate is_trusted_path code but allow
42647 constructed patch to be prefix.
42648 (is_dst): Allow $ORIGIN followed by /.
42649 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42650 Correct testing of result of is_trusted_path_normalize
42651 (decompose_rpath): Fix warning.
42652
7b3b0b2a
UD
426532011-05-10 Ulrich Drepper <drepper@gmail.com>
42654
42655 [BZ #11257]
42656 * grp/initgroups.c (internal_getgrouplist): When we found the service
42657 list through the initgroups entry in nsswitch.conf do not always
42658 continue on a successful lookup. Don't always use the
eac80ce2 42659 __nss_group_database value if it is set.
7b3b0b2a
UD
42660 * nss/nsswitch.conf (initgroups): Change action for successful db
42661 lookup to continue for compatibility.
42662
2a81eaa5
UD
426632011-05-09 Ulrich Drepper <drepper@gmail.com>
42664
be97a69e
UD
42665 [BZ #11532]
42666 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42667 and CP774 modules.
42668 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42669 and CP774 modules.
42670 * iconvdata/tst-tables.sh: Likewise.
42671 * iconvdata/cp770.c: New file.
42672 * iconvdata/cp771.c: New file.
42673 * iconvdata/cp772.c: New file.
42674 * iconvdata/cp773.c: New file.
42675 * iconvdata/cp774.c: New file.
42676 * iconvdata/testdata/CP770: New file.
42677 * iconvdata/testdata/CP770..UTF8: New file.
42678 * iconvdata/testdata/CP771: New file.
42679 * iconvdata/testdata/CP771..UTF8: New file.
42680 * iconvdata/testdata/CP772: New file.
42681 * iconvdata/testdata/CP772..UTF8: New file.
42682 * iconvdata/testdata/CP773: New file.
42683 * iconvdata/testdata/CP773..UTF8: New file.
42684 * iconvdata/testdata/CP774: New file.
42685 * iconvdata/testdata/CP774..UTF8: New file.
42686
42687 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42688 END CHARMAP line.
42689 * iconvdata/gen-8bit-gap.sh: Likewise.
42690 * iconvdata/gen-8bit.sh: Likewise.
42691
c1e9e399
UD
42692 * locale/iso-639.def: Add ary entry.
42693
24c55fb3 42694 [BZ #11258]
96b4b1b0
UD
42695 * locale/C-translit.h.in: Add U20A1 transliteration.
42696
bdc2f971
KB
42697 [BZ #12178]
42698 * locale/iso-639.def: Add wae entry.
42699 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42700
2952b117
UD
42701 [BZ #12545]
42702 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42703 for n.
42704
2a81eaa5
UD
42705 [BZ #12711]
42706 * locale/C-translit.h.in: Add entry for U20B9.
42707 Patch by pravin.d.s@gmail.com.
42708
28377d1b
UD
427092011-05-08 Ulrich Drepper <drepper@gmail.com>
42710
7fb90fb8
UD
42711 [BZ #12713]
42712 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42713 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42714 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42715 in rtld. Use *stat64.
7fb90fb8 42716 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42717 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42718 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42719 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42720 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42721 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42722 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42723 __fstatat64 macros.
7fb90fb8
UD
42724 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42725 * dirent/rewinddir.c: Add libc_hidden_def.
42726 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42727 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42728
28377d1b
UD
42729 * include/dirent.h (__alloc_dir): Add flags parameter.
42730 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42731 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42732 __alloc_dir.
42733 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42734 from fdopendir if O_CLOEXEC is already set.
42735
66bdbaa4
AM
427362011-03-15 Alan Modra <amodra@gmail.com>
42737
42738 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42739 l_tls_firstbyte_offset non-zero. Save padding offset in
42740 l_tls_firstbyte_offset for later use.
42741 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42742 freeing static tls block.
42743
95721191
JN
427442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42745
42746 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42747 where #ifdef was intended. The intent is to prevent ARG_MAX from
42748 being defined by the kernel headers.
42749
f87dfb1f
UD
427502011-05-07 Ulrich Drepper <drepper@gmail.com>
42751
42752 [BZ #12734]
42753 * resolv/resolv.h: Define RES_NOTLDQUERY.
42754 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42755 no-tld-query and set RES_NOTLDQUERY.
42756 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42757 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42758 modern BIND to search name as TLD unless forbidden.
42759
47c3cd7a
UD
427602011-05-07 Petr Baudis <pasky@suse.cz>
42761 Ulrich Drepper <drepper@gmail.com>
42762
42763 [BZ #12393]
42764 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42765 (is_trusted_path): ...to here.
c1e9ea35 42766 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42767 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42768 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42769
8a35c912
PP
427702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42771
42772 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42773 __BEGIN/__END_DECLS.
42774
acd41f47
UD
427752011-05-06 Ulrich Drepper <drepper@gmail.com>
42776
42777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42778 NSS_STATUS_NOTFOUND if no record was found.
42779
597df647
AS
427802011-05-05 Andreas Schwab <schwab@redhat.com>
42781
42782 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42783 (headers-not-in-tirpc): Remove rpc/netdb.h
42784 * resolv/netdb.h: Revert last change.
42785
b9af1301
PP
427862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42787
42788 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42789 circular dependency between libgcc.a and libc.a.
42790
4e34d5f5
AS
427912011-05-05 Andreas Schwab <schwab@redhat.com>
42792
42793 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42794 * nis/Makefile: Don't install rpcsvc/*.
42795 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42796 instead of <rpc/types.h>.
42797 (MAXHOSTNAMELEN): Define.
42798
00ee369c
AS
427992011-05-03 Andreas Schwab <schwab@redhat.com>
42800
42801 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42802
0b592a30
MB
428032011-04-28 Maciej Babinski <mbabinski@google.com>
42804
42805 [BZ #12714]
42806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42807 gethostbyname4_r when IPv6 results are possible.
42808
6e04cbbe
UD
428092011-05-02 Ulrich Drepper <drepper@gmail.com>
42810
42811 [BZ #12723]
42812 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42813 _PC_PIPE_BUF handling.
42814
e4ecafe0
BH
428152011-04-30 Bruno Haible <bruno@clisp.org>
42816
42817 [BZ #12717]
42818 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42819 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42820 to 'int'.
42821 * inet/getnameinfo.c (getnameinfo): Likewise.
42822
125ee683
UD
428232011-04-29 Ulrich Drepper <drepper@gmail.com>
42824
42825 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42826 to groups setting in database lookup.
42827 * nss/nsswitch.conf: Add initgroups entry.
42828
b722481a
EB
428292011-04-22 Ulrich Drepper <drepper@gmail.com>
42830
42831 [BZ #12685]
42832 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42833 mode string.
42834 Patch by Eric Blake <eblake@redhat.com>.
42835
4df46dbd
L
428362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42837
42838 * sunrpc/Makefile (need-export-routines): Add svc_run.
42839 (routines): Remove svc_run.
42840 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42841 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42842 * sunrpc/svc_run.c (svc_run): Likewise.
42843 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42844
e84142d2
UD
428452011-04-21 Ulrich Drepper <drepper@gmail.com>
42846
42847 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42848 problem in reallocation in last patch.
42849
877175d8
UD
428502011-04-20 Ulrich Drepper <drepper@gmail.com>
42851
42852 * sunrpc/Makefile: Move inclusion of Rules.
42853
ab8eed78
UD
428542011-04-19 Ulrich Drepper <drepper@gmail.com>
42855
42856 * nss/nss_files/files-initgroups.c: New file.
42857 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42858 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42859 _nss_files_initgroups_dyn.
42860
e3d8f584
RS
428612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42862
42863 * elf/elf.h (R_ARM_IRELATIVE): Define.
42864
af190f45
UD
428652011-04-19 Ulrich Drepper <drepper@gmail.com>
42866
42867 * po/ru.po: Update from translation team.
42868
53cf59ef
UD
428692011-04-17 Ulrich Drepper <drepper@gmail.com>
42870
42871 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42872 dependencies.
42873
4c559bcd
MF
428742011-02-06 Mike Frysinger <vapier@gentoo.org>
42875
42876 [BZ #12653]
42877 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42878 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42882
4420675c
AS
428832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42884
42885 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42886 differing bytes.
42887 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42888 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42889 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42890
75ea32ab
UD
428912011-04-17 Ulrich Drepper <drepper@gmail.com>
42892
42893 [BZ #12420]
42894 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42895 storing it.
42896 * stdlib/bug-getcontext.c: New file.
42897 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42898
27390476
AK
428992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42900
42901 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42902 instructions into .machine "z9-109".
42903 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42904 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42905
10442705
AK
429062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42907
42908 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42909 between environment variables and auxiliary vector.
42910
7b57bfe5
UD
429112011-04-16 Ulrich Drepper <drepper@gmail.com>
42912
42913 * Makefile: Add rules to build linkobj/libc.so.
42914 * include/libc-symbols.h: Define libc_hidden_nolink.
42915 * include/rpc/auth.h: Mark functions which are to be hidden.
42916 * include/rpc/auth_des.h: Likewise.
42917 * include/rpc/auth_unix.h: Likewise.
42918 * include/rpc/clnt.h: Likewise.
42919 * include/rpc/des_crypt.h: Likewise.
42920 * include/rpc/key_prot.h: Likewise.
42921 * include/rpc/pmap_clnt.h: Likewise.
42922 * include/rpc/pmap_prot.h: Likewise.
42923 * include/rpc/pmap_rmt.h: Likewise.
42924 * include/rpc/rpc_msg.h: Likewise.
42925 * include/rpc/svc.h: Likewise.
42926 * include/rpc/svc_auth.h: Likewise.
42927 * include/rpc/xdr.h: Likewise.
42928 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42929 * nss/Makefile: Likewise.
42930 * sunrpc/Makefile: Don't install headers. Build library with normal
42931 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42932 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42933 for the compat linking library. Remove use of INTDEF/INTUSE.
42934 * sunrpc/auth_none.c: Likewise.
42935 * sunrpc/auth_unix.c: Likewise.
42936 * sunrpc/authdes_prot.c: Likewise.
42937 * sunrpc/authuxprot.c: Likewise.
42938 * sunrpc/clnt_gen.c: Likewise.
42939 * sunrpc/clnt_perr.c: Likewise.
42940 * sunrpc/clnt_raw.c: Likewise.
42941 * sunrpc/clnt_simp.c: Likewise.
42942 * sunrpc/clnt_tcp.c: Likewise.
42943 * sunrpc/clnt_udp.c: Likewise.
42944 * sunrpc/clnt_unix.c: Likewise.
42945 * sunrpc/des_crypt.c: Likewise.
42946 * sunrpc/des_soft.c: Likewise.
42947 * sunrpc/get_myaddr.c: Likewise.
42948 * sunrpc/key_call.c: Likewise.
42949 * sunrpc/key_prot.c: Likewise.
42950 * sunrpc/netname.c: Likewise.
42951 * sunrpc/pm_getmaps.c: Likewise.
42952 * sunrpc/pm_getport.c: Likewise.
42953 * sunrpc/pmap_clnt.c: Likewise.
42954 * sunrpc/pmap_prot.c: Likewise.
42955 * sunrpc/pmap_prot2.c: Likewise.
42956 * sunrpc/pmap_rmt.c: Likewise.
42957 * sunrpc/publickey.c: Likewise.
42958 * sunrpc/rpc_cmsg.c: Likewise.
42959 * sunrpc/rpc_common.c: Likewise.
42960 * sunrpc/rpc_dtable.c: Likewise.
42961 * sunrpc/rpc_prot.c: Likewise.
42962 * sunrpc/rpc_thread.c: Likewise.
42963 * sunrpc/rtime.c: Likewise.
42964 * sunrpc/svc.c: Likewise.
42965 * sunrpc/svc_auth.c: Likewise.
42966 * sunrpc/svc_authux.c: Likewise.
42967 * sunrpc/svc_raw.c: Likewise.
42968 * sunrpc/svc_run.c: Likewise.
42969 * sunrpc/svc_simple.c: Likewise.
42970 * sunrpc/svc_tcp.c: Likewise.
42971 * sunrpc/svc_udp.c: Likewise.
42972 * sunrpc/svc_unix.c: Likewise.
42973 * sunrpc/svcauth_des.c: Likewise.
42974 * sunrpc/xcrypt.c: Likewise.
42975 * sunrpc/xdr.c: Likewise.
42976 * sunrpc/xdr_array.c: Likewise.
42977 * sunrpc/xdr_float.c: Likewise.
42978 * sunrpc/xdr_intXX_t.c: Likewise.
42979 * sunrpc/xdr_mem.c: Likewise.
42980 * sunrpc/xdr_rec.c: Likewise.
42981 * sunrpc/xdr_ref.c: Likewise.
42982 * sunrpc/xdr_sizeof.c: Likewise.
42983 * sunrpc/xdr_stdio.c: Likewise.
42984
e6c61494
UD
429852011-04-10 Ulrich Drepper <drepper@gmail.com>
42986
42987 [BZ #12650]
42988 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42989 * sysdeps/ia64/dl-tls.h: Likewise.
42990 * sysdeps/powerpc/dl-tls.h: Likewise.
42991 * sysdeps/s390/dl-tls.h: Likewise.
42992 * sysdeps/sh/dl-tls.h: Likewise.
42993 * sysdeps/sparc/dl-tls.h: Likewise.
42994 * sysdeps/x86_64/dl-tls.h: Likewise.
42995 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42996
34fe483e
AS
429972011-03-14 Andreas Schwab <schwab@redhat.com>
42998
42999 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43000 rpath element also skip the following colon.
43001 (expand_dynamic_string_token): Add is_path parameter and pass
43002 down to DL_DST_REQUIRED and _dl_dst_substitute.
43003 (decompose_rpath): Call expand_dynamic_string_token with
43004 non-zero is_path. Ignore empty rpaths.
43005 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43006 with zero is_path.
43007
f12a32e6
AS
430082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43009
43010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43011 Make cancelable.
43012
38a7d692
UD
430132011-04-09 Ulrich Drepper <drepper@gmail.com>
43014
43015 [BZ #12655]
43016 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43017 Patch by Filipe David Manana <fdmanana@apache.org>.
43018
e451d22b
AS
430192011-04-07 Andreas Schwab <schwab@redhat.com>
43020
43021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43022 Maintain aligned stack.
43023 (CHECK_RSP): Remove unused macro.
43024
dedc7c7b
UD
430252011-04-03 Ulrich Drepper <drepper@gmail.com>
43026
43027 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43028 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43029
94521213
UD
430302011-04-02 Ulrich Drepper <drepper@gmail.com>
43031
43032 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43033
8cb700c0 43034 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43035
0354e355
L
430362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43037
43038 [BZ #12518]
43039 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43040 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43041 * sysdeps/x86_64/memmove.c: New file.
43042 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43043 (memcpy): Renamed to ...
43044 (__new_memcpy): This.
43045 (memcpy): Provide GLIBC_2_14 memcpy.
43046 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43047 (memcpy): Provide GLIBC_2_2_5 memcpy.
43048
8593482f
UD
430492011-04-01 Ulrich Drepper <drepper@gmail.com>
43050
43051 [BZ #12631]
43052 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43053
81a5726b
AS
430542011-03-30 Andreas Schwab <schwab@redhat.com>
43055
43056 * misc/syncfs.c: New file.
43057 * misc/Makefile (routines): Add syncfs.
43058 * posix/unistd.h: Declare syncfs.
43059 * sysdeps/unix/syscalls.list: Add syncfs.
43060
00e5419f
AS
430612011-04-01 Andreas Schwab <schwab@redhat.com>
43062
43063 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43064 open_by_handle_at.
43065 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43066 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43068 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43070 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43072
748876bf
UD
430732011-04-01 Ulrich Drepper <drepper@gmail.com>
43074
658e451d
UD
43075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43077 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43079 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43080 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43081 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43082
748876bf
UD
43083 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43084 sync_file_range.c with -fexceptions.
43085 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43086 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43087 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43088 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43089 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43090 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43092 sync_file_range as cancellation point
43093 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43094 now a wrapper around __call_sync_file_range with cancellation handling.
43095 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43096 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43097 function name to __call_sync_file_range.
43098 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43099 Add call_sync_file_range.
748876bf 43100
6e63d5e1
AS
431012011-04-01 Andreas Schwab <schwab@redhat.com>
43102
43103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43104 bits/timex.h.
6e63d5e1 43105
46998f74
UD
431062011-04-01 Ulrich Drepper <drepper@gmail.com>
43107
4c1423ed
UD
43108 * iconv/iconv.h: Fix typo in comment.
43109 * io/fcntl.h: Likewise.
43110 * libio/stdio.h: Likewise.
43111 * posix/spawn.h: Likewise.
43112 * posix/unistd.h: Likewise.
43113 * stdlib/stdlib.h: Likewise.
43114 * time/time.h: Likewise.
43115 * wcsmbs/wchar.h: Likewise.
43116
158648c0
UD
43117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43118 open_by_handle): Add.
43119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43120 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43121 Augment a few comments.
43122 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43127 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43128 open_by_handle.
43129
46998f74
UD
43130 * io/fcntl.h (AT_EMPTY_PATH): Define.
43131
83fe108b
UD
431322011-03-30 Ulrich Drepper <drepper@gmail.com>
43133
43134 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43135 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43136 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43137 to...
43138 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43139 * Versions.def: Add GLIBC_2.14.
43140 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43141 Export.
83fe108b 43142
bb242059
UD
431432011-03-22 Ulrich Drepper <drepper@gmail.com>
43144
43145 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43146 round counter.
43147 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43148
c97a1282
L
431492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43150
43151 [BZ #12597]
43152 * string/test-strncmp.c (do_page_test): New function.
43153 (check2): Likewise.
43154 (test_main): Call check2.
43155 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43156
2a115601
UD
431572011-03-20 Ulrich Drepper <drepper@gmail.com>
43158
43159 [BZ #12587]
43160 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43161 Handle cache information in CPU leaf 4.
43162 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43163
8126d904
UD
431642011-03-18 Ulrich Drepper <drepper@gmail.com>
43165
042c49c6 43166 [BZ #12583]
8126d904
UD
43167 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43168 character representation.
43169 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43170
ccfe366e
RA
431712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43172
43173 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43174 END(__isnan) to END(__isnanf) to match function entry point/label
43175 EALIGN(__isnanf,...).
43176
c6e13027
JJ
431772011-03-10 Jakub Jelinek <jakub@redhat.com>
43178
43179 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43180
33f85a3f
UD
431812011-03-10 Ulrich Drepper <drepper@gmail.com>
43182
028478fa
UD
43183 [BZ #12510]
43184 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43185 copy from the symbol referenced in the relocation to initialize the
43186 used variable.
43187 Patch by Piotr Bury <pbury@goahead.com>.
43188 * elf/Makefile: Add rules to build and tst-unique3.
43189 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43190 * elf/tst-unique3.cc: New file.
43191 * elf/tst-unique3.h: New file.
43192 * elf/tst-unique3lib.cc: New file.
43193 * elf/tst-unique3lib2.cc: New file.
43194
33f85a3f
UD
43195 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43196
03592fc7
MF
431972011-03-10 Mike Frysinger <vapier@gentoo.org>
43198
43199 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43200 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43201 to _start.
03592fc7 43202
6a5ee102
UD
432032011-03-06 Ulrich Drepper <drepper@gmail.com>
43204
43205 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43206 to-be-loaded object along a path to loader is ld.so.
43207
7e4ba49c
HJ
432082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43209 Ulrich Drepper <drepper@gmail.com>
43210
43211 * sysdeps/x86_64/memset.S: After aligning destination, code
43212 branches to different locations depending on the value of
43213 misalignment, when multiarch is enabled. Fix this.
43214
432152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43216
43217 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43218 Set _x86_64_preferred_memory_instruction for AMD processsors.
43219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43220 Set bit_Prefer_SSE_for_memop for AMD processors.
43221
13a804de
UD
432222011-03-04 Ulrich Drepper <drepper@gmail.com>
43223
43224 * libio/fmemopen.c (fmemopen): Optimize a bit.
43225
9d25c392
AS
432262011-03-03 Andreas Schwab <schwab@redhat.com>
43227
43228 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43229
a5543c6a
RM
432302011-03-03 Roland McGrath <roland@redhat.com>
43231
43232 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43233
012d35f7
DM
432342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43235
7e4ba49c 43236 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43237 __bzero_ultra1 instead of __memset_ultra1.
43238
4bff6e01
AS
432392011-02-23 Andreas Schwab <schwab@redhat.com>
43240 Ulrich Drepper <drepper@gmail.com>
43241
43242 [BZ #12509]
43243 * include/link.h (struct link_map): Add l_orig_initfini.
43244 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43245 returning unsuccessfully.
43246 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43247 close of a file loaded at startup, restore the original l_initfini
43248 list.
43249 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43250 list, store the pointer.
43251 * elf/Makefile ($(objpfx)noload-mem): New rule.
43252 (noload-ENV): Define.
43253 (tests): Add $(objpfx)noload-mem.
43254 * elf/noload.c: Include <memcheck.h>.
43255 (main): Call mtrace. Close all opened handles.
43256
f2092faf
AS
432572011-02-17 Andreas Schwab <schwab@redhat.com>
43258
43259 [BZ #12454]
43260 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43261 dependencies are missing.
43262
6c8a2e88
ST
432632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43264
f2092faf 43265 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43266 Hurd needs munmap.
43267 * sysdeps/mach/hurd/ifreq.h: New file.
43268
84a42118
PB
432692011-01-27 Petr Baudis <pasky@suse.cz>
43270 Ulrich Drepper <drepper@gmail.com>
43271
071f805e 43272 [BZ 12445]#
84a42118
PB
43273 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43274 to extend_alloca().
43275 * stdio-common/bug23.c: New file.
43276 * stdio-common/Makefile (tests): Add bug23.
43277
e23fe25b
AS
432782010-09-28 Andreas Schwab <schwab@redhat.com>
43279 Ulrich Drepper <drepper@gmail.com>
43280
43281 [BZ #12489]
43282 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43283 before performing relro protection. At old place add assertion
43284 to make sure nothing changed.
43285
d3f02e10
NS
432862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43287 Glauber de Oliveira Costa <glommer@gmail.com>
43288
43289 * elf/elf.h: Add new ARM TLS relocs.
43290
d55fd7a5
RA
432912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43292
43293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43294 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43295 cast from r3.
43296 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43297 'tests' variable.
43298 * sysdeps/wordsize-64/tst-writev.c: New file.
43299
2206397e
RA
433002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43301
43302 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43303 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43304 insns in _dl_start to prevent a TOC reference before relocs are
43305 resolved.
43306
e9433893
UD
433072011-02-15 Ulrich Drepper <drepper@gmail.com>
43308
43309 [BZ #12469]
43310 * Makeconfig: Remove RANLIB definition.
43311 * Makerules: Don't use RANLIB.
43312 * aclocal.m4: Remove ranlib test.
43313 * configure.in: No need to check for ranlib.
43314 * elf/rtld-Rules: Don't use RANLIB.
43315
f75286c6
ST
433162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43317
8e31c82d
ST
43318 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43319 protection macro.
43320 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43321 inclusion protection macro.
43322
f75286c6
ST
43323 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43324 SIGRTMIN and SIGRTMAX and print information in that case only when
43325 SIGRTMIN is defined.
43326
c1d0e639
JJ
433272011-02-11 Jakub Jelinek <jakub@redhat.com>
43328
43329 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43330 arginfo fn returning -1.
43331
43332 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43333 and thousands string is zero terminated.
43334
edf9294e
AS
433352011-02-03 Andreas Schwab <schwab@redhat.com>
43336
43337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43338 sysdeps/unix/sysv/linux/bits/socket.h.
43339
2b7e92df
ST
433402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43341
edf9294e
AS
43342 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43343 (__CPU_COUNT): Remove old macros.
43344 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43345 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43346 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43347 (__sched_cpualloc, __sched_cpufree): Add declarations.
43348
a4c7ea7b
UD
433492011-02-05 Ulrich Drepper <drepper@gmail.com>
43350
43351 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43352 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43353 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43354 (readdhstai): Return value of addhstaiX call.
43355 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43356 (addgrbyX): Return value returned by cache_addgr.
43357 (readdgrbyname): Return value returned by addgrbyX.
43358 (readdgrbygid): Likewise.
43359 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43360 (addpwbyX): Return value returned by cache_addpw.
43361 (readdpwbyname): Return value returned by addhstbyX.
43362 (readdpwbyuid): Likewise.
43363 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43364 (addservbyX): Return value returned by cache_addserv.
43365 (readdservbyname): Return value returned by addservbyX:
43366 (readdservbyport): Likewise.
43367 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43368 (addhstbyX): Return value returned by cache_addhst.
43369 (readdhstbyname): Return value returned by addhstbyX.
43370 (readdhstbyaddr): Likewise.
43371 (readdhstbynamev6): Likewise.
43372 (readdhstbyaddrv6): Likewise.
43373 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43374 (readdinitgroups): Return value returned by addinitgroupsX.
43375 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43376 (prune_cache): Keep track of timeout value of re-added entries.
43377 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43378 * nscd/nscd.h: Adjust prototypes of readd* functions.
43379
a0bf67cc
RM
433802011-02-04 Roland McGrath <roland@redhat.com>
43381
43382 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43383 (nis_stats): Likewise.
43384 * nis/nis_modify.c (nis_modify): Likewise.
43385 * nis/nis_remove.c (nis_remove): Likewise.
43386 * nis/nis_add.c (nis_add): Likewise.
43387
43388 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43389
43390 * posix/fnmatch_loop.c: Add some consts.
43391
43392 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43393
435b95eb
L
433942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43395
43396 [BZ #12460]
43397 * config.make.in (config-cflags-novzeroupper): Define.
43398 * configure.in: Substitute libc_cv_cc_novzeroupper.
43399 * elf/Makefile (AVX-CFLAGS): Define.
43400 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43401 (CFLAGS-tst-auditmod4a.c): Likewise.
43402 (CFLAGS-tst-auditmod4b.c): Likewise.
43403 (CFLAGS-tst-auditmod6b.c): Likewise.
43404 (CFLAGS-tst-auditmod6c.c): Likewise.
43405 (CFLAGS-tst-auditmod7b.c): Likewise.
43406 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43407
8517b15e
UD
434082011-02-02 Ulrich Drepper <drepper@gmail.com>
43409
43410 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43411 function to the callback.
43412 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43413
10a656fe
AS
434142011-02-02 Andreas Schwab <schwab@redhat.com>
43415
43416 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43417 of errno.
43418
968dad0a
UD
434192011-01-19 Ulrich Drepper <drepper@gmail.com>
43420
9f94d2ea 43421 [BZ #11724]
968dad0a
UD
43422 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43423 of constructors.
43424 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43425 of destructors.
43426 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43427
43428 [BZ #11724]
43429 * elf/Makefile: Add rules to build and run new test.
43430 * elf/tst-initorder.c: New file.
43431 * elf/tst-initorder.exp: New file.
43432 * elf/tst-initordera1.c: New file.
43433 * elf/tst-initordera2.c: New file.
43434 * elf/tst-initordera3.c: New file.
43435 * elf/tst-initordera4.c: New file.
43436 * elf/tst-initorderb1.c: New file.
43437 * elf/tst-initorderb2.c: New file.
43438 * elf/tst-order-a1.c: New file.
43439 * elf/tst-order-a2.c: New file.
43440 * elf/tst-order-a3.c: New file.
43441 * elf/tst-order-a4.c: New file.
43442 * elf/tst-order-b1.c: New file.
43443 * elf/tst-order-b2.c: New file.
43444 * elf/tst-order-main.c: New file.
43445 New test case by George Gensure <werkt0@gmail.com>.
43446
86e92359
UD
434472010-10-01 Andreas Schwab <schwab@redhat.com>
43448
43449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43450 decoding ACE if AI_CANONIDN.
43451
5d5732b0
UD
434522011-01-18 Ulrich Drepper <drepper@gmail.com>
43453
43454 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43455
a77e8cbc
UD
434562011-01-17 Ulrich Drepper <drepper@gmail.com>
43457
6392473f
UD
43458 * version.h (RELEASE): Bump for 2.13 release.
43459 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43460
620a0529
UD
43461 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43462
18ba70a5
UD
43463 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43464 MADV_NOHUGEPAGE.
32465c3e
UD
43465 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43466 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43467 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43468 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43469 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43470 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43471
c0dafcf1
UD
43472 * posix/getconf.c: Update copyright year.
43473 * catgets/gencat.c: Likewise.
43474 * csu/version.c: Likewise.
43475 * debug/catchsegv.sh: Likewise.
43476 * debug/xtrace.sh: Likewise.
43477 * elf/ldconfig.c: Likewise.
43478 * elf/ldd.bash.in: Likewise.
43479 * elf/sprof.c (print_version): Likewise.
43480 * iconv/iconv_prog.c: Likewise.
43481 * iconv/iconvconfig.c: Likewise.
43482 * locale/programs/locale.c: Likewise.
43483 * locale/programs/localedef.c: Likewise.
43484 * malloc/memusage.sh: Likewise.
43485 * malloc/mtrace.pl: Likewise.
43486 * nscd/nscd.c (print_version): Likewise.
43487 * nss/getent.c: Likewise.
43488
a77e8cbc
UD
43489 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43490 PF_CAIF, and PF_ALG.
43491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43492
77e8bddf
AS
434932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43494
1f20b93a
AS
43495 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43496 (modules-names): Use them.
43497 (ifunc-test-modules, ifunc-pie-tests): Define.
43498 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43499 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43500 (test-extras): Likewise.
43501 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43502 $(compile-command.c).
43503 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43504 (all-built-dso): Define.
43505 (check-textrel.out, check-execstack.out): Depend on it.
43506
77e8bddf
AS
43507 * configure.in: Don't override --enable-multi-arch.
43508
bc425b33
UD
435092011-01-15 Ulrich Drepper <drepper@gmail.com>
43510
43511 [BZ #6812]
43512 * nscd/hstcache.c (tryagain): Define.
43513 (cache_addhst): Return tryagain not notfound for temporary errors.
43514 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43515 failed.
43516
794c3ad3
UD
435172011-01-14 Ulrich Drepper <drepper@gmail.com>
43518
70181fdd
UD
43519 [BZ #10563]
43520 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43521 to make the syscall.
43522 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43523
794c3ad3
UD
43524 [BZ #12378]
43525 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43526 and fall back to matching as normal character if the string ends before
43527 the matching ']' is found. This is what POSIX requires.
43528 * posix/testfnm.c: Adjust test result.
43529 * posix/globtest.sh: Adjust test result. Add new test.
43530 * posix/tst-fnmatch.input: Likewise.
43531 * posix/tst-fnmatch2.c: Add new test.
43532
68dc9497
AS
435332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43534
43535 * elf/Makefile (check-execstack): Revert last change. Depend on
43536 check-execstack.h.
43537 (check-execstack.h): New target.
43538 (generated): Add check-execstack.h.
43539 * elf/check-execstack.c: Include "check-execstack.h".
43540 (main): Revert last change.
43541 (handle_file): Return zero if GNU_STACK is absent and
43542 DEFAULT_STACK_PERMS doesn't include PF_X.
43543
451f001b
UD
435442011-01-13 Ulrich Drepper <drepper@gmail.com>
43545
cfa28e56
UD
43546 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43547 in child fails because the descriptor is already closed.
8cf8ce17
UD
43548 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43549 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43550 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43551
1086d70d
UD
43552 [BZ #12397]
43553 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43554 syscall.
43555
451f001b
UD
43556 [BZ #10484]
43557 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43558 temporary buffer used to handle multi lookups locally.
a85b5cb4 43559 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43560
08769175
UD
435612011-01-12 Ulrich Drepper <drepper@gmail.com>
43562
43563 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43564 loader is ld.so.
43565
5e49c52e
UD
435662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43567
43568 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43569 alignment for SSE2.
43570
60522a5f
UD
435712011-01-12 Ulrich Drepper <drepper@gmail.com>
43572
43573 [BZ #12394]
43574 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43575 characters. When rounding increased number of integer digits recompute
43576 number of groups.
43577 * stdio-common/tst-grouping.c: New file.
43578 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43579
f257bbd7
UD
435802011-01-09 Ulrich Drepper <drepper@gmail.com>
43581
43582 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43583 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43584
43585 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43586 void.
43587 * bits/select.h: Likewise.
43588
fa9c15cb
UD
435892011-01-08 Ulrich Drepper <drepper@gmail.com>
43590
43591 * po/ja.po: Update from translation team.
43592
16c2895f
DM
435932011-01-04 David S. Miller <davem@sunset.davemloft.net>
43594
43595 [BZ #11155]
43596 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43597 implementation just like for lxstat, fxstatat, et al.
43598
2543fef2
JM
435992010-12-27 Jim Meyering <meyering@redhat.com>
43600
43601 [BZ #12348]
43602 * posix/regexec.c (build_trtable): Return failure indication upon
43603 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43604
98727dbe
UD
436052010-12-25 Ulrich Drepper <drepper@gmail.com>
43606
5bd6dc5c
UD
43607 [BZ #12201]
43608 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43609 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43610 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43612
97983464
UD
43613 [BZ #12207]
43614 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43615
98727dbe
UD
43616 [BZ #12204]
43617 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43618 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43619
4a531bb0
L
436202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43621
43622 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43623 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43624 script has SORT_BY_INIT_PRIORITY.
43625 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43626 NO_CTORS_DTORS_SECTIONS is defined.
43627 * elf/soinit.c: Likewise.
43628 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43629 NO_CTORS_DTORS_SECTIONS is defined.
43630 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43631 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43632 * sysdeps/sh/init-first.c: Likewise.
43633 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43634
07eb4b71
UD
436352010-12-24 Ulrich Drepper <drepper@gmail.com>
43636
43637 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43638 always use the slow path.
43639
30950a5f
RA
436402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43641
43642 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43643 similar rule which adds the sysdep directories to the header search in
43644 order to pick up the correct platform stackinfo.h.
43645 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43646 perform test if it is, otherwise return successfully without testing.
43647 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43648 DEFAULT_STACK_PERMS define in stackinfo.h.
43649 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43650 defined in stackinfo.h.
43651 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43652 DEFAULT_STACK_PERMS defined in stackinfo.h.
43653 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43654 * sysdeps/ia64/stackinfo.h: Likewise.
43655 * sysdeps/s390/stackinfo.h: Likewise.
43656 * sysdeps/sh/stackinfo.h: Likewise.
43657 * sysdeps/sparc/stackinfo.h: Likewise.
43658 * sysdeps/x86_64/stackinfo.h: Likewise.
43659 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43660 PF_X for powerpc64. Retain PF_X for powerpc32.
43661
db753e2c
UD
436622010-12-19 Ulrich Drepper <drepper@gmail.com>
43663
14b697f7
UD
43664 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43665 accurately.
db753e2c
UD
43666 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43667 GETDENTS_64BIT_ALIGNED.
43668
28300719
UD
436692010-12-14 Ulrich Drepper <dreper@gmail.com>
43670
14b697f7 43671 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43672
4f197237
AS
436732010-12-10 Andreas Schwab <schwab@redhat.com>
43674
dbb0472f
AS
43675 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43676 _GNU_SOURCE.
43677
4f197237
AS
43678 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43679 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43680 Remove __restrict.
43681 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43682 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43683
fb88ac72
UD
436842010-12-09 Ulrich Drepper <drepper@gmail.com>
43685
43686 [BZ #11655]
43687 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43688 are initialized.
43689
42acbb92
JJ
436902010-12-09 Jakub Jelinek <jakub@redhat.com>
43691
43692 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43693
c038d98d
UD
436942010-12-03 Ulrich Drepper <drepper@gmail.com>
43695
43696 * po/it.po: Update from translation team.
43697
3a4a2499
L
436982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43699
43700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43701 unused codes.
43702
1e24cf6e
UD
437032010-11-30 Ulrich Drepper <drepper@gmail.com>
43704
43705 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43706
a7690819
AS
437072010-11-24 Andreas Schwab <schwab@redhat.com>
43708
43709 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43710 specially.
43711 (gaih_getanswer_slice): Likewise.
43712
3bf8d1b1
JJ
437132010-10-20 Jakub Jelinek <jakub@redhat.com>
43714
43715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43716
6db52fbb
PB
437172010-05-31 Petr Baudis <pasky@suse.cz>
43718
43719 [BZ #11149]
43720 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43721 silently even in the chroot mode.
43722
eaca7569
UD
437232010-11-22 Ulrich Drepper <drepper@gmail.com>
43724
43725 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43726 last patch a bit. Pretty printing
43727
3056dcdb
UD
437282010-05-31 Petr Baudis <pasky@suse.cz>
43729
43730 [BZ #10085]
43731 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43732 initialization of skip_initgroups_dyn.
43733
cf7c9078
UD
437342010-11-19 Ulrich Drepper <drepper@gmail.com>
43735
43736 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43737 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43738
a1fb5e3e
UD
437392010-11-16 Ulrich Drepper <drepper@gmail.com>
43740
43741 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43742
3540d66b
AS
437432010-11-11 Andreas Schwab <schwab@redhat.com>
43744
43745 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43746 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43747 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43748 ($(objpfx)tst-fnmatch-mem): New rule.
43749 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43750 * posix/tst-fnmatch.c (main): Call mtrace.
43751
13b69574
L
437522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43753
43754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43755 Support Intel processor model 6 and model 0x2c.
43756
da93d214
LM
437572010-11-10 Luis Machado <luisgpm@br.ibm.com>
43758
43759 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43760 signed comparison.
43761
8ca52c6e
L
437622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43763
43764 [BZ #12205]
43765 * string/test-strncasecmp.c (check_result): New function.
43766 (do_one_test): Use it.
43767 (check1): New function.
43768 (test_main): Use it.
43769 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43770 Support strcasecmp and strncasecmp.
43771
69da074d
UD
437722010-11-08 Ulrich Drepper <drepper@gmail.com>
43773
43774 [BZ #12194]
43775 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43777
ff02d528
L
437782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43779
43780 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43781 IFUNC support.
43782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43783 memset-x86-64.
43784 * sysdeps/x86_64/multiarch/bzero.S: New file.
43785 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43786 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43787 * sysdeps/x86_64/multiarch/memset.S: New file.
43788 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43790 Set bit_Prefer_SSE_for_memop for Intel processors.
43791 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43792 Define.
43793 (index_Prefer_SSE_for_memop): Define.
43794 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43795
344d0b54
LM
437962010-11-04 Luis Machado <luisgpm@br.ibm.com>
43797
43798 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43799 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43800
c0dde15b
UD
438012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43802
43803 [BZ #12191]
43804 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43805 (__x86_64_raw_data_cache_size_half): Likewise.
43806 (__x86_64_raw_shared_cache_size): Likewise.
43807 (__x86_64_raw_shared_cache_size_half): Likewise.
43808
43809 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43810 (__x86_64_raw_data_cache_size_half): Likewise.
43811 (__x86_64_raw_shared_cache_size): Likewise.
43812 (__x86_64_raw_shared_cache_size_half): Likewise.
43813 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43814 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43815 and __x86_64_raw_shared_cache_size_half. Round
43816 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43817 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43818 to multiple of 256 bytes.
43819
0e516e0e
MS
438202010-11-03 Ulrich Drepper <drepper@gmail.com>
43821
43822 [BZ #12167]
43823 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43824 of inacessible symlinks. Verify result of symlink before returning it.
43825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43826 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43827
0e012e87
ER
438282010-10-28 Erich Ritz <erichritz@gmail.com>
43829
43830 * math/math.h (isinf): Fix typo in comment.
43831
de0ff7bc
UD
438322010-11-01 Ulrich Drepper <drepper@gmail.com>
43833
43834 * po/da.po: Update from translation team.
43835
fa41c84d
UD
438362010-10-26 Ulrich Drepper <drepper@gmail.com>
43837
43838 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43839 is added to the list.
43840
f0967738
AK
438412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43842 Ulrich Drepper <drepper@gmail.com>
43843
43844 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43845 the global list here. Move code to...
43846 (_dl_add_to_namespace_list): ...here. New function.
43847 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43848 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43849 * elf/dl-load.c (lose): Don't remove the element from the list.
43850 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43851 (_dl_map_object): Likewise.
43852
438532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43854
43855 [BZ #12159]
43856 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43857 into all bytes of SSE register.
43858 Patch by Richard Li <richardpku@gmail.com>.
43859
f0967738 438602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43861
43862 [BZ #12140]
43863 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43864 perturbing.
43865
d0b9e94f
MB
438662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43867
43868 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43869 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43870 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43871 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43873 submachine.
43874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43875
8e9f92e9
AS
438762010-10-22 Andreas Schwab <schwab@redhat.com>
43877
43878 * include/dlfcn.h (__RTLD_SECURE): Define.
43879 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43880 mode & __RTLD_SECURE instead.
43881 (open_path): Rename preloaded parameter to secure.
43882 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43883 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43884 * elf/dl-deps.c (openaux): Likewise.
43885 * elf/rtld.c (struct map_args): Remove is_preloaded.
43886 (map_doit): Don't use it.
43887 (dl_main): Likewise.
43888 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43889 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43890
bc96fbda
AS
438912010-09-09 Andreas Schwab <schwab@redhat.com>
43892
43893 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43894 (sysd-rules-targets): Remove duplicates.
43895 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43896 rtld-%.$o dependency.
43897
22cd1c9b
AS
438982010-10-18 Andreas Schwab <schwab@redhat.com>
43899
43900 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43901 _dl_map_object do it.
43902
18edac48
UD
439032010-10-19 Ulrich Drepper <drepper@gmail.com>
43904
43905 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43906 fast fma builtins, define the macros in the C99 standard.
43907 (FP_FAST_FMAF): Likewise.
43908 (FP_FAST_FMAL): Likewise.
43909 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43910
43911 * bits/mathdef.h: Update copyright year.
43912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43913
d2050124
MM
439142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43915
43916 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43917 builtins, define the macros in the C99 standard.
43918 (FP_FAST_FMAF): Likewise.
43919 (FP_FAST_FMAL): Likewise.
43920 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43921 multiply/add.
43922 (FP_FAST_FMAF): Likewise.
43923
475facd1
JJ
439242010-10-15 Jakub Jelinek <jakub@redhat.com>
43925
43926 [BZ #3268]
43927 * math/libm-test.inc (fma_test): Some new testcases.
43928 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43930 y and infinite z. Do multiplication by C already in long double.
43931 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43933 y and infinite z. Do bitwise or of inexact bit into u.d.
43934 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43935 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43936 * sysdeps/i386/fpu/s_fma.S: Removed.
43937 * sysdeps/i386/fpu/s_fmal.S: Removed.
43938
7c08a05c
JJ
439392010-10-16 Jakub Jelinek <jakub@redhat.com>
43940
43941 [BZ #3268]
43942 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43944 computation is not scheduled after fetestexcept. Fix value
43945 of minimum denormal long double.
43946
f3f7372d
JJ
439472010-10-14 Jakub Jelinek <jakub@redhat.com>
43948
43949 [BZ #3268]
43950 * math/libm-test.inc (fma_test): Add some more tests.
43951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43952 correctly.
43953
14d43591
AS
439542010-10-15 Andreas Schwab <schwab@redhat.com>
43955
43956 * scripts/data/localplt-s390-linux-gnu.data: New file.
43957 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43958
5e908464
JJ
439592010-10-13 Jakub Jelinek <jakub@redhat.com>
43960
43961 [BZ #3268]
43962 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43963 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43964 instead of dbl-64.
43965 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43966 inlines.
43967 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43969 if one of x and y is very large and the other is subnormal.
43970 * sysdeps/s390/fpu/s_fmaf.c: New file.
43971 * sysdeps/s390/fpu/s_fma.c: New file.
43972 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43973 * sysdeps/powerpc/fpu/s_fma.S: New file.
43974 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43975 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43976 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43977
439782010-10-12 Jakub Jelinek <jakub@redhat.com>
43979
43980 [BZ #3268]
43981 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43982 fma tests.
43983 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43984 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43985 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43986 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43987 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43988 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43989 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43990
b833d51f
UD
439912010-10-12 Ulrich Drepper <drepper@redhat.com>
43992
43993 [BZ #12078]
43994 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43995 * posix/bug-regex31.input: Add test case.
43996
1751705d
UD
439972010-10-11 Ulrich Drepper <drepper@gmail.com>
43998
e9b9cbf5
UD
43999 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44000 * posix/bug-regex31.input: New file.
44001
44002 [BZ #12078]
44003 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44004 (parse_sub_exp): Fix last change, use postorder.
44005
ef06edbe
UD
44006 * posix/bug-regex31.c: New file.
44007 * posix/Makefile: Add rules to build and run bug-regex31.
44008
a129c80d
UD
44009 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44010
44011 [BZ #12078]
44012 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44013
b76b818e
UD
44014 [BZ #12108]
44015 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44016 to have entries in sys_siglist.
44017
1751705d
UD
44018 [BZ #12093]
44019 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44020 be NULL.
44021
9ff8d36f
JJ
440222010-10-07 Jakub Jelinek <jakub@redhat.com>
44023
44024 [BZ #3268]
44025 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44026 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44027 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44028 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44029 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44030 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44031 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44032 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44033 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44034 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44035 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44036 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44037 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44038 * math/ftestexcept.c (fetestexcept): Likewise.
44039 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44040 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44041 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44042 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44043 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44044 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44045 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44046
af325969
UD
440472010-10-11 Ulrich Drepper <drepper@gmail.com>
44048
c579b202 44049 [BZ #12107]
af325969
UD
44050 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44051 newline.
44052
67a67b95
UD
440532010-10-06 Ulrich Drepper <drepper@gmail.com>
44054
44055 * string/bug-strstr1.c: New file.
44056 * string/Makefile: Add rules to build and run bug-strstr1.
44057
5fb308bc
EB
440582010-10-05 Eric Blake <eblake@redhat.com>
44059
44060 [BZ #12092]
44061 * string/str-two-way.h (two_way_long_needle): Always clear memory
44062 when skipping input due to the shift table.
44063
45db99c7
UD
440642010-10-03 Ulrich Drepper <drepper@gmail.com>
44065
3b111893
UD
44066 [BZ #12005]
44067 * malloc/mcheck.c: Handle large requests.
44068
45db99c7
UD
44069 [BZ #12077]
44070 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44071 for strncmp and strncasecmp.
44072 * string/stratcliff.c: Add tests for strcmp and strncmp.
44073 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44074
cf7a1eb8
NI
440752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44076
44077 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44078 __set_fpscr.
44079
6484ba5e
AJ
440802010-09-30 Andreas Jaeger <aj@suse.de>
44081
44082 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44083 (CGROUP_SUPER_MAGIC): Define.
44084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44085 Handle btrfs and cgroup file systems.
44086 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44087 Likewise.
44088
91c42559
LM
440892010-09-27 Luis Machado <luisgpm@br.ibm.com>
44090
44091 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44092 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44093
87a97932
AK
440942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44095
44096 [BZ #12067]
44097 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44098 trying to locate the ELF header.
44099
c21cc9bc
AS
441002010-09-27 Andreas Schwab <schwab@redhat.com>
44101
44102 [BZ #11611]
44103 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44104 Mask out sign-bit copies when constructing f_fsid.
44105
315970f6
PB
441062010-09-24 Petr Baudis <pasky@suse.cz>
44107
44108 * debug/stack_chk_fail_local.c: Add missing licence exception.
44109 * debug/warning-nop.c: Likewise.
44110
1ac7a2c7
JM
441112010-09-15 Joseph Myers <joseph@codesourcery.com>
44112
44113 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44114 implementing getdents64 using getdents syscall, set d_type if
44115 __ASSUME_GETDENTS32_D_TYPE.
44116
56801c50
AS
441172010-09-16 Andreas Schwab <schwab@redhat.com>
44118
44119 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44120 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44121
dda51327
UD
441222010-09-21 Ulrich Drepper <drepper@redhat.com>
44123
44124 [BZ #12037]
44125 * posix/unistd.h: Undo change of feature selection for ftruncate from
44126 2010-01-11.
44127
8ffcee4a
UD
441282010-09-20 Ulrich Drepper <drepper@redhat.com>
44129
a545ecd9 44130 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44131 detection.
44132
e24f0a8b
AS
441332010-09-20 Andreas Schwab <schwab@redhat.com>
44134
44135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44136 fanotify_mark.
44137 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44138
7291c56f
AS
441392010-09-14 Andreas Schwab <schwab@redhat.com>
44140
44141 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44142 variables after CHECK_SP call.
44143 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44144
bc5fb037
AS
441452010-09-13 Andreas Schwab <schwab@redhat.com>
44146 Ulrich Drepper <drepper@redhat.com>
44147
44148 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44149 re-relocationg ld.so.
44150 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44151 _dl_init_paths call.
44152 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44153 here anymore.
44154
e66e7419
UD
441552010-09-14 Ulrich Drepper <drepper@redhat.com>
44156
44157 * resolv/res_init.c (__res_vinit): Count the default server we added.
44158
c044aa75
CLT
441592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44160 Ulrich Drepper <drepper@redhat.com>
44161
44162 [BZ #11968]
44163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44164 (____longjmp_chk): Use %ebx for saving value across system call.
44165 Add unwind info.
44166
32cf4069
AS
441672010-09-06 Andreas Schwab <schwab@redhat.com>
44168
44169 * manual/Makefile: Don't mix pattern rules with normal rules.
44170
817328ee
AS
441712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44172
44173 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44174 operation.
44175 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44176 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44177 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44178 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44179 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44180 Likewise.
44181
29fddf61
UD
441822010-09-04 Ulrich Drepper <drepper@redhat.com>
44183
44184 [BZ #11979]
44185 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44186 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44187
0959ffc9
UD
441882010-09-02 Ulrich Drepper <drepper@redhat.com>
44189
44190 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44191 * sysdeps/x86_64/addmul_1.S: Likewise.
44192 * sysdeps/x86_64/lshift.S: Likewise.
44193 * sysdeps/x86_64/mul_1.S: Likewise.
44194 * sysdeps/x86_64/rshift.S: Likewise.
44195 * sysdeps/x86_64/sub_n.S: Likewise.
44196 * sysdeps/x86_64/submul_1.S: Likewise.
44197
ece29840
ST
441982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44199
0959ffc9
UD
44200 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44201 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44202 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44203 * bits/sched.h [__need_schedparam]
ece29840 44204 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44205 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44206 (__defined_schedparam): Define to 1.
ece29840
ST
44207 (__sched_param): New structure, identical to sched_param.
44208 (__need_schedparam): Undefine.
44209
e53a31fe
MF
442102010-08-31 Mike Frysinger <vapier@gentoo.org>
44211
fdc0c10d
MF
44212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44213 (epoll_create1): Declare.
44214
e53a31fe
MF
44215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44216
a726d796
AS
442172010-08-31 Andreas Schwab <schwab@redhat.com>
44218
44219 [BZ #7066]
44220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44221 shifting retval into place.
44222
2f3e3dc7
UD
442232010-09-01 Ulrich Drepper <drepper@redhat.com>
44224
f2933da9
UD
44225 * nis/rpcsvc/nis.h: Update copyright notice.
44226 * nis/rpcsvc/nis.x: Likewise.
44227 * nis/rpcsvc/nis_callback.h: Likewise.
44228 * nis/rpcsvc/nis_callback.x: Likewise.
44229 * nis/rpcsvc/nis_object.x: Likewise.
44230 * nis/rpcsvc/nis_tags.h: Likewise.
44231 * nis/rpcsvc/yp.h: Likewise.
44232 * nis/rpcsvc/yp.x: Likewise.
44233 * nis/rpcsvc/ypupd.h: Likewise.
44234 * nis/yp_xdr.c: Likewise.
44235 * nis/ypupdate_xdr.c: Likewise.
44236
2f3e3dc7
UD
44237 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44238 mainly the body of pmap_getport. Add parameters to specify timeouts.
44239 (pmap_getport): Use __libc_rpc_getport.
44240 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44241 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44242 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44243
f3dcc2f9
AS
442442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44245
44246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44247 fanotify_mark.
44248
6d34eb5b
RM
442492010-08-27 Roland McGrath <roland@redhat.com>
44250
44251 * sysdeps/i386/i686/multiarch/Makefile
44252 (CFLAGS-varshift.c): New variable.
44253
9ea3de11
UD
442542010-08-27 Ulrich Drepper <drepper@redhat.com>
44255
c96d23fc
UD
44256 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44257 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44258
9ea3de11
UD
44259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44260
44261 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44262
623aac7f
L
442632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44264
44265 * sysdeps/x86_64/strlen.S: Unroll the loop.
44266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44267 strlen-sse2 strlen-sse2-bsf.
44268 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44269 __strlen_no_bsf if bit_Slow_BSF is set.
44270 (__strlen_sse42): Removed.
44271 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44272 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44273
8b2b7715
RM
442742010-08-25 Roland McGrath <roland@redhat.com>
44275
44276 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44277 * sysdeps/x86_64/multiarch/varshift.c: New file.
44278 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44279 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44280 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44281 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44282
e73015f2
L
442832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44284
44285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44286 strlen-sse2 strlen-sse2-bsf.
44287 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44288 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44289 (__strlen_sse2): Removed.
44290 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44293 bit_Slow_BSF for Atom.
44294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44295 (index_Slow_BSF): Define.
44296 (HAS_SLOW_BSF): Define.
44297
df24a73e
UD
442982010-08-25 Ulrich Drepper <drepper@redhat.com>
44299
44300 [BZ #10851]
44301 * resolv/res_init.c (__res_vinit): When no server address at all
44302 is given default to loopback.
44303
f2ac4868
RM
443042010-08-24 Roland McGrath <roland@redhat.com>
44305
09055553
RM
44306 * configure.in: Remove config-name.h generation.
44307 * configure: Regenerated.
44308 * config-name.in: File removed.
44309 * scripts/config-uname.sh: New file.
44310 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44311 ($(objdir)config-name.h): New target.
44312
f2ac4868
RM
44313 * sunrpc/rpc_parse.h: Avoid nested comment.
44314
73f27d5e
RH
443152010-08-24 Richard Henderson <rth@redhat.com>
44316 Ulrich Drepper <drepper@redhat.com>
44317 H.J. Lu <hongjiu.lu@intel.com>
44318
44319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44321 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44322 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44323 _mm_alignr_epi8 with _mm_loadu_si128.
44324 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44325 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44326 (__m128i_shift_right): Removed.
44327 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44328 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44329 * sysdeps/x86_64/multiarch/varshift.h: New file.
44330 * sysdeps/x86_64/multiarch/varshift.S: New file.
44331
84b9230c
MF
443322010-08-21 Mike Frysinger <vapier@gentoo.org>
44333
44334 * configure.in: Move assembler checks to before sysdep dir checking.
44335
9bbd0ddc
PB
443362010-08-20 Petr Baudis <pasky@suse.cz>
44337
44338 * LICENSES: Sync the sunrpc license.
44339
9da4bb31
UD
443402010-08-19 Ulrich Drepper <drepper@redhat.com>
44341
a7ab6ec8
UD
44342 * sunrpc/auth_des.c: Update copyright notice once again.
44343 * sunrpc/auth_none.c: Likewise.
44344 * sunrpc/auth_unix.c: Likewise.
44345 * sunrpc/authdes_prot.c: Likewise.
44346 * sunrpc/authuxprot.c: Likewise.
44347 * sunrpc/bindrsvprt.c: Likewise.
44348 * sunrpc/clnt_gen.c: Likewise.
44349 * sunrpc/clnt_perr.c: Likewise.
44350 * sunrpc/clnt_raw.c: Likewise.
44351 * sunrpc/clnt_simp.c: Likewise.
44352 * sunrpc/clnt_tcp.c: Likewise.
44353 * sunrpc/clnt_udp.c: Likewise.
44354 * sunrpc/clnt_unix.c: Likewise.
44355 * sunrpc/des_crypt.c: Likewise.
44356 * sunrpc/des_soft.c: Likewise.
44357 * sunrpc/get_myaddr.c: Likewise.
44358 * sunrpc/getrpcport.c: Likewise.
44359 * sunrpc/key_call.c: Likewise.
44360 * sunrpc/key_prot.c: Likewise.
44361 * sunrpc/openchild.c: Likewise.
44362 * sunrpc/pm_getmaps.c: Likewise.
44363 * sunrpc/pm_getport.c: Likewise.
44364 * sunrpc/pmap_clnt.c: Likewise.
44365 * sunrpc/pmap_prot.c: Likewise.
44366 * sunrpc/pmap_prot2.c: Likewise.
44367 * sunrpc/pmap_rmt.c: Likewise.
44368 * sunrpc/rpc/auth.h: Likewise.
44369 * sunrpc/rpc/auth_unix.h: Likewise.
44370 * sunrpc/rpc/clnt.h: Likewise.
44371 * sunrpc/rpc/des_crypt.h: Likewise.
44372 * sunrpc/rpc/key_prot.h: Likewise.
44373 * sunrpc/rpc/netdb.h: Likewise.
44374 * sunrpc/rpc/pmap_clnt.h: Likewise.
44375 * sunrpc/rpc/pmap_prot.h: Likewise.
44376 * sunrpc/rpc/pmap_rmt.h: Likewise.
44377 * sunrpc/rpc/rpc.h: Likewise.
44378 * sunrpc/rpc/rpc_des.h: Likewise.
44379 * sunrpc/rpc/rpc_msg.h: Likewise.
44380 * sunrpc/rpc/svc.h: Likewise.
44381 * sunrpc/rpc/svc_auth.h: Likewise.
44382 * sunrpc/rpc/types.h: Likewise.
44383 * sunrpc/rpc/xdr.h: Likewise.
44384 * sunrpc/rpc_clntout.c: Likewise.
44385 * sunrpc/rpc_cmsg.c: Likewise.
44386 * sunrpc/rpc_common.c: Likewise.
44387 * sunrpc/rpc_cout.c: Likewise.
44388 * sunrpc/rpc_dtable.c: Likewise.
44389 * sunrpc/rpc_hout.c: Likewise.
44390 * sunrpc/rpc_main.c: Likewise.
44391 * sunrpc/rpc_parse.c: Likewise.
44392 * sunrpc/rpc_parse.h: Likewise.
44393 * sunrpc/rpc_prot.c: Likewise.
44394 * sunrpc/rpc_sample.c: Likewise.
44395 * sunrpc/rpc_scan.c: Likewise.
44396 * sunrpc/rpc_scan.h: Likewise.
44397 * sunrpc/rpc_svcout.c: Likewise.
44398 * sunrpc/rpc_tblout.c: Likewise.
44399 * sunrpc/rpc_util.c: Likewise.
44400 * sunrpc/rpc_util.h: Likewise.
44401 * sunrpc/rpcinfo.c: Likewise.
44402 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44403 * sunrpc/rpcsvc/key_prot.x: Likewise.
44404 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44405 * sunrpc/rpcsvc/mount.x: Likewise.
44406 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44407 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44408 * sunrpc/rpcsvc/rex.x: Likewise.
44409 * sunrpc/rpcsvc/rstat.x: Likewise.
44410 * sunrpc/rpcsvc/rusers.x: Likewise.
44411 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44412 * sunrpc/rpcsvc/spray.x: Likewise.
44413 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44414 * sunrpc/rtime.c: Likewise.
44415 * sunrpc/svc.c: Likewise.
44416 * sunrpc/svc_auth.c: Likewise.
44417 * sunrpc/svc_authux.c: Likewise.
44418 * sunrpc/svc_raw.c: Likewise.
44419 * sunrpc/svc_run.c: Likewise.
44420 * sunrpc/svc_simple.c: Likewise.
44421 * sunrpc/svc_tcp.c: Likewise.
44422 * sunrpc/svc_udp.c: Likewise.
44423 * sunrpc/svc_unix.c: Likewise.
44424 * sunrpc/svcauth_des.c: Likewise.
44425 * sunrpc/xcrypt.c: Likewise.
44426 * sunrpc/xdr.c: Likewise.
44427 * sunrpc/xdr_array.c: Likewise.
44428 * sunrpc/xdr_float.c: Likewise.
44429 * sunrpc/xdr_mem.c: Likewise.
44430 * sunrpc/xdr_rec.c: Likewise.
44431 * sunrpc/xdr_ref.c: Likewise.
44432 * sunrpc/xdr_sizeof.c: Likewise.
44433 * sunrpc/xdr_stdio.c: Likewise.
44434
9da4bb31
UD
44435 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44436 handling.
44437
bdaa77bc
AS
444382010-08-19 Andreas Schwab <schwab@redhat.com>
44439
44440 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44441
fe2f79db
LM
444422010-08-19 Luis Machado <luisgpm@br.ibm.com>
44443
44444 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44445 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44446 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44447 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44448 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44449 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44450 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44451 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44452 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44453 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44454 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44455 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44456 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44457 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44458
b9b42ee0
AB
444592010-07-26 Anton Blanchard <anton@samba.org>
44460
44461 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44462 * malloc/arena.c (heap_trim): Likewise.
44463
1c06ba31
UD
444642010-08-16 Ulrich Drepper <drepper@redhat.com>
44465
44466 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44467 here. Not...
44468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44469 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44470
f8392f40
L
444712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44472
44473 * sysdeps/i386/elf/Makefile: New file.
44474
3162f12e
AS
444752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44476
44477 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44478 from fanotify_init.
44479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44481
28c90b2c
UD
444822010-08-15 Ulrich Drepper <drepper@redhat.com>
44483
44484 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44485 of strncasecmp_l.
1feccb6c 44486 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44487
ca6bb004
UD
444882010-08-14 Ulrich Drepper <drepper@redhat.com>
44489
e9f82e0d
UD
44490 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44491 strncase_l-nonascii.
44492 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44493 Add strncase_l-ssse3.
44494 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44495 * sysdeps/x86_64/strcmp.S: Likewise.
44496 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44497 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44498 * sysdeps/x86_64/strncase.S: New file.
44499 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44500 * sysdeps/x86_64/strncase_l.S: New file.
44501 * string/Makefile (strop-tests): Add strncasecmp.
44502 * string/test-strncasecmp.c: New file.
44503
44504 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44505 warning.
44506
ca6bb004
UD
44507 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44508 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44509
052fa7b3
AS
445102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44511
44512 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44513
962dba78
UD
445142010-08-12 Ulrich Drepper <drepper@redhat.com>
44515
44516 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44517 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44518 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44519
bebff237
AM
445202010-05-01 Alan Modra <amodra@gmail.com>
44521
44522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44523 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44524 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44525 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44526 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44527 tidying. Don't tail-call __sigjmp_save for static lib.
44528 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44529 save location.
44530 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44531 (CALL_MCOUNT): Add eh info, and nop after bl.
44532 (TAIL_CALL_SYSCALL_ERROR): New macro.
44533 (PSEUDO_RET): Use it.
44534 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44535 Correct save location of integer regs and cr.
44536 (_dl_profile_resolve): Correct cr save location. Delete nops
44537 after bl when SHARED. Reduce cfi size a little by better
44538 placement of cfi directives.
44539 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44540 make a stack frame. Instead use parm save area as a temp.
44541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44542 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44544 Don't make a stack frame for parent, use parm save area.
44545 Increase child stack frame to 112 bytes. Don't save unused reg,
44546 and adjust reg usage. Set up cfi on error recovery and
44547 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44549 (__makecontext): Add dummy nop after jump to exit.
44550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44551 Use correct parm save area and cr save, reduce stack frame.
44552 Correct cfi for possible PSEUDO_RET frame setup.
44553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44554 Branch to local label emitted by PSEUDO_RET rather than
44555 __syscall_error.
44556
02637374
AS
445572010-08-12 Andreas Schwab <schwab@redhat.com>
44558
44559 [BZ #11904]
44560 * locale/programs/locale.c (print_assignment): New function.
44561 (show_locale_vars): Use it.
44562
c3e2f19b
UD
445632010-08-11 Ulrich Drepper <drepper@redhat.com>
44564
3cdaa6ad
UD
44565 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44566 field.
44567 (struct statfs64): Likewise.
44568 (_STATFS_F_FLAGS): Define.
44569 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44571 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44572 (ST_VALID): Define locally.
44573 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44574 __statvfs_getflags, use the provided value.
44575 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44576 __ASSUME_STATFS_F_FLAGS.
44577
754f7da3
UD
44578 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44579
10b3bedc
UD
44580 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44581 Add sys/fanotify.h.
44582 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44583 fanotify_mask for GLIBC_2.13.
44584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44585 fanotify_init and fanotify_mark.
44586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44587 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44588
c08fb0d7
UD
44589 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44590 Add prlimit.
44591 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44592 prlimit64 for GLIBC_2.13.
44593 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44594 prlimit64.
44595 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44596 syscall.
44597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44598 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44599 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44600 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44602 add prlimit alias.
44603 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44604
15bac72b
UD
44605 [BZ #11903]
44606 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44607 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44608
c3e2f19b
UD
44609 * nss/Makefile: Add rules to build and run tst-nss-test1.
44610 * shlib-versions: Add entry for libnss_test1.
44611 * nss/nss_test1.c: New file.
44612 * nss/tst-nss-test1.c: New file.
44613
44614 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44615 (__nss_configure_lookup): Set appropriate entry in
44616 __nss_configure_lookup to true.
44617 * nss/nsswitch.h: Define enum with indeces of databases in
44618 databases and __nss_database_custom arrays. Declare
44619 __nss_database_custom.
44620 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44621 to avoid using nscd when custom rules are installed.
44622 * nss/getXXbyYY_r.c: Likewise.
44623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44624
44625 * nss/nss_files/files-parse.c: Whitespace fixes.
44626
f15ce4d8
UD
446272010-08-09 Ulrich Drepper <drepper@redhat.com>
44628
44629 [BZ #11883]
44630 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44631 * posix/fnmatch_loop.c: Likewise.
44632
d22e4cc9
AK
446332010-07-17 Andi Kleen <ak@linux.intel.com>
44634
44635 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44636 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44637 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44638 * Versions.def [GLIBC_2.13]: Add.
44639
805bc17d
UD
446402010-08-06 Ulrich Drepper <drepper@redhat.com>
44641
44642 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44643 Also fail if tpwd after pwuid call is NULL.
44644
5a42321d
ST
446452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44646
44647 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44648 when converting to ms.
44649
fd3ebeda
ST
446502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44651
44652 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44653 EOPNOTSUPP errors with ENOTTY.
44654 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44655 EOPNOTSUPP errors with ENOTTY.
44656
73507d3a
UD
446572010-07-31 Ulrich Drepper <drepper@redhat.com>
44658
44659 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44660 Add strcasecmp_l-ssse3.
44661 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44662 strcasecmp.
44663 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44664 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44665 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44666
fe36dd02
UD
446672010-07-30 Ulrich Drepper <drepper@redhat.com>
44668
66f6765a
UD
44669 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44670
42e08a54
UD
44671 * string/Makefile (strop-tests): Add strcasecmp.
44672 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44673 strcasecmp_l-nonascii.
44674 (gen-as-const-headers): Add locale-defines.sym.
44675 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44676 * sysdeps/x86_64/strcasecmp.S: New file.
44677 * sysdeps/x86_64/strcasecmp_l.S: New file.
44678 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44679 * sysdeps/x86_64/locale-defines.sym: New file.
44680 * string/test-strcasecmp.c: New file.
44681
fe36dd02
UD
44682 * string/test-strcasestr.c: Test both ends of the range of characters.
44683 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44684
48cbc0d6
RM
446852010-07-29 Roland McGrath <roland@redhat.com>
44686
76e6d6bc 44687 [BZ #11856]
48cbc0d6
RM
44688 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44689
880113d9
UD
446902010-07-27 Ulrich Drepper <drepper@redhat.com>
44691
44692 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44693 for ld.so.
44694
deb9cabb
AS
446952010-07-27 Andreas Schwab <schwab@redhat.com>
44696
44697 * manual/memory.texi (Malloc Tunable Parameters): Document
44698 M_PERTURB.
44699
1c7570ff
RM
447002010-07-26 Roland McGrath <roland@redhat.com>
44701
44702 [BZ #11840]
44703 * configure.in (-fgnu89-inline check): Set and substitute
44704 gnu89_inline, not libc_cv_gnu89_inline.
44705 * configure: Regenerated.
44706 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44707
24fb0f88
UD
447082010-07-26 Ulrich Drepper <drepper@redhat.com>
44709
44710 * string/test-strnlen.c: New file.
44711 * string/Makefile (strop-tests): Add strnlen.
44712 * string/tester.c (test_strnlen): Add a few more test cases.
44713 * string/tst-strlen.c: Better error reporting.
44714
44715 * sysdeps/x86_64/strnlen.S: New file.
44716
8e96b93a
UD
447172010-07-24 Ulrich Drepper <drepper@redhat.com>
44718
44719 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44720 lower-latency instructions.
44721
dbc676d4
UD
447222010-07-23 Ulrich Drepper <drepper@redhat.com>
44723
44724 * string/test-strcasestr.c: New file.
44725 * string/test-strstr.c: New file.
44726 * string/Makefile (strop-tests): Add strstr and strcasestr.
44727 * string/str-two-way.h: Don't undefine MAX.
44728 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44729
f6a31e0e
AS
447302010-07-21 Andreas Schwab <schwab@redhat.com>
44731
44732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44733 strcasestr-nonascii.
44734 (CFLAGS-strcasestr-nonascii.c): Define.
44735 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44736 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44737 Remove unused attribute.
44738
5dbc3b6c
RM
447392010-07-20 Roland McGrath <roland@redhat.com>
44740
44741 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44742 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44743 ld.so.cache was broken. With it, there is no way to disable dsocaps
44744 like LD_HWCAP_MASK can disable hwcaps.
44745
23d101d8
EPM
447462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44747
44748 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44749
cc9f2e47
UD
447502010-07-16 Ulrich Drepper <drepper@redhat.com>
44751
44752 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44753 call in strcasestr.
44754 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44755 __strcasestr_sse42_nonascii.
44756 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44757 strcasestr-nonascii.c.
44758 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44759
77c1b069
LM
447602010-06-15 Luis Machado <luisgpm@br.ibm.com>
44761
44762 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44763 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44765 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44766
440566c3
UD
447672010-07-09 Ulrich Drepper <drepper@redhat.com>
44768
44769 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44770 fcntl.
44771
5be9d05d
AS
447722010-07-06 Andreas Schwab <schwab@redhat.com>
44773
c30b7ee2 44774 [BZ #11577]
5be9d05d
AS
44775 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44776 dl_signal_cerror.
44777
8a492a67
UD
447782010-07-06 Ulrich Drepper <drepper@redhat.com>
44779
44780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44781 _PC_PIPE_BUF using F_GETPIPE_SZ.
44782
713df3d5
RM
447832010-07-05 Roland McGrath <roland@redhat.com>
44784
44785 * manual/arith.texi (Rounding Functions): Fix rint description
44786 implicit in round description.
44787
702e8f14
UD
447882010-07-02 Ulrich Drepper <drepper@redhat.com>
44789
44790 * elf/Makefile: Fix linking for a few tests to make recent linker
44791 happy.
44792
52ed8be9
AS
447932010-06-30 Andreas Schwab <schwab@redhat.com>
44794
44795 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44796 $(common-objpfx)libc_nonshared.a.
44797
f47c9a11
LM
447982010-06-21 Luis Machado <luisgpm@br.ibm.com>
44799
44800 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44801 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44802 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44803 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44804 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44805 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44806 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44807 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44822 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44823 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44824 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44825 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44826 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44827 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44828 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44829 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44830 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44831 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44832 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44833 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44848
6fb8cbcb
L
448492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44850
44851 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44852 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44853 * string/memmove.c (memmove): Renamed to ...
44854 (MEMMOVE): ...this. Default to memmove.
44855 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44856 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44857 (END_CHK): Define.
44858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44859 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44860 mempcpy-ssse3-back memmove-ssse3-back.
44861 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44862 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44864 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44865 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44866 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44867 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44868 * sysdeps/x86_64/multiarch/memmove.c: New file.
44869 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44870 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44871 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44872 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44873 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44874 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44875 Define.
44876 (index_Fast_Copy_Backward): Define.
44877 (HAS_ARCH_FEATURE): Define.
44878 (HAS_FAST_REP_STRING): Define.
44879 (HAS_FAST_COPY_BACKWARD): Define.
44880
4e733bac 448812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44882
44883 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44884 Restore proper fallback handling.
44885
63c4ed22
UD
448862010-06-19 Ulrich Drepper <drepper@redhat.com>
44887
ac2b484c
UD
44888 [BZ #11701]
44889 * posix/group_member.c (__group_member): Correct checking loop.
44890
63c4ed22
UD
44891 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44892 OOM in getpwuid_r correctly. Return error number when the caller
44893 should return, otherwise -1.
44894 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44895 call returning > 0 value.
44896 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44897
765ade4b
AS
448982010-06-07 Andreas Schwab <schwab@redhat.com>
44899
44900 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44901 libc_nonshared.a from targets in modules-names.
44902
80da2e09
KS
449032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44904
44905 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44906 requires it.
44907
158db122
LM
449082010-06-10 Luis Machado <luisgpm@br.ibm.com>
44909
44910 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44914
caa78cf8
AS
449152010-06-02 Andreas Schwab <schwab@redhat.com>
44916
44917 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44918
b2ef2c01
UD
449192010-06-14 Ulrich Drepper <drepper@redhat.com>
44920
44921 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44922 and F_GETPIPE_SZ.
44923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44928 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44929
fbd643b6
RM
449302010-06-14 Roland McGrath <roland@redhat.com>
44931
44932 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44933
f32f2869
JJ
449342010-06-07 Jakub Jelinek <jakub@redhat.com>
44935
44936 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44937 __REDIRECT followed by __THROW.
44938 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44939 * posix/getopt.h (getopt): Likewise.
44940
2a50c078
EPM
449412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44942
44943 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44944 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44945 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44946 in AT_FLAGS.
44947 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44948 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44949
eb5ad2eb
LM
449502010-05-28 Luis Machado <luisgpm@br.ibm.com>
44951
44952 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44953
3c88fe1e
L
449542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44955
44956 [BZ #11640]
44957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44958 Properly check family and model.
44959
d2f73151
TY
449602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44961
44962 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44963
ebd2e13d
LM
449642010-05-24 Luis Machado <luisgpm@br.ibm.com>
44965
44966 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44967
b32b8b45
UD
449682010-05-21 Ulrich Drepper <drepper@redhat.com>
44969
44970 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44971 symbol reference.
44972
9acbe24d
AS
449732010-05-19 Andreas Schwab <schwab@redhat.com>
44974
44975 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44976 symbol reference.
44977
f0ccf6ea
AS
449782010-05-21 Andreas Schwab <schwab@redhat.com>
44979
3d04ff3a
AS
44980 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44981 and internal_recvmmsg.
44982 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44983 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44984 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44985 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44986
f0ccf6ea
AS
44987 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44988 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44989 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44990
5b08ac57
AS
449912010-05-20 Andreas Schwab <schwab@redhat.com>
44992
44993 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44994
4828935d
LM
449952010-05-17 Luis Machado <luisgpm@br.ibm.com>
44996
44997 POWER7 optimizations.
44998 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44999 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45000
373d545e
UD
450012010-05-19 Ulrich Drepper <drepper@redhat.com>
45002
45003 * version.h: Update for 2.13 development version.
45004
21a2b1ae
AS
450052010-05-12 Andrew Stubbs <ams@codesourcery.com>
45006
45007 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45008 exceptions. Return 0.
45009
3f7dcb2b
RM
450102010-05-07 Roland McGrath <roland@redhat.com>
45011
45012 * elf/ldconfig.c (main): Add a const.
45013
5f24d53a 450142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45015
a160f8d8
UD
45016 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45017 (args_options): Add no-idn option.
45018 (ahosts_keys_int): Add idn_flags to ai_flags.
45019 (parse_option): Handle 'i' option to clear idn_flags.
45020
5f24d53a
UD
45021 * malloc/malloc.c (_int_free): Possible race in the most recently
45022 added check. Only act on the data if no current modification
45023 happened.
265bb1ce
UD
45024
45025See ChangeLog.17 for earlier changes.
This page took 6.076335 seconds and 5 git commands to generate.