]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
aarch64: Tabify sysdep-cancel.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
af4e8ef9
RH
12014-05-29 Richard Henderson <rth@twiddle.net>
2
3 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4 whitespace; tabs before and after asm mnemonics.
5
26b0d2e1
EW
62014-05-29 Eric Wong <normalperson@yhbt.net>
7
8 [BZ #15132]
9 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10 Call fstat64 or stat64 internally, depending on arguments passed.
11 Replace stat buffer argument with file descriptor argument.
12 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14 Pass fd to __internal_statvfs instead of calling fstat64.
15 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16 Pass fd to __internal_statvfs64 instead of calling fstat64.
17 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18 Pass -1 to __internal_statvfs instead of calling stat64.
19 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20 Pass -1 to __internal_statvfs64 instead of calling stat64.
21
1efe2bd9
RM
222014-05-28 Roland McGrath <roland@hack.frob.com>
23
0d3b7a19
RM
24 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25 that was previously under [RESET_PID].
26 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27
1efe2bd9
RM
28 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30
a6bea3ca
RM
312014-05-27 Roland McGrath <roland@hack.frob.com>
32
30b6629e
RM
33 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34
a6bea3ca
RM
35 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37
3dfb9a5c
OB
382014-05-27 Ondřej Bílka <neleai@seznam.cz>
39
40 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
41
774f9285
AS
422014-05-27 Andreas Schwab <schwab@suse.de>
43
44 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45 TLS_INIT_TP macro.
46 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47 * elf/rtld.c (init_tls, dl_main): Likewise.
48 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
50 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
52 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
53 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
54 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
55 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
56 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
57 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
58 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
59 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
60 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
61 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
62 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
63 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
64 * sysdeps/generic/tls.h: Update description.
65
36ffe739
WN
662014-05-27 Will Newton <will.newton@linaro.org>
67
68 [BZ #16990]
69 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
70 and restore r2 rather than just restoring.
71
2482ae43
SP
722014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73
74 [BZ #16724]
75 * libio/tst-ftell-append.c: New test case.
76 * libio/Makefile (tests): Add test case.
77 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
78 append mode.
79 * libio/wfileops.c (do_ftell_wide): Likewise.
80
3d1024e8
AZ
812014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82
bab90016
AZ
83 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84
c7a8d667
AZ
85 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
86 ...
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
89 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
90 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
91 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
92 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
93 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
94 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
95 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
96 Moved ...
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
98 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
99 Moved ...
100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
101 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
102 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
103 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
104 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
105 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
106 ...
107 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
108 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
109 Moved ...
110 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
111 here.
112 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
113 ...
114 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
115 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
116 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
117
daee7851
AZ
118 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
119 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
120 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
121 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
122
50a40819
AZ
123 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
124 merge into ...
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
127 ...
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
130 ...
131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
133 Moved ...
134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
135 here.
136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
137 Moved ...
138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
140 Moved ...
141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
142
8464c2a1
AZ
143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
144 conditional [RESET_PID].
145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
147 removed.
148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
149 removed.
150
3d1024e8
AZ
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
152 <tcb-offsets.h>.
153 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
154 (__libc_vfork): New strong alias.
155 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
156 removed.
157 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
158 Removed.
159
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
161 <tcb-offsets.h>.
162 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
163 (__libc_vfork): New strong alias.
164 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
165 removed.
166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
167 removed.
168
fdfd175d
CD
1692014-05-26 Carlos O'Donell <carlos@redhat.com>
170
171 * malloc/malloc.c (mi_arena): New function.
172 (malloc_info): Remove nested function mi_arena. Call non-nosted
173 function mi_arena.
174
d298c416
AZ
1752014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
176
177 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
178 by insrwi.
179 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
180 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
181 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
182 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
183 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
184 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
185 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
186
b60ea6ff
AS
1872014-05-26 Andreas Schwab <schwab@suse.de>
188
189 [BZ #16984]
190 * locale/programs/repertoire.c (repertoire_read): Add slash
191 between I18NPATH element and file name.
192 * locale/programs/locfile.c (locfile_read): Likewise.
193
67365926
SL
1942014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
195
196 * nptl/pthread_mutexattr_settype.c
197 (__pthread_mutexattr_settype):
198 Disable lock elision for PTHREAD_MUTEX_NORMAL.
199
f8bdf1f0
SL
2002014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
201
202 * nptl/tst-mutex5 (do_test):
203 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
204
15eaf6ff
SP
2052014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
206
207 * benchtests/README: Document 'init' directive.
208 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
209 BENCH_INIT.
210 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
211 (parse_file): Recognize 'init' directive.
212
75f11331
KM
2132014-05-26 Kyle McMartin <kyle@redhat.com>
214
215 [BZ #16796]
216 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
217 alignment of struct pthread.
218
c3ec475c
SP
2192014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
220
221 [BZ #16878]
222 * nscd/netgroupcache.c (addgetnetgrentX): Look for
223 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
224 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
225 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
226
82aab97c
RH
2272014-05-25 Richard Henderson <rth@twiddle.net>
228
aa2f176d
RH
229 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
230 (SINGLE_THREAD_P_PIC): Remove.
231 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
232 (SINGLE_THREAD_P_PIC): Remove.
233
ca3cfa40
RH
234 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
235 branch to syscall error ...
236 (PSEUDO): ... here.
237 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
238 from __local_syscall_error to .Lsyscall_error.
239 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
240 (SYSCALL_ERROR): Update label name.
241
6e6c2d01
RH
242 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
243 Do not use DOARGS/UNDOARGS.
244 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
245 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
246 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
247 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
248 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
249
c69abcee
RH
250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
251 block comment.
252
82aab97c
RH
253 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
254 define if !NOT_IN_libc.
255 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
256 define with non-default symbol versions.
257
8820e3ac
RH
2582014-05-23 Richard Henderson <rth@twiddle.net>
259
900e445f
RH
260 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
261 (vfork, __vfork): Define via compat_symbol.
262
8820e3ac
RH
263 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
264 [!HAVE_IFUNC] (vfork_compat): Remove.
265 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
266
e59252a5
JM
2672014-05-23 Joseph Myers <joseph@codesourcery.com>
268
269 [BZ #16978]
270 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
271 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
272 variable.
273
132c7f5f
RH
2742014-05-23 Richard Henderson <rth@twiddle.net>
275
bc89e962
RH
276 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
277 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
278 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
279 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
280
281 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
282 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
283 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
284 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
285 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
286 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
287 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
288 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
289 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
290 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
291 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
292 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
293 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
295 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
297 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
299 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
300 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
301 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
302 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
303 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
304 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
305 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
306 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
307 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
308 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
309 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
310 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
311 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
312 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
313 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
314 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
315 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
316 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
317 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
318 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
319 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
320 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
321 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
322 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
323 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
324 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
325 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
326 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
327 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
328 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
329 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
330 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
331 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
332 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
333 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
334 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
335 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
336 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
337
e2fa4bc2
RH
338 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
339 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
340 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
341 before exiting on error.
342 (__libc_vfork): New strong alias.
343 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
344 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
345
279b24e2
RH
346 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
347 that was previously under [RESET_PID].
348 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
349
132c7f5f
RH
350 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
351
b72592e7
JM
3522014-05-23 Joseph Myers <joseph@codesourcery.com>
353
354 [BZ #16977]
355 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
356 value when x - 1 is zero.
357 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
358 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
359 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
360 0.0L for an argument of 1.0L.
361 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
362 Likewise.
363 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
364 value when x - 1 is zero.
365 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
366 * sysdeps/i386/fpu/libm-test-ulps: Update.
367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
368
2302d679
RV
3692014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
370
371 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
372 alphasort and versionsort.
373
32999d63
AZ
3742014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
375
376 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
377 macro.
378 [copysignf]: Likewise.
379
019324d0
SP
3802014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
381
382 * crypt/md5-crypt.c: Fix formatting.
383
34fff5c2
KS
3842014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
385
386 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
387 (b64_from_24bit): New function.
388
3d2badac
AZ
3892014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
390
391 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
392 libc_hidden_builtin_def to ifunc.
393 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
394 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
395
f7bb179f 3962014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
397
398 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
399 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
400
4134b50d
JM
4012014-05-21 Joseph Myers <joseph@codesourcery.com>
402
bb7d0337
JM
403 * nscd/Depend (linuxthreads): Remove.
404 (nptl): Add.
405 * resolv/Depend (linuxthreads): Remove.
406 * rt/Depend (linuxthreads): Remove.
407
4134b50d
JM
408 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
409 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
410 $(common-objpfx)elf/.
411 (link-libc-before-gnulib): Likewise.
412 (elfobjdir): Remove variable.
413 * Makefile (install): Use $(elf-objpfx) instead of
414 $(common-objpfx)elf/.
415 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
416 $(elfobjdir)/.
417 (link-libc-deps): Likewise.
418 ($(common-objpfx)libc.so): Likewise.
419 ($(common-objpfx)linkobj/libc.so): Likewise.
420 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
421 instead of $(common-objpfx)elf/.
422 (symbolic-link-list): Likewise.
423 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
424 [$(cross-compiling) = no]: Likewise.
425 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
426 $(elfobjdir)/.
427 (static-gnulib-arch): Likewise.
428 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
429 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
430 $(common-objpfx)elf/.
431
3612eb8f
RH
4322014-05-21 Richard Henderson <rth@redhat.com>
433
a6b3657b
RH
434 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
435 (SINGLE_THREAD_P): Use the correct width load. Fold
436 into the ldr offset.
437
3612eb8f
RH
438 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
439 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
440
175cef41
JM
4412014-05-20 Joseph Myers <joseph@codesourcery.com>
442
443 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
444 (libgcc_s_resume): Use __attribute_used__.
445 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
446 Likewise.
447
e13bccd3
AZ
4482014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449
450 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
451 optimization when used with float constants.
452
7c112a38
AZ
453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
454
ae75a883
AJ
4552014-05-20 Aurelien Jarno <aurelien@aurel32.net>
456
457 [BZ #16915]
458 * locale/nl_langinfo_l.c: Make direct reference to every
459 _nl_current_CATEGORY symbol.
460 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
461 (tests-static): Add tst-langinfo-static.
462 (tests-special): Add tst-langinfo-static.out.
463 ($(objpfx)tst-langinfo.out): Redirect output.
464 ($(objpfx)tst-langinfo-static.out): New.
465 * localedata/tst-langinfo.sh: Send output to stdout.
466 * localedata/tst-langinfo-static.c: New file.
467
4406c41c
AJ
468 [BZ #16965]
469 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
470 when the shift amount is modulo the limb size.
471
4c0a1e63
RH
4722014-05-20 Richard Henderson <rth@redhat.com>
473
de9d8f20
RH
474 [BZ #16967]
475 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
476 Change type of sa_flags from unsigned int to int.
477
4c0a1e63
RH
478 [BZ #16966]
479 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
480
481 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
482
a60339aa
WN
4832014-05-20 Will Newton <will.newton@linaro.org>
484
485 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
486 Test the return value of the system call in the nocancel case.
487
7d05a816
YR
4882014-05-20 Will Newton <will.newton@linaro.org>
489 Yvan Roux <yvan.roux@linaro.org>
490
491 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
492 #include of asm/ptrace.h.
493 (PTRACE_GET_THREAD_AREA): Remove #undef.
494 (PTRACE_GETHBPREGS): Likewise.
495 (PTRACE_SETHBPREGS): Likewise.
496 (struct user_regs_struct): New structure.
497 (struct user_fpsimd_struct): New structure.
498 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
499 #include of asm/ptrace.h and second #include of sys/user.h.
500 (PTRACE_GET_THREAD_AREA): Remove #undef.
501 (PTRACE_GETHBPREGS): Likewise.
502 (PTRACE_SETHBPREGS): Likewise.
503 (ELF_NGREG): Use new struct user_regs_struct.
504 (elf_fpregset_t): Use new struct user_fpsimd_struct.
505
af121e37
AZ
5062014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
507
508 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
509 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
510
834caf06
JM
5112014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
512
513 [BZ #16958]
514 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
515 membar to avoid block loads/stores to overlap previous stores.
516
e184a918
RH
5172014-05-17 Richard Henderson <rth@redhat.com>
518
519 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
520 Create the __##syscall_name##_nocancel entry point.
521 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
522 Remove; let the sysdep-cancel.h code create it.
523
f56c7a6a
DM
5242014-05-17 David S. Miller <davem@davemloft.net>
525
526 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
527 Protect with __USE_GNU.
528 (TIOCSET_TEMPT): Likewise.
529 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
530 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
531 these are already provided in bits/ioctl-types.h
532
f75616b2
RM
5332014-05-16 Roland McGrath <roland@hack.frob.com>
534
3edeca86
RM
535 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
536 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
537
f75616b2
RM
538 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
539 Use wait4 regardless of [__NR_waitpid].
540
deb0f7f6
MR
5412014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
542
543 PR libgcc/60166
544 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
545 (_FP_NANSIGN_Q): Set the quiet bit.
546
79520f4b
JM
5472014-05-16 Joseph Myers <joseph@codesourcery.com>
548
549 * benchtests/Makefile
550 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
551 not $(common-objpfx)math/libm.so.
552 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
553 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
554 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
555 $(common-objpfx)dlfcn/libdl.so.
556 ($(objpfx)tst-audit8): Depend on $(libm), not
557 $(common-objpfx)math/libm.so.
558 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
559 not $(common-objpfx)dlfcn/libdl.so.
560 * math/Makefile
561 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
562 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
563 [$(build-shared) = yes].
564 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
565 $(common-objpfx)nptl/libpthread.so.
566 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
567 $(common-objpfx)math/libm.so$(libm.so-version) or
568 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
569 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
570 $(common-objpfx)dlfcn/libdl.so.
571 * setjmp/Makefile (link-libm): Remove variable.
572 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
573 * stdio-common/Makefile (link-libm): Remove variable.
574 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
575 * stdlib/Makefile (link-libm): Remove variable.
576 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
577 ($(objpfx)tst-strtod-round): Likewise.
578 ($(objpfx)tst-tininess): Likewise.
579 ($(objpfx)tst-strtod-underflow): Likewise.
580 ($(objpfx)tst-strtod6): Likewise.
581 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
582 $(libdl), not $(common-objpfx)nptl/libpthread.so and
583 $(common-objpfx)dlfcn/libdl.so.
584
026b0fe4
AZ
5852014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
586
587 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
588 BSD terminal modes definitions.
589
def4bcb2
RM
5902014-05-16 Roland McGrath <roland@hack.frob.com>
591
fe39b021
RM
592 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
593 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
594
1d1fc46e 595 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
596 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
597 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
598 Don't do #include_next.
599 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
600 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
601 Don't do #include_next.
602 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
603 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
604 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
605 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
606
c72399fb
AM
6072014-05-16 Allan McRae <allan@archlinux.org>
608
d51d659d
AM
609 * po/sv.po: Update Swedish translation from translation project.
610
c72399fb
AM
611 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
612 in sed expression.
613
d0583c40
AJ
6142014-05-16 Aurelien Jarno <aurelien@aurel32.net>
615
616 [BZ #16917]
617 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
618 errno if the TIOCGPTN ioctl fails with an error different than
619 EINVAL.
620 * login/tst-ptsname.c: New file.
621 * login/Makefile (tests): Add tst-ptsname.
622
d16e6ec7
AJ
623 [BZ #16943]
624 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
625 and prlimit64.
626
cf26a0cb
SP
6272014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
628
629 [BZ #16849]
630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
631 herrno to return EAI_AGAIN.
632
5675da1e
RM
6332014-05-14 Roland McGrath <roland@hack.frob.com>
634
a5d87b3d
RM
635 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
636 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
637 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
638 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
639 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
640 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
641 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
642 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
643 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
644 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
645 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
646 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
647 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
648 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
649 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
650 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
651 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
652 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
653 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
654 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
655 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
656 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
657 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
658 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
659 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
660 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
661 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
662 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
663 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
664 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
666 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
668 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
670 Moved ...
671 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
673 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
675 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
677 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
679 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
689 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
691 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
693 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
695 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
697 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
699 Moved ...
700 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
706 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
708 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
710 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
712 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
714 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
716 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
718 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
720 Moved ...
721 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
723 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
724
039890a6
RM
725 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
726 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
727 (libpthread-sysdep_routines): Add elision-related stuff here instead.
728 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
729 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
730 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
731 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
732 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
733 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
734 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
735 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
736 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
737 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
738 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
739 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
740 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
741 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
742 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
743 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
744 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
745 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
746 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
747 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
748 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
749 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
750 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
751 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
752 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
753 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
754 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
755 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
756
65c89320
RM
757 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
758 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
759
348f8e8c
RM
760 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
761 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
762 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
763 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
764 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
765 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
766 Moved ...
767 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
768 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
769 Moved ...
770 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
771 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
772 Moved ...
773 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
775 Moved ...
776 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
777 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
778 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
780 Moved ...
781 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
782 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
783 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
784 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
785 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
786 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
787 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
788 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
789 Moved ...
790 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
792 Moved ...
793 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
794 ... here.
795 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
796 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
797 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
798 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
799 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
800 Moved ...
801 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
802 ... here.
803 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
804 Moved ...
805 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
806 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
807 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
808 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
809 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
810 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
811 Moved ...
812 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
813 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
814 Moved ...
815 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
816 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
817 Moved ...
818 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
820 Moved ...
821 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
822 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
823 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
825 Moved ...
826 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
827 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
828 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
829 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
830 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
831 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
832 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
833 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
834 Moved ...
835 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
837 Moved ...
838 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
839 ... here.
840 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
841 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
842 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
843 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
844 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
845 Moved ...
846 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
847 ... here.
848 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
849 Moved ...
850 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
851 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
852 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
853 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
854 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
855 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
856 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
857 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
858 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
859 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
860 Moved ...
861 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
862 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
863 Moved ...
864 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
865 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
866 Moved ...
867 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
868 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
869 Moved ...
870 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
871 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
872 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
873 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
874 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
876 Moved ...
877 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
878 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
879 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
880 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
881 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
882 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
883 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
884 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
885 Moved ...
886 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
888 Moved ...
889 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
890 ... here.
891 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
892 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
893 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
894 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
895 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
896 Moved ...
897 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
898 ... here.
899 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
900 Moved ...
901 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
902 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
903 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
904 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
905 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
906 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
907 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
908 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
909 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
910 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
911 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
912
5085af05
RM
913 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
914 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
915
708f0813
RM
916 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
917 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
918
c96067bc
RM
919 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
920 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
921 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
922 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
923 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
924 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
925 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
926 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
927 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
928 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
929 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
930 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
931 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
932 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
933 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
935 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
937 Moved ...
938 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
940 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
942 Moved ...
943 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
945 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
947 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
949 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
950 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
951 Moved ...
952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
954 Moved ...
955 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
957 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
959 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
961 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
962 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
963 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
964 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
965 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
966 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
967 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
968 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
969 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
970 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
971 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
972
ec136444
RM
973 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
974 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
975 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
976 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
977 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
978
2fbdf533
RM
979 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
980 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
981 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
982 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
983 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
984 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
985 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
986 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
987 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
988 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
989
4c68138b
RM
990 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
991 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
992
4eaae765
RM
993 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
994 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
995 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
996 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
997 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
998 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
999 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1000 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1001 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1002 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1003 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1004 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1005 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1006 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1007 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1008 Update #include.
1009 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1010 Likewise.
1011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1012 Likewise.
1013 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1014 Likewise.
1015 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1016 Likewise.
1017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1018 Likewise.
1019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1020 Likewise.
1021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1022 Likewise.
1023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1024 Likewise.
1025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1026 Likewise.
4ef6befa
RM
1027 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1029 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1031 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1032 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1033 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1034 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1036 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1037 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1038 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1039 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1040 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1041 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1042
941d7dfd
RM
1043 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1044 that was previously under [RESET_PID].
1045 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1046 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1047 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1048
1b731c35
RM
1049 * sysdeps/i386/nptl/Implies: New file.
1050 * sysdeps/x86_64/nptl/Implies: New file.
1051 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1052 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1054 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1055
e2787137
RM
1056 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1057 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1058 (__libc_vfork): New strong alias.
1059 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1060 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1061
1062 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1063 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1064 (__libc_vfork): New strong alias.
1065 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1066 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1067
5675da1e
RM
1068 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1069 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1070 (__libc_vfork): New strong alias.
1071 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1072 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1073 * nptl/pt-vfork.c: New file.
1074 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1075 (libpthread: GLIBC_2.20): New version set (empty).
1076
4f02e2b8
WN
10772014-05-14 Will Newton <will.newton@linaro.org>
1078
1079 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1080 rather than #if.
1081
0bf061d3
JM
10822014-05-14 Joseph Myers <joseph@codesourcery.com>
1083
1a84c3d6
JM
1084 [BZ #16564]
1085 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1086 arguments with exponent 65 or above.
1087 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1088 arguments 0x1p113L or above.
1089 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1090 to arguments 0x1p107L or above.
1091 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1092 positive arguments with exponent 65 or above.
1093 * math/auto-libm-test-in: Add more tests of log1p.
1094 * math/auto-libm-test-out: Regenerated.
1095
01dbacd2
JM
1096 [BZ #16928]
1097 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1098 non-finite arguments is +0.
1099 * math/s_cacosf.c (__cacosf): Likewise.
1100 * math/s_cacosl.c (__cacosl): Likewise.
1101 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1102 * sysdeps/i386/fpu/libm-test-ulps: Update.
1103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1104
913d03c8
JM
1105 [BZ #16927]
1106 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1107 value.
1108 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1109 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1110 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1111 for explicit high bit of mantissa when testing for argument equal
1112 to 1.
1113 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1114 * sysdeps/i386/fpu/libm-test-ulps: Update.
1115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1116
0bf061d3
JM
1117 [BZ #16516]
1118 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1119 (__erf): Scale by 16 instead of 8 in potentially underflowing
1120 case. Ensure exception if result actually underflows.
1121 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1122 (__erff): Scale by 16 instead of 8 in potentially underflowing
1123 case. Ensure exception if result actually underflows.
1124 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1125 (efx8): Remove variable.
1126 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1127 case. Ensure exception if result actually underflows.
1128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1129 (efx8): Remove variable.
1130 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1131 case. Ensure exception if result actually underflows.
1132 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1133 (efx8): Remove variable.
1134 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1135 case. Ensure exception if result actually underflows.
1136 * math/auto-libm-test-in: Add more tests of erf.
1137 * math/auto-libm-test-out: Regenerated.
1138
73ba67cb
AS
11392014-05-14 Andreas Schwab <schwab@suse.de>
1140
3d8c8bff
AS
1141 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1142 Remove code conditionalized on USE___THREAD.
1143
73ba67cb
AS
1144 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1145 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1146 not definedness.
1147
5c521ecd
JM
11482014-05-14 Joseph Myers <joseph@codesourcery.com>
1149
5e7698c6
JM
1150 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1151 Define unconditionally.
1152 (__ASSUME_O_CLOEXEC): Likewise.
1153 (__ASSUME_SOCK_CLOEXEC): Likewise.
1154 (__ASSUME_IN_NONBLOCK): Likewise.
1155 (__ASSUME_PIPE2): Likewise.
1156 (__ASSUME_EVENTFD2): Likewise.
1157 (__ASSUME_SIGNALFD4): Likewise.
1158 (__ASSUME_DUP3): Likewise.
1159 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1160 (__ASSUME_DUP3): Do not define.
1161 (__ASSUME_EVENTFD2): Likewise.
1162 (__ASSUME_IN_NONBLOCK): Likewise.
1163 (__ASSUME_O_CLOEXEC): Likewise.
1164 (__ASSUME_PIPE2): Likewise.
1165 (__ASSUME_SIGNALFD4): Likewise.
1166 (__ASSUME_SOCK_CLOEXEC): Likewise.
1167 (__ASSUME_UTIMES): Undefine.
1168 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1169 (__ASSUME_UTIMES): Do not define.
1170 (__ASSUME_O_CLOEXEC): Likewise.
1171 (__ASSUME_SOCK_CLOEXEC): Likewise.
1172 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1173 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1174 0x020621].
1175 (__ASSUME_PIPE2): Likewise.
1176 (__ASSUME_EVENTFD2): Likewise.
1177 (__ASSUME_SIGNALFD4): Likewise.
1178 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1179 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1180 Do not define.
1181 (__ASSUME_EVENTFD2): Likewise.
1182 (__ASSUME_SIGNALFD4): Likewise.
1183 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1184 (__ASSUME_32BITUIDS): Likewise.
1185 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1186 (__ASSUME_IPC64): Likewise.
1187 (__ASSUME_ST_INO_64_BIT): Likewise.
1188 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1189 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1190 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1191 (__ASSUME_UTIMES): Do not define.
1192 (__ASSUME_PSELECT): Likewise.
1193 (__ASSUME_PPOLL): Likewise.
1194 (__ASSUME_O_CLOEXEC): Likewise.
1195 (__ASSUME_SOCK_CLOEXEC): Likewise.
1196 (__ASSUME_IN_NONBLOCK): Likewise.
1197 (__ASSUME_PIPE2): Likewise.
1198 (__ASSUME_EVENTFD2): Likewise.
1199 (__ASSUME_SIGNALFD4): Likewise.
1200 (__ASSUME_DUP3): Likewise.
1201 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1202 (__ASSUME_UTIMES): Likewise.
1203 (__ASSUME_O_CLOEXEC): Likewise.
1204 (__ASSUME_SOCK_CLOEXEC): Likewise.
1205 (__ASSUME_IN_NONBLOCK): Likewise.
1206 (__ASSUME_PIPE2): Likewise.
1207 (__ASSUME_EVENTFD2): Likewise.
1208 (__ASSUME_SIGNALFD4): Likewise.
1209 (__ASSUME_DUP3): Likewise.
1210 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1211 (__ASSUME_UTIMES): Likewise.
1212 (__ASSUME_O_CLOEXEC): Likewise.
1213 (__ASSUME_SOCK_CLOEXEC): Likewise.
1214 (__ASSUME_IN_NONBLOCK): Likewise.
1215 (__ASSUME_PIPE2): Likewise.
1216 (__ASSUME_EVENTFD2): Likewise.
1217 (__ASSUME_SIGNALFD4): Likewise.
1218 (__ASSUME_DUP3): Likewise.
1219 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1220 Likewise.
1221 (__ASSUME_UTIMES): Likewise.
1222 (__ASSUME_EVENTFD2): Likewise.
1223 (__ASSUME_SIGNALFD4): Likewise.
1224 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1225 (__ASSUME_O_CLOEXEC): Likewise.
1226 (__ASSUME_SOCK_CLOEXEC): Likewise.
1227 (__ASSUME_IN_NONBLOCK): Likewise.
1228 (__ASSUME_PIPE2): Likewise.
1229 (__ASSUME_EVENTFD2): Likewise.
1230 (__ASSUME_SIGNALFD4): Likewise.
1231 (__ASSUME_DUP3): Likewise.
1232 (__ASSUME_UTIMES): Undefine.
1233
5c521ecd
JM
1234 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1235 feclearexcept. Remove symbol versioning code.
1236 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1237 symbol versioning code.
1238 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1239 symbol versioning code.
1240 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1241 feupdateenv. Remove symbol versioning code.
1242 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1243 fegetexceptflag. Remove symbol versioning code.
1244 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1245 fesetexceptflag. Remove symbol versioning code.
1246 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1247 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1248 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1249 (__posix_fadvise64_l32): Remove prototype.
1250 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1251 code.
1252
5da9dfad
RM
12532014-05-13 Roland McGrath <roland@hack.frob.com>
1254
1255 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1256 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1257 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1258 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1259
893b4f37
SK
12602014-05-13 Sami Kerola <kerolasa@iki.fi>
1261
1262 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1263 current working directory
1264
e0db6517
RM
12652014-05-13 Roland McGrath <roland@hack.frob.com>
1266
58aa195d
RM
1267 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1268 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1269 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1270 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1271 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1272 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1273 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1274 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1275 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1276 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1277 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1278 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1279 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1280 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1281 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1282 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1283 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1284 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1285 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1286 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1287 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1288 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1289 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1290 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1291 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1292 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1293 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1294 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1295 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1296 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1297 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1298 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1300 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1301 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1302 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1303 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1304 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1305 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1306 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1307 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1308 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1309
8c6d01f0
RM
1310 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1311 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1312
1313 * sysdeps/unix/sysv/linux/arm/Makefile
1314 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1315 Add rt-aeabi_unwind_cpp_pr1.
1316 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1317 Add nptl-aeabi_unwind_cpp_pr1.
1318 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1319 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1320 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1321 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1322 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1323 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1324
1325 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1326 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1327 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1328 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1329
bba6da4e
RM
1330 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1331 Deconditionalize the code that was previously under [RESET_PID].
1332 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1333
e0db6517
RM
1334 * sysdeps/generic/exit-thread.h: New file.
1335 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1336 * include/unistd.h (__exit_thread): Remove declaration.
1337 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1338 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1339 * csu/libc-start.c: Include <exit-thread.h>.
1340 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1341 * nptl/pthread_create.c: Include <exit-thread.h>.
1342 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1343 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1344 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1345 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1346 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1347 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1348 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1349 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1350 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1351 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1352 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1353 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1354 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1355 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1356 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1357 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1358 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1359
01eb16fd
AS
13602014-05-13 Andreas Schwab <schwab@suse.de>
1361
1362 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1363
637461d9
JM
13642014-05-12 Joseph Myers <joseph@codesourcery.com>
1365
1366 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1367 (__ASSUME_UTIMES): Do not condition on kernel version.
1368 (__ASSUME_PSELECT): Define unconditionally.
1369 (__ASSUME_PPOLL): Likewise.
1370 (__ASSUME_ATFCTS): Likewise.
1371 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1372 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1373 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1374 (__ASSUME_UTIMENSAT): Define unconditionally.
1375 (__ASSUME_PRIVATE_FUTEX): Likewise.
1376 (__ASSUME_FALLOCATE): Likewise.
1377 (__ASSUME_O_CLOEXEC): Likewise.
1378 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1379 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1380 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1381 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1382 (__ASSUME_IN_NONBLOCK): Likewise.
1383 (__ASSUME_PIPE2): Likewise.
1384 (__ASSUME_EVENTFD2): Likewise.
1385 (__ASSUME_SIGNALFD4): Likewise.
1386 (__ASSUME_DUP3): Likewise.
1387 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1388 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1389 (__ASSUME_AT_RANDOM): Likewise.
1390 (__ASSUME_PREADV): Likewise.
1391 (__ASSUME_PWRITEV): Likewise.
1392 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1393 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1394 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1395 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1396 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1397 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1398 (__ASSUME_O_CLOEXEC): Define unconditionally.
1399 (__ASSUME_PSELECT): Do not undefine conditionally.
1400 (__ASSUME_PPOLL): Likewise.
1401 (__ASSUME_ATFCTS): Likewise.
1402 (__ASSUME_SET_ROBUST_LIST): Likewise.
1403 (__ASSUME_UTIMENSAT): Likewise.
1404 (__ASSUME_FDATASYNC): Define unconditionally.
1405 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1406 (__ASSUME_SIGFRAME_V2): Likewise.
1407 )__ASSUME_EVENTFD2): Likewise.
1408 (__ASSUME_SIGNALFD4): Likewise.
1409 (__ASSUME_PSELECT): Do not undefine conditionally.
1410 (__ASSUME_PPOLL): Likewise.
1411 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1412 (__ASSUME_PSELECT): Define unconditionally.
1413 (__ASSUME_PPOLL): Likewise.
1414 (__ASSUME_O_CLOEXEC): Likewise.
1415 (__ASSUME_SOCK_CLOEXEC): Likewise.
1416 (__ASSUME_IN_NONBLOCK): Likewise.
1417 (__ASSUME_PIPE2): Likewise.
1418 (__ASSUME_EVENTFD2): Likewise.
1419 (__ASSUME_SIGNALFD4): Likewise.
1420 (__ASSUME_DUP3): Likewise.
1421 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1422 (__ASSUME_O_CLOEXEC): Likewise.
1423 (__ASSUME_SOCK_CLOEXEC): Likewise.
1424 (__ASSUME_IN_NONBLOCK): Likewise.
1425 (__ASSUME_PIPE2): Likewise.
1426 (__ASSUME_EVENTFD2): Likewise.
1427 (__ASSUME_SIGNALFD4): Likewise.
1428 (__ASSUME_DUP3): Likewise.
1429 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1430 (__ASSUME_EVENTFD2): Likewise.
1431 (__ASSUME_SIGNALFD4): Likewise.
1432 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1433
315eb1d8
AS
14342014-05-12 Andreas Schwab <schwab@suse.de>
1435
1436 [BZ #16932]
1437 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1438 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1439 than maximum RPC packet size.
1440 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1441 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1442 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1443 (_nss_nis_getservbyport_r): Likewise.
1444
91df99f7
WN
14452014-05-12 Will Newton <will.newton@linaro.org>
1446
1447 * malloc/Makefile (tests): Add tst-mallopt.
1448 * malloc/tst-mallopt.c: New file.
1449
0a982a29
RM
14502014-05-09 Roland McGrath <roland@hack.frob.com>
1451
1452 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1453 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1454
0ded08a5
AZ
14552014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1456
1457 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1458 (tst-tlsmod6.so): Likewise.
1459
55d4d550
RM
14602014-05-09 Roland McGrath <roland@hack.frob.com>
1461
1462 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1463
77d08aca
JM
14642014-05-09 Joseph Myers <joseph@codesourcery.com>
1465
1466 [BZ #16064]
1467 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1468 and <dl-procinfo.h>.
1469 (__fegetenv): Save SSE state in envp->__eip if supported.
1470 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1471 envp->__eip if supported.
1472 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1473 and <dl-procinfo.h>.
1474 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1475 __data_offset and __data_selector in environment to 0. Set SSE
1476 state if supported.
1477 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1478 test-fenv-sse.
1479 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1480 -mfpmath=sse.
1481 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1482
28162f4d
WN
14832014-05-09 Will Newton <will.newton@linaro.org>
1484
1485 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1486 and libc_relro_required for ARM.
1487 * sysdeps/arm/preconfigure: Regenerate.
1488
5a414ff7
DV
14892014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1490 Stefan Liebler <stli@linux.vnet.ibm.com>
1491
1492 * config.make.in (enable-lock-elision): New Makefile variable.
1493 * configure.ac: Likewise.
1494 * configure: Regenerate.
1495 * sysdeps/s390/configure.ac:
1496 Add check for gcc transactions support.
1497 * sysdeps/s390/configure: Regenerate.
1498 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1499 Build elision files if enabled.
1500 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1501 Add lock elision support for s390.
1502 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1503 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1504 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1505 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1506 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1507 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1508 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1509 Likewise.
1510 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1511 Likewise.
1512 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1513 Likewise.
1514 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1515 Likewise.
1516 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1517 (__lll_timedlock_elision, __lll_lock_elision)
1518 (__lll_unlock_elision, __lll_trylock_elision)
1519 (lll_timedlock_elision, lll_lock_elision)
1520 (lll_unlock_elision, lll_trylock_elision): Add.
1521 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1522 (pthread_mutex_t): Add lock elision support for s390.
1523
1a2f40e5
W
15242014-05-14 Wilco <wdijkstr@arm.com>
1525
1526 * sysdeps/arm/fclrexcpt.c: Cleanup.
1527 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1528 * sysdeps/arm/feenablxcpt.c: Cleanup.
1529 * sysdeps/arm/fegetenv.c: Cleanup.
1530 * sysdeps/arm/fegetexcept.c: Cleanup.
1531 * sysdeps/arm/fegetround.c: Cleanup.
1532 * sysdeps/arm/feholdexcpt.c: Cleanup.
1533 * sysdeps/arm/fesetenv.c: Cleanup.
1534 * sysdeps/arm/fesetround.c: Cleanup.
1535 * sysdeps/arm/feupdateenv.c: Cleanup.
1536 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1537 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1538 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1539 * sysdeps/arm/ftestexcept.c: Cleanup.
1540 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1541 * sysdeps/arm/setfpucw.c: Cleanup.
1542
f63c86fe
WN
15432014-05-09 Will Newton <will.newton@linaro.org>
1544
1545 * sysdeps/arm/armv7/strcmp.S: New file.
1546 * NEWS: Mention addition of ARMv7 optimized strcmp.
1547
7a1a51b5
RM
15482014-05-08 Roland McGrath <roland@hack.frob.com>
1549
95afbbe5
RM
1550 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1551 look for %.ac rather than %.in.
1552
1553 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1554 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1555 * sysdeps/mach/hurd/configure: Regenerated.
1556 * sysdeps/unix/sysv/linux/configure: Regenerated.
1557
7a1a51b5
RM
1558 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1559
5057ad3b
SE
15602014-05-07 Steve Ellcey <sellcey@mips.com>
1561
1562 [BZ# 16922]
1563 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1564 (LONG_SUB): Ditto.
1565 (PTR_SUB): Ditto.
1566
8dc97517
AS
15672014-05-07 Andreas Schwab <schwab@suse.de>
1568
1569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1570 when skipping over non-matching result from nscd.
1571
ce0c5b8f
OB
15722014-05-07 Ondřej Bílka <neleai@seznam.cz>
1573
1574 [BZ #16876]
1575 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1576
a1189263
OB
1577 [BZ #16877]
1578 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1579 nscd security class.
ce0c5b8f 1580
0f58d252
RM
15812014-05-06 Roland McGrath <roland@hack.frob.com>
1582
1583 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1584 * sysdeps/arm/unwind.h: ... here.
1585
83df9ad0
AJ
15862014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1587
ce0c5b8f
OB
1588 [BZ# 16916]
1589 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1590 Define.
83df9ad0 1591
f360f94a
VR
15922014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1593
1594 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1595 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1596 multiarch strncpy for PPC64.
1597 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1598 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1600 multiarch optimizations.
1601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1602 (__libc_ifunc_impl_list): Likewise.
1603 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1604 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1605 multiarch stpncpy for PPC64.
1606 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1607 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1608
978a41c3
AS
16092014-05-06 Andreas Schwab <schwab@suse.de>
1610
1611 [BZ #16912]
1612 * gmon/mcount.c (_MCOUNT_DECL): Use
1613 atomic_compare_and_exchange_bool_acq instead of
1614 catomic_compare_and_exchange_bool_acq.
1615
eb1ed03d
RM
16162014-05-05 Roland McGrath <roland@hack.frob.com>
1617
fe658845
RM
1618 * elf/Makefile (others, install-bin): Remove pldd.
1619 (pldd-modules): Variable removed.
1620 ($(objpfx)pldd): Target removed.
1621 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1622 (others, install-bin): Append pldd here.
1623 ($(objpfx)pldd): New target.
1624
eb1ed03d
RM
1625 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1626 to 0, so the first #if test emitted later doesn't see it undefined.
1627 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1628 * sysdeps/gnu/errlist.c: Regenerated.
1629
19c4bec0
AZ
16302014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1631
1632 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1633 [libc_hidden_builtin_def]: Define to empty value.
1634 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1635 [libc_hidden_builtin_def]: Likewise.
1636 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1637 [libc_hidden_builtin_def]: Likewise.
1638 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1639 [libc_hidden_builtin_def]: Likewise.
1640 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1641 __redirect_memcpy and define ifunc as default hidden symbol.
1642 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1643 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1644
7776e669
AC
16452014-05-04 Adam Conrad <adconrad@0c3.net>
1646
1647 * locale/iso-4217.def: Reintroduce XDR currency.
1648
d69aeb12
AM
16492014-05-04 Allan McRae <allan@archlinux.org>
1650
1651 * po/eo.po: Update Esperanto translation from translation project.
1652
8f1df5cf
CD
16532014-05-02 Carlos O'Donell <carlos@redhat.com>
1654
1655 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1656 and FEATURE_INDEX_MAX to 1.
1657 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1658
13e402e7
SE
16592014-05-01 Steve Ellcey <sellcey@mips.com>
1660
1661 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1662 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1663 * iconvdata/big5.c (ONE_DIRECTION): Define.
1664 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1665 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1666 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1667 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1668 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1669 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1670 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1671 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1672 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1673 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1674 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1675 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1676 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1677 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1678 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1679 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1680 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1681 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1682 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1683 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1684 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1685 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1686 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1687 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1688 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1689 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1690 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1691 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1692 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1693 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1694 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1695 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1696 * iconvdata/johab.c (ONE_DIRECTION): Define.
1697 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1698 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1699 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1700 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1701 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1702 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1703 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1704 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1705 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1706 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1707
c727f032
RM
17082014-05-01 Roland McGrath <roland@hack.frob.com>
1709
8f2f08d0
RM
1710 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1711 (_IO_JUMPS_OFFSET): Define to 0.
1712
c727f032
RM
1713 * nptl/sysdeps/pthread/bits/libc-lock.h
1714 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1715 (__libc_lock_define_initialized_recursive): Always define using
1716 initializer. Modern compilers treat uninitialized (implicit zero) and
1717 explicit zero initializers the same (i.e. put the datum in bss).
1718
a849e800
AS
17192014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1720
1721 * nscd/nscd-client.h: Include <string.h>.
1722
5331255b
DM
17232014-05-01 David S. Miller <davem@davemloft.net>
1724
1725 [BZ #16885]
1726 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1727 multiple zero bytes exist at the end of a string.
1728 Reported by Aurelien Jarno <aurelien@aurel32.net>
1729
1730 * string/test-strcmp.c (check): Add explicit test for situations where
1731 there are multiple zero bytes after the first.
1732
4fdfe821
AS
17332014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1734
1735 [BZ #16890]
1736 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1737 when compiling wprintf.
1738 * stdio-common/tstdiomisc.c (t3): New function.
1739 (main): Call it.
1740
0cdddc25
SE
17412014-05-01 Steve Ellcey <sellcey@mips.com>
1742
1743 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1744 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1745 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1746 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1747
6426d77e
SE
17482014-05-01 Steve Ellcey <sellcey@mips.com>
1749
1750 * stdlib/longlong.h: Updated from GCC.
1751
6d96f5e4
WN
17522014-05-01 Will Newton <will.newton@linaro.org>
1753 Bernard Ogden <bernie.ogden@linaro.org>
1754
7470db0c
WN
1755 * NEWS: Update fixed bug list.
1756
6d96f5e4
WN
1757 [BZ #15119]
1758 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1759
211d653c
DM
17602014-04-30 David S. Miller <davem@davemloft.net>
1761
4fa262fa
DM
1762 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1763 (libc_feholdexcept_setround_sparc_ctx): New function.
1764 (libc_fesetenv_sparc_ctx): Likewise.
1765 (libc_feupdateenv_sparc_ctx): Likewise.
1766 (libc_feholdsetround_sparc_ctx): Likewise.
1767 (libc_feholdexcept_setround_ctx): Define.
1768 (libc_feholdexcept_setroundf_ctx): Likewise.
1769 (libc_feholdexcept_setroundl_ctx): Likewise.
1770 (libc_fesetenv_ctx): Likewise.
1771 (libc_fesetenvf_ctx): Likewise.
1772 (libc_fesetenvl_ctx): Likewise.
1773 (libc_feupdateenv_ctx): Likewise.
1774 (libc_feupdateenvf_ctx): Likewise.
1775 (libc_feupdateenvl_ctx): Likewise.
1776 (libc_feresetround_ctx): Likewise.
1777 (libc_feresetroundf_ctx): Likewise.
1778 (libc_feresetroundl_ctx): Likewise.
1779 (libc_feholdsetround_ctx): Likewise.
1780 (libc_feholdsetroundf_ctx): Likewise.
1781 (libc_feholdsetroundl_ctx): Likewise.
1782
1d3d93ef
DM
1783 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1784 with __USE_GNU instead of XOPEN cpp guards.
1785
8aa583c3
DM
1786 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1787 0.
1788
211d653c
DM
1789 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1790 with XOPEN cpp guards.
1791
60c8f1f6
JB
17922014-04-30 Julian Brown <julian@codesourcery.com>
1793
1794 [BZ #16888]
1795 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1796 handling.
1797
9a461d46
JM
17982014-04-30 Joseph Myers <joseph@codesourcery.com>
1799
d0f5b3f8
JM
1800 [BZ #9894]
1801 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1802 Change to 2.6.32.
1803 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1804 * sysdeps/unix/sysv/linux/configure: Regenerated.
1805 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1806 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1807 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1808 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1809 * README: Update reference to required Linux kernel version.
1810 * manual/install.texi (Linux): Update reference to required Linux
1811 kernel headers version.
1812 * INSTALL: Regenerated.
1813
9a461d46
JM
1814 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1815 header inclusion.
1816 [POSIX] (limits.h): Likewise.
1817 [POSIX] (math.h): Likewise.
1818 [POSIX] (sys/wait.h): Likewise.
1819 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1820 function.
1821 [POSIX] (stddef.h): Do not allow header inclusion.
1822
1775babf
AZ
18232014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1824
57f41c40 1825 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1826
8f630cca
YY
18272014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1828
1829 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1830 Return immediately after lll_futex_wake.
1831
1cdeb237
SP
18322014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1833
bc8f194c
SP
1834 [BZ #16791]
1835 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1836 structure.
1837 (datahead_init_pos): Call datahead_init_common early.
1838 (datahead_init_neg): Likewise.
1839
1cdeb237
SP
1840 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1841 datahead_init_neg): New functions.
1842 * nscd/aicache.c (addhstaiX): Use them.
1843 * nscd/grpcache.c (cache_addgr): Likewise.
1844 * nscd/hstcache.c (cache_addhst): Likewise.
1845 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1846 * nscd/netgroupcache.c (do_notfound): Likewise.
1847 (addgetnetgrentX): Likewise.
1848 (addinnetgrX): Likewise.
1849 * nscd/pwdcache.c (cache_addpw): Likewise.
1850 * nscd/servicescache.c (cache_addserv): Likewise.
1851
16b293a7
SP
18522014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1853 Atsushi Onoe <atsushi@onoe.org>
1854
1855 [BZ #14308]
1856 [BZ #12994]
1857 [BZ #13651]
1858 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1859 one response is valid.
1860 * resolv/res_send.c (send_dg): Check for validity of other
1861 response if the current response is a referral.
1862
a28a9b94
SE
18632014-04-29 Steve Ellcey <sellcey@mips.com>
1864
1865 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1866
2ca180e9
SL
18672014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1868
1869 [BZ #16823]
1870 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1871 Always divide by positive zero when computing -Inf result.
1872 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1873 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1874
18f2945a
AZ
18752014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876
1877 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1878 FPSCR if value do not change.
1879 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1880 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1881 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1882 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1883 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1884 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1885 function.
1886
5abebba4
CD
18872014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1888
1889 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1890 * sysdeps/unix/sysv/linux/hppa: Move directory from
1891 ports/systeps/unix/sysv/linux/hppa.
1892 * README: Update listing for hppa-*-linux-gnu.
1893
f7ed60c2
OB
18942014-04-28 Ondřej Bílka <neleai@seznam.cz>
1895
fff763a5
OB
1896 [BZ #16754]
1897 * manual/stdio.texi (Hook functions): Fix types of stream hook
1898 functions.
f7ed60c2
OB
1899 [BZ #16854]
1900 * socket/sys/socket.h: Fix typo in comment.
1901
df639d73
WD
19022014-04-28 Wilco <wdijkstr@arm.com>
1903
f7ed60c2 1904 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1905 * sysdeps/arm/math_private.h: New file.
1906 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1907
48332d82
L
19082014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1909
1910 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1911 with __int128_t.
1912 (La_x86_64_retval): Likewise.
1913
e5e0d9a4
IB
19142014-04-24 Ian Bolton <ian.bolton@arm.com>
1915
1916 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1917 fpsr if value didn't change.
1918 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1919 to fpcr if value didn't change.
1920 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1921 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1922 fpsr or fpcr if value didn't change.
1923 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1924 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1925 fpcr if value didn't change.
1926 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1927 to fpsr if value didn't change.
1928
bacc75f7
SP
19292014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1930
1931 * nptl/tst-sem3.c: Use test-skeleton.c
1932 (main): Rename to do_test. Use return instead of
1933 exit.
1934 * nptl/tst-sem4.c: Use test-skeleton.c
1935 (main): Rename to do_test.
1936
a059d359
DM
19372014-04-22 David S. Miller <davem@davemloft.net>
1938
1939 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1940 (struct sigaction): New struct member __glibc_reserved0, change
1941 type of sa_flags to int.
1942
ea6c92f3
YZ
19432014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1944
1945 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1946 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1947
766c4a36
SP
19482014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1949
1950 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1951 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1952
140cc7ab
VK
19532014-04-22 Will Newton <will.newton@linaro.org>
1954 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1955
1956 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1957 (__longjmp): Add longjmp and longjmp_target SystemTap
1958 probes.
1959 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1960 (__sigsetjmp): Add setjmp SystemTap probe.
1961
c54e5cf7
CD
19622014-04-17 Carlos O'Donell <carlos@redhat.com>
1963
1964 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1965 match manual order.
1966
75ffb047
AZ
19672014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1968
1969 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1970
2cd925f7
AZ
1971 * sysdeps/powerpc/fpu/fenv_private.h
1972 (libc_feholdexcept_setroundl_ctx): Define to
1973 libc_feholdexcept_setround_ppc_ctx.
1974 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1975 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1976 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1977 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1978
39e6cd8d
IB
19792014-04-17 Ian Bolton <ian.bolton@arm.com>
1980
1981 * sysdeps/aarch64/math-tests.h: New file.
1982
f9281df9
SY
19832014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1984
1985 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1986 New.
1987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1988 Check and set bit_AVX2_Usable.
1989 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1990 macro.
1991 (bit_AVX2): Likewise.
1992 (index_AVX2_Usable): Likewise.
1993 (CPUID_AVX2): Likewise.
1994 (HAS_AVX2): Likewise.
1995
37d35007
WN
19962014-04-17 Will Newton <will.newton@linaro.org>
1997
7c677662
WN
1998 * manual/setjmp.texi (System V contexts): Add note that
1999 calling setcontext on a context created by a call to a
2000 signal handler is undefined. Update text to note that
2001 setcontext from a signal handler is possible but not
2002 recommended.
2003
37d35007 2004 [BZ #16629]
e04a4e9d
WN
2005 * stdlib/tst-setcontext.c: Include signal.h.
2006 (main): Check that the signal stack before and
2007 after swapcontext is the same.
2008
37d35007
WN
2009 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2010 Re-implement to restore registers in user code and avoid
2011 rt_sigreturn system call.
2012
423a7160
W
20132014-04-17 Wilco <wdijkstr@arm.com>
2014
2015 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2016 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2017 * math/test-fenv.c: Skip exception trap tests on targets which only
2018 support non-stop mode.
2019
bc93ab29
IB
20202014-04-17 Ian Bolton <ian.bolton@arm.com>
2021 Wilco Dijkstra <wilco.dijkstra@arm.com>
2022
2023 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2024 (libc_feholdsetround_aarch64_ctx)
2025 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2026 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2027 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2028 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2029 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2030 (libc_feresetround_noexl_ctx): Define.
2031
95fc5fa3
RH
20322014-04-16 Richard Henderson <rth@redhat.com>
2033
ddb04724
RH
2034 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2035
d77c0899
RH
2036 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2037 unwind tables.
2038
a3df56fc
RH
2039 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2040 const from the non-libc, non-ldso copy.
2041
95fc5fa3
RH
2042 * sysdeps/alpha/libm-test-ulps: Regenerate.
2043
7e0b6763
IB
20442014-04-16 Ian Bolton <ian.bolton@arm.com>
2045 Wilco Dijkstra <wilco.dijkstra@arm.com>
2046
2047 * sysdeps/aarch64/fpu/math_private.h: New file.
2048
a9ea2e0c
MS
20492014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2050
2051 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2052
ea8ba7cd
IZ
20532014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2054
2055 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2056 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2058 Intel MPX bound registers before _dl_profile_fixup.
2059 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2060 registers after _dl_profile_fixup. Save and restore bound
2061 registers bnd0/bnd1 when calling _dl_call_pltexit.
2062 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2063 (LR_BND_OFFSET): Likewise.
2064 (LRV_BND0_OFFSET): Likewise.
2065 (LRV_BND1_OFFSET): Likewise.
2066
9f2a4fbc
ST
20672014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2068
2069 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2070 to...
2071 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2072 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2073 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2074 fields.
9f2a4fbc 2075
fd15a59b
ST
20762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2077
2078 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2079
f19dfa0a
SL
20802014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2081
2082 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2083
4fa8bc3b
SL
20842014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2085
2086 [BZ #14770]
2087 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2088 * sysdeps/s390/configure: Regenerate.
2089
8ea587db
SL
2090 [BZ #16824]
2091 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2092 Set round-to-nearest internally to reduce error accumulation.
2093
aa5f0ff1
AM
20942014-04-16 Alan Modra <amodra@gmail.com>
2095
2096 [BZ #16740]
2097 [BZ #16619]
2098 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2099 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2100 * NEWS: Update fixed bug list.
aa5f0ff1 2101
bb9c256f
SP
21022014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2103
2104 * benchtests/Makefile: Depend on libraries in build directory.
2105 (bench-math): Separate out math tests.
2106 (bench-pthread): Separate out pthread tests.
2107 (bench): Include math and pthread tests.
2108
f737dfd0
CD
21092014-04-14 Carlos O'Donell <carlos@redhat.com>
2110
2111 [BZ #16831]
2112 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2113 _dl_debug_initialize.
2114
0699f766
CD
2115 * configure.ac: Remove SELinux header check.
2116 * configure: Regenerate.
2117 * nscd/selinux.c (perms): Array of const char* to permission names.
2118 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2119 default policy. Call string_to_security_class and string_to_av_perm to
2120 translate strings. Enforce default policy and call avs_has_perm with
2121 results of translated strings.
2122
809bd45f
DM
21232014-04-13 David S. Miller <davem@davemloft.net>
2124
2125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2126
89e691f2
AM
21272014-04-12 Allan McRae <allan@archlinux.org>
2128
2129 [BZ #16838]
2130 * manual/string.texi (Collation Functions): Fix qsort argument
2131 order in example.
2132 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2133
9c9daaeb
CM
21342014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2135
2136 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2137 Make the test a no-op if there are no exceptions defined.
2138
95561fb9
PP
21392014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2140
fe8d072c 2141 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2142 enable-hardcoded-path-in-tests
2143
970c602a
WN
21442014-04-11 Will Newton <will.newton@linaro.org>
2145
2146 * benchtests/Makefile (extra-objs): Add json-lib.o.
2147 (bench-func): Tidy up JSON output.
2148 * benchtests/bench-skeleton.c: Include json-lib.h.
2149 (main): Use JSON library functions to do output of
2150 benchmark results.
2151 * benchtests/bench-timing-type.c (main): Output the
2152 timing type simply, leaving formatting to the user.
2153 * benchtests/json-lib.c: New file.
2154 * benchtests/json-lib.h: Likewise.
2155
36875b06
TR
21562014-04-11 Torvald Riegel <triegel@redhat.com>
2157
2158 [BZ #15215]
2159 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2160 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2161 memory barriers. Add comments.
2162 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2163 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2164 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2165 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2166 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2167 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2168
579db35a
SL
21692014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2170
2171 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2172 * sysdeps/s390/s390-64/configure.ac: ... this ...
2173 * sysdeps/s390/configure.ac: ... to here.
2174 * sysdeps/s390/s390-32/configure: Delete file.
2175 * sysdeps/s390/s390-64/configure: Delete file.
2176 * sysdeps/s390/configure: Regenerate.
2177
c12e9f37
JAPH
21782014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2179
2180 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2181
439bda32
WN
21822014-04-11 Will Newton <will.newton@linaro.org>
2183
2184 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2185 to zero if it is not defined elsewhere. (mtrim): Test
2186 the value of MALLOC_DEBUG with #if rather than #ifdef.
2187
6a5d6ea1
TR
21882014-04-10 Torvald Riegel <triegel@redhat.com>
2189
2190 * benchtests/pthread_once-inputs: New file.
2191 * benchtests/pthread_once-source.c: New file.
2192 * benchtests/README: Update documentation.
2193
a4c75cfd
IZ
21942014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2195 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2198 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2199 * sysdeps/x86_64/configure: Regenerated.
2200 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2201 macro.
2202 (REGISTER_SAVE_RAX): Likewise.
2203 (REGISTER_SAVE_RCX): Likewise.
2204 (REGISTER_SAVE_RDX): Likewise.
2205 (REGISTER_SAVE_RSI): Likewise.
2206 (REGISTER_SAVE_RDI): Likewise.
2207 (REGISTER_SAVE_R8): Likewise.
2208 (REGISTER_SAVE_R9): Likewise.
2209 (REGISTER_SAVE_BND0): Likewise.
2210 (REGISTER_SAVE_BND1): Likewise.
2211 (REGISTER_SAVE_BND2): Likewise.
2212 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2213 bound registers when calling _dl_fixup.
2214
27822ce6
AZ
22152014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2216
2217 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2218 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2219 of its definition.
27822ce6
AZ
2220 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2221 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2222 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2223 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2224 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2225 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2226 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2227
a88ddc90
PTB
22282014-04-09 Peter Brett <peter@peter-b.co.uk>
2229
2230 [BZ #15514]
2231 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2232 pathconf(_PC_NAME_MAX).
2233
01f8eac2
AZ
22342014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2235
2236 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2237 Remove macro usage.
2238 (__PTHREAD_SPINS): Move definition to ...
2239 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2240 (__PTHREAD_SPINS): ... here.
2241 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2242 (__PTHREAD_SPIN): Likewise.
2243 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2244 (__PTHREAD_SPIN): Likewise.
2245 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2246 (__PTHREAD_SPIN): Likewise.
2247 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2248 (__PTHREAD_SPIN): Likewise.
2249 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2250 (__PTHREAD_SPIN): Likewise.
2251 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2252 (__PTHREAD_SPIN): Likewise.
2253 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2254 (__PTHREAD_SPIN): Likewise.
2255 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2256 (__PTHREAD_SPIN): Likewise.
2257 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2258 (__PTHREAD_SPIN): Likewise.
2259 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2260 (__PTHREAD_SPIN): Likewise.
2261 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2262 (__PTHREAD_SPIN): Likewise.
2263 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2264 (__PTHREAD_SPIN): Likewise.
2265
de21c33c
AZ
2266 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2267 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2268 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2269 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2270 imply folder.
2271 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2272 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2273 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2274 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2275 correct imply path.
2276 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2277 strlen symbol for non multi-arch builds.
2278 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2279 missing hidden_def and weak_alias.
2280
862c472e
CD
22812014-04-08 Carlos O'Donell <carlos@redhat.com>
2282
2283 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2284
8667f90e
WN
22852014-04-07 Will Newton <will.newton@linaro.org>
2286
2287 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2288 and contents. [!_LIBC] Remove #ifndef and contents.
2289 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2290 * string/memccpy.c (__memccpy): Use ANSI prototype.
2291 * string/memfrob.c (memfrob): Likewise.
2292 * string/strcoll.c (STRCOLL): Likewise.
2293 * string/strlen.c (strlen): Likewise.
2294 * string/strtok.c (STRTOK): Likewise.
2295 * string/strcat.c: Remove unused #include of memcopy.h.
2296 (strcat): Use ANSI prototype.
2297 * string/strchr.c: Remove unused #include of memcopy.h.
2298 (strchr): Use ANSI prototype.
2299 * string/strcmp.c: Remove unused #include of memcopy.h.
2300 (strcmp): Use ANSI prototype.
2301 * string/strcpy.c: Remove unused #include of memcopy.h.
2302 (strcpy): Use ANSI prototype.
2303
7ffa9423
AZ
23042014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2305
2306 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2307 * config.make.in (config-extra-cppflags): Set it from
2308 libc_extra_cppflags.
2309 * configure.ac (libc_extra_cflags): Make it accumulate over
2310 configure fragments.
2311 (libc_extra_cppflags): New flag.
2312 * configure. Regenerate.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2314 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2315 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2317
8bd70862
AZ
2318 [BZ #16815]
2319 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2320 result for FE_DOWNWARD rounding mode.
2321 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2322 Likewise.
2323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2324
d42f3448
CM
23252014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2326
2327 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2328 in function argument name.
2329
1c21d115
DS
23302014-04-03 David Svoboda <svoboda@cert.org>
2331
2332 [BZ #5666]
2333 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2334 explicitly.
2335
fcccd512
RM
23362014-04-03 Roland McGrath <roland@hack.frob.com>
2337
2338 * elf/dl-unmap-segments.h: New file.
2339 * sysdeps/generic/ldsodefs.h
2340 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2341 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2342 * elf/dl-fptr.c: Likewise.
2343 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2344 * sysdeps/aarch64/tlsdesc.c: Likewise.
2345 * sysdeps/arm/tlsdesc.c: Likewise.
2346 * sysdeps/i386/tlsdesc.c: Likewise.
2347 * sysdeps/tile/dl-runtime.c: Likewise.
2348 * sysdeps/x86_64/tlsdesc.c: Likewise.
2349 * elf/dl-load.h: New file.
2350 * elf/dl-load.c: Include it.
2351 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2352 Macros moved to dl-load.h.
2353 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2354 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2355 Use _dl_unmap_segments in place of __munmap.
2356 Break out segment-mapping loop into ...
2357 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2358
f6488e2b
WN
23592014-04-03 Will Newton <will.newton@linaro.org>
2360
2361 * elf/dl-lookup.c (do_lookup_x): Remove comment
2362 referring to nested function and move variable
2363 declarations down to before first use.
2364
6f05bafe
JM
23652014-04-02 Joseph Myers <joseph@codesourcery.com>
2366
a84e78c8
JM
2367 [BZ #16799]
2368 [BZ #16800]
2369 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2370 with 0 numerator.
2371 * math/s_catanf.c (__catanf): Likewise.
2372 * math/s_catanh.c (__catanh): Likewise.
2373 * math/s_catanhf.c (__catanhf): Likewise.
2374 * math/s_catanhl.c (__catanhl): Likewise.
2375 * math/s_catanl.c (__catanl): Likewise.
2376 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2377 by positive zero when computing -Inf result.
2378 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2379 (catanh_test): Likewise.
2380 * sysdeps/i386/fpu/libm-test-ulps: Update.
2381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2382
6f05bafe
JM
2383 [BZ #16789]
2384 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2385 instead of using underflowing value in computing result.
2386 * math/s_clog10.c (__clog10): Likewise.
2387 * math/s_clog10f.c (__clog10f): Likewise.
2388 * math/s_clog10l.c (__clog10l): Likewise.
2389 * math/s_clogf.c (__clogf): Likewise.
2390 * math/s_clogl.c (__clogl): Likewise.
2391 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2392 (clog10_test): Likewise.
2393 * sysdeps/i386/fpu/libm-test-ulps: Update.
2394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2395
b0abbc21
AM
23962014-04-02 Alan Modra <amodra@gmail.com>
2397
2398 [BZ #16739]
2399 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2400 output when value is near a power of two. Use int64_t for lx and
2401 remove casts. Use decimal rather than hex exponent constants.
2402 Don't use long double multiplication when double will suffice.
2403 * math/libm-test.inc (nextafter_test_data): Add tests.
2404 * NEWS: Add 16739 and 16786 to bug list.
2405
af6b1797
AM
2406 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2407
483818d7
AM
2408 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2409
f6c55796
WN
24102014-04-01 Will Newton <will.newton@linaro.org>
2411
2412 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2413 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2414
13f7fe35
FW
24152014-04-01 Florian Weimer <fweimer@redhat.com>
2416
2417 [BZ #13347]
2418 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2419 * nptl/tst-setuid2.c: New file.
2420 * nptl/Makefile (xtests): Add tst-setuid2.
2421
c859b32e
AM
24222014-04-01 Alan Modra <amodra@gmail.com>
2423
2424 [BZ #16786]
2425 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2426
54fa2475
JM
24272014-03-31 Joseph Myers <joseph@codesourcery.com>
2428
8795b4a4
JM
2429 [BZ #6803]
2430 [BZ #6804]
2431 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2432 set errno as appropriate.
2433 * math/w_scalbf.c (__scalbf): Likewise.
2434 * math/w_scalbl.c (__scalbl): Likewise.
2435 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2436 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2437 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2438 Add more NaN tests.
2439
54fa2475
JM
2440 [BZ #16349]
2441 * math/w_atan2.c: Include <errno.h>.
2442 (__atan2): Set errno for result underflowing to zero.
2443 * math/w_atan2f.c: Include <errno.h>.
2444 (__atan2f): Set errno for result underflowing to zero.
2445 * math/w_atan2l.c: Include <errno.h>.
2446 (__atan2l): Set errno for result underflowing to zero.
2447 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2448 tests.
2449 * math/auto-libm-test-out: Regenerated.
2450
757d9dd5
AZ
24512014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2452
2453 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2454 Encode instruction correctly in little endian.
2455 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2456 Likewise.
2457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2458 Likewise.
2459 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2460 Likewise.
2461 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2462 Likewise.
2463
d7a68734
JM
24642014-03-31 Joseph Myers <joseph@codesourcery.com>
2465
47c5adeb
JM
2466 [BZ #9894]
2467 * sysdeps/unix/sysv/linux/kernel-features.h
2468 [__sparc__ && !__arch64__ && !__sparc_v9__]
2469 (__ASSUME_SET_ROBUST_LIST): Do not define.
2470 [__sparc__ && !__arch64__ && !__sparc_v9__]
2471 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2472 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2473 Likewise.
2474 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2475 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2476 (__ASSUME_REQUEUE_PI): Likewise.
2477 (__ASSUME_SET_ROBUST_LIST): Likewise.
2478 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2479 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2480 Undefine.
2481 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2482 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2483 Likewise.
2484 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2485 Likewise.
2486 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2487 Likewise.
2488 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2489 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2490 Undefine.
2491 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2492 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2493 Likewise.
2494
d7a68734
JM
2495 [BZ #16648]
2496 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2497 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2498 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2499
c760f5c2
WN
25002014-03-31 Will Newton <will.newton@linaro.org>
2501
2502 * benchtests/Makefile (bench): Add ffs and ffsll to list
2503 of tests.
2504 * benchtests/ffs-inputs: New file.
2505 * benchtests/ffsll-inputs: Likewise.
2506
ea6029b1
JM
25072014-03-29 Joseph Myers <joseph@codesourcery.com>
2508
2509 [BZ #16770]
2510 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2511 too large before casting to int.
2512 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2513 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2514 * math/libm-test.inc (scalb_test_data): Add more tests.
2515
cf806aff
SP
25162014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2517
56737508
SP
2518 * benchtests/Makefile (DETAILED_OPT): New make option.
2519 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2520 set.
2521 * benchtests/bench-skeleton.c: Include stdbool.h.
2522 (main): Store and print timings per input.
2523 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2524 member to each argument value.
2525 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2526 (_print_arg_data): Initialize per-input timing to 0.
2527
cb5e4aad
SP
2528 * benchtests/Makefile (timing-type): New binary.
2529 (bench-clean): Also remove bench-timing-type.
2530 (bench): New target for timing-type.
2531 (bench-func): Print output in JSON format.
2532 * benchtests/bench-skeleton.c (main): Print output in JSON
2533 format.
2534 * benchtests/bench-timing-type.c: New file.
2535 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2536 (TIMING_PRINT_STATS): Remove.
2537 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2538 name separately.
2539
cf806aff
SP
2540 * benchtests/bench-modf.c: Remove.
2541 * benchtests/modf-inputs: New inputs file.
2542
289e0779
JM
25432014-03-28 Joseph Myers <joseph@codesourcery.com>
2544
2545 [BZ #16362]
2546 * math/s_clog10.c (M_PI_LOG10E): New macro.
2547 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2548 imaginary parts are 0.
2549 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2550 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2551 imaginary parts are 0.
2552 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2553 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2554 imaginary parts are 0.
2555 * math/libm-test.inc (clog10_test_data): Update expected results
2556 for when real and imaginary parts are 0.
2557
277ae3f1
PP
25582014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2559
2560 * elf/dl-load.c: Finish conversion of __builtin_expect into
2561 __glibc_{un}likely.
2562
03a7091f
JM
25632014-03-27 Joseph Myers <joseph@codesourcery.com>
2564
2565 [BZ #16348]
2566 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2567 1+x for argument with exponent below -67.
2568 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2569 Likewise.
2570 * math/auto-libm-test-in: Add more tests of exp.
2571 * math/auto-libm-test-out: Regenerated.
2572
ea7d8b95
SP
25732014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2574
dd3022d7
SP
2575 [BZ #16759]
2576 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2577 (nscd_getnetgrent): Use it.
2578
ea7d8b95
SP
2579 [BZ #16760]
2580 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2581 of stpcpy.
2582
df5b85da
AK
25832014-03-27 Andi Kleen <ak@linux.intel.com>
2584
57f41c40
AS
2585 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2586 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2587 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2588 (lll_robust_unlock): Remove out of line section. Use cfi
2589 intrinsics.
df5b85da 2590 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2591 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2592 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2593 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2594 (lll_robust_unlock): Remove out of line section. Use cfi
2595 intrinsics.
df5b85da
AK
2596 (LLL_STUB_UNWIND_INFO*): Remove.
2597
fbd6b5a4
SP
25982014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2599
2600 [BZ #16758]
2601 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2602 blank values.
2603
1b26b855
PP
26042014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2605
2606 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2607
9be36fb8
JM
26082014-03-26 Joseph Myers <joseph@codesourcery.com>
2609
2610 [BZ #16198]
2611 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2612 fnstenv.
2613 * math/test-fenv-preserve.c: New file.
2614 * math/Makefile (tests): Add test-fenv-preserve.
2615
60a2f3c1
WN
26162014-03-26 Will Newton <will.newton@linaro.org>
2617
2618 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2619
a5e5f1e2
RM
26202014-03-25 Roland McGrath <roland@hack.frob.com>
2621
2622 * scripts/versionlist.awk: Partition the version sets and emit all
2623 GLIBC_* (sorted) before all others (sorted).
2624
00f4012a
JM
26252014-03-25 Joseph Myers <joseph@codesourcery.com>
2626
2627 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2628 GLIBC_2.2.5 version.
2629
7bc5a741
AZ
26302014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2631
2632 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2633 calls.
2634
7578473b
AZ
2635 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2636 previous change.
2637
f3f1dab3
AZ
2638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2639
6da36183
AS
26402014-03-25 Andreas Schwab <schwab@suse.de>
2641
2642 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2643 label to be used after in6ailist is initialized.
2644
f3f1dab3 26452014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2646
7578473b 2647 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2648 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2649
046651c1
JM
26502014-03-25 Joseph Myers <joseph@codesourcery.com>
2651
2652 [BZ #16357]
2653 [BZ #16599]
2654 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2655 min_plus_half.
2656 (fp_formats): Update initializers.
2657 (init_fp_formats): Initialize new field.
2658 (output_for_one_input_case): Allow underflow for results up to
2659 min_plus_half.
2660 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2661 * math/auto-libm-test-in: Don't mark some underflows from asin and
2662 atanh as spurious.
2663 * math/auto-libm-test-out: Regenerated.
2664 * sysdeps/i386/fpu/libm-test-ulps: Update.
2665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2666
003e49ed
AS
26672014-03-25 Andreas Schwab <schwab@suse.de>
2668
2669 * libio/Makefile (tst-ftell-partial-wide-ENV)
2670 (tst-ftell-active-handler-ENV): Define.
2671
de031874
SL
26722014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2673
2674 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2675
55a81e3b
PP
26762014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2677
2678 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2679
f3426898
JM
26802014-03-24 Joseph Myers <joseph@codesourcery.com>
2681
2682 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2683 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2684 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2685
a42faf59
PP
26862014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2687
2688 [BZ #16634]
a42faf59 2689 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2690 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2691 (open_path): Change from boolean 'secure' to complete flag 'mode'
2692 (_dl_map_object): Adjust.
a42faf59
PP
2693 * elf/Makefile (tests): Add tst-dlopen-aout.
2694 * elf/tst-dlopen-aout.c: New test.
2695
50936127
SL
26962014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2697
2698 [BZ #16714]
2699 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2700 (struct stat): Rename member pad0 to __glibc_reserved0.
2701
26011b5c
SL
2702 [BZ #16712]
2703 * sysdeps/s390/s390-32/bits/wordsize.h
2704 (__WORDSIZE32_SIZE_ULONG): New define.
2705 * sysdeps/s390/s390-64/bits/wordsize.h
2706 (__WORDSIZE32_SIZE_ULONG): Likewise.
2707 * sysdeps/generic/stdint.h (SIZE_MAX):
2708 Define as UL if __WORDSIZE32_SIZE_ULONG.
2709
a2d86bf1
SL
2710 [BZ #16713]
2711 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2712 (__glibc_reserved0): New variable.
2713 (sa_flags): Change type to int.
2714
78b6eebc
SL
2715 * posix/Makefile (before-compile): Use += before-compile instead
2716 of a :=.
2717
f1399b5a
SL
2718 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2719 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2720
a071766e
AS
27212014-03-20 Andreas Schwab <schwab@suse.de>
2722
2723 [BZ #16743]
2724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2725 non-matching result from nscd.
2726
27c673b8
SP
27272014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2728
2729 * scripts/bench.py: Moved to ...
2730 * benchtests/scripts/bench.py: ... here.
2731 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2732
44152e4b
AS
27332014-03-24 Andreas Schwab <schwab@suse.de>
2734
2735 [BZ #16002]
2736 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2737 alloca_account and account alloca use for struct in6ailist.
2738
b376a11a
JM
27392014-03-24 Joseph Myers <joseph@codesourcery.com>
2740
2741 [BZ #16284]
2742 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2743 rounding mode to recompute results that overflow to infinity or
2744 underflow to zero.
2745 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2746 bug 16284.
2747 * math/auto-libm-test-out: Regenerated.
2748 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2749 (ccosh_test): Likewise.
2750 (csin_test_data): Use plus_oflow.
2751 (csin_test): Use ALL_RM_TEST.
2752 (csinh_test_data): Use plus_oflow.
2753 (csinh_test): Use ALL_RM_TEST.
2754 * sysdeps/i386/fpu/libm-test-ulps: Update.
2755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2756
f7be7376
JM
27572014-03-21 Joseph Myers <joseph@codesourcery.com>
2758
1ca2d03e
JM
2759 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2760 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2761 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2762
f7be7376
JM
2763 [BZ #16731]
2764 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2765 when x - 1 is zero.
2766 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2767 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2768 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2769 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2770 argument is 1.
2771 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2772 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2773 zero.
2774 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2775 * sysdeps/i386/fpu/libm-test-ulps: Update.
2776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2777
fdf4534d
SP
27782014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2779
df26ea53
SP
2780 * scripts/bench.pl: Remove file.
2781 * scripts/bench.py: New benchmark script.
2782 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2783 * benchtests/README: Mention python dependency.
2784 * scripts/pylintrc: New file.
2785 * scripts/pylint: New file.
2786
fdf4534d
SP
2787 * bits/mathdef.h: Use #ifdef instead of #if.
2788 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2789 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2790 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2791 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2792 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2793 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2794
6f23d093
AZ
27952014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2796 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2797
2798 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2800 and strpbrk-ppc64 objects.
2801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2802 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2803 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2804 multiarch strpbrk for POWER7.
2805 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2806 multiarch strpbrk for PPC64.
2807 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2808 ifunc selector.
2809 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2810 strpbrk for POWER7.
2811
8c92dfff
JM
28122014-03-20 Joseph Myers <joseph@codesourcery.com>
2813
2814 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2815 (atan_test): Likewise.
2816 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2817 (atanh_test): Use ALL_RM_TEST.
2818 (atan2_test_data): Likewise.
2819 (cabs_test): Likewise.
2820 (cacosh_test): Likewise.
2821 (carg_test): Likewise.
2822 (casin_test): Likewise.
2823 (casinh_test): Likewise.
2824 (cbrt_test): Likewise.
2825 (csqrt_test): Likewise.
2826 (erf_test): Likewise.
2827 (erfc_test): Likewise.
2828 (pow10_test): Likewise.
2829 (exp2_test): Likewise.
2830 (hypot_test): Likewise.
2831 (j0_test): Likewise.
2832 (j1_test): Likewise.
2833 (lgamma_test): Likewise.
2834 (gamma_test): Likewise.
2835 (sincos_test): Likewise.
2836 (tanh_test): Likewise.
2837 (y0_test): Likewise.
2838 (y1_test): Likewise.
2839 * sysdeps/i386/fpu/libm-test-ulps: Update.
2840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2841
6eaf95cb
AZ
28422014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2843
a387428c
SP
2844 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2846 and strcspn-ppc64 objects.
2847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2848 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2849 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2850 multiarch strcspn for POWER7.
2851 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2852 multiarch strcspn for PPC64.
2853 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2854 ifunc selector.
2855 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2856 strcspn for POWER7.
2857
ae3a5dff
JM
28582014-03-20 Joseph Myers <joseph@codesourcery.com>
2859
2860 * math/gen-libm-test.pl (generate_testfile): Expect only function
2861 name as argument to AUTO_TESTS_* and pass results for all rounding
2862 modes to parse_args.
2863 (parse_auto_input): Separate inputs of automatic tests from
2864 outputs before storing in %auto_tests.
2865 * math/libm-test.inc (acos_test_data): Update call to
2866 AUTO_TESTS_f_f.
2867 (acos_test): Use ALL_RM_TEST.
2868 (acos_tonearest_test_data): Remove.
2869 (acos_test_tonearest): Likewise.
2870 (acos_towardzero_test_data): Likewise.
2871 (acos_test_towardzero): Likewise.
2872 (acos_downward_test_data): Likewise.
2873 (acos_test_downward): Likewise.
2874 (acos_upward_test_data): Likewise.
2875 (acos_test_upward): Likewise.
2876 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2877 (asin_test_data): Likewise.
2878 (asin_test): Use ALL_RM_TEST.
2879 (asin_tonearest_test_data): Remove.
2880 (asin_test_tonearest): Likewise.
2881 (asin_towardzero_test_data): Likewise.
2882 (asin_test_towardzero): Likewise.
2883 (asin_downward_test_data): Likewise.
2884 (asin_test_downward): Likewise.
2885 (asin_upward_test_data): Likewise.
2886 (asin_test_upward): Likewise.
2887 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2888 (atan_test_data): Likewise.
2889 (atanh_test_data): Likewise.
2890 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2891 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2892 (carg_test_data): Likewise.
2893 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2894 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2895 (ccosh_test_data): Likewise.
2896 (cexp_test_data): Likewise.
2897 (clog_test_data): Likewise.
2898 (clog10_test_data): Likewise.
2899 (cos_test_data): Update call to AUTO_TESTS_f_f.
2900 (cos_test): Use ALL_RM_TEST.
2901 (cos_tonearest_test_data): Remove.
2902 (cos_test_tonearest): Likewise.
2903 (cos_towardzero_test_data): Likewise.
2904 (cos_test_towardzero): Likewise.
2905 (cos_downward_test_data): Likewise.
2906 (cos_test_downward): Likewise.
2907 (cos_upward_test_data): Likewise.
2908 (cos_test_upward): Likewise.
2909 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2910 (cosh_test): Use ALL_RM_TEST.
2911 (cosh_tonearest_test_data): Remove.
2912 (cosh_test_tonearest): Likewise.
2913 (cosh_towardzero_test_data): Likewise.
2914 (cosh_test_towardzero): Likewise.
2915 (cosh_downward_test_data): Likewise.
2916 (cosh_test_downward): Likewise.
2917 (cosh_upward_test_data): Likewise.
2918 (cosh_test_upward): Likewise.
2919 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2920 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2921 (ctan_test_data): Likewise.
2922 (ctan_test): Use ALL_RM_TEST.
2923 (ctan_tonearest_test_data): Remove.
2924 (ctan_test_tonearest): Likewise.
2925 (ctan_towardzero_test_data): Likewise.
2926 (ctan_test_towardzero): Likewise.
2927 (ctan_downward_test_data): Likewise.
2928 (ctan_test_downward): Likewise.
2929 (ctan_upward_test_data): Likewise.
2930 (ctan_test_upward): Likewise.
2931 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2932 (ctanh_test): Use ALL_RM_TEST.
2933 (ctanh_tonearest_test_data): Remove.
2934 (ctanh_test_tonearest): Likewise.
2935 (ctanh_towardzero_test_data): Likewise.
2936 (ctanh_test_towardzero): Likewise.
2937 (ctanh_downward_test_data): Likewise.
2938 (ctanh_test_downward): Likewise.
2939 (ctanh_upward_test_data): Likewise.
2940 (ctanh_test_upward): Likewise.
2941 (erf_test_data): Update call to AUTO_TESTS_f_f.
2942 (erfc_test_data): Likewise.
2943 (exp_test_data): Likewise.
2944 (exp_test): Use ALL_RM_TEST.
2945 (exp_tonearest_test_data): Remove.
2946 (exp_test_tonearest): Likewise.
2947 (exp_towardzero_test_data): Likewise.
2948 (exp_test_towardzero): Likewise.
2949 (exp_downward_test_data): Likewise.
2950 (exp_test_downward): Likewise.
2951 (exp_upward_test_data): Likewise.
2952 (exp_test_upward): Likewise.
2953 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2954 (exp10_test): Use ALL_RM_TEST.
2955 (exp10_tonearest_test_data): Remove.
2956 (exp10_test_tonearest): Likewise.
2957 (exp10_towardzero_test_data): Likewise.
2958 (exp10_test_towardzero): Likewise.
2959 (exp10_downward_test_data): Likewise.
2960 (exp10_test_downward): Likewise.
2961 (exp10_upward_test_data): Likewise.
2962 (exp10_test_upward): Likewise.
2963 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2964 (expm1_test_data): Likewise.
2965 (expm1_test): Use ALL_RM_TEST.
2966 (expm1_tonearest_test_data): Remove.
2967 (expm1_test_tonearest): Likewise.
2968 (expm1_towardzero_test_data): Likewise.
2969 (expm1_test_towardzero): Likewise.
2970 (expm1_downward_test_data): Likewise.
2971 (expm1_test_downward): Likewise.
2972 (expm1_upward_test_data): Likewise.
2973 (expm1_test_upward): Likewise.
2974 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2975 (fma_test): Use ALL_RM_TEST.
2976 (fma_towardzero_test_data): Remove.
2977 (fma_test_towardzero): Likewise.
2978 (fma_downward_test_data): Likewise.
2979 (fma_test_downward): Likewise.
2980 (fma_upward_test_data): Likewise.
2981 (fma_test_upward): Likewise.
2982 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2983 (j0_test_data): Update call to AUTO_TESTS_f_f.
2984 (j1_test_data): Likewise.
2985 (jn_test_data): Update call to AUTO_TESTS_if_f.
2986 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2987 (log_test_data): Update call to AUTO_TESTS_f_f.
2988 (log10_test_data): Likewise.
2989 (log1p_test_data): Likewise.
2990 (log2_test_data): Likewise.
2991 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2992 (pow_tonearest_test_data): Likewise.
2993 (sin_test_data): Update call to AUTO_TESTS_f_f.
2994 (sin_test): Use ALL_RM_TEST.
2995 (sin_tonearest_test_data): Remove.
2996 (sin_test_tonearest): Likewise.
2997 (sin_towardzero_test_data): Likewise.
2998 (sin_test_towardzero): Likewise.
2999 (sin_downward_test_data): Likewise.
3000 (sin_test_downward): Likewise.
3001 (sin_upward_test_data): Likewise.
3002 (sin_test_upward): Likewise.
3003 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3004 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3005 (sinh_test): Use ALL_RM_TEST.
3006 (sinh_tonearest_test_data): Remove.
3007 (sinh_test_tonearest): Likewise.
3008 (sinh_towardzero_test_data): Likewise.
3009 (sinh_test_towardzero): Likewise.
3010 (sinh_downward_test_data): Likewise.
3011 (sinh_test_downward): Likewise.
3012 (sinh_upward_test_data): Likewise.
3013 (sinh_test_upward): Likewise.
3014 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3015 (sqrt_test): Use ALL_RM_TEST.
3016 (sqrt_tonearest_test_data): Remove.
3017 (sqrt_test_tonearest): Likewise.
3018 (sqrt_towardzero_test_data): Likewise.
3019 (sqrt_test_towardzero): Likewise.
3020 (sqrt_downward_test_data): Likewise.
3021 (sqrt_test_downward): Likewise.
3022 (sqrt_upward_test_data): Likewise.
3023 (sqrt_test_upward): Likewise.
3024 (tan_test_data): Update call to AUTO_TESTS_f_f.
3025 (tan_test): Use ALL_RM_TEST.
3026 (tan_tonearest_test_data): Remove.
3027 (tan_test_tonearest): Likewise.
3028 (tan_towardzero_test_data): Likewise.
3029 (tan_test_towardzero): Likewise.
3030 (tan_downward_test_data): Likewise.
3031 (tan_test_downward): Likewise.
3032 (tan_upward_test_data): Likewise.
3033 (tan_test_upward): Likewise.
3034 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3035 (tgamma_test_data): Likewise.
3036 (y0_test_data): Likewise.
3037 (y1_test_data): Likewise.
3038 (yn_test_data): Update call to AUTO_TESTS_if_f.
3039 (main): Do not call removed functions.
3040
d71aeee8
JM
30412014-03-19 Joseph Myers <joseph@codesourcery.com>
3042
3043 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3044 (ldexp_test_data): Remove.
3045 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3046 scalbn_test_data.
3047 (scalb_test): Use ALL_RM_TEST.
3048
baaf1ded
AS
30492014-03-19 Andreas Schwab <schwab@suse.de>
3050
3051 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3052
b1115e91
JM
30532014-03-19 Joseph Myers <joseph@codesourcery.com>
3054
3055 [BZ #16649]
3056 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3057 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3058 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3060 (__ASSUME_PREADV): Undefine.
3061 (__ASSUME_PWRITEV): Likewise.
3062
0283ecca
RM
30632014-03-18 Roland McGrath <roland@hack.frob.com>
3064
7d375303
RM
3065 * bits/mman-linux.h: Add comment about non-Linux use.
3066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3067 bits/mman-linux.h resting place.
3068
0283ecca
RM
3069 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3070 * bits/mman-linux.h: ... here.
3071
aebe1003
AZ
30722014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3073
3074 * conform/conformtest.pl: Add standard definition when calling C
3075 preprocessor on data files.
3076 (checknamespace): Remove unused variable.
3077
b29b6bb8
JM
30782014-03-18 Joseph Myers <joseph@codesourcery.com>
3079
3080 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3081 minus_oflow, plus_uflow and minus_uflow in expected results.
3082 * math/libm-test.inc (scalbn_test_data): Add more tests of
3083 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3084 minus_uflow.
3085 (scalbn_test): Use ALL_RM_TEST.
3086 (scalbln_test_data): Add more tests of negative arguments. Use
3087 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3088 (scalbln_test): Use ALL_RM_TEST.
3089
c8f8fa15
RM
30902014-03-18 Roland McGrath <roland@hack.frob.com>
3091
3092 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3093
fede7a5f
WN
30942014-03-18 Will Newton <will.newton@linaro.org>
3095
3096 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3097 inaccurate comment.
3098
80cf0a58
JM
30992014-03-18 Joseph Myers <joseph@codesourcery.com>
3100
3101 * Makerules [!subdir] (check-abi): Exit with error status if a
3102 test failed.
3103
b3620862
JM
31042014-03-17 Joseph Myers <joseph@codesourcery.com>
3105
3106 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3107 for rint. Include results for all rounding modes.
3108 (nearbyint_test): Use ALL_RM_TEST.
3109 (rint_test_data): Include all tests used for nearbyint.
3110
788bba36
WN
31112014-03-17 Will Newton <will.newton@linaro.org>
3112
04ec140a
WN
3113 * nptl/sysdeps/pthread/pthread.h: Revert previous
3114 change.
3115
7579d8d5
WN
3116 * sysdeps/generic/ldsodefs.h: Revert previous
3117 change.
3118
c15cf13a
WN
3119 * libio/genops.c: Revert previous change.
3120 * libio/libioP.h: Likewise.
3121 * stdio-common/vfprintf.c: Likewise.
3122
d0ac1324
WN
3123 * sysdeps/generic/math_private.h: Revert previous
3124 change.
3125
9290130a
WN
3126 * sysdeps/generic/math_private.h: Check whether
3127 HAVE_RM_CTX is defined with #ifdef rather
3128 than #if.
3129
afb466fc
WN
3130 * argp/argp-fmtstream.h: Check whether
3131 __STRICT_ANSI__ is defined with #ifdef rather
3132 than #if.
3133 * argp/argp.h: Likewise.
3134
f7efd7c3
WN
3135 * libio/genops.c: Check whether
3136 _IO_JUMPS_OFFSET is defined with #ifdef rather
3137 than #if.
3138 * libio/libioP.h: Likewise.
3139 * stdio-common/vfprintf.c: Likewise.
3140
53f1bed3
WN
3141 * sysdeps/generic/ldsodefs.h: Check whether
3142 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3143 than #if.
3144
788bba36
WN
3145 * nptl/sysdeps/pthread/pthread.h: Check
3146 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3147 its value.
3148
fcd89ebe
SP
31492014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3150
ae42bbc5
SP
3151 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3152 setting O_APPEND.
3153 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3154 test case.
3155
ea33158c
SP
3156 [BZ #16680]
3157 * libio/fileops.c (_IO_file_open): Seek to end of file but
3158 don't cache the offset.
3159 (get_file_offset): Remove function.
3160 (do_ftell): Use cached offset when available.
3161 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3162 don't cache the offset.
3163 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3164 case.
3165 (do_one_test): Call it.
3166 (do_ftell_test): Fix up expected old offset for a+ mode.
3167 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3168 available.
3169
b1dbb426
SP
3170 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3171 up test status with function return status.
3172 (do_write_test): Likewise.
3173 (do_append_test): Likewise.
3174
fcd89ebe
SP
3175 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3176 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3177 Remove.
3178
9962a2d3
JM
31792014-03-17 Joseph Myers <joseph@codesourcery.com>
3180
3181 * math/gen-libm-test.pl (parse_args): Handle results specified for
3182 each rounding mode separately.
3183 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3184 tests and results from lrint_tonearest_test_data,
3185 lrint_towardzero_test_data, lrint_downward_test_data and
3186 lrint_upward_test_data.
3187 (lrint_test): Use ALL_RM_TEST.
3188 (lrint_tonearest_test_data): Remove.
3189 (lrint_test_tonearest): Likewise.
3190 (lrint_towardzero_test_data): Likewise.
3191 (lrint_test_towardzero): Likewise.
3192 (lrint_downward_test_data): Likewise.
3193 (lrint_test_downward): Likewise.
3194 (lrint_upward_test_data): Likewise.
3195 (lrint_test_upward): Likewise.
3196 (llrint_test_data): Merge in per-rounding-mode tests and results
3197 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3198 llrint_downward_test_data and llrint_upward_test_data.
3199 (llrint_test): Use ALL_RM_TEST.
3200 (llrint_tonearest_test_data): Remove.
3201 (llrint_test_tonearest): Likewise.
3202 (llrint_towardzero_test_data): Likewise.
3203 (llrint_test_towardzero): Likewise.
3204 (llrint_downward_test_data): Likewise.
3205 (llrint_test_downward): Likewise.
3206 (llrint_upward_test_data): Likewise.
3207 (llrint_test_upward): Likewise.
3208 (rint_test_data): Merge in per-rounding-mode tests and results
3209 from rint_tonearest_test_data, rint_towardzero_test_data,
3210 rint_downward_test_data and rint_upward_test_data. Add
3211 per-rounding-mode results for tests not in those arrays.
3212 (rint_test): Use ALL_RM_TEST.
3213 (rint_tonearest_test_data): Remove.
3214 (rint_test_tonearest): Likewise.
3215 (rint_towardzero_test_data): Likewise.
3216 (rint_test_towardzero): Likewise.
3217 (rint_downward_test_data): Likewise.
3218 (rint_test_downward): Likewise.
3219 (rint_upward_test_data): Likewise.
3220 (rint_test_upward): Likewise.
3221 (main): Don't call removed functions.
3222
5006148e
RM
32232014-03-14 Roland McGrath <roland@hack.frob.com>
3224
3225 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3226 "Compiled on ..." crapola. It is anti-useful.
3227
d6fe5e58
JM
32282014-03-14 Joseph Myers <joseph@codesourcery.com>
3229
3230 * scripts/evaluate-test.sh: Handle fourth argument to determine
3231 whether test run should stop on failure.
3232 * Makeconfig (stop-on-test-failure): New variable.
3233 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3234 $(stop-on-test-failure).
3235 * Makefile (tests): Give a summary of results from testing and
3236 exit with failure status if they include an ERROR or FAIL.
3237 (xtests): Likewise.
3238 * manual/install.texi (Configuring and compiling): Mention
3239 stop-on-test-failure=y.
3240 * INSTALL: Regenerated.
3241
498a2233
RM
32422014-03-14 Roland McGrath <roland@hack.frob.com>
3243
22dbc19d
RM
3244 * scripts/versionlist.awk: New file.
3245 * Makerules [$(build-shared) = yes]
3246 (postclean-generated): Add Versions.def, not Versions.def.v and
3247 Versions.def.v.i.
3248 ($(common-objpfx)Versions.def.v.i): Target removed.
3249 ($(common-objpfx)Versions.def): New target.
3250 ($(common-objpfx)Versions.all): Depend on that rather that
3251 $(common-objpfx)Versions.def.v.
3252 * Versions.def: File removed.
3253
498a2233
RM
3254 * Makeconfig (+gccwarn): Add -Wundef.
3255 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3256 a dl-sysdep.h breaking its contract.
3257 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3258 * include/stackinfo.h: New file.
3259 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3260 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3261 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3262 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3263 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3264 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3265 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3266 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3267 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3268 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3269 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3270 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3271 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3272 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3273 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3274
c7de5025
AZ
32752014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3276
3277 [BZ #16707]
3278 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3279 implementation.
3280 * math/libm-test.inc (round_test_data): Add more tests.
3281
98fb27a3
AZ
3282 [BZ #16706]
3283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3284 implementation.
3285 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3286
374f7f61
AZ
3287 [BZ #16701]
3288 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3289 implementation.
3290 * math/libm-test.inc (ceil_test_data): Add more tests.
3291
4655c291
AZ
3292 * math/libm-test.inc (trunc_test_data): Add more tests related to
3293 BZ#16414.
3294
d7329d4b
RM
32952014-03-14 Roland McGrath <roland@hack.frob.com>
3296
3297 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3298 with #if rather than #ifdef.
3299 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3300
aa4de9ce
L
33012014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3302
3303 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3304 first. Disable AVX-512 GCC support if assembler doesn't support
3305 it.
3306 * sysdeps/x86_64/configure: Regenerated.
3307
2e03fae7
CD
33082014-03-13 Carlos O'Donell <carlos@redhat.com>
3309
3310 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3311 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3312 (__old_pthread_attr_setstack): Likewise.
3313 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3314 [!_STACK_GROWS_DOWN]: Likewise.
3315
43ca83ec
MF
33162014-03-13 Mike Frysinger <vapier@gentoo.org>
3317
3318 * config.make.in (have-bash2): Delete.
3319 * configure.ac (libc_cv_have_bash2): Delete.
3320 * configure: Regenerate.
3321 * elf/Makefile (common-ldd-rewrite): Rename to ...
3322 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3323 (sh-ldd-rewrite): Delete.
3324 (bash-ldd-rewrite): Delete.
3325 (have-bash2): Delete checks.
57f41c40
AS
3326 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3327 ldd-rewrite.
c66e48b4
MF
3328
3329 * config.make.in (have-ksh): Delete.
3330 (KSH): Delete.
3331 * configure.ac (libc_cv_have_ksh): Delete.
3332 * configure: Regenerate.
3333
b93834ef
MF
3334 * elf/Makefile: Delete $(have-ksh) check.
3335 ($(objpfx)sotruss): Change KSH to BASH.
3336 * elf/sotruss.ksh: Rename to ...
3337 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3338 function style to match POSIX. Drop ksh vim mode setting.
3339
f3a4632a
MF
3340 * manual/time.texi (Specifying the Time Zone with TZ): Change
3341 Tuesday to Thursday.
3342
5896c8bd
MF
3343 * debug/tst-longjmp_chk2.c: Update header comment.
3344 (stackoverflow_handler): Add comment. Call assert on pass value.
3345
2d63a517
IZ
33462014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3347
3348 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3349 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3350 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3351 (La_x86_64_vector): Add zmm.
3352 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3353 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3354 ($(objpfx)tst-audit10): New target.
3355 ($(objpfx)tst-audit10.out): Likewise.
3356 (tst-audit10-ENV): New.
3357 (AVX512-CFLAGS): Likewise.
3358 (CFLAGS-tst-audit10.c): Likewise.
3359 (CFLAGS-tst-auditmod10a.c): Likewise.
3360 (CFLAGS-tst-auditmod10b.c): Likewise.
3361 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3362 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3363 * sysdeps/x86_64/configure: Regenerated.
3364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3365 AVX-512 zmm register support.
3366 (_dl_x86_64_save_sse): Likewise.
3367 (_dl_x86_64_restore_sse): Likewise.
3368 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3369 size vector registers.
3370 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3371 (ZMM_SIZE): Likewise.
3372 * sysdeps/x86_64/tst-audit10.c: New file.
3373 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3374 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3375
44c4e5d5
RM
33762014-03-13 Roland McGrath <roland@hack.frob.com>
3377
3378 * configure.ac (HAVE_EHDR_START): New check.
3379 * configure: Regenerated.
3380 * config.h.in (HAVE_EHDR_START): New #undef.
3381 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3382 assuming the lowest-addressed segment maps the start of the file.
3383
acd6e389
JM
33842014-03-13 Joseph Myers <joseph@codesourcery.com>
3385
3386 * INSTALL: Regenerated.
3387
6f918f36
WN
33882014-03-13 Will Newton <will.newton@linaro.org>
3389
3390 * manual/setjmp.texi (System V contexts): Improve
3391 clarity and grammar of documentation.
3392
798212a0
PP
33932014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3394
3395 [BZ #16381]
798212a0 3396 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3397 (tests-pie): Add tst-pie2.
798212a0
PP
3398 * elf/tst-pie2.c: New file.
3399 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3400 for ET_EXEC.
3401 * elf/rtld.c (map_doit): Load executable as lt_executable.
3402 (dl_main): Likewise.
3403
abe6d90c
JM
34042014-03-12 Joseph Myers <joseph@codesourcery.com>
3405
3406 [BZ #16642]
3407 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3408 (__ASSUME_PSELECT): Undefine.
3409
dd3946c6
AZ
34102014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3411
3412 [BZ #16689]
3413 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3414 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3415 static build.
3416 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3417 selector for static builds.
3418
c44496df
SP
34192014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3420
3421 [BZ #16695]
3422 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3423 key in the buffer.
3424
27c7220a
AZ
34252014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3426
57f41c40
AS
3427 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3428 IFUNC selector for static builds.
27c7220a 3429
600fa361
JM
34302014-03-11 Joseph Myers <joseph@codesourcery.com>
3431
76c96cf7
JM
3432 * sysdeps/mips/math_private.h [__mips_hard_float]
3433 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3434 libc_feresetround_mips_ctx.
3435 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3436 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3437 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3438
600fa361
JM
3439 [BZ #16677]
3440 * math/s_nextafter.c (__nextafter): Do not return value from
3441 overflowing computation.
3442 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3443 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3444 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3445 Likewise.
3446 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3447 Likewise.
3448 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3449 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3450
d7706c32
RM
34512014-03-11 Roland McGrath <roland@hack.frob.com>
3452
3453 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3454 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3455 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3456 the new mov targetting sp.
3457
4facea47
AZ
34582014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3459
3460 [BZ #16683]
3461 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3462 Define it for static builds as well.
3463 (NO_BZERO_IMPL): Likewise.
3464
e65caf1f
VR
34652014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3466
3467 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3468 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3469 multiarch strspn for PPC64.
3470 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3471 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3473 (__libc_ifunc_impl_list): Likewise.
3474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3475 multiarch optimizations
3476 * string/strspn.c (strspn): Using macro to redefine symbol name.
3477
ba9cc071
AZ
34782014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3479 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480
3481 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3482 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3483 multiarch strncat for PPC64.
3484 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3485 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3487 (__libc_ifunc_impl_list): Likewise.
3488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3489 multiarch optimizations
3490
8b4ff974
SP
34912014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3492
3493 [BZ #16639]
3494 * nscd/nscd.service: Make service type forking.
3495
54b46a4b
AZ
34962014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3497
3498 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3499 sign in non default rounding modes.
3500 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3501
e9996ef7
JM
35022014-03-08 Joseph Myers <joseph@codesourcery.com>
3503
3504 * math/libm-test.inc (ALL_RM_TEST): New macro.
3505 (ceil_test): Use ALL_RM_TEST.
3506 (cimag_test): Likewise.
3507 (conj_test): Likewise.
3508 (copysign_test): Likewise.
3509 (cproj_test): Likewise.
3510 (creal_test): Likewise.
3511 (fabs_test): Likewise.
3512 (floor_test): Likewise.
3513 (fmax_test): Likewise.
3514 (fmin_test): Likewise.
3515 (fmod_test): Likewise.
3516 (fpclassify_test): Likewise.
3517 (frexp_test): Likewise.
3518 (ilogb_test): Likewise.
3519 (isfinite_test): Likewise.
3520 (finite_test): Likewise.
3521 (isgreater_test): Likewise.
3522 (isgreaterequal_test): Likewise.
3523 (isinf_test): Likewise.
3524 (isless_test): Likewise.
3525 (islessequal_test): Likewise.
3526 (islessgreater_test): Likewise.
3527 (isnan_test): Likewise.
3528 (isnormal_test): Likewise.
3529 (issignaling_test): Likewise.
3530 (isunordered_test): Likewise.
3531 (logb_test): Likewise.
3532 (logb_downward_test_data): Remove.
3533 (logb_test_downward): Likewise.
3534 (lround_test): Use ALL_RM_TEST.
3535 (llround_test): Likewise.
3536 (modf_test): Likewise.
3537 (nexttoward_test): Likewise.
3538 (remainder_test): Likewise.
3539 (drem_test): Likewise.
3540 (remainder_tonearest_test_data): Likewise.
3541 (remainder_test_tonearest): Likewise.
3542 (drem_test_tonearest): Likewise.
3543 (remainder_towardzero_test_data): Likewise.
3544 (remainder_test_towardzero): Likewise.
3545 (drem_test_towardzero): Likewise.
3546 (remainder_downward_test_data): Likewise.
3547 (remainder_test_downward): Likewise.
3548 (drem_test_downward): Likewise.
3549 (remainder_upward_test_data): Likewise.
3550 (remainder_test_upward): Likewise.
3551 (drem_test_upward): Likewise.
3552 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3553 (round_test): Use ALL_RM_TEST.
3554 (signbit_test): Likewise.
3555 (trunc_test): Likewise.
3556 (significand_test): Likewise.
3557 (main): Don't call removed functions.
3558
bc61d27c
JM
35592014-03-07 Joseph Myers <joseph@codesourcery.com>
3560
5c780849
JM
3561 [BZ #16674]
3562 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3563 || __USE_XOPEN2K8].
3564 (ILL_ILLOPN): Likewise.
3565 (ILL_ILLADR): Likewise.
3566 (ILL_ILLTRP): Likewise.
3567 (ILL_PRVOPC): Likewise.
3568 (ILL_PRVREG): Likewise.
3569 (ILL_COPROC): Likewise.
3570 (ILL_BADSTK): Likewise.
3571 (FPE_INTDIV): Likewise.
3572 (FPE_INTOVF): Likewise.
3573 (FPE_FLTDIV): Likewise.
3574 (FPE_FLTOVF): Likewise.
3575 (FPE_FLTUND): Likewise.
3576 (FPE_FLTRES): Likewise.
3577 (FPE_FLTINV): Likewise.
3578 (FPE_FLTSUB): Likewise.
3579 (SEGV_MAPERR): Likewise.
3580 (SEGV_ACCERR): Likewise.
3581 (BUS_ADRALN): Likewise.
3582 (BUS_ADRERR): Likewise.
3583 (BUS_OBJERR): Likewise.
3584 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3585 (TRAP_TRACE): Likewise.
3586 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3587 __USE_XOPEN2K8].
3588 (CLD_KILLED): Likewise.
3589 (CLD_DUMPED): Likewise.
3590 (CLD_TRAPPED): Likewise.
3591 (CLD_STOPPED): Likewise.
3592 (CLD_CONTINUED): Likewise.
3593 (POLL_IN): Likewise.
3594 (POLL_OUT): Likewise.
3595 (POLL_MSG): Likewise.
3596 (POLL_ERR): Likewise.
3597 (POLL_PRI): Likewise.
3598 (POLL_HUP): Likewise.
3599 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3600 Likewise.
3601 (ILL_ILLOPN): Likewise.
3602 (ILL_ILLADR): Likewise.
3603 (ILL_ILLTRP): Likewise.
3604 (ILL_PRVOPC): Likewise.
3605 (ILL_PRVREG): Likewise.
3606 (ILL_COPROC): Likewise.
3607 (ILL_BADSTK): Likewise.
3608 (FPE_INTDIV): Likewise.
3609 (FPE_INTOVF): Likewise.
3610 (FPE_FLTDIV): Likewise.
3611 (FPE_FLTOVF): Likewise.
3612 (FPE_FLTUND): Likewise.
3613 (FPE_FLTRES): Likewise.
3614 (FPE_FLTINV): Likewise.
3615 (FPE_FLTSUB): Likewise.
3616 (SEGV_MAPERR): Likewise.
3617 (SEGV_ACCERR): Likewise.
3618 (BUS_ADRALN): Likewise.
3619 (BUS_ADRERR): Likewise.
3620 (BUS_OBJERR): Likewise.
3621 (BUS_MCEERR_AR): Likewise.
3622 (BUS_MCEERR_AO): Likewise.
3623 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3624 (TRAP_TRACE): Likewise.
3625 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3626 __USE_XOPEN2K8].
3627 (CLD_KILLED): Likewise.
3628 (CLD_DUMPED): Likewise.
3629 (CLD_TRAPPED): Likewise.
3630 (CLD_STOPPED): Likewise.
3631 (CLD_CONTINUED): Likewise.
3632 (POLL_IN): Likewise.
3633 (POLL_OUT): Likewise.
3634 (POLL_MSG): Likewise.
3635 (POLL_ERR): Likewise.
3636 (POLL_PRI): Likewise.
3637 (POLL_HUP): Likewise.
3638 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3639 (ILL_ILLOPN): Likewise.
3640 (ILL_ILLADR): Likewise.
3641 (ILL_ILLTRP): Likewise.
3642 (ILL_PRVOPC): Likewise.
3643 (ILL_PRVREG): Likewise.
3644 (ILL_COPROC): Likewise.
3645 (ILL_BADSTK): Likewise.
3646 (FPE_INTDIV): Likewise.
3647 (FPE_INTOVF): Likewise.
3648 (FPE_FLTDIV): Likewise.
3649 (FPE_FLTOVF): Likewise.
3650 (FPE_FLTUND): Likewise.
3651 (FPE_FLTRES): Likewise.
3652 (FPE_FLTINV): Likewise.
3653 (FPE_FLTSUB): Likewise.
3654 (SEGV_MAPERR): Likewise.
3655 (SEGV_ACCERR): Likewise.
3656 (BUS_ADRALN): Likewise.
3657 (BUS_ADRERR): Likewise.
3658 (BUS_OBJERR): Likewise.
3659 (BUS_MCEERR_AR): Likewise.
3660 (BUS_MCEERR_AO): Likewise.
3661 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3662 (TRAP_TRACE): Likewise.
3663 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3664 __USE_XOPEN2K8].
3665 (CLD_KILLED): Likewise.
3666 (CLD_DUMPED): Likewise.
3667 (CLD_TRAPPED): Likewise.
3668 (CLD_STOPPED): Likewise.
3669 (CLD_CONTINUED): Likewise.
3670 (POLL_IN): Likewise.
3671 (POLL_OUT): Likewise.
3672 (POLL_MSG): Likewise.
3673 (POLL_ERR): Likewise.
3674 (POLL_PRI): Likewise.
3675 (POLL_HUP): Likewise.
3676 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3677 Likewise.
3678 (ILL_ILLOPN): Likewise.
3679 (ILL_ILLADR): Likewise.
3680 (ILL_ILLTRP): Likewise.
3681 (ILL_PRVOPC): Likewise.
3682 (ILL_PRVREG): Likewise.
3683 (ILL_COPROC): Likewise.
3684 (ILL_BADSTK): Likewise.
3685 (ILL_BADIADDR): Likewise.
3686 (ILL_BREAK): Likewise.
3687 (FPE_INTDIV): Likewise.
3688 (FPE_INTOVF): Likewise.
3689 (FPE_FLTDIV): Likewise.
3690 (FPE_FLTOVF): Likewise.
3691 (FPE_FLTUND): Likewise.
3692 (FPE_FLTRES): Likewise.
3693 (FPE_FLTINV): Likewise.
3694 (FPE_FLTSUB): Likewise.
3695 (FPE_DECOVF): Likewise.
3696 (FPE_DECDIV): Likewise.
3697 (FPE_DECERR): Likewise.
3698 (FPE_INVASC): Likewise.
3699 (FPE_INVDEC): Likewise.
3700 (SEGV_MAPERR): Likewise.
3701 (SEGV_ACCERR): Likewise.
3702 (SEGV_PSTKOVF): Likewise.
3703 (BUS_ADRALN): Likewise.
3704 (BUS_ADRERR): Likewise.
3705 (BUS_OBJERR): Likewise.
3706 (BUS_MCEERR_AR): Likewise.
3707 (BUS_MCEERR_AO): Likewise.
3708 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3709 (TRAP_TRACE): Likewise.
3710 (TRAP_BRANCH): Likewise.
3711 (TRAP_HWBKPT): Likewise.
3712 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3713 __USE_XOPEN2K8].
3714 (CLD_KILLED): Likewise.
3715 (CLD_DUMPED): Likewise.
3716 (CLD_TRAPPED): Likewise.
3717 (CLD_STOPPED): Likewise.
3718 (CLD_CONTINUED): Likewise.
3719 (POLL_IN): Likewise.
3720 (POLL_OUT): Likewise.
3721 (POLL_MSG): Likewise.
3722 (POLL_ERR): Likewise.
3723 (POLL_PRI): Likewise.
3724 (POLL_HUP): Likewise.
3725 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3726 (ILL_ILLOPN): Likewise.
3727 (ILL_ILLADR): Likewise.
3728 (ILL_ILLTRP): Likewise.
3729 (ILL_PRVOPC): Likewise.
3730 (ILL_PRVREG): Likewise.
3731 (ILL_COPROC): Likewise.
3732 (ILL_BADSTK): Likewise.
3733 (FPE_INTDIV): Likewise.
3734 (FPE_INTOVF): Likewise.
3735 (FPE_FLTDIV): Likewise.
3736 (FPE_FLTOVF): Likewise.
3737 (FPE_FLTUND): Likewise.
3738 (FPE_FLTRES): Likewise.
3739 (FPE_FLTINV): Likewise.
3740 (FPE_FLTSUB): Likewise.
3741 (SEGV_MAPERR): Likewise.
3742 (SEGV_ACCERR): Likewise.
3743 (BUS_ADRALN): Likewise.
3744 (BUS_ADRERR): Likewise.
3745 (BUS_OBJERR): Likewise.
3746 (BUS_MCEERR_AR): Likewise.
3747 (BUS_MCEERR_AO): Likewise.
3748 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3749 (TRAP_TRACE): Likewise.
3750 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3751 __USE_XOPEN2K8].
3752 (CLD_KILLED): Likewise.
3753 (CLD_DUMPED): Likewise.
3754 (CLD_TRAPPED): Likewise.
3755 (CLD_STOPPED): Likewise.
3756 (CLD_CONTINUED): Likewise.
3757 (POLL_IN): Likewise.
3758 (POLL_OUT): Likewise.
3759 (POLL_MSG): Likewise.
3760 (POLL_ERR): Likewise.
3761 (POLL_PRI): Likewise.
3762 (POLL_HUP): Likewise.
3763 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3764 (ILL_ILLOPN): Likewise.
3765 (ILL_ILLADR): Likewise.
3766 (ILL_ILLTRP): Likewise.
3767 (ILL_PRVOPC): Likewise.
3768 (ILL_PRVREG): Likewise.
3769 (ILL_COPROC): Likewise.
3770 (ILL_BADSTK): Likewise.
3771 (FPE_INTDIV): Likewise.
3772 (FPE_INTOVF): Likewise.
3773 (FPE_FLTDIV): Likewise.
3774 (FPE_FLTOVF): Likewise.
3775 (FPE_FLTUND): Likewise.
3776 (FPE_FLTRES): Likewise.
3777 (FPE_FLTINV): Likewise.
3778 (FPE_FLTSUB): Likewise.
3779 (SEGV_MAPERR): Likewise.
3780 (SEGV_ACCERR): Likewise.
3781 (BUS_ADRALN): Likewise.
3782 (BUS_ADRERR): Likewise.
3783 (BUS_OBJERR): Likewise.
3784 (BUS_MCEERR_AR): Likewise.
3785 (BUS_MCEERR_AO): Likewise.
3786 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3787 (TRAP_TRACE): Likewise.
3788 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3789 __USE_XOPEN2K8].
3790 (CLD_KILLED): Likewise.
3791 (CLD_DUMPED): Likewise.
3792 (CLD_TRAPPED): Likewise.
3793 (CLD_STOPPED): Likewise.
3794 (CLD_CONTINUED): Likewise.
3795 (POLL_IN): Likewise.
3796 (POLL_OUT): Likewise.
3797 (POLL_MSG): Likewise.
3798 (POLL_ERR): Likewise.
3799 (POLL_PRI): Likewise.
3800 (POLL_HUP): Likewise.
3801 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3802 (ILL_ILLOPN): Likewise.
3803 (ILL_ILLADR): Likewise.
3804 (ILL_ILLTRP): Likewise.
3805 (ILL_PRVOPC): Likewise.
3806 (ILL_PRVREG): Likewise.
3807 (ILL_COPROC): Likewise.
3808 (ILL_BADSTK): Likewise.
3809 (FPE_INTDIV): Likewise.
3810 (FPE_INTOVF): Likewise.
3811 (FPE_FLTDIV): Likewise.
3812 (FPE_FLTOVF): Likewise.
3813 (FPE_FLTUND): Likewise.
3814 (FPE_FLTRES): Likewise.
3815 (FPE_FLTINV): Likewise.
3816 (FPE_FLTSUB): Likewise.
3817 (SEGV_MAPERR): Likewise.
3818 (SEGV_ACCERR): Likewise.
3819 (BUS_ADRALN): Likewise.
3820 (BUS_ADRERR): Likewise.
3821 (BUS_OBJERR): Likewise.
3822 (BUS_MCEERR_AR): Likewise.
3823 (BUS_MCEERR_AO): Likewise.
3824 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3825 (TRAP_TRACE): Likewise.
3826 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3827 __USE_XOPEN2K8].
3828 (CLD_KILLED): Likewise.
3829 (CLD_DUMPED): Likewise.
3830 (CLD_TRAPPED): Likewise.
3831 (CLD_STOPPED): Likewise.
3832 (CLD_CONTINUED): Likewise.
3833 (POLL_IN): Likewise.
3834 (POLL_OUT): Likewise.
3835 (POLL_MSG): Likewise.
3836 (POLL_ERR): Likewise.
3837 (POLL_PRI): Likewise.
3838 (POLL_HUP): Likewise.
3839 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3840 (ILL_ILLOPN): Likewise.
3841 (ILL_ILLADR): Likewise.
3842 (ILL_ILLTRP): Likewise.
3843 (ILL_PRVOPC): Likewise.
3844 (ILL_PRVREG): Likewise.
3845 (ILL_COPROC): Likewise.
3846 (ILL_BADSTK): Likewise.
3847 (ILL_DBLFLT): Likewise.
3848 (ILL_HARDWALL): Likewise.
3849 (FPE_INTDIV): Likewise.
3850 (FPE_INTOVF): Likewise.
3851 (FPE_FLTDIV): Likewise.
3852 (FPE_FLTOVF): Likewise.
3853 (FPE_FLTUND): Likewise.
3854 (FPE_FLTRES): Likewise.
3855 (FPE_FLTINV): Likewise.
3856 (FPE_FLTSUB): Likewise.
3857 (SEGV_MAPERR): Likewise.
3858 (SEGV_ACCERR): Likewise.
3859 (BUS_ADRALN): Likewise.
3860 (BUS_ADRERR): Likewise.
3861 (BUS_OBJERR): Likewise.
3862 (BUS_MCEERR_AR): Likewise.
3863 (BUS_MCEERR_AO): Likewise.
3864 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3865 (TRAP_TRACE): Likewise.
3866 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3867 __USE_XOPEN2K8].
3868 (CLD_KILLED): Likewise.
3869 (CLD_DUMPED): Likewise.
3870 (CLD_TRAPPED): Likewise.
3871 (CLD_STOPPED): Likewise.
3872 (CLD_CONTINUED): Likewise.
3873 (POLL_IN): Likewise.
3874 (POLL_OUT): Likewise.
3875 (POLL_MSG): Likewise.
3876 (POLL_ERR): Likewise.
3877 (POLL_PRI): Likewise.
3878 (POLL_HUP): Likewise.
3879 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3880 (ILL_ILLOPN): Likewise.
3881 (ILL_ILLADR): Likewise.
3882 (ILL_ILLTRP): Likewise.
3883 (ILL_PRVOPC): Likewise.
3884 (ILL_PRVREG): Likewise.
3885 (ILL_COPROC): Likewise.
3886 (ILL_BADSTK): Likewise.
3887 (FPE_INTDIV): Likewise.
3888 (FPE_INTOVF): Likewise.
3889 (FPE_FLTDIV): Likewise.
3890 (FPE_FLTOVF): Likewise.
3891 (FPE_FLTUND): Likewise.
3892 (FPE_FLTRES): Likewise.
3893 (FPE_FLTINV): Likewise.
3894 (FPE_FLTSUB): Likewise.
3895 (SEGV_MAPERR): Likewise.
3896 (SEGV_ACCERR): Likewise.
3897 (BUS_ADRALN): Likewise.
3898 (BUS_ADRERR): Likewise.
3899 (BUS_OBJERR): Likewise.
3900 (BUS_MCEERR_AR): Likewise.
3901 (BUS_MCEERR_AO): Likewise.
3902 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3903 (TRAP_TRACE): Likewise.
3904 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3905 __USE_XOPEN2K8].
3906 (CLD_KILLED): Likewise.
3907 (CLD_DUMPED): Likewise.
3908 (CLD_TRAPPED): Likewise.
3909 (CLD_STOPPED): Likewise.
3910 (CLD_CONTINUED): Likewise.
3911 (POLL_IN): Likewise.
3912 (POLL_OUT): Likewise.
3913 (POLL_MSG): Likewise.
3914 (POLL_ERR): Likewise.
3915 (POLL_PRI): Likewise.
3916 (POLL_HUP): Likewise.
3917 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3918 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3919
bc61d27c
JM
3920 [BZ #16670]
3921 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3922 before #include of <time.h>.
3923 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3924 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3925 (test-xfail-UNIX98/sched.h/conform): Likewise.
3926
302949e2
MS
39272014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3928
3929 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3930 error absence of trapping exception support.
3931 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3932
a00f522a
JM
39332014-03-07 Joseph Myers <joseph@codesourcery.com>
3934
6f99f280
JM
3935 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3936 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3937 * timezone/Makefile (testdata): Move definition above include of
3938 Rules.
3939 (test-zones): New variable.
3940 (tests-special): Add zone files.
3941 (build-testdata): Use $(evaluate-test).
3942
0b20a9e8
JM
3943 * elf/Makefile (tests-special): Rename tests to end with .out.
3944 ($(objpfx)noload-mem): Likewise.
3945 ($(objpfx)tst-leaks1-mem): Likewise.
3946 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3947 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3948 $(objpfx)test-iconvconfig.out.
3949 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3950 set -e inside subshell and redirect output to file.
3951 * iconvdata/Makefile (generated): Rename tests to end with .out.
3952 Correct type.
3953 (tests-special): Rename tests to end with .out.
3954 ($(objpfx)mtrace-tst-loading): Likewise.
3955 * intl/Makefile (generated): Likewise.
3956 (tests-special): Likewise.
3957 ($(objpfx)mtrace-tst-gettext): Likewise.
3958 * misc/Makefile (generated): Likewise.
3959 (tests-special): Likewise.
3960 ($(objpfx)tst-error1-mem): Likewise.
3961 * nptl/Makefile (tests-special): Likewise.
3962 ($(objpfx)tst-stack3-mem): Likewise.
3963 (generated): Likewise.
3964 * posix/Makefile (generated): Likewise.
3965 (tests-special): Likewise.
3966 (xtests-special): Likewise.
3967 ($(objpfx)tst-fnmatch-mem): Likewise.
3968 ($(objpfx)bug-regex2-mem): Likewise.
3969 ($(objpfx)bug-regex14-mem): Likewise.
3970 ($(objpfx)bug-regex21-mem): Likewise.
3971 ($(objpfx)bug-regex31-mem): Likewise.
3972 ($(objpfx)tst-vfork3-mem): Likewise.
3973 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3974 ($(objpfx)tst-pcre-mem): Likewise.
3975 ($(objpfx)tst-boost-mem): Likewise.
3976 ($(objpfx)bug-ga2-mem): Likewise.
3977 ($(objpfx)bug-glob2-mem): Likewise.
3978 * resolv/Makefile (generate): Likewise.
3979 (tests-special): Likewise.
3980 (xtests-special): Likewise.
3981 (generated): Likewise.
3982 ($(objpfx)mtrace-tst-leaks): Likewise.
3983 ($(objpfx)mtrace-tst-leaks2): Likewise.
3984
265d52ab
JM
3985 * scripts/merge-test-results.sh: New file.
3986 * Makefile (tests-special-notdir): New variable.
3987 (tests): Run merge-test-results.sh.
3988 (xtests): Likewise.
3989 * Rules (tests-special-notdir): New variable.
3990 (xtests-special-notdir): Likewise.
3991 (tests): Run merge-test-results.sh
3992 (xtests): Likewise.
3993
54ee292d
JM
3994 * Makeconfig (test-xfail-name): New variable.
3995 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3996 compute variable name for expected failures.
3997 * conform/Makefile (conformtest-headers-data): New variable.
3998 (conformtest-standards): Likewise.
3999 (conformtest-headers-ISO): Likewise.
4000 (conformtest-headers-ISO99): Likewise.
4001 (conformtest-headers-ISO11): Likewise.
4002 (conformtest-headers-POSIX): Likewise.
4003 (conformtest-headers-XPG3): Likewise.
4004 (conformtest-headers-XPG4): Likewise.
4005 (conformtest-headers-UNIX98): Likewise.
4006 (conformtest-headers-XOPEN2K): Likewise.
4007 (conformtest-headers-POSIX2008): Likewise.
4008 (conformtest-headers-XOPEN2K8): Likewise.
4009 (conformtest-header-list-base): Likewise.
4010 (conformtest-header-list-tests): Likewise.
4011 (conformtest-header-base): Likewise.
4012 (conformtest-header-tests): Likewise.
4013 (tests-special): Add $(conformtest-header-list-tests). If
4014 [$(fast-check) && !$(cross-compiling)], add
4015 $(conformtest-header-tests) instead of
4016 $(objpfx)run-conformtest.out.
4017 (generated): Add $(conformtest-header-list-base). If
4018 [$(fast-check) && !$(cross-compiling)], add
4019 $(conformtest-header-base). Remove previous setting.
4020 ($(conformtest-header-list-tests)): New target.
4021 (test-xfail-run-conformtest): Remove variable.
4022 ($(objpfx)run-conformtest.out): Remove target.
4023 (test-xfail-ISO11/complex.h/conform): New variable.
4024 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4025 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4026 (test-xfail-XPG3/varargs.h/conform): Likewise.
4027 (test-xfail-XPG4/varargs.h/conform): Likewise.
4028 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4029 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4030 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4031 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4032 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4033 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4034 (test-xfail-XPG3/ftw.h/conform): Likewise.
4035 (test-xfail-XPG3/grp.h/conform): Likewise.
4036 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4037 (test-xfail-XPG3/limits.h/conform): Likewise.
4038 (test-xfail-XPG3/pwd.h/conform): Likewise.
4039 (test-xfail-XPG3/search.h/conform): Likewise.
4040 (test-xfail-XPG3/signal.h/conform): Likewise.
4041 (test-xfail-XPG3/stdio.h/conform): Likewise.
4042 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4043 (test-xfail-XPG3/string.h/conform): Likewise.
4044 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4045 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4046 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4047 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4048 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4049 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4050 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4051 (test-xfail-XPG3/termios.h/conform): Likewise.
4052 (test-xfail-XPG3/time.h/conform): Likewise.
4053 (test-xfail-XPG3/unistd.h/conform): Likewise.
4054 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4055 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4056 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4057 (test-xfail-XPG4/netdb.h/conform): Likewise.
4058 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4059 (test-xfail-XPG4/signal.h/conform): Likewise.
4060 (test-xfail-XPG4/stdio.h/conform): Likewise.
4061 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4062 (test-xfail-XPG4/stropts.h/conform): Likewise.
4063 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4064 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4065 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4066 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4067 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4068 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4069 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4070 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4071 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4072 (test-xfail-XPG4/termios.h/conform): Likewise.
4073 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4074 (test-xfail-XPG4/unistd.h/conform): Likewise.
4075 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4076 (test-xfail-POSIX/sched.h/conform): Likewise.
4077 (test-xfail-POSIX/signal.h/conform): Likewise.
4078 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4079 (test-xfail-POSIX/tar.h/conform): Likewise.
4080 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4081 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4082 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4083 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4084 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4085 (test-xfail-UNIX98/sched.h/conform): Likewise.
4086 (test-xfail-UNIX98/signal.h/conform): Likewise.
4087 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4088 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4089 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4090 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4091 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4092 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4093 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4094 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4095 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4096 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4097 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4098 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4099 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4100 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4101 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4102 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4103 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4104 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4105 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4106 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4107 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4108 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4109 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4110 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4111 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4112 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4113 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4114 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4115 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4116 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4117 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4118 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4119 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4120 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4121 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4122 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4123 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4124 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4125 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4126 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4127 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4128 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4129 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4130 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4131 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4132 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4133 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4134 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4135 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4136 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4137 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4138 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4139 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4140 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4141 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4142 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4143 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4144 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4145 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4146 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4147 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4148 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4149 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4150 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4151 (conformtest-cc-flags): Likewise.
4152 ($(conformtest-header-tests): New target.
4153 * conform/check-header-lists.sh: New file.
4154 * conform/run-conformtest.sh: Remove.
4155
a00f522a
JM
4156 * conform/conformtest.pl: Allow ' and \ in values given for
4157 constants.
4158 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4159 inclusion.
4160 [POSIX] (sys/types.h): Likewise.
4161 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4162 inclusion.
4163 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4164 inclusion.
4165 * conform/data/signal.h-data (SIGIO): Remove expectation.
4166 [XPG3] (SIGBUS): Do not expect.
4167 [POSIX || XPG3] (SIGPOLL): Likewise.
4168 [POSIX || XPG3] (SIGPROF): Likewise.
4169 [POSIX || XPG3] (SIGSYS): Likewise.
4170 [XPG3] (SIGTRAP): Likewise.
4171 [POSIX || XPG3] (SIGURG): Likewise.
4172 [POSIX || XPG3] (SIGVTALRM): Likewise.
4173 [POSIX || XPG3] (SIGXCPU): Likewise.
4174 [POSIX || XPG3] (SIGXFSZ): Likewise.
4175 [POSIX] (SA_SIGINFO): Expect.
4176 [XPG3] (siginfo_t): Do not expect type or contents.
4177 [POSIX] (si_pid): Do not expect element.
4178 [POSIX] (si_uid): Likewise.
4179 [POSIX] (si_addr): Likewise.
4180 [POSIX] (si_status): Likewise.
4181 [POSIX] (si_band): Likewise.
4182 [XPG4] (si_value): Likewise.
4183 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4184 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4185 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4186 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4187 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4188 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4189 [POSIX || XPG3] (ILL_COPROC): Likewise.
4190 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4191 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4192 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4193 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4194 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4195 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4196 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4197 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4198 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4199 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4200 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4201 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4202 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4203 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4204 [POSIX || XPG3] (CLD_EXITED): Likewise.
4205 [POSIX || XPG3] (CLD_KILLED): Likewise.
4206 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4207 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4208 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4209 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4210 [POSIX || XPG3] (POLL_IN): Likewise.
4211 [POSIX || XPG3] (POLL_OUT): Likewise.
4212 [POSIX || XPG3] (POLL_MSG): Likewise.
4213 [POSIX || XPG3] (POLL_ERR): Likewise.
4214 [POSIX || XPG3] (POLL_PRI): Likewise.
4215 [POSIX || XPG3] (POLL_HUP): Likewise.
4216 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4217 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4218 (SIG*): Do not allow.
4219 [XPG3] (si_*): Likewise.
4220 [XPG3] (SI_*): Likewise.
4221 [XPG3 || XPG4] (sigev_*): Likewise.
4222 [XPG3 || XPG4] (SIGEV_*): Likewise.
4223 [XPG3 || XPG4] (sival_*): Likewise.
4224 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4225 [POSIX || XPG3] (BUS_*): Likewise.
4226 [POSIX || XPG3] (CLD_*): Likewise.
4227 [POSIX || XPG3] (FPE_*): Likewise.
4228 [POSIX || XPG3] (ILL_*): Likewise.
4229 [POSIX || XPG3] (POLL_*): Likewise.
4230 [POSIX || XPG3] (SEGV_*): Likewise.
4231 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4232 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4233 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4234 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4235 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4236 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4237 Specify type and value.
4238 (TVERSLEN): Likewise.
4239 (REGTYPE): Likewise.
4240 (AREGTYPE): Likewise.
4241 (LNKTYPE): Likewise.
4242 (SYMTYPE): Likewise.
4243 (CHRTYPE): Likewise.
4244 (BLKTYPE): Likewise.
4245 (DIRTYPE): Likewise.
4246 (FIFOTYPE): Likewise.
4247 (CONTTYPE): Likewise.
4248 (TSUID): Likewise.
4249 (TSGID): Likewise.
4250 (TSVTX): Likewise.
4251 (TUREAD): Likewise.
4252 (TUWRITE): Likewise.
4253 (TUEXEC): Likewise.
4254 (TGREAD): Likewise.
4255 (TGWRITE): Likewise.
4256 (TGEXEC): Likewise.
4257 (TOREAD): Likewise.
4258 (TOWRITE): Likewise.
4259 (TOEXEC): Likewise.
4260 [POSIX] (TSVTX): Expect constant.
4261
aa97dee1
JM
42622014-03-06 Joseph Myers <joseph@codesourcery.com>
4263
f214606a
JM
4264 * Makefile (tests): Change dependencies to ....
4265 (tests-special): ... additions to this variable.
4266 (tests): Depend on $(tests-special).
4267 * Makerules (check-abi-list): New variable.
4268 (check-abi): Depend on $(check-abi-list).
4269 [$(subdir) = elf] (tests-special): Add
4270 $(objpfx)check-abi-libc.out.
4271 [$(build-shared) = yes && subdir] (tests-special): Add
4272 $(check-abi-list).
4273 [$(build-shared) = yes && subdir] (tests): Do not depend on
4274 check-abi.
4275 * Rules (tests): Depend on $(tests-special).
4276 (xtests): Depend on $(xtests-special).
4277 * catgets/Makefile (tests): Change dependencies to ....
4278 (tests-special): ... additions to this variable.
4279 * conform/Makefile (tests): Change dependencies to ....
4280 (tests-special): ... additions to this variable.
4281 * elf/Makefile (tests): Change dependencies to ....
4282 (tests-special): ... additions to this variable.
4283 * grp/Makefile (tests): Change dependencies to ....
4284 (tests-special): ... additions to this variable.
4285 * iconv/Makefile (xtests): Change dependencies to ....
4286 (xtests-special): ... additions to this variable.
4287 * iconvdata/Makefile (tests): Change dependencies to ....
4288 (tests-special): ... additions to this variable.
4289 * intl/Makefile (tests): Change dependencies to ....
4290 (tests-special): ... additions to this variable. Also add
4291 $(objpfx)tst-gettext.out.
4292 * io/Makefile (tests): Change dependencies to ....
4293 (tests-special): ... additions to this variable.
4294 * libio/Makefile (tests): Change dependencies to ....
4295 (tests-special): ... additions to this variable.
4296 * malloc/Makefile (tests): Change dependencies to ....
4297 (tests-special): ... additions to this variable.
4298 * misc/Makefile (tests): Change dependencies to ....
4299 (tests-special): ... additions to this variable.
4300 * nptl/Makefile (tests): Change dependencies to ....
4301 (tests-special): ... additions to this variable.
4302 * nptl_db/Makefile (tests): Change dependencies to ....
4303 (tests-special): ... additions to this variable.
4304 * posix/Makefile (tests): Change dependencies to ....
4305 (tests-special): ... additions to this variable.
4306 (xtests): Change dependencies to ....
4307 (xtests-special): ... additions to this variable.
4308 * resolv/Makefile (tests): Change dependencies to ....
4309 (tests-special): ... additions to this variable.
4310 (xtests): Change dependencies to ....
4311 (xtests-special): ... additions to this variable.
4312 * stdio-common/Makefile (tests): Change dependencies to ....
4313 (tests-special): ... additions to this variable.
4314 (do-tst-unbputc): Remove target.
4315 (do-tst-printf): Likewise.
4316 * stdlib/Makefile (tests): Change dependencies to ....
4317 (tests-special): ... additions to this variable.
4318 * string/Makefile (tests): Change dependencies to ....
4319 (tests-special): ... additions to this variable.
4320 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4321 (tests-special): ... additions to this variable.
4322
81700b53
JM
4323 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4324 whole file.
4325 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4326 whole file.
4327 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4328 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4329
2ea18461
JM
4330 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4331 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4332 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4333 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4334 * conform/data/libgen.h-data [XPG3]: Likewise.
4335 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4336 * conform/data/ndbm.h-data [XPG3]: Likewise.
4337 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4338 * conform/data/netdb.h-data [XPG3]: Likewise.
4339 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4340 * conform/data/poll.h-data [XPG3]: Likewise.
4341 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4342 * conform/data/strings.h-data [XPG3]: Likewise.
4343 * conform/data/stropts.h-data [XPG3]: Likewise.
4344 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4345 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4346 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4347 Likewise.
4348 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4349 * conform/data/sys/time.h-data [XPG3]: Likewise.
4350 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4351 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4352 * conform/data/sys/un.h-data [XPG3]: Likewise.
4353 * conform/data/syslog.h-data [XPG3]: Likewise.
4354 * conform/data/ucontext.h-data [XPG3]: Likewise.
4355 * conform/data/utmpx.h-data [XPG3]: Likewise.
4356 * conform/data/varargs.h-data [UNIX98]: Enable file.
4357
355bc986
JM
4358 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4359
215db402
JM
4360 * math/libm-test.inc (struct test_f_f_data): Move expected results
4361 into structure for each rounding mode.
4362 (struct test_ff_f_data): Likewise.
4363 (struct test_ff_f_data_nexttoward): Likewise.
4364 (struct test_fi_f_data): Likewise.
4365 (struct test_fl_f_data): Likewise.
4366 (struct test_if_f_data): Likewise.
4367 (struct test_fff_f_data): Likewise.
4368 (struct test_c_f_data): Likewise.
4369 (struct test_f_f1_data): Likewise.
4370 (struct test_fF_f1_data): Likewise.
4371 (struct test_ffI_f1_data): Likewise.
4372 (struct test_c_c_data): Likewise.
4373 (struct test_cc_c_data): Likewise.
4374 (struct test_f_i_data): Likewise.
4375 (struct test_ff_i_data): Likewise.
4376 (struct test_f_l_data): Likewise.
4377 (struct test_f_L_data): Likewise.
4378 (struct test_fFF_11_data): Likewise.
4379 (RM_): New macro.
4380 (RM_FE_DOWNWARD): Likewise.
4381 (RM_FE_TONEAREST): Likewise.
4382 (RM_FE_TOWARDZERO): Likewise.
4383 (RM_FE_UPWARD): Likewise.
4384 (RUN_TEST_LOOP_f_f): Update references to expected results.
4385 (RUN_TEST_LOOP_2_f): Likewise.
4386 (RUN_TEST_LOOP_fff_f): Likewise.
4387 (RUN_TEST_LOOP_c_f): Likewise.
4388 (RUN_TEST_LOOP_f_f1): Likewise.
4389 (RUN_TEST_LOOP_fF_f1): Likewise.
4390 (RUN_TEST_LOOP_fI_f1): Likewise.
4391 (RUN_TEST_LOOP_ffI_f1): Likewise.
4392 (RUN_TEST_LOOP_c_c): Likewise.
4393 (RUN_TEST_LOOP_cc_c): Likewise.
4394 (RUN_TEST_LOOP_f_i): Likewise.
4395 (RUN_TEST_LOOP_f_i_tg): Likewise.
4396 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4397 (RUN_TEST_LOOP_f_b): Likewise.
4398 (RUN_TEST_LOOP_f_b_tg): Likewise.
4399 (RUN_TEST_LOOP_f_l): Likewise.
4400 (RUN_TEST_LOOP_f_L): Likewise.
4401 (RUN_TEST_LOOP_fFF_11): Likewise.
4402 * math/gen-libm-test.pl (parse_args): Output four copies of
4403 expected results for each test.
4404
67737b8f
JM
4405 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4406 (__ASSUME_UTIMES): Remove.
4407 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4408 (__ASSUME_UTIMES): Likewise.
4409
aa97dee1
JM
4410 * math/gen-auto-libm-tests.c: Update comment on output format.
4411 (output_for_one_input_case): Generate before-rounding and
4412 after-rounding information as conditions on output flags not
4413 floating-point format.
4414 * math/auto-libm-test-out: Regenerated.
4415 * math/gen-libm-test.pl (cond_value): New function.
4416 (or_cond_value): Use cond_value.
4417 (generate_testfile): Handle conditional exceptions.
4418
e6b6a857
JM
44192014-03-05 Joseph Myers <joseph@codesourcery.com>
4420
2f0a0f44
JM
4421 * math/libm-test.inc (max_valid_error): New variable.
4422 (init_max_error): Take new argument specifying whether function
4423 results are exactly determined. Set max_valid_error and bound
4424 other variables for errors based on this argument.
4425 (set_max_error): Do not record results above max_valid_error.
4426 (check_float_internal): Only accept errors of up to 0.5ulps if
4427 also at most max_valid_error.
4428 (START): Take new argument EXACT and pass it to init_max_error.
4429 (acos_test): Update call to START.
4430 (acos_test_tonearest): Likewise.
4431 (acos_test_towardzero): Likewise.
4432 (acos_test_downward): Likewise.
4433 (acos_test_upward): Likewise.
4434 (acosh_test): Likewise.
4435 (asin_test): Likewise.
4436 (asin_test_tonearest): Likewise.
4437 (asin_test_towardzero): Likewise.
4438 (asin_test_downward): Likewise.
4439 (asin_test_upward): Likewise.
4440 (asinh_test): Likewise.
4441 (atan_test): Likewise.
4442 (atanh_test): Likewise.
4443 (atan2_test): Likewise.
4444 (cabs_test): Likewise.
4445 (cacos_test): Likewise.
4446 (cacosh_test): Likewise.
4447 (carg_test): Likewise.
4448 (casin_test): Likewise.
4449 (casinh_test): Likewise.
4450 (catan_test): Likewise.
4451 (catanh_test): Likewise.
4452 (cbrt_test): Likewise.
4453 (ccos_test): Likewise.
4454 (ccosh_test): Likewise.
4455 (ceil_test): Likewise.
4456 (cexp_test): Likewise.
4457 (cimag_test): Likewise.
4458 (clog_test): Likewise.
4459 (clog10_test): Likewise.
4460 (conj_test): Likewise.
4461 (copysign_test): Likewise.
4462 (cos_test): Likewise.
4463 (cos_test_tonearest): Likewise.
4464 (cos_test_towardzero): Likewise.
4465 (cos_test_downward): Likewise.
4466 (cos_test_upward): Likewise.
4467 (cosh_test): Likewise.
4468 (cosh_test_tonearest): Likewise.
4469 (cosh_test_towardzero): Likewise.
4470 (cosh_test_downward): Likewise.
4471 (cosh_test_upward): Likewise.
4472 (cpow_test): Likewise.
4473 (cproj_test): Likewise.
4474 (creal_test): Likewise.
4475 (csin_test): Likewise.
4476 (csinh_test): Likewise.
4477 (csqrt_test): Likewise.
4478 (ctan_test): Likewise.
4479 (ctan_test_tonearest): Likewise.
4480 (ctan_test_towardzero): Likewise.
4481 (ctan_test_downward): Likewise.
4482 (ctan_test_upward): Likewise.
4483 (ctanh_test): Likewise.
4484 (ctanh_test_tonearest): Likewise.
4485 (ctanh_test_towardzero): Likewise.
4486 (ctanh_test_downward): Likewise.
4487 (ctanh_test_upward): Likewise.
4488 (erf_test): Likewise.
4489 (erfc_test): Likewise.
4490 (exp_test): Likewise.
4491 (exp_test_tonearest): Likewise.
4492 (exp_test_towardzero): Likewise.
4493 (exp_test_downward): Likewise.
4494 (exp_test_upward): Likewise.
4495 (exp10_test): Likewise.
4496 (exp10_test_tonearest): Likewise.
4497 (exp10_test_towardzero): Likewise.
4498 (exp10_test_downward): Likewise.
4499 (exp10_test_upward): Likewise.
4500 (pow10_test): Likewise.
4501 (exp2_test): Likewise.
4502 (expm1_test): Likewise.
4503 (expm1_test_tonearest): Likewise.
4504 (expm1_test_towardzero): Likewise.
4505 (expm1_test_downward): Likewise.
4506 (expm1_test_upward): Likewise.
4507 (fabs_test): Likewise.
4508 (fdim_test): Likewise.
4509 (floor_test): Likewise.
4510 (fma_test): Likewise.
4511 (fma_test_towardzero): Likewise.
4512 (fma_test_downward): Likewise.
4513 (fma_test_upward): Likewise.
4514 (fmax_test): Likewise.
4515 (fmin_test): Likewise.
4516 (fmod_test): Likewise.
4517 (fpclassify_test): Likewise.
4518 (frexp_test): Likewise.
4519 (hypot_test): Likewise.
4520 (ilogb_test): Likewise.
4521 (isfinite_test): Likewise.
4522 (finite_test): Likewise.
4523 (isgreater_test): Likewise.
4524 (isgreaterequal_test): Likewise.
4525 (isinf_test): Likewise.
4526 (isless_test): Likewise.
4527 (islessequal_test): Likewise.
4528 (islessgreater_test): Likewise.
4529 (isnan_test): Likewise.
4530 (isnormal_test): Likewise.
4531 (issignaling_test): Likewise.
4532 (isunordered_test): Likewise.
4533 (j0_test): Likewise.
4534 (j1_test): Likewise.
4535 (jn_test): Likewise.
4536 (ldexp_test): Likewise.
4537 (lgamma_test): Likewise.
4538 (gamma_test): Likewise.
4539 (lrint_test): Likewise.
4540 (lrint_test_tonearest): Likewise.
4541 (lrint_test_towardzero): Likewise.
4542 (lrint_test_downward): Likewise.
4543 (lrint_test_upward): Likewise.
4544 (llrint_test): Likewise.
4545 (llrint_test_tonearest): Likewise.
4546 (llrint_test_towardzero): Likewise.
4547 (llrint_test_downward): Likewise.
4548 (llrint_test_upward): Likewise.
4549 (log_test): Likewise.
4550 (log10_test): Likewise.
4551 (log1p_test): Likewise.
4552 (log2_test): Likewise.
4553 (logb_test): Likewise.
4554 (logb_test_downward): Likewise.
4555 (lround_test): Likewise.
4556 (llround_test): Likewise.
4557 (modf_test): Likewise.
4558 (nearbyint_test): Likewise.
4559 (nextafter_test): Likewise.
4560 (nexttoward_test): Likewise.
4561 (pow_test): Likewise.
4562 (pow_test_tonearest): Likewise.
4563 (pow_test_towardzero): Likewise.
4564 (pow_test_downward): Likewise.
4565 (pow_test_upward): Likewise.
4566 (remainder_test): Likewise.
4567 (drem_test): Likewise.
4568 (remainder_test_tonearest): Likewise.
4569 (drem_test_tonearest): Likewise.
4570 (remainder_test_towardzero): Likewise.
4571 (drem_test_towardzero): Likewise.
4572 (remainder_test_downward): Likewise.
4573 (drem_test_downward): Likewise.
4574 (remainder_test_upward): Likewise.
4575 (drem_test_upward): Likewise.
4576 (remquo_test): Likewise.
4577 (rint_test): Likewise.
4578 (rint_test_tonearest): Likewise.
4579 (rint_test_towardzero): Likewise.
4580 (rint_test_downward): Likewise.
4581 (rint_test_upward): Likewise.
4582 (round_test): Likewise.
4583 (scalb_test): Likewise.
4584 (scalbn_test): Likewise.
4585 (scalbln_test): Likewise.
4586 (signbit_test): Likewise.
4587 (sin_test): Likewise.
4588 (sin_test_tonearest): Likewise.
4589 (sin_test_towardzero): Likewise.
4590 (sin_test_downward): Likewise.
4591 (sin_test_upward): Likewise.
4592 (sincos_test): Likewise.
4593 (sinh_test): Likewise.
4594 (sinh_test_tonearest): Likewise.
4595 (sinh_test_towardzero): Likewise.
4596 (sinh_test_downward): Likewise.
4597 (sinh_test_upward): Likewise.
4598 (sqrt_test): Likewise.
4599 (sqrt_test_tonearest): Likewise.
4600 (sqrt_test_towardzero): Likewise.
4601 (sqrt_test_downward): Likewise.
4602 (sqrt_test_upward): Likewise.
4603 (tan_test): Likewise.
4604 (tan_test_tonearest): Likewise.
4605 (tan_test_towardzero): Likewise.
4606 (tan_test_downward): Likewise.
4607 (tan_test_upward): Likewise.
4608 (tanh_test): Likewise.
4609 (tgamma_test): Likewise.
4610 (trunc_test): Likewise.
4611 (y0_test): Likewise.
4612 (y1_test): Likewise.
4613 (yn_test): Likewise.
4614 (significand_test): Likewise.
4615
e6b6a857
JM
4616 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4617 individual tests in comment.
4618 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4619 (prev_max_error): New variable.
4620 (prev_real_max_error): Likewise.
4621 (prev_imag_max_error): Likewise.
4622 (compare_ulp_data): Don't refer to test names in comment.
4623 (find_test_ulps): Remove function.
4624 (find_function_ulps): Likewise.
4625 (find_complex_function_ulps): Likewise.
4626 (init_max_error): Take function name as argument. Look up ulps
4627 for that function.
4628 (print_ulps): Remove function.
4629 (print_max_error): Use prev_max_error instead of calling
4630 find_function_ulps.
4631 (print_complex_max_error): Use prev_real_max_error and
4632 prev_imag_max_error instead of calling find_complex_function_ulps.
4633 (check_float_internal): Take max_ulp parameter instead of calling
4634 find_test_ulps. Don't call print_ulps.
4635 (check_float): Update call to check_float_internal.
4636 (check_complex): Update calls to check_float_internal.
4637 (START): Pass argument to init_max_error.
4638 * math/gen-libm-test.pl (%results): Don't include "kind"
4639 information.
4640 (parse_ulps): Don't handle ulps of individual tests.
4641 (print_ulps_file): Likewise.
4642 (output_ulps): Likewise.
4643 * math/README.libm-test: Update.
4644 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4645 individual tests.
4646 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4647 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4648 * sysdeps/arm/libm-test-ulps: Likewise.
4649 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4650 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4651 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4652 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4653 * sysdeps/microblaze/libm-test-ulps: Likewise.
4654 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4655 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4656 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4657 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4658 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4659 * sysdeps/sh/libm-test-ulps: Likewise.
4660 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4661 * sysdeps/tile/libm-test-ulps: Likewise.
4662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4663
45adef3c
JM
46642014-03-04 Joseph Myers <joseph@codesourcery.com>
4665
4666 * math/libm-test.inc (print_complex_max_error): Check separately
4667 whether real and imaginary errors are within allowed range and
4668 pass 0 to print_complex_function_ulps instead of value within
4669 allowed range.
4670
000232b9
SP
46712014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4672
d4b17258
SP
4673 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4674 formatting.
4675 (get_handles_fopen): Likewise.
4676 (do_write_test): Likewise.
4677
091eff71
SP
4678 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4679
fa3cd248
SP
4680 * libio/fileops.c (do_ftell): Use cached offset when
4681 available.
4682 * libio/iofwide.c (do_ftell_wide): Likewise.
4683 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4684 _IO_file_attach.
4685 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4686
000232b9
SP
4687 [BZ #16532]
4688 * libio/libioP.h (get_file_offset): New function.
4689 * libio/fileops.c (get_file_offset): Likewise.
4690 (do_ftell): Likewise.
4691 (_IO_new_file_seekoff): Split out ftell logic.
4692 * libio/wfileops.c (do_ftell_wide): Likewise.
4693 (_IO_wfile_seekoff): Split out ftell logic.
4694 * libio/tst-ftell-active-handler.c: New test case.
4695 * libio/Makefile (tests): Add it.
4696
116f4d1a
RM
46972014-03-03 Roland McGrath <roland@hack.frob.com>
4698
4699 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4700 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4701
532a6035
SP
47022014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4703
4704 [BZ #16639]
4705 * nscd/connections.c (nscd_init): Call do_exit.
4706 (start_threads): Call do_exit and notify_parent.
4707 (begin_drop_privileges): Call do_exit.
4708 (finish_drop_privileges): Likewise.
4709 * nscd/selinux.c (preserve_capabilities): Likewise.
4710 (install_real_capabilities): Likewise.
4711 (nscd_selinux_enabled): Likewise.
4712 (avc_create_thread): Likewise.
4713 (avc_alloc_lock): Likewise.
4714 (nscd_avc_init): Likewise.
4715 * nscd/nscd.c (parent_fd): New static variable.
4716 (main): Create a pipe between parent and child processes.
4717 Skip closing parent_fd.
4718 (monitor_child): New function.
4719 (do_exit): Likewise.
4720 (notify_parent): Likewise.
4721 * nscd/nscd.h (notify_parent): Likewise.
4722 (do_exit): Likewise.
4723
d6285c9f
CD
47242014-03-03 Carlos O'Donell <carlos@redhat.com>
4725
4726 * malloc/malloc.c (__libc_calloc): Revert last change.
4727
2b85d2a0
AZ
47282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4729
4730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4731
c7debbdf
RS
47322014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4733
4734 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4736 implementation.
4737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4738 (__libc_ifunc_impl_list): Likewise.
4739 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4740 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4741 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4742 * string/strrchr.c: Define STRRCHR.
4743
235eed86
OB
47442014-02-28 Ondřej Bílka <neleai@seznam.cz>
4745
4746 * benchtest/bench-strtok.c (simple_strtok): Delete.
4747 (strtok_string): Use as benchmark.
4748 * string/strtok (STRTOK): New macro.
4749
8e25d1e7
CD
47502014-02-28 Carlos O'Donell <carlos@redhat.com>
4751
ef563f92
CD
4752 * manual/threads.texi: Add header and standard comments to all
4753 functions.
4754
8e25d1e7
CD
4755 * elf/dl-lookup.c (check_match): New function.
4756 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4757 (do_lookup_x): Remove nested function check_match. Use non-nested
4758 function check_match.
4759
ff71cc37
RM
47602014-02-28 Roland McGrath <roland@hack.frob.com>
4761
f08e9a26
RM
4762 * csu/Makefile (generated, before-compile): Use += rather than =.
4763 * catgets/Makefile (generated, generated-dirs): Likewise.
4764 * debug/Makefile (generated): Likewise.
4765 * dlfcn/Makefile (generated): Likewise.
4766 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4767 * iconvdata/Makefile (before-compile, generated): Likewise.
4768 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4769 * libio/Makefile (generated): Likewise.
4770 * malloc/Makefile (generated): Likewise.
4771 * manual/Makefile (generated, generated-dirs): Likewise.
4772 * misc/Makefile (generated): Likewise.
4773 * posix/Makefile (generated): Likewise.
4774 * resolv/Makefile (generated): Likewise.
4775 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4776 * timezone/Makefile (generated, generated-dirs): Likewise.
4777
ff71cc37
RM
4778 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4779
fe13a20c
AZ
47802014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4781
57f41c40
AS
4782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4783 power8 implementation.
4784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4785 file: POWER8 llround ifunc implementation.
4786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4787 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4788 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4789 POWER8 llround implementation.
4790
57f41c40
AS
4791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4792 power8 implementation.
4793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4794 file: POWER8 llrint ifunc implementation.
4795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4796 Add POWER8 implementation.
1ad8950a
AZ
4797 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4798 POWER8 llrint implementation.
4799
57f41c40
AS
4800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4801 power8 implementation.
4802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4803 file: POWER8 finite ifunc implementation.
4804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4805 Add POWER8 implementation.
cac626d6
AZ
4806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4807 Likewise.
4808 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4809 POWER8 finite implementation.
4810 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4811
57f41c40
AS
4812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4813 power8 implementation.
4814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4815 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4817 POWER8 implementation.
4818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4819 Likewise.
57f41c40
AS
4820 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4821 isinf implementation.
4393fc11
AZ
4822 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4823
57f41c40
AS
4824 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4825 (INIT_ARCH): Add hwcap2 initialization.
4826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4827 power8 implementation.
4828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4829 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4831 POWER8 implementation.
4832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4833 Likewise.
57f41c40
AS
4834 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4835 isnan implementation.
487972ae
AZ
4836 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4837
7d92b787
JY
48382014-02-27 Joey Ye <joey.ye@arm.com>
4839
4840 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4841 (_FP_NANFRAC_Q): Set to zero.
4842
1cadc858
SP
48432014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4844
4845 [BZ #16623]
4846 * math/auto-libm-test-in: New test inputs.
4847 * math/auto-libm-test-out: Regenerate.
4848 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4849 and DA.
4850 (__cos): Likewise.
4851 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4852
f8c17e79
JM
48532014-02-27 Joseph Myers <joseph@codesourcery.com>
4854
4855 * scripts/evaluate-test.sh: Take new argument indicating whether
4856 failure is expected.
4857 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4858 indicating whether failure is expected.
4859 * conform/Makefile (test-xfail-run-conformtest): New variable.
4860 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4861 level.
4862 * posix/Makefile (test-xfail-annexc): New variable.
4863 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4864
a5f891ac
JM
48652014-02-26 Joseph Myers <joseph@codesourcery.com>
4866
4867 * argp/Makefile: Include Makeconfig immediately after defining
4868 subdir.
4869 * assert/Makefile: Likewise.
4870 * benchtests/Makefile: Likewise.
4871 * catgets/Makefile: Likewise.
4872 * conform/Makefile: Likewise.
4873 * crypt/Makefile: Likewise.
4874 * csu/Makefile: Likewise.
4875 (all): Remove target.
4876 * ctype/Makefile: Include Makeconfig immediately after defining
4877 subdir.
4878 * debug/Makefile: Likewise.
4879 * dirent/Makefile: Likewise.
4880 * dlfcn/Makefile: Likewise.
4881 * gmon/Makefile: Likewise.
4882 * gnulib/Makefile: Likewise.
4883 * grp/Makefile: Likewise.
4884 * gshadow/Makefile: Likewise.
4885 * hesiod/Makefile: Likewise.
4886 * hurd/Makefile: Likewise.
4887 (all): Remove target.
4888 * iconvdata/Makefile: Include Makeconfig immediately after
4889 defining subdir.
4890 * inet/Makefile: Likewise.
4891 * intl/Makefile: Likewise.
4892 * io/Makefile: Likewise.
4893 * libio/Makefile: Likewise.
4894 (all): Remove target.
4895 * locale/Makefile: Include Makeconfig immediately after defining
4896 subdir.
4897 * login/Makefile: Likewise.
4898 * mach/Makefile: Likewise.
4899 (all): Remove target.
4900 * malloc/Makefile: Include Makeconfig immediately after defining
4901 subdir.
4902 (all): Remove target.
4903 * manual/Makefile: Include Makeconfig immediately after defining
4904 subdir.
4905 * math/Makefile: Likewise.
4906 * misc/Makefile: Likewise.
4907 * nis/Makefile: Likewise.
4908 * nss/Makefile: Likewise.
4909 * po/Makefile: Likewise.
4910 (all): Remove target.
4911 * posix/Makefile: Include Makeconfig immediately after defining
4912 subdir.
4913 * pwd/Makefile: Likewise.
4914 * resolv/Makefile: Likewise.
4915 * resource/Makefile: Likewise.
4916 * rt/Makefile: Likewise.
4917 * setjmp/Makefile: Likewise.
4918 * shadow/Makefile: Likewise.
4919 * signal/Makefile: Likewise.
4920 * socket/Makefile: Likewise.
4921 * soft-fp/Makefile: Likewise.
4922 * stdio-common/Makefile: Likewise.
4923 * stdlib/Makefile: Likewise.
4924 * streams/Makefile: Likewise.
4925 * string/Makefile: Likewise.
4926 * sunrpc/Makefile: Likewise.
4927 (all): Remove target.
4928 * sysvipc/Makefile: Include Makeconfig immediately after defining
4929 subdir.
4930 * termios/Makefile: Likewise.
4931 * time/Makefile: Likewise.
4932 * timezone/Makefile: Likewise.
4933 (all): Remove target.
4934 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4935 subdir.
4936 * wctype/Makefile: Likewise.
4937
5b456e9d
SE
49382014-02-26 Steve Ellcey <sellcey@mips.com>
4939
4940 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4941 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4942 (libc_feholdexcept_setround_mips): Ditto.
4943 (libc_feholdsetround): New.
4944 (libc_feholdsetroundf): New.
4945 (libc_feholdsetroundl): New.
4946 (libc_feupdateenv_test_mips): New.
4947 (libc_feupdateenv_test): New.
4948 (libc_feupdateenv_testf): New.
4949 (libc_feupdateenv_testl): New.
4950 (libc_feresetround): New.
4951 (libc_feresetroundf): New.
4952 (libc_feresetroundl): New.
4953 (libc_fetestexcept_mips): New.
4954 (libc_fetestexcept): New.
4955 (libc_fetestexceptf): New.
4956 (libc_fetestexceptl): New.
4957 (HAVE_RM_CTX): New.
4958 (libc_feholdexcept_setround_mips_ctx): New.
4959 (libc_feholdexcept_setround_ctx): New.
4960 (libc_feholdexcept_setroundf_ctx): New.
4961 (libc_feholdexcept_setroundl_ctx): New.
4962 (libc_fesetenv_mips_ctx): New.
4963 (libc_fesetenv_ctx): New.
4964 (libc_fesetenv_ctxf): New.
4965 (libc_fesetenv_ctxl): New.
4966 (libc_feupdateenv_mips_ctx): New.
4967 (libc_feupdateenv_ctx): New.
4968 (libc_feupdateenvf_ctx): New.
4969 (libc_feupdateenvl_ctx): New.
4970 (libc_feholdsetround_mips_ctx): New.
4971 (libc_feholdsetround_ctx): New.
4972 (libc_feholdsetroundf_ctx): New.
4973 (libc_feholdsetroundl_ctx): New.
4974 (libc_feresetround_mips_ctx): New.
4975 (libc_feresetround_ctx): New.
4976 (libc_feresetroundf_ctx): New.
4977 (libc_feresetroundl_ctx): New.
4978
085d0e35
CD
49792014-02-26 Carlos O'Donell <carlos@redhat.com>
4980
f067bf1f
CD
4981 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4982
085d0e35
CD
4983 * manual/ipc.texi: New file.
4984 * manual/Makefile (chapters): Add ipc.
4985 * manual/job.texi: Add "Inter-Process Communication" to next.
4986 * manual/process.texi: Add "Inter-Process Communication" to prev.
4987
86e58c08
AZ
49882014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4989
4990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4991
4248f0da
OB
49922014-02-26 Ondřej Bílka <neleai@seznam.cz>
4993
4994 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4995
cf822e3c
OB
4996 * manual/arith.texi: Fix spaces after sentences.
4997 * manual/charset.texi: Likewise.
4998 * manual/errno.texi: Likewise.
4999 * manual/install.texi: Likewise.
5000 * manual/llio.texi: Likewise.
5001 * manual/locale.texi: Likewise.
5002 * manual/maint.texi: Likewise.
5003 * manual/math.texi: Likewise.
5004 * manual/memory.texi: Likewise.
5005 * manual/message.texi: Likewise.
5006 * manual/probes.texi: Likewise.
5007 * manual/resource.texi: Likewise.
5008 * manual/signal.texi: Likewise.
5009 * manual/socket.texi: Likewise.
5010 * manual/stdio.texi: Likewise.
5011 * manual/string.texi: Likewise.
5012 * manual/time.texi: Likewise.
5013 * manual/users.texi: Likewise.
5014
ade40b10
CD
50152014-02-25 Carlos O'Donell <carlos@redhat.com>
5016
5017 [BZ #16632]
5018 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5019 _DEFAULT_SOURCE is defined.
5020
d0503676
CD
50212014-02-25 Ulrich Drepper <drepper@gmail.com>
5022 Carlos O'Donell <carlos@redhat.com>
5023
5024 [BZ #16613]
5025 * elf/dl-tls.c (_dl_count_modids): New function.
5026 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5027 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5028 audit library and increment generation counter.
5029 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5030 * elf/tst-audit9.c: New file.
5031 * elf/tst-auditmod9a.c: New file.
5032 * elf/tst-auditmod9b.c: New file.
5033 * elf/Makefile: Add rules to build and run tst-audit9.
5034
4cbf380c
FW
50352014-02-25 Florian Weimer <fweimer@redhat.com>
5036
5037 [BZ #15347]
5038 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5039
80a56cc3
WN
50402014-02-25 Will Newton <will.newton@linaro.org>
5041
5042 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5043 (__longjmp): Restore sp and lr before restoring callee
5044 saved registers. Add longjmp and longjmp_target
5045 SystemTap probe point.
5046 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5047 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5048 Define to zero to match jmpbuf layout.
5049 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5050 (__sigsetjmp): Save sp and lr before saving callee
5051 saved registers. Add setjmp SystemTap probe point.
5052
3ea0f74e
SL
50532014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5054
5055 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5056
b04acb26
AS
50572014-02-24 Andreas Schwab <schwab@suse.de>
5058
5059 [BZ #15804]
5060 * elf/pldd.c (wait_for_ptrace_stop): New function.
5061 (main): Call it after attaching.
5062
098ad55c
RM
50632014-02-22 Roland McGrath <roland@hack.frob.com>
5064
d4ec6ae1
RM
5065 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5066 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5067 Versions files is now verboten.
5068 * hurd/Versions (libc: GLIBC_2.0):
5069 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5070 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5071 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5072 * mach/Versions: Likewise.
5073
098ad55c
RM
5074 * csu/Versions: Remove unused %include.
5075 * resolv/Versions: Likewise.
5076
acd7f096
JM
50772014-02-21 Joseph Myers <joseph@codesourcery.com>
5078
f0881698
JM
5079 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5080 ($(objpfx)check-local-headers.out): Likewise.
5081 ($(objpfx)begin-end-check.out): Likewise.
5082 * Makerules (check-abi-%.out): Likewise.
5083 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5084 ($(objpfx)test2.cat): Likewise.
5085 ($(objpfx)de/libc.cat): Likewise.
5086 ($(objpfx)test-gencat.out): Likewise.
5087 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5088 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5089 ($(objpfx)noload-mem): Likewise.
5090 ($(objpfx)tst-pathopt.out): Likewise.
5091 ($(objpfx)tst-rtld-load-self.out): Likewise.
5092 ($(objpfx)tst-array1-cmp.out): Likewise.
5093 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5094 ($(objpfx)tst-array2-cmp.out): Likewise.
5095 ($(objpfx)tst-array3-cmp.out): Likewise.
5096 ($(objpfx)tst-array4-cmp.out): Likewise.
5097 ($(objpfx)tst-array5-cmp.out): Likewise.
5098 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5099 ($(objpfx)check-textrel.out): Likewise.
5100 ($(objpfx)check-execstack.out): Likewise.
5101 ($(objpfx)check-localplt.out): Likewise.
5102 ($(objpfx)order2-cmp.out): Likewise.
5103 ($(objpfx)tst-leaks1-mem): Likewise.
5104 ($(objpfx)tst-leaks1-static-mem): Likewise.
5105 ($(objpfx)tst-initorder-cmp.out): Likewise.
5106 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5107 ($(objpfx)tst-unused-dep.out): Likewise.
5108 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5109 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5110 * iconv/Makefile (test-iconvconfig): Likewise.
5111 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5112 ($(objpfx)iconv-test.out): Likewise.
5113 ($(objpfx)tst-tables.out): Likewise.
5114 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5115 ($(objpfx)tst-gettext.out): Likewise.
5116 ($(objpfx)tst-translit.out): Likewise.
5117 ($(objpfx)tst-gettext2.out): Likewise.
5118 ($(objpfx)tst-gettext4.out): Likewise.
5119 ($(objpfx)tst-gettext6.out): Likewise.
5120 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5121 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5122 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5123 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5124 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5125 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5126 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5127 ($(objpfx)wordexp-tst.out): Likewise.
5128 ($(objpfx)annexc.out): Likewise.
5129 ($(objpfx)tst-fnmatch-mem): Likewise.
5130 ($(objpfx)bug-regex2-mem): Likewise.
5131 ($(objpfx)bug-regex14-mem): Likewise.
5132 ($(objpfx)bug-regex21-mem): Likewise.
5133 ($(objpfx)bug-regex31-mem): Likewise.
5134 ($(objpfx)tst-vfork3-mem): Likewise.
5135 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5136 ($(objpfx)tst-pcre-mem): Likewise.
5137 ($(objpfx)tst-boost-mem): Likewise.
5138 ($(objpfx)tst-getconf.out): Likewise.
5139 ($(objpfx)bug-ga2-mem): Likewise.
5140 ($(objpfx)bug-glob2-mem): Likewise.
5141 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5142 ($(objpfx)mtrace-tst-leaks2): Likewise.
5143 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5144 ($(objpfx)tst-printf.out): Likewise.
5145 ($(objpfx)tst-setvbuf1.out): Likewise.
5146 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5147 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5148 ($(objpfx)tst-fmtmsg.out): Likewise.
5149 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5150 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5151
acd7f096
JM
5152 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5153 * bits/sigaction.h [__USE_MISC]: Likewise.
5154 * bits/waitstatus.h: Update #endif comments.
5155 * ctype/ctype.h: Likewise.
5156 * dirent/dirent.h: Likewise.
5157 [__USE_MISC]: Remove redundant conditionals.
5158 * grp/grp.h: Update #endif comments.
5159 [__USE_GNU]: Remove redundant conditionals.
5160 [__USE_MISC]: Likewise.
5161 * inet/netinet/in.h [__USE_GNU]: Likewise.
5162 * io/sys/stat.h [__USE_MISC]: Likewise.
5163 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5164 * libio/bits/stdio.h: Update #endif comments.
5165 [__USE_MISC]: Remove redundant conditionals.
5166 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5167 * libio/stdio.h: Update #endif comments.
5168 [__USE_MISC]: Remove redundant conditionals.
5169 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5170 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5171 * math/math.h: Update #else and #endif comments.
5172 [__USE_MISC]: Remove redundant conditionals.
5173 * misc/sys/uio.h: Update #endif comments.
5174 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5175 * posix/glob.h [__USE_MISC]: Likewise.
5176 * posix/sys/types.h: Update #endif comments.
5177 [__USE_MISC]: Remove redundant conditionals.
5178 * posix/sys/wait.h: Update #endif comments.
5179 [__USE_MISC]: Remove redundant conditionals.
5180 * posix/unistd.h: Update #endif comments.
5181 [__USE_MISC]: Remove redundant conditionals.
5182 * pwd/pwd.h [__USE_GNU]: Likewise.
5183 [__USE_MISC]: Likewise.
5184 * resolv/netdb.h [__USE_GNU]: Likewise.
5185 * signal/signal.h: Update #endif comments.
5186 [__USE_MISC]: Remove redundant conditionals.
5187 * stdlib/stdlib.h: Update #else and #endif comments.
5188 [__USE_MISC]: Remove redundant conditionals.
5189 [__USE_GNU]: Likewise.
5190 * string/bits/string2.h [__USE_MISC]: Likewise.
5191 * string/string.h: Update #endif comments.
5192 [__USE_MISC]: Remove redundant conditionals.
5193 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5194 Likewise.
5195 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5196 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5197 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5198 Likewise.
5199 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5200 Likewise.
5201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5202 comments.
5203 [__USE_MISC]: Remove redundant conditionals.
5204 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5205 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5206 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5207 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5208 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5209 Likewise.
5210 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5211 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5212 Likewise.
5213 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5214 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5215 Likewise.
5216 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5217 Likewise.
5218 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5219 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5220 Likewise.
5221 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5222 Likewise.
5223 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5224 * sysdeps/x86/bits/string.h: Update #endif comments.
5225 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5226 conditionals.
5227 * time/sys/time.h: Update #endif comments.
5228 * time/time.h: Likewise.
5229 [__USE_MISC]: Remove redundant conditionals.
5230
a5d82e4e
YG
52312014-02-21 Yury Gribov <y.gribov@samsung.com>
5232
5233 [BZ #16600]
5234 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5235
9a80491d
AS
52362014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5237
5238 * Versions.def (librt): Add GLIBC_2.17.
5239
105fa381
AC
52402014-02-21 Adam Conrad <adconrad@0c3.net>
5241
5242 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5243 synonym for _SYS_AUXV_H to allow direct inclusion.
5244 * sysdeps/sparc/bits/hwcap.h: Likewise.
5245 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5246 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5247 * sysdeps/sparc/sysdep.h: Likewise.
5248
b8cd1c4e
SP
52492014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5250
5251 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5252
bd939d23
RS
52532014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5254
5255 * benchtests/bench-strrchr.c: Print length instead of position.
5256
5d7b57ca
JM
52572014-02-20 Joseph Myers <joseph@codesourcery.com>
5258
bc688c10
JM
5259 [BZ #16611]
5260 * sysdeps/unix/sysv/linux/kernel-features.h
5261 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5262 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5263 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5264 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5265 Likewise.
5266 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5267 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5268 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5269 (__ASSUME_SENDMMSG): Define instead of using previous
5270 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5271 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5272 (__ASSUME_SENDMMSG_SYSCALL): Define.
5273 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5274 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5275 Likewise.
5276 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5277 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5278 Likewise.
5279 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5280 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5281 Likewise.
5282 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5283 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5284 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5285 [__ASSUME_SENDMMSG]: Change conditionals to
5286 [__ASSUME_SENDMMSG_SOCKETCALL].
5287 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5288 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5289 Define.
5290 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5291 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5292 Likewise.
5293 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5294 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5295 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5296 [!__ASSUME_SENDMMSG]: Change conditional to
5297 [!__ASSUME_SENDMMSG_SOCKETCALL].
5298 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5299 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5300 Define.
5301
0e31b18c
JM
5302 [BZ #16610]
5303 * sysdeps/unix/sysv/linux/kernel-features.h
5304 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5305 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5306 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5307 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5308 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5309 [__i386__ || __sparc__]
5310 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5311 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5312 (__ASSUME_RECVMMSG): Define instead of using previous
5313 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5314 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5315 (__ASSUME_RECVMMSG_SYSCALL): Define.
5316 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5318 Likewise.
5319 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5320 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5321 Likewise.
5322 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5323 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5324 Likewise.
5325 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5326 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5327 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5328 [__ASSUME_RECVMMSG]: Change condition to
5329 [__ASSUME_RECVMMSG_SOCKETCALL].
5330 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5331 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5332 Define.
5333 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5334 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5335 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5336 Likewise.
5337 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5338 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5339 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5340 [!__ASSUME_RECVMMSG]: Change condition to
5341 [!__ASSUME_RECVMMSG_SOCKETCALL].
5342 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5343 (__ASSUME_RECVMMSG_SYSCALL): Define.
5344
dd481ccf
JM
5345 [BZ #16609]
5346 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5347 __powerpc__ || __s390__ || __sh__ || __sparc__]
5348 (__ASSUME_SOCKETCALL): Define.
5349 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5350 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5351 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5352 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5353 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5354 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5355 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5356 (__ASSUME_ACCEPT4): Define instead of using previous
5357 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5358 __powerpc__ || __sparc__ || __s390__)] condition.
5359 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5360 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5361 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5362 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5363 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5364 [!__ASSUME_ACCEPT4]: Change condition to
5365 [!__ASSUME_ACCEPT4_SOCKETCALL].
5366 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5367 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5368 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5369 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5370 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5371 __ASSUME_ACCEPT4_SYSCALL.
5372 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5373 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5374 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5375 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5376 __ASSUME_ACCEPT4_SYSCALL.
5377 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5378 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5379 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5380 [__ASSUME_ACCEPT4]: Change condition to
5381 [__ASSUME_ACCEPT4_SOCKETCALL].
5382 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5383 (__ASSUME_SOCKETCALL): Define.
5384 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5386 (__ASSUME_SOCKETCALL): Define.
5387 (__ASSUME_ACCEPT4): Remove.
5388 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5389 Define.
5390 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5391 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5392 Likewise.
5393 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5394 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5395
5d7b57ca
JM
5396 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5397 macro.
5398 (HWCAP_ARM_LPAE): Likewise.
5399 (HWCAP_ARM_EVTSTRM): Likewise.
5400 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5401 Add vpfd32, lpae and evtstrm.
5402 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5403 Increase to 22.
5404
63689d61
JM
54052014-02-19 Joseph Myers <joseph@codesourcery.com>
5406
5407 * math/auto-libm-test-in: Add tests of clog10.
5408 * math/auto-libm-test-out: Regenerated.
5409 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5410 * sysdeps/i386/fpu/libm-test-ulps: Update.
5411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5412
ab09bf61
AS
54132014-02-18 Andreas Schwab <schwab@suse.de>
5414
5415 [BZ #16574]
5416 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5417 Store non-zero if the second buffer was newly allocated.
5418 (send_dg): Likewise.
5419 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5420 to send_vc and send_dg.
5421 (res_nsend): Pass NULL for ansp2_malloced.
5422 * resolv/res_query.c (__libc_res_nquery): Add parameter
5423 answerp2_malloced and pass it down to __libc_res_nsend.
5424 (res_nquery): Pass additional NULL to __libc_res_nquery.
5425 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5426 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5427 second answer buffer if answerp2_malloced was set.
5428 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5429 (__libc_res_nquerydomain): Add parameter
5430 answerp2_malloced and pass it down to __libc_res_nquery.
5431 (res_nquerydomain): Pass additional NULL to
5432 __libc_res_nquerydomain.
5433 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5434 additional NULL to __libc_res_nsend and __libc_res_nquery.
5435 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5436 additional NULL to __libc_res_nsearch.
5437 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5438 parameter of __libc_res_nsearch to check for separately allocated
5439 second buffer.
5440 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5441 __libc_res_nquery.
5442 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5443 additional NULL to __libc_res_nquery.
5444 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5445 __libc_res_nsearch.
5446 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5447 * include/resolv.h: Update prototypes of __libc_res_nquery,
5448 __libc_res_nsearch, __libc_res_nsend.
5449
a4fb7861
JM
54502014-02-18 Joseph Myers <joseph@codesourcery.com>
5451
c6af2d89
JM
5452 * math/auto-libm-test-in: Add tests of fma.
5453 * math/auto-libm-test-out: Regenerated.
5454 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5455 (fma_towardzero_test_data): Likewise.
5456 (fma_downward_test_data): Likewise.
5457 (fma_upward_test_data): Likewise.
5458 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5459 mpc_mode.
5460 (rounding_modes): Add values for new field.
5461 (func_calc_method): Add value mpfr_fff_f.
5462 (func_calc_desc): Add mpfr_fff_f union field.
5463 (test_function): Add field exact_args.
5464 (FUNC): Add macro argument EXACT_ARGS.
5465 (FUNC_mpfr_f_f): Update call to FUNC.
5466 (FUNC_mpfr_f_f): Likewise.
5467 (FUNC_mpfr_ff_f): Likewise.
5468 (FUNC_mpfr_if_f): Likewise.
5469 (FUNC_mpc_c_f): Likewise.
5470 (FUNC_mpc_c_c): Likewise.
5471 (test_functions): Add fma. Update calls to FUNC.
5472 (handle_input_arg): Add argument exact_args.
5473 (add_test): Update call to handle_input_arg.
5474 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5475 (output_for_one_input_case): Update call to calc_generic_results.
5476 Recalculate exact zero results in each rounding mode.
5477
a4fb7861
JM
5478 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5479 non-negative before setting low bit.
5480 * math/auto-libm-test-in: Mark one asin test possibly having
5481 spurious underflow.
5482 * math/auto-libm-test-out: Regenerated.
5483 * sysdeps/i386/fpu/libm-test-ulps: Update.
5484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5485
ef114eaf
DH
54862014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5487
2b7f4f2c
SP
5488 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5489 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5490 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5491 * README: Add missing listing for microblaze*-*-linux-gnu.
5492
c70a4b1d
MF
54932014-02-16 Mike Frysinger <vapier@gentoo.org>
5494
5495 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5496 * sysdeps/unix/sysv/linux/ia64: Move directory from
5497 ports/sysdeps/unix/sysv/linux/ia64.
5498 * README: Update listing for ia64-*-linux-gnu.
5499
591aeaf7
TD
55002014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5501 Joseph Myers <joseph@codesourcery.com>
5502
5503 * Makeconfig (test-name): New variable.
5504 (evaluate-test): Likewise.
5505 * Makerules (do-test-clean): Remove .test-result files.
5506 (common-mostlyclean): Likewise.
5507 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5508 * scripts/evaluate-test.sh: New file.
5509
6e89caf1
JM
55102014-02-14 Joseph Myers <joseph@codesourcery.com>
5511
7f98f180
JM
5512 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5513 separate $(objpfx)tst-fopenloc-cmp.out and
5514 $(objpfx)tst-fopenloc-mem.out targets.
5515 (tests): Update dependencies.
5516 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5517 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5518 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5519 (tst-rxspencer-no-utf8-ARGS): New variable.
5520 (tst-rxspencer-no-utf8-ENV): Likewise.
5521 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5522 instead of $(objpfx)tst-rxspencer-mem.
5523 ($(objpfx)tst-rxspencer-mem): Change target to
5524 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5525 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5526 * posix/tst-rxspencer-no-utf8.c: New file.
5527
6e89caf1
JM
5528 * elf/Makefile ($(objpfx)order.out): Remove rule.
5529 [$(run-built-tests) = yes] (tests): Depend on
5530 $(objpfx)order-cmp.out.
5531 ($(objpfx)order-cmp.out): New rule.
5532 [$(run-built-tests) = yes] (tests): Depend on
5533 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5534 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5535 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5536 $(objpfx)tst-array5-static-cmp.out.
5537 ($(objpfx)tst-array1.out): Remove rule.
5538 ($(objpfx)tst-array1-cmp.out): New rule.
5539 ($(objpfx)tst-array1-static.out): Remove rule.
5540 ($(objpfx)tst-array1-static-cmp.out): New rule.
5541 ($(objpfx)tst-array2.out): Remove rule.
5542 ($(objpfx)tst-array2-cmp.out): New rule.
5543 ($(objpfx)tst-array3.out): Remove rule.
5544 ($(objpfx)tst-array3-cmp.out): New rule.
5545 ($(objpfx)tst-array4.out): Remove rule.
5546 ($(objpfx)tst-array4-cmp.out): New rule.
5547 ($(objpfx)tst-array5.out): Remove rule.
5548 ($(objpfx)tst-array5-cmp.out): New rule.
5549 ($(objpfx)tst-array5-static.out): Remove rule.
5550 ($(objpfx)tst-array5-static-cmp.out): New rule.
5551 [$(run-built-tests) = yes] (tests): Depend on
5552 $(objpfx)order2-cmp.out.
5553 ($(objpfx)order2.out): Remove rule.
5554 ($(objpfx)order2-cmp.out): New rule.
5555 ($(objpfx)tst-initorder.out): Remove rule.
5556 [$(run-built-tests) = yes] (tests): Depend on
5557 $(objpfx)tst-initorder-cmp.out.
5558 ($(objpfx)tst-initorder-cmp.out): New rule.
5559 ($(objpfx)tst-initorder2.out): Remove rule.
5560 [$(run-built-tests) = yes] (tests): Depend on
5561 $(objpfx)tst-initorder2-cmp.out.
5562 ($(objpfx)tst-initorder2-cmp.out): New rule.
5563 [$(run-built-tests) = yes] (tests): Depend on
5564 $(objpfx)tst-unused-dep-cmp.out.
5565 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5566 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5567 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5568 on $(objpfx)tst-setvbuf1-cmp.out.
5569 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5570 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5571 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5572 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5573 ($(objpfx)tst-svc.out): Remove rule.
5574 ($(objpfx)tst-svc-cmp.out): New rule.
5575
ed9a38e2
JM
55762014-02-13 Joseph Myers <joseph@codesourcery.com>
5577
5578 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5579 * ctype/ctype.h [__USE_MISC]: Likewise.
5580 * dirent/dirent.h [__USE_MISC]: Likewise.
5581 * grp/grp.h [__USE_MISC]: Likewise.
5582 * io/fcntl.h [__USE_MISC]: Likewise.
5583 * io/sys/stat.h [__USE_MISC]: Likewise.
5584 * libio/stdio.h [__USE_MISC]: Likewise.
5585 * posix/unistd.h [__USE_MISC]: Likewise.
5586 * pwd/pwd.h [__USE_MISC]: Likewise.
5587 * stdlib.h [__USE_MISC]: Likewise.
5588 * string/bits/string2.h [__USE_MISC]: Likewise.
5589 * string/string.h [__USE_MISC]: Likewise.
5590 * time/time.h [__USE_MISC]: Likewise.
5591
d6680619
AS
55922014-02-13 Andreas Schwab <schwab@suse.de>
5593
5594 [BZ #16574]
5595 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5596 second answer buffer if it was separately allocated.
5597
ace614b8
JM
55982014-02-12 Joseph Myers <joseph@codesourcery.com>
5599
743151ae
JM
5600 * sysdeps/mips/math-tests.h: Include <features.h>.
5601 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5602 (ROUNDING_TESTS_long_double): Do not define.
5603 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5604 (EXCEPTION_TESTS_long_double): Likewise.
5605 * sysdeps/mips/mips64/libm-test-ulps: Update.
5606
498afc54
JM
5607 * include/features.h (__USE_BSD): Remove macro definitions.
5608 (__USE_SVID): Likewise.
5609 (_BSD_SOURCE): Likewise.
5610 (_SVID_SOURCE): Likewise.
5611 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5612 from definition of _DEFAULT_SOURCE.
5613 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5614 [_DEFAULT_SOURCE].
5615 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5616 * bits/mman.h [__USE_BSD]: Likewise.
5617 * bits/termios.h [__USE_BSD]: Likewise.
5618 * bits/waitstatus.h [__USE_BSD]: Likewise.
5619 * ctype/ctype.h [__USE_SVID]: Likewise.
5620 * dirent/dirent.h [__USE_BSD]: Likewise.
5621 * grp/grp.h [__USE_SVID]: Likewise.
5622 [__USE_BSD]: Likewise.
5623 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5624 * io/fcntl.h [__USE_BSD]: Likewise.
5625 * io/ftw.h [__USE_BSD]: Likewise.
5626 * io/sys/stat.h [__USE_BSD]: Likewise.
5627 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5628 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5629 * libio/stdio.h [__USE_SVID]: Likewise.
5630 [__USE_BSD]: Likewise.
5631 * math/math.h [__USE_SVID]: Likewise.
5632 [__USE_BSD]: Likewise.
5633 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5634 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5635 * misc/search.h [__USE_SVID]: Likewise.
5636 * misc/sys/mman.h [__USE_BSD]: Likewise.
5637 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5638 * misc/sys/uio.h [__USE_BSD]: Likewise.
5639 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5640 * posix/glob.h [__USE_BSD]: Likewise.
5641 * posix/regex.h [__USE_BSD]: Likewise.
5642 * posix/sys/types.h [__USE_BSD]: Likewise.
5643 [__USE_SVID]: Likewise.
5644 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5645 * posix/sys/wait.h [__USE_BSD]: Likewise.
5646 [__USE_SVID]: Likewise.
5647 * posix/unistd.h [__USE_BSD]: Likewise.
5648 [__USE_SVID]: Likewise.
5649 * pwd/pwd.h [__USE_SVID]: Likewise.
5650 * resolv/netdb.h [__USE_BSD]: Likewise.
5651 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5652 * signal/signal.h [__USE_BSD]: Likewise.
5653 [__USE_SVID]: Likewise.
5654 * socket/sys/socket.h [__USE_BSD]: Likewise.
5655 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5656 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5657 [__USE_SVID]: Likewise.
5658 * string/bits/string2.h [__USE_BSD]: Likewise.
5659 [__USE_SVID]: Likewise.
5660 * string/bits/string3.h [__USE_BSD]: Likewise.
5661 * string/endian.h [__USE_BSD]: Likewise.
5662 * string/string.h [__USE_SVID]: Likewise.
5663 [__USE_BSD]: Likewise.
5664 * string/strings.h [__USE_BSD]: Likewise.
5665 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5666 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5667 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5668 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5669 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5670 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5671 Likewise.
5672 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5673 Likewise.
5674 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5675 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5676 Likewise.
5677 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5678 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5679 Likewise.
5680 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5681 Likewise.
5682 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5683 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5684 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5685 Likewise.
5686 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5687 Likewise.
5688 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5689 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5690 * termios/termios.h [__USE_BSD]: Likewise.
5691 * time/sys/time.h [__USE_BSD]: Likewise.
5692 * time/time.h [__USE_BSD]: Likewise.
5693 [__USE_SVID]: Likewise.
5694
dd7b064c
JM
5695 * Makefile (subdir_targets): Remove subdir_lint.out.
5696
a2c4c199
JM
5697 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5698 (do-tst-printf): Likewise.
5699 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5700 $(objpfx)tst-printf.out.
5701
8756f740
JM
5702 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5703
1b6dd3f1
JM
5704 * Makerules (check-abi-%): Change target to
5705 $(objpfx)check-abi-%.out.
5706 (check-abi target): Update dependencies.
5707 (check-abi-pattern variable): Redirect output of diff to $@.
5708 (check-abi variable): Likewise.
5709 * elf/Makefile (check-abi): Update dependencies.
5710
ace614b8
JM
5711 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5712 unused.
5713 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5714 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5715 subnormal range.
5716 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5717 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5718 value has largest subnormal exponent.
5719 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5720 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5721 * sysdeps/aarch64/soft-fp/sfp-machine.h
5722 (_FP_TININESS_AFTER_ROUNDING): New macro.
5723 * sysdeps/alpha/soft-fp/sfp-machine.h
5724 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5725 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5726 Likewise.
5727 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5728 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5729 * sysdeps/mips/soft-fp/sfp-machine.h
5730 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5731 * sysdeps/powerpc/soft-fp/sfp-machine.h
5732 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5733 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5734 Likewise.
5735 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5736 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5737 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5738 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5739 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5740 Likewise.
5741
fbfdf9cb
DAS
57422014-02-12 Dylan Alex Simon <dylan@dylex.net>
5743
5744 [BZ #16545]
5745 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5746 model 1.
5747
68b7efaa
RH
57482014-02-12 Richard Henderson <rth@redhat.com>
5749
c70a4b1d 5750 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5751 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5752 * sysdeps/unix/sysv/linux/alpha: Move directory from
5753 ports/sysdeps/unix/sysv/linux/alpha.
5754 * README: Update listing for alpha-*-linux-gnu.
5755
cb4a2928
JM
57562014-02-11 Joseph Myers <joseph@codesourcery.com>
5757
c941736c
JM
5758 * include/features.h: Update comment documenting feature test
5759 macros.
5760 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5761 _DEFAULT_SOURCE.
5762 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5763 (_SVID_SOURCE): Likewise.
5764 (_DEFAULT_SOURCE): Update description of default features.
5765 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5766 with _GNU_SOURCE.
5767 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5768 (S_ISVTX): Likewise.
5769 * manual/math.texi (Mathematical Constants): Likewise.
5770 * manual/signal.texi (Interrupted Primitives): Likewise.
5771 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5772 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5773 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5774 Don't refer to _SVID_SOURCE in warning text.
5775
e8d8d7ec
JM
5776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5777
cb4a2928
JM
5778 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5779 already defined.
5780 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5781 * sysdeps/mips/dl-lookup.c: Remove.
5782 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5783
7e6424e3
AK
57842014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5785
5786 [BZ #16447]
5787 * math/auto-libm-test-in: Add testcase for expl.
5788 * math/auto-libm-test-out: Regenerate.
5789 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5790 calculation of unsafe.
5791 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5792
75eff3fe
MS
57932014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5794
5795 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5796 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5797 ports/sysdeps/unix/sysv/linux/aarch64.
5798 * README: Update listing for aarch64*-*-linux-gnu.
5799
d35f1e80
WN
58002014-02-11 Will Newton <will.newton@linaro.org>
5801
5802 * manual/probes.texi (Mathematical Function Probes): Use
5803 "triggered" instead of "hit".
5804
7b3436d4
WN
5805 * manual/probes.texi (Internal Probes): Add documentation
5806 of setjmp, longjmp and longjmp_target probes.
5807
b4f12ca3
WN
5808 * include/stap-probe.h: Add comment about probe argument
5809 format.
5810
c13a72b7
WN
5811 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5812 definition. (tr_where, tr_freehook, tr_mallochook,
5813 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5814
195b8165
DM
58152014-02-11 David S. Miller <davem@davemloft.net>
5816
5817 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5818 processing int_tests.
5819
2ad7600b
JM
58202014-02-10 Joseph Myers <joseph@codesourcery.com>
5821
5822 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5823 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5824 * sysdeps/unix/sysv/linux/mips: Move directory from
5825 ports/sysdeps/unix/sysv/linux/mips.
5826 * README: Update listing for mips-*-linux-gnu and
5827 mips64-*-linux-gnu.
5828
73588a72
AS
58292014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5830
5831 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5832 * sysdeps/unix/sysv/linux/m68k: Move directory from
5833 ports/sysdeps/unix/sysv/linux/m68k.
5834 * README: Update listing for m68k-*-linux-gnu.
5835
4372980f
CM
58362014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5837
5838 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5839 * sysdeps/unix/sysv/linux/generic: Move directory from
5840 ports/sysdeps/unix/sysv/linux/generic.
5841 * sysdeps/unix/sysv/linux/tile: Move directory from
5842 ports/sysdeps/unix/sysv/linux/tile.
5843 * README: Update listing for tile*-*-linux-gnu.
5844
a1ffb40e
OB
58452014-02-10 Ondřej Bílka <neleai@seznam.cz>
5846
57f41c40
AS
5847 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5848 __builtin_expect.
a1ffb40e
OB
5849 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5850 * catgets/open_catalog.c (__open_catalog): Likewise.
5851 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5852 * debug/confstr_chk.c: Likewise.
5853 * debug/fread_chk.c (__fread_chk): Likewise.
5854 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5855 * debug/getgroups_chk.c: Likewise.
5856 * debug/mbsnrtowcs_chk.c: Likewise.
5857 * debug/mbsrtowcs_chk.c: Likewise.
5858 * debug/mbstowcs_chk.c: Likewise.
5859 * debug/memcpy_chk.c: Likewise.
5860 * debug/memmove_chk.c: Likewise.
5861 * debug/mempcpy_chk.c: Likewise.
5862 * debug/memset_chk.c: Likewise.
5863 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5864 * debug/strcat_chk.c (__strcat_chk): Likewise.
5865 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5866 * debug/strncat_chk.c (__strncat_chk): Likewise.
5867 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5868 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5869 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5870 * debug/wcpncpy_chk.c: Likewise.
5871 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5872 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5873 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5874 * debug/wcsncpy_chk.c: Likewise.
5875 * debug/wcsnrtombs_chk.c: Likewise.
5876 * debug/wcsrtombs_chk.c: Likewise.
5877 * debug/wcstombs_chk.c: Likewise.
5878 * debug/wmemcpy_chk.c: Likewise.
5879 * debug/wmemmove_chk.c: Likewise.
5880 * debug/wmempcpy_chk.c: Likewise.
5881 * debug/wmemset_chk.c: Likewise.
5882 * dirent/scandirat.c (SCANDIRAT): Likewise.
5883 * dlfcn/dladdr1.c (dladdr1): Likewise.
5884 * dlfcn/dladdr.c (dladdr): Likewise.
5885 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5886 * dlfcn/dlerror.c (__dlerror): Likewise.
5887 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5888 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5889 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5890 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5891 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5892 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5893 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5894 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5895 Likewise.
5896 * elf/dl-conflict.c: Likewise.
5897 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5898 * elf/dl-dst.h: Likewise.
5899 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5900 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5901 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5902 * elf/dl-init.c (call_init, _dl_init): Likewise.
5903 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5904 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5905 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5906 Likewise.
a1ffb40e
OB
5907 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5908 Likewise.
5909 * elf/dl-minimal.c (__libc_memalign): Likewise.
5910 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5911 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5912 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5913 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5914 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5915 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5916 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5917 * elf/dl-writev.h (_dl_writev): Likewise.
5918 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5919 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5920 (dl_main): Likewise.
a1ffb40e
OB
5921 * elf/setup-vdso.h (setup_vdso): Likewise.
5922 * grp/compat-initgroups.c (compat_call): Likewise.
5923 * grp/fgetgrent.c (fgetgrent): Likewise.
5924 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5925 * grp/putgrent.c (putgrent): Likewise.
5926 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5927 Likewise.
5928 * hurd/hurdinit.c: Likewise.
5929 * iconvdata/8bit-gap.c (struct): Likewise.
5930 * iconvdata/ansi_x3.110.c : Likewise.
5931 * iconvdata/big5.c : Likewise.
5932 * iconvdata/big5hkscs.c : Likewise.
5933 * iconvdata/cp1255.c: Likewise.
5934 * iconvdata/cp1258.c : Likewise.
5935 * iconvdata/cp932.c : Likewise.
5936 * iconvdata/euc-cn.c: Likewise.
5937 * iconvdata/euc-jisx0213.c : Likewise.
5938 * iconvdata/euc-jp.c: Likewise.
5939 * iconvdata/euc-jp-ms.c : Likewise.
5940 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5941 * iconvdata/gb18030.c : Likewise.
5942 * iconvdata/gbbig5.c (const): Likewise.
5943 * iconvdata/gbgbk.c: Likewise.
5944 * iconvdata/gbk.c : Likewise.
5945 * iconvdata/ibm1364.c : Likewise.
5946 * iconvdata/ibm930.c : Likewise.
5947 * iconvdata/ibm932.c: Likewise.
5948 * iconvdata/ibm933.c : Likewise.
5949 * iconvdata/ibm935.c : Likewise.
5950 * iconvdata/ibm937.c : Likewise.
5951 * iconvdata/ibm939.c : Likewise.
5952 * iconvdata/ibm943.c: Likewise.
5953 * iconvdata/iso_11548-1.c: Likewise.
5954 * iconvdata/iso-2022-cn.c : Likewise.
5955 * iconvdata/iso-2022-cn-ext.c : Likewise.
5956 * iconvdata/iso-2022-jp-3.c: Likewise.
5957 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5958 * iconvdata/iso-2022-kr.c : Likewise.
5959 * iconvdata/iso646.c (gconv_end): Likewise.
5960 * iconvdata/iso_6937-2.c : Likewise.
5961 * iconvdata/iso_6937.c : Likewise.
5962 * iconvdata/iso8859-1.c: Likewise.
5963 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5964 * iconvdata/shift_jisx0213.c : Likewise.
5965 * iconvdata/sjis.c : Likewise.
5966 * iconvdata/t.61.c : Likewise.
5967 * iconvdata/tcvn5712-1.c : Likewise.
5968 * iconvdata/tscii.c: Likewise.
5969 * iconvdata/uhc.c : Likewise.
5970 * iconvdata/unicode.c (gconv_end): Likewise.
5971 * iconvdata/utf-16.c (gconv_end): Likewise.
5972 * iconvdata/utf-32.c (gconv_end): Likewise.
5973 * iconvdata/utf-7.c (base64): Likewise.
5974 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5975 * iconv/gconv_close.c (__gconv_close): Likewise.
5976 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5977 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5978 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5979 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5980 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5981 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5982 * iconv/iconv.c (iconv): Likewise.
5983 * iconv/iconv_close.c: Likewise.
5984 * iconv/loop.c (SINGLE): Likewise.
5985 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5986 * include/atomic.h: Likewise.
5987 * inet/inet6_option.c (option_alloc): Likewise.
5988 * intl/bindtextdom.c (set_binding_values): Likewise.
5989 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5990 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5991 * intl/localealias.c (read_alias_file): Likewise.
5992 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5993 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5994 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5995 * libio/fmemopen.c (fmemopen): Likewise.
5996 * libio/iofgets.c (_IO_fgets): Likewise.
5997 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5998 * libio/iofgetws.c (fgetws): Likewise.
5999 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6000 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6001 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6002 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6003 * locale/findlocale.c (_nl_find_locale): Likewise.
6004 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6005 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6006 Likewise.
6007 * locale/setlocale.c (setlocale): Likewise.
6008 * login/programs/pt_chown.c (main): Likewise.
6009 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6010 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6011 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6012 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6013 * math/e_exp2l.c: Likewise.
6014 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6015 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6016 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6017 * math/s_catan.c (__catan): Likewise.
6018 * math/s_catanf.c (__catanf): Likewise.
6019 * math/s_catanh.c (__catanh): Likewise.
6020 * math/s_catanhf.c (__catanhf): Likewise.
6021 * math/s_catanhl.c (__catanhl): Likewise.
6022 * math/s_catanl.c (__catanl): Likewise.
6023 * math/s_ccosh.c (__ccosh): Likewise.
6024 * math/s_ccoshf.c (__ccoshf): Likewise.
6025 * math/s_ccoshl.c (__ccoshl): Likewise.
6026 * math/s_cexp.c (__cexp): Likewise.
6027 * math/s_cexpf.c (__cexpf): Likewise.
6028 * math/s_cexpl.c (__cexpl): Likewise.
6029 * math/s_clog10.c (__clog10): Likewise.
6030 * math/s_clog10f.c (__clog10f): Likewise.
6031 * math/s_clog10l.c (__clog10l): Likewise.
6032 * math/s_clog.c (__clog): Likewise.
6033 * math/s_clogf.c (__clogf): Likewise.
6034 * math/s_clogl.c (__clogl): Likewise.
6035 * math/s_csin.c (__csin): Likewise.
6036 * math/s_csinf.c (__csinf): Likewise.
6037 * math/s_csinh.c (__csinh): Likewise.
6038 * math/s_csinhf.c (__csinhf): Likewise.
6039 * math/s_csinhl.c (__csinhl): Likewise.
6040 * math/s_csinl.c (__csinl): Likewise.
6041 * math/s_csqrt.c (__csqrt): Likewise.
6042 * math/s_csqrtf.c (__csqrtf): Likewise.
6043 * math/s_csqrtl.c (__csqrtl): Likewise.
6044 * math/s_ctan.c (__ctan): Likewise.
6045 * math/s_ctanf.c (__ctanf): Likewise.
6046 * math/s_ctanh.c (__ctanh): Likewise.
6047 * math/s_ctanhf.c (__ctanhf): Likewise.
6048 * math/s_ctanhl.c (__ctanhl): Likewise.
6049 * math/s_ctanl.c (__ctanl): Likewise.
6050 * math/w_pow.c: Likewise.
6051 * math/w_powf.c: Likewise.
6052 * math/w_powl.c: Likewise.
6053 * math/w_scalb.c (sysv_scalb): Likewise.
6054 * math/w_scalbf.c (sysv_scalbf): Likewise.
6055 * math/w_scalbl.c (sysv_scalbl): Likewise.
6056 * misc/error.c (error_tail): Likewise.
6057 * misc/pselect.c (__pselect): Likewise.
6058 * nis/nis_callback.c (__nis_create_callback): Likewise.
6059 * nis/nis_call.c (__nisfind_server): Likewise.
6060 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6061 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6062 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6063 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6064 * nis/nis_lookup.c (nis_lookup): Likewise.
6065 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6066 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6067 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6068 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6069 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6070 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6071 * nis/nss_compat/compat-initgroups.c (add_group)
6072 (internal_getgrent_r): Likewise.
6073 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6074 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6075 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6076 (internal_getspnam_r): Likewise.
6077 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6078 (_nss_nis_getaliasbyname_r): Likewise.
6079 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6080 (_nss_nis_getntohost_r): Likewise.
6081 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6082 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6083 (_nss_nis_getgrgid_r): Likewise.
6084 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6085 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6086 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6087 (_nss_nis_gethostbyname4_r): Likewise.
6088 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6089 (initgroups_netid): Likewise.
a1ffb40e 6090 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6091 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6092 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6093 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6094 (_nss_nis_getprotobynumber_r): Likewise.
6095 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6096 (_nss_nis_getsecretkey): Likewise.
6097 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6098 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6099 (_nss_nis_getpwuid_r): Likewise.
6100 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6101 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6102 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6103 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6104 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6105 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6106 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6107 Likewise.
57f41c40
AS
6108 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6109 (_nss_nisplus_getntohost_r): Likewise.
6110 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6111 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6112 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6113 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6114 Likewise.
57f41c40
AS
6115 * nis/nss_nisplus/nisplus-initgroups.c
6116 (_nss_nisplus_initgroups_dyn): Likewise.
6117 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6118 (_nss_nisplus_getnetbyaddr_r): Likewise.
6119 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6120 (_nss_nisplus_getprotobynumber_r): Likewise.
6121 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6122 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6123 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6124 Likewise.
57f41c40
AS
6125 * nis/nss_nisplus/nisplus-service.c
6126 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6127 (_nss_nisplus_getservbyport_r): Likewise.
6128 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6129 (_nss_nisplus_getspnam_r): Likewise.
6130 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6131 Likewise.
a1ffb40e
OB
6132 * nscd/aicache.c (addhstaiX): Likewise.
6133 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6134 * nscd/connections.c (register_traced_file, send_ro_fd)
6135 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6136 (main_loop_epoll): Likewise.
a1ffb40e
OB
6137 * nscd/grpcache.c (addgrbyX): Likewise.
6138 * nscd/hstcache.c (addhstbyX): Likewise.
6139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6140 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6141 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6142 (addinnetgrX): Likewise.
6143 * nscd/nscd-client.h (__nscd_acquire_maplock)
6144 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6145 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6146 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6147 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6148 Likewise.
6149 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6151 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6152 (__nscd_get_map_ref): Likewise.
a1ffb40e 6153 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6154 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6155 Likewise.
a1ffb40e
OB
6156 * nscd/pwdcache.c (addpwbyX): Likewise.
6157 * nscd/selinux.c (preserve_capabilities): Likewise.
6158 * nscd/servicescache.c (addservbyX): Likewise.
6159 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6160 * posix/fnmatch.c (fnmatch): Likewise.
6161 * posix/getopt.c (_getopt_internal_r): Likewise.
6162 * posix/glob.c (glob, glob_in_dir): Likewise.
6163 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6164 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6165 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6166 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6167 * resolv/res_init.c: Likewise.
6168 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6169 * resolv/res_query.c (__libc_res_nquery): Likewise.
6170 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6171 Likewise.
6172 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6173 * stdio-common/perror.c (perror): Likewise.
6174 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6175 * stdio-common/tmpnam.c (tmpnam): Likewise.
6176 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6177 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6178 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6179 Likewise.
a1ffb40e
OB
6180 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6181 * stdlib/putenv.c (putenv): Likewise.
6182 * stdlib/setenv.c (__add_to_environ): Likewise.
6183 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6184 * stdlib/strtol_l.c (INTERNAL): Likewise.
6185 * string/memmem.c (memmem): Likewise.
6186 * string/strerror.c (strerror): Likewise.
6187 * string/strnlen.c (__strnlen): Likewise.
6188 * string/test-memmem.c (simple_memmem): Likewise.
6189 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6190 * sunrpc/pm_getport.c (__get_socket): Likewise.
6191 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6192 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6193 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6194 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6195 Likewise.
6196 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6197 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6198 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6199 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6200 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6201 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6202 Likewise.
6203 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6204 Likewise.
a1ffb40e
OB
6205 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6206 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6207 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6208 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6209 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6211 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6212 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6213 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6214 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6215 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6216 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6217 Likewise.
6218 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6219 Likewise.
6220 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6221 Likewise.
6222 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6223 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6224 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6225 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6226 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6227 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6228 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6229 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6231 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6232 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6234 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6235 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6237 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6238 Likewise.
a1ffb40e
OB
6239 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6240 Likewise.
6241 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6242 Likewise.
6243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6244 Likewise.
6245 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6246 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6247 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6248 Likewise.
6249 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6250 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6251 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6252 * sysdeps/posix/sleep.c: Likewise.
6253 * sysdeps/posix/tempname.c: Likewise.
6254 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6255 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6256 Likewise.
57f41c40
AS
6257 * sysdeps/powerpc/powerpc32/dl-machine.h
6258 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6259 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6260 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6261 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6262 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6263 Likewise.
6264 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6265 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6266 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6268 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6269 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6270 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6271 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6272 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6273 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6274 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6275 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6276 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6278 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6279 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6280 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6281 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6282 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6283 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6284 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6285 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6287 Likewise.
6288 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6289 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6290 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6291 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6292 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6293 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6294 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6295 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6296 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6297 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6298 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6299 Likewise.
6300 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6301 (__posix_fallocate64_l64): Likewise.
6302 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6303 (posix_fallocate): Likewise.
57f41c40
AS
6304 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6305 Likewise.
a1ffb40e 6306 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6307 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6308 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6309 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6310 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6311 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6312 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6313 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6314 (__posix_fallocate64_l64): Likewise.
6315 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6316 Likewise.
6317 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6318 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6319 (__get_clockfreq): Likewise.
a1ffb40e
OB
6320 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6321 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6322 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6325 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6326 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6327 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6328 Likewise.
6329 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6330 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6331 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6332 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6334 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6335 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6336 Likewise.
6337 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6338 (posix_fallocate): Likewise.
6339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6340 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6341 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6342 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6343 (elf_machine_rela, elf_machine_rela_relative)
6344 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6345 * time/asctime.c (asctime_internal): Likewise.
6346 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6347 * time/tzset.c (__tzset_parse_tz): Likewise.
6348 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6349 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6350 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6351 * wcsmbs/wcsmbsload.h: Likewise.
6352
f3d338c9
OB
6353 [BZ #15894]
6354 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6355
57f41c40
AS
6356 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6357 (arena_get2): Remove THREAD_STATS conditionals.
6358 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6359 (__malloc_stats, int): Likewise.
bdfe308a 6360
d674667c
MF
63612014-02-08 Mike Frysinger <vapier@gentoo.org>
6362
6363 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6364 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6365
6349768c
MF
6366 * manual/setjmp.texi: Fix typos/grammar errors.
6367
0b7c7473
MF
6368 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6369 Only return early when n is <= 0. Delete unused return statement.
6370
ac8cc9e3
MF
6371 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6372 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6373 * debug/tst-longjmp_chk3.c: New file.
6374
c5bb8e23
MF
6375 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6376 (test_main): Replace code with set_fortify_handler call.
6377 * debug/test-strcpy_chk.c: Likewise.
6378 * debug/tst-chk1.c: Likewise.
6379 * debug/tst-longjmp_chk.c: Likewise.
6380 * test-skeleton.c: Include fcntl.h & paths.h
6381 (set_fortify_handler): Define.
6382
10444e42
MF
6383 * debug/tst-longjmp_chk.c: Add header comment and include
6384 ../test-skeleton.c.
6385 (do_test): Mark static.
6386 (TEST_FUNCTION): Define.
6387
1e805e8d
MF
6388 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6389 (IP_PMTUDISC_INTERFACE): Likewise.
6390 (IP_MULTICAST_IF): Likewise.
6391 (IP_MULTICAST_TTL): Likewise.
6392 (IP_MULTICAST_LOOP): Likewise.
6393 (IP_ADD_MEMBERSHIP): Likewise.
6394 (IP_DROP_MEMBERSHIP): Likewise.
6395 (IP_UNBLOCK_SOURCE): Likewise.
6396 (IP_BLOCK_SOURCE): Likewise.
6397 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6398 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6399 (IP_MSFILTER): Likewise.
6400 (MCAST_JOIN_GROUP): Likewise.
6401 (MCAST_BLOCK_SOURCE): Likewise.
6402 (MCAST_UNBLOCK_SOURCE): Likewise.
6403 (MCAST_LEAVE_GROUP): Likewise.
6404 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6405 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6406 (MCAST_MSFILTER): Likewise.
6407 (IP_MULTICAST_ALL): Likewise.
6408 (IP_UNICAST_IF): Likewise.
6409
73f79bb7
MF
6410 * timezone/Makefile: Delete $(have-ksh) check.
6411 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6412 * timezone/tzselect.ksh: Add +x mode bits.
6413
8da79b60
MF
6414 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6415 (ANON_INODE_FS_MAGIC): Likewise.
6416 (BDEVFS_MAGIC): Likewise.
6417 (BINFMTFS_MAGIC): Likewise.
6418 (BTRFS_TEST_MAGIC): Likewise.
6419 (CRAMFS_MAGIC_WEND): Likewise.
6420 (DEBUGFS_MAGIC): Likewise.
6421 (ECRYPTFS_SUPER_MAGIC): Likewise.
6422 (EXT3_SUPER_MAGIC): Likewise.
6423 (EXT4_SUPER_MAGIC): Likewise.
6424 (FUTEXFS_SUPER_MAGIC): Likewise.
6425 (HOSTFS_SUPER_MAGIC): Likewise.
6426 (HUGETLBFS_MAGIC): Likewise.
6427 (MINIX3_SUPER_MAGIC): Likewise.
6428 (MTD_INODE_FS_MAGIC): Likewise.
6429 (NILFS_SUPER_MAGIC): Likewise.
6430 (OPENPROM_SUPER_MAGIC): Likewise.
6431 (PIPEFS_MAGIC): Likewise.
6432 (PSTOREFS_MAGIC): Likewise.
6433 (QNX6_SUPER_MAGIC): Likewise.
6434 (RAMFS_MAGIC): Likewise.
6435 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6436 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6437 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6438 (SECURITYFS_MAGIC): Likewise.
6439 (SELINUX_MAGIC): Likewise.
6440 (SMACK_MAGIC): Likewise.
6441 (SOCKFS_MAGIC): Likewise.
6442 (SQUASHFS_MAGIC): Likewise.
6443 (STACK_END_MAGIC): Likewise.
6444 (TMPFS_MAGIC): Likewise.
6445 (USBDEVICE_SUPER_MAGIC): Likewise.
6446 (V9FS_MAGIC): Likewise.
6447 (XENFS_SUPER_MAGIC): Likewise.
6448 (CRAMFS_MAGIC): Fix typo in comment.
6449 (EXT2_SUPER_MAGIC): Update comment.
6450 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6451
464263cc
JM
64522014-02-08 Joseph Myers <joseph@codesourcery.com>
6453
c6bfe5c4
JM
6454 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6455 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6456 * sysdeps/unix/sysv/linux/arm: Move directory from
6457 ports/sysdeps/unix/sysv/linux/arm.
6458 * README: Update listing for arm-*-linux-gnueabi.
6459
464263cc
JM
6460 * README: Remove mention of am33.
6461
32749f6c
RM
64622014-02-07 Roland McGrath <roland@hack.frob.com>
6463
6464 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6465 than the comma operator, to avoid "rhs of comma has no effect"
6466 compiler warnings.
6467 (__sigfillset, __sigandset, __sigorset): Likewise.
6468 * include/signal.h (__sigemptyset): Likewise.
6469 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6470
d5b396c1
AM
64712014-02-07 Allan McRae <allan@archlinux.org>
6472
6473 * version.h (RELEASE): Set to "development".
6474 (VERSION): Set to "2.19.90"
6475 * NEWS: Add 2.20 section.
6476
3bfff2ed
CD
64772014-02-06 Carlos O'Donell <carlos@redhat.com>
6478
6479 [BZ #16529]
6480 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6481
ee7cc385
SP
64822014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6483
6484 * manual/contrib.texi: Update entry for Carlos O'Donell,
6485 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6486
f877c4f2
CD
64872014-02-05 Carlos O'Donell <carlos@rehdat.com>
6488
27e839f6
CD
6489 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6490
f877c4f2
CD
6491 * sysdeps/unix/sysv/linux/kernel-features.h
6492 [__LINUX_KERNEL_VERSION >= 0x020621]
6493 (__ASSUME_PROC_PID_TASK_COMM): Define.
6494
68159946
SP
64952014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6496
ba17cdbd
SP
6497 [BZ #16398]
6498 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6499 conversion when destination buffer does not have enough space.
6500 * libio/tst-ftell-partial-wide.c: New test case.
6501 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6502
68159946
SP
6503 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6504 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6505 Leonard and Allan McRae.
6506
2b528732
DM
65072014-02-04 David S. Miller <davem@davemloft.net>
6508
6509 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6510 32-bit.
6511
0ff82463
AZ
65122014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6513
57f41c40
AS
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6515 New file
c01603f7
AZ
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6517 New file
57f41c40
AS
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6519 New file.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6521 New file.
c01603f7
AZ
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6523 New file.
57f41c40
AS
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6525 New file.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6527 New file.
c01603f7
AZ
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6529 New file.
6530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6531 New file.
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6533 New file.
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6535 New file.
6536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6537 New file.
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6539 New file.
6540
65412014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6542
0ff82463
AZ
6543 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6544 * shlib-versions: Likewise.
6545
1695c773
AZ
65462014-02-04 Roland McGrath <roland@hack.frob.com>
6547 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6548
6549 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6550 (abilist-pattern): New variable, set to %-le.abilist.
6551
6552 * Makerules (abilist-pattern): New variable.
6553 (vpath): Use $(abilist-pattern) in place of %.abilist.
6554 (check-abi-% pattern rule): Likewise.
6555 (check-abi, update-abi): Likewise.
6556
6c0ce4b4
EW
65572014-02-04 Eric Wong <normalperson@yhbt.net>
6558
6559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6560
481e3524
CD
65612014-02-03 Carlos O'Donell <carlos@redhat.com>
6562
6563 * manual/startup.texi: Add next, previous, and top entries for
6564 the `Program Arguments' and `Environment Variables' nodes.
6565
375592d3
AO
65662014-02-03 Alexandre Oliva <aoliva@redhat.com>
6567
6568 * manual/macros.texi: Add comments before MTASC-safety macros.
6569
f54838ba
AO
6570 * manual/users.texi: Document MTASC-safety properties.
6571
57f41c40
AS
6572 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6573 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6574 @deftypefun, and add @safety note.
6575 * manual/signal.texi: Move comments that analyze the above
6576 functions to their home place.
6577
fd3daba4
AM
65782014-02-03 Allan McRae <allan@archlinux.org>
6579
6580 * po/sl.po: Update Slovenian translation from translation project.
6581
597636d7
AO
65822014-02-02 Alexandre Oliva <aoliva@redhat.com>
6583
6584 * manual/time.texi (timegm): Add missing blank after @c.
6585 Reported by Joseph Myers <joseph@codesourcery.com>.
6586
ee196e3c
AO
65872014-02-01 Alexandre Oliva <aoliva@redhat.com>
6588
6589 * manual/check-safety.sh: New.
6590 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6591
f8d529d5
AO
6592 * manual/terminal.texi: Document MTASC-safety properties.
6593
de55fdf4
AO
6594 * manual/filesys.texi: Document MTASC-safety properties.
6595
c3299c08
AO
6596 * manual/errno.texi: Document MTASC-safety properties.
6597
06e90b14
AO
6598 * manual/intro.texi: Document safety identifiers and
6599 conditionals.
6600
1acd4371
AO
6601 * manual/string.texi (wcstok): Fix prototype.
6602 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6603
23e5b8cb
AO
6604 * manual/time.texi: Document MTASC-safety properties.
6605
11087373
AO
6606 * manual/string.texi: Document MTASC-safety properties.
6607
5da2c93d
AO
6608 * manual/threads.texi: Document MTASC-safety properties.
6609
171e9210
AO
6610 * manual/stdio.texi: Document MTASC-safety properties.
6611
d9e02532
AO
6612 * manual/syslog.texi: Document MTASC-safety properties.
6613
6af8bab7
AO
6614 * manual/sysinfo.texi: Document MTASC-safety properties.
6615
663b02d7
AO
6616 * manual/startup.texi: Document MTASC-safety properties.
6617
973f180b
AO
6618 * manual/socket.texi: Document MTASC-safety properties.
6619
8f3c25c8
AO
6620 * manual/signal.texi: Document MTASC-safety properties.
6621
542210fb
AO
66222014-01-31 Alexandre Oliva <aoliva@redhat.com>
6623
6624 * manual/setjmp.texi: Document MTASC-safety properties.
6625
433c45a2
AO
6626 * manual/search.texi: Document MTASC-safety properties.
6627
c8ce789c
AO
6628 * manual/resource.texi: Document MTASC-safety properties.
6629
19f5d29c
AO
6630 * manual/process.texi: Document MTASC-safety properties.
6631
e2dfb7f4
AO
6632 * manual/platform.texi: Document MTASC-safety properties.
6633
8c1413f5
AO
6634 * manual/pipe.texi: Document MTASC-safety properties.
6635
03483ada
AO
6636 * manual/pattern.texi: Document MTASC-safety properties.
6637
29e7e2df
AO
6638 * manual/message.texi: Document MTASC-safety properties.
6639
9f529d7c
AO
6640 [BZ #12751]
6641 * manual/memory.texi: Document MTASC-safety properties.
6642
27aaa791
AO
6643 * manual/math.texi: Document MTASC-safety properties.
6644
f2d58726
AO
6645 * manual/locale.texi: Document MTASC-safety properties.
6646
2cc3615c
AO
6647 * manual/llio.texi: Document MTASC-safety properties.
6648
d9f0ec97
AO
6649 * manual/libdl.texi: New.
6650
e7c4409a
AO
6651 * manual/lang.texi: Document MTASC-safety properties.
6652
27bdc63c
AO
6653 * manual/job.texi: Document MTASC-safety properties.
6654
a7b90ea9
AO
6655 * manual/getopt.texi: Document MTASC-safety properties.
6656
c49130e3
AO
6657 * manual/ctype.texi: Document MTASC-safety properties.
6658
0d23a5c1
MR
66592014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6660
6661 [BZ #16046]
6662 * csu/libc-tls.c (static_map): Remove variable.
6663 (__libc_setup_tls): Use main executable's link map for TLS data.
6664 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6665 casing for LM_ID_BASE and GL(dl_nns).
6666 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6667 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6668 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6669 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6670 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6671 member.
6672 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6673 l_phnum members.
6674
0037bb60
AO
66752014-01-30 Alexandre Oliva <aoliva@redhat.com>
6676
6677 * manual/debug.texi: Document MTASC-safety properties.
6678
409e00bd
L
66792014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6680
6681 [BZ #16510]
6682 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6683 of __x86_64__ when disabling x87 inline functions.
6684
86e60666
AO
66852014-01-29 Alexandre Oliva <aoliva@redhat.com>
6686
6687 * manual/charset.texi: Document MTASC-safety properties.
6688
76167637
AO
6689 * manual/crypt.texi: Document MTASC-safety properties.
6690
e567f2a0
AO
6691 * manual/conf.texi: Document MTASC-safety properties.
6692
b719dafd
AO
6693 * manual/arith.texi: Document MTASC-safety properties.
6694
4a16c662
AO
6695 * manual/argp.texi: Document MTASC-safety properties.
6696
0a57b83e
AO
6697 * manual/macros.texi: Introduce macros to document multi
6698 thread, asynchronous signal and asynchronous cancellation
6699 safety properties.
6700 * manual/intro.texi: Introduce the properties themselves.
6701
feab2397
KK
67022014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6703
6704 * sysdeps/sh/sh4/Makefile: New file.
6705
1c0d11bc
AS
67062014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6707
6708 * math/gen-libm-test.pl ($srcdir): New variable.
6709 ($auto_input): Use it.
6710
af37a8a3
SP
67112014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6712
d7b00f98
SP
6713 [BZ #16506]
6714 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6715 access beyond array bounds when parsing netgroups file.
6716
af37a8a3
SP
6717 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6718 the old buffer before realloc.
6719
0c00f062
AM
67202014-01-27 Allan McRae <allan@archlinux.org>
6721
6722 * po/fr.po: Update French translation from translation project.
6723
7d69a1b0
KK
67242014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6725
6726 * sysdeps/sh/libm-test-ulps: Regenerate.
6727
6e697ff7
DM
67282014-01-24 David S. Miller <davem@davemloft.net>
6729
6730 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6731
9cadb35c
KK
67322014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6733
6734 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6735 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6736
5d41dadf
SP
67372013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6738
6739 [BZ #16474]
6740 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6741 string pointers after reallocation.
6742
0bad441c
KK
67432014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6744
6745 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6746 __SH4A__ instead of __SH_FPU_ANY__.
6747
7007c661
KK
67482014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6749
6750 * sysdeps/sh/fpu_control.h: New file.
6751 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6752 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6753 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6754 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6755 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6756 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6757 * sysdeps/sh/sys/ucontext.h: Remove.
6758 * sysdeps/sh/sys: Remove directory.
6759
0f0c35e4
AK
67602014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6761
6762 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6763 s390/sys/ucontext.h.
6764 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6765 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6766
4959e284
L
67672014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6768
6769 [BZ #15605]
6770 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6771
d98720e0
AZ
67722014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6773
6774 [BZ#16431]
6775 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6776 Adjust the vDSO correctly for internal calls.
6777 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6778
91cbd0bc
AM
67792014-01-20 Allan McRae <allan@archlinux.org>
6780
6781 * po/ca.po: Update Catalan translation from translation project.
6782
7a02cfad
MF
67832014-01-16 Mike Frysinger <vapier@gentoo.org>
6784
6785 * sysdeps/s390/sotruss-lib.c: New file.
6786
736c304a
AZ
67872014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6788
6789 [BZ#16430]
6e077ee5 6790 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6791 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6792 local calls issues by not having a PLT stub required for IFUNC calls.
6793 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6794
94d0cea0
JM
67952014-01-16 Joseph Myers <joseph@codesourcery.com>
6796
6797 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6798 * math/test-fpucw-static.c: Likewise.
6799
980cb518
SP
68002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6801
6802 [BZ #16453]
6803 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6804
2393fc01
AZ
68052014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6806
6807 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6808 implementation for powerpc.
6809
d359bcc2
OB
68102014-01-15 Ondřej Bílka <neleai@seznam.cz>
6811
6812 [BZ #14782]
6813 * sysdeps/posix/system.c (__libc_system): Do not enable
6814 asynchronous cancellation.
6815
7beb48cb
AK
68162014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6817
6818 [BZ #16427]
6819 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6820 handling only for numbers special also in the IEEE case.
6821
c20d5bf5
AK
68222014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6823
6824 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6825
e83bd4ee
AM
68262014-01-11 Allan McRae <allan@archlinux.org>
6827
76d0ea69
AM
6828 * po/bg.po: Update Bulgarian translation from translation project.
6829
e83bd4ee
AM
6830 * po/de.po: Update German translation from translation project.
6831
bc2ba20a
RM
68322014-01-10 Roland McGrath <roland@hack.frob.com>
6833
6834 * sysdeps/generic/gcc-compat.h: New file.
6835
649ecea2
SP
68362014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6837
6838 * benchtests/asin-inputs: Correct slow inputs.
6839 * benchtests/acos-inputs: Likewise.
6840
1b19c006
AM
68412014-01-10 Allan McRae <allan@archlinux.org>
6842
a46dab08
AM
6843 * po:sv.po: Update Swedish translation from translation project.
6844
421df74a
AM
6845 * po/vi.po: Update Vietnamese translation from translation project.
6846
d61c51a7
AM
6847 * po/eo.po: Update Esperanto translation from translation project.
6848
0339a319
AM
6849 * po/cs.po: Update Czech translation from translation project.
6850
94ad3e99
AM
6851 * po/nl.po: Update Dutch translation from translation project.
6852
e349ca71
AM
6853 * po/pl.po: Update Polish translation from translation project.
6854
ddf930c1
AM
6855 * po/ru.po: Update Russian translation from translation project.
6856
1b19c006
AM
6857 * po/uk.po: Update Ukrainian translation from translation project.
6858
9f236c49
BM
68592014-01-08 Brooks Moses <bmoses@google.com>
6860
6861 * elf/dl-load.c: Fix comment typo.
6862
cd6701cf
CD
68632014-01-08 Carlos O'Donell <carlos@redhat.com>
6864
6865 * po/header.pot: Rename to...
6866 * po/pot.header: ... this.
6867 * po/Makefile: Use pot.header.
6868
66671c84
YK
68692014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6870 Maxim Kuvyrkov <maxim@kugelworks.com>
6871
6872 [BZ #16394]
cd6701cf
CD
6873 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6874 SRC and DEST against LEN.
66671c84 6875
38f34581
AZ
68762014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877
6878 [BZ #16414]
6879 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6880 implementation.
6881 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6882
68832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6884
6885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6886
4c327f2a
JM
68872014-01-08 Joseph Myers <joseph@codesourcery.com>
6888
6889 [BZ #16408]
6890 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6891 for large positive arguments.
6892
b821f414
JM
68932014-01-07 Joseph Myers <joseph@codesourcery.com>
6894
1f0f2067
JM
6895 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6896
a5a326f6
JM
6897 * math/auto-libm-test-in: Mark various tests with
6898 xfail-rounding:ldbl-128ibm.
6899 * math/auto-libm-test-out: Regenerated.
6900
b821f414
JM
6901 [BZ #16407]
6902 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6903 Increase overflow threshold.
6904
94c8a4bc
OB
69052014-01-07 Ondřej Bílka <neleai@seznam.cz>
6906
6907 [BZ #14286]
6908 * stdio-common/vfprintf.c: Check for integer overflow.
6909
87ded0c3
AK
69102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6911
6912 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6913 the first argument and return value of __tls_get_addr_internal.
6914
c5eebdd0
AK
69152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6916
6917 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6918 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6919
05d138ef
AK
69202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6921
6922 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6923 * sysdeps/s390/rtld-global-offsets.sym: New file.
6924 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6925 GLIBC_2.19 symbol.
6926 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6927 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6928 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6929 ... this.
6930 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6931 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6932 ... this.
6933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6934 Regenerate.
6935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6936 Regenerate.
6937 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6938 halfs of GPRs for high_gprs contexts.
6939 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6940 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6941 field.
6942 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6943 uc_flags field.
6944 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6945 64 bit versions:
6946 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6947 for high GPRs (uc_high_gprs) and for future extensions
6948 (__reserved).
6949 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6950 for future extensions (__reserved).
6951 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6952 64 bit versions:
6953 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6954 SC_HIGHGPRS offset definition.
6955 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6956 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6957
93a45ff1
AK
6958 * Versions.def: Add GLIBC_2.19 for libpthread.
6959 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6960 siglongjmp for libpthread with GLIBC_2.19 symver.
6961 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6962 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6963 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6964 * sysdeps/s390/__longjmp.c: New file.
6965 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6966 * sysdeps/s390/longjmp.c: New file.
6967 * sysdeps/s390/setjmp.S: New file.
6968 * sysdeps/s390/sigjmp.S: New file.
6969 * sysdeps/s390/v1-longjmp.c: New file.
6970 * sysdeps/s390/v1-setjmp.h: New file.
6971 * sysdeps/s390/v1-sigjmp.c: New file.
6972 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6973 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6974 GLIBC_2.19 version.
6975 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6976 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6977 versioned symbols for ____longjmp_chk.
6978 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6979 Likewise.
6980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6981 Regenerate.
6982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6983 Regenerate.
6984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6985 Regenerate.
6986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6987 Regenerate.
6988 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6989 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6990 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6991 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6992 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6993 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6994 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6995 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6996 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6997 * sysdeps/s390/rtld-__longjmp.c: New file.
6998 * sysdeps/s390/rtld-setjmp.S: New file.
6999
eb3fc44b
JM
70002014-01-06 Joseph Myers <joseph@codesourcery.com>
7001
7002 [BZ #16400]
7003 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7004 Return -__logl (x) for small positive arguments without evaluating
7005 a polynomial.
7006
9341dde4
MF
70072014-01-06 Mike Frysinger <vapier@gentoo.org>
7008
7009 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7010 Rename to ...
7011 (__ptrace_peeksiginfo_args): ... this.
7012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7015
4cff0293
AM
70162014-01-06 Allan McRae <allan@archlinux.org>
7017
7018 * inet/netinet/in.h: Fix typo in comment.
7019
75595dcf
AJ
70202014-01-05 Andreas Jaeger <aj@suse.de>
7021
7022 * sysdeps/i386/fpu/libm-test-ulps: Update.
7023
79c1e109
AM
70242014-01-05 Allan McRae <allan@archlinux.org>
7025
dd804818
AM
7026 * po/libc.pot: Regenerated.
7027
79c1e109
AM
7028 * malloc/memusagestat.c: Fix gettext call formatting.
7029
0c813d1f
SK
70302014-01-04 Sami Kerola <kerolasa@iki.fi>
7031
7032 * nscd/nscd.c: Improve usage() output.
7033
20f4a8d9
MF
70342014-01-04 Mike Frysinger <vapier@gentoo.org>
7035
7036 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7037 * sysdeps/unix/sysv/linux/configure: Regenerated.
7038 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7039 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7040
22562bb2
JM
70412014-01-03 Joseph Myers <joseph@codesourcery.com>
7042
7043 [BZ #16390]
7044 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7045 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7046
d7ad2d9b
AZ
70472014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7048
7049 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7050 extra tokens at end of #undef directive.
7051 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7052 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7053 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7054
7dd009d8
JM
70552014-01-03 Joseph Myers <joseph@codesourcery.com>
7056
24db925a
JM
7057 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7058
7dd009d8
JM
7059 * math/auto-libm-test-in: Mark various tests with
7060 xfail-rounding:ldbl-128ibm.
7061 * math/auto-libm-test-out: Regenerated.
7062
396e3ecf
JM
70632014-01-02 Joseph Myers <joseph@codesourcery.com>
7064
819e5d50
JM
7065 [BZ #16386]
7066 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7067 numbers with subnormal high part when calculating exponent.
7068
90b6a1e5
JM
7069 [BZ #16385]
7070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7071 fabs.
7072
396e3ecf
JM
7073 [BZ #16384]
7074 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7075 M_LN2l.
7076 (__ieee754_acoshl): Use __log1pl not __log1p.
7077
6c8dbf00
OB
70782013-01-02 Ondřej Bílka <neleai@seznam.cz>
7079
57f41c40
AS
7080 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7081 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7082 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7083 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7084 (reused_arena, arena_get2): Convert to GNU style.
7085 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7086 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7087 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7088 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7089 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7090 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7091 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7092 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7093 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7094 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7095 * malloc/malloc.h: Likewise.
57f41c40
AS
7096 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7097 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7098 * malloc/mcheck.h: Likewise.
57f41c40
AS
7099 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7100 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7101 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7102 * malloc/morecore.c (__default_morecore): Likewise.
7103 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7104 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7105 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7106 (print_and_abort): Likewise.
6c8dbf00
OB
7107 * malloc/obstack.h: Likewise.
7108 * malloc/set-freeres.c (__libc_freeres): Likewise.
7109 * malloc/tst-mallocstate.c (main): Likewise.
7110 * malloc/tst-mtrace.c (main): Likewise.
7111 * malloc/tst-realloc.c (do_test): Likewise.
7112
d4124212
SP
71132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7114
9a3c6a6f
SP
7115 [BZ #16366]
7116 * nscd/netgroupcache.c (do_notfound): New function.
7117 (addgetnetgrentX): Use it.
7118
d4124212
SP
7119 [BZ # 16365]
7120 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7121 NSS_STATUS_NOTFOUND.
7122
97b9a009
JM
71232014-01-01 Joseph Myers <joseph@codesourcery.com>
7124
7125 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7127
d4697bc9
AM
71282014-01-01 Allan McRae <allan@archlinux.org>
7129
ddb3687f
AM
7130 * scripts/update-copyrights: Update configure input file suffix.
7131
88726d48
AM
7132 * NEWS: Update copyright year.
7133 * catgets/gencat.c: Likewise.
7134 * csu/version.c: Likewise.
7135 * debug/catchsegv.sh: Likewise.
7136 * debug/pcprofiledump.c: Likewise.
7137 * debug/xtrace.sh: Likewise.
7138 * elf/ldconfig.c: Likewise.
7139 * elf/ldd.bash.in: Likewise.
7140 * elf/pldd.c: Likewise.
7141 * elf/sotruss.ksh: Likewise.
7142 * elf/sprof.c: Likewise.
7143 * iconv/iconv_prog.c: Likewise.
7144 * iconv/iconvconfig.c: Likewise.
7145 * locale/programs/locale.c: Likewise.
7146 * locale/programs/localedef.c: Likewise.
7147 * login/programs/pt_chown.c: Likewise.
7148 * malloc/memusage.sh: Likewise.
7149 * malloc/memusagestat.c: Likewise.
7150 * malloc/mtrace.pl: Likewise.
7151 * manual/libc.texinfo: Likewise.
7152 * nscd/nscd.c: Likewise.
7153 * nss/getent.c: Likewise.
7154 * nss/makedb.c: Likewise.
7155 * posix/getconf.c: Likewise.
7156 * scripts/test-installation.pl: Likewise.
7157
d4697bc9
AM
7158 * All files with FSF copyright notices: Update copyright dates
7159 using scripts/update-copyrights.
7160 * intl/plural.c: Regenerated.
7161 * locale/programs/charmap-kw.h: Likewise.
7162 * locale/programs/locfile-kw.h: Likewise.
7163
c8590f9d
MF
71642013-12-31 Mike Frysinger <vapier@gentoo.org>
7165
7166 * sysdeps/unix/sysv/linux/configure: Regenerated.
7167 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7168 the linux/fanotify.h header.
7169 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7170 HAVE_LINUX_FANOTIFY_H is defined.
7171
b19221b9
SP
71722013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7173
dd1d85e5
SP
7174 * benchtests/cos-inputs: New inputs.
7175 * benchtests/sin-inputs: Likewise.
7176
1acbb90f
SP
7177 * benchtests/atan-inputs: New inputs. Fix name of multiple
7178 precision fallback inputs.
7179
4c012ed3
SP
7180 * benchtests/atanh-inputs: New inputs.
7181 * benchtests/tanh-inputs: Likewise.
7182
eff98324
SP
7183 * benchtests/acosh-inputs: New inputs.
7184 * benchtests/asinh-inputs: Likewise.
7185
ce641152
SP
7186 * benchtests/cosh-inputs: New inputs.
7187 * benchtests/sinh-inputs: Likewise.
7188
b19221b9
SP
7189 * benchtests/acos-inputs: Add more inputs.
7190 * benchtests/asin-inputs: Likewise.
7191
030a4976 71922013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7193
030a4976 7194 [BZ #16375]
9dcc8f11
VS
7195 * manual/arith.texi: Fix spelling.
7196 * manual/charset.texi: Likewise.
7197 * manual/errno.texi: Likewise.
7198 * manual/filesys.texi: Likewise.
7199 * manual/lang.texi: Likewise.
7200 * manual/llio.texi: Likewise.
7201 * manual/locale.texi: Likewise.
7202 * manual/message.texi: Likewise.
7203 * manual/resource.texi: Likewise.
7204 * manual/search.texi: Likewise.
7205 * manual/setjmp.texi: Likewise.
7206 * manual/stdio.texi: Likewise.
7207 * manual/string.texi: Likewise.
7208 * manual/sysinfo.texi: Likewise.
7209 * manual/time.texi: Likewise.
7210
11520a57
CD
72112013-12-27 Carlos O'Donell <carlos@redhat.com>
7212
7213 * po/sl.po: New file.
7214
471103ae
MF
72152013-12-27 Mike Frysinger <vapier@gentoo.org>
7216
7217 * .gitignore: Add core/.gdbinit/.gdb_history.
7218
6c9642ed
AM
72192013-12-27 Allan McRae <allan@archlinux.org>
7220
7221 [BZ #16369]
7222 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7223 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7224
3f637079
BM
72252013-12-24 Brooks Moses <bmoses@google.com>
7226
7227 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7228 all compilers that claim C++98 compliance, not just GCC.
7229 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7230 Likewise.
7231
abc26e99
MK
72322013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7233
7234 * NEWS: Restore accidentally deleted bug-fix entries.
7235
362b47fe
MK
72362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7237 Ondřej Bílka <neleai@seznam.cz>
7238
7239 [BZ #15073]
7240 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7241 have_lock.
362b47fe 7242
b9bcbbcb
OB
72432013-12-23 Ondřej Bílka <neleai@seznam.cz>
7244
7245 [BZ #12986]
7246 * manual/stdio.texi (String Input Conversions): Clarify that character
7247 classes are not supported.
7248
fb55fcd2
AZ
72492013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7250
7251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7252
ef7344f0
JM
72532013-12-22 Joseph Myers <joseph@codesourcery.com>
7254
4f40e4b3
JM
7255 [BZ #16337]
7256 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7257 Calculate results for small negative arguments directly rather
7258 than using reflection formula with special underflow handling.
7259
ef7344f0
JM
7260 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7261 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7262 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7263 (fchflags): Likewise.
7264 (revoke): Likewise.
7265 (setlogin): Likewise.
7266 (sigaltstack): Likewise.
7267 (wait4): Likewise.
7268 (sigblock): Remove.
7269 (sigsetmask): Likewise.
7270 (wait3): Likewise.
7271 (waitpid): Likewise.
7272 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7273 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7274 file.
7275 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7276 * sysdeps/unix/bsd/Makefile: ... here.
7277 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7278 * sysdeps/unix/bsd/Versions: ... here.
7279 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7280 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7281 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7282 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7283 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7284 * sysdeps/unix/bsd/sigblock.c: ... here.
7285 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7286 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7287 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7288 * sysdeps/unix/bsd/sigvec.c: ... here.
7289 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7290 * sysdeps/unix/bsd/tcdrain.c: ... here.
7291 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7292 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7293 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7294 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7295 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7296 * sysdeps/unix/bsd/wait.c: ... here.
7297 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7298 * sysdeps/unix/bsd/wait3.c: ... here.
7299 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7300 * sysdeps/unix/bsd/waitpid.c: ... here.
7301
5b0626b9
JM
73022013-12-21 Joseph Myers <joseph@codesourcery.com>
7303
7304 [BZ #16356]
7305 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7306 round-to-nearest for [!USE_AS_EXPM1L].
7307 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7308 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7309 more tests of exp and exp10. Expect some exp10 tests to miss
7310 exceptions or fail in directed rounding modes.
7311 * math/auto-libm-test-out: Regenerated.
7312 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7313 (exp10_test_tonearest): New function.
7314 (exp10_towardzero_test_data): New array.
7315 (exp10_test_towardzero): New function.
7316 (exp10_downward_test_data): New array.
7317 (exp10_test_downward): New function.
7318 (exp10_upward_test_data): New array.
7319 (exp10_test_upward): New function.
7320 (main): Call the new functions.
7321 * sysdeps/i386/fpu/libm-test-ulps: Update.
7322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7323
7fda5682
JM
73242013-12-20 Joseph Myers <joseph@codesourcery.com>
7325
31e3a405
JM
7326 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7327 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7328 * math/auto-libm-test-out: Regenerated.
7329 * math/libm-test.inc (acosh_test_data): Add more tests.
7330 (atanh_test_data): Likewise.
7331 (ceil_test_data): Likewise.
7332 (copysign_test_data): Likewise.
7333 * sysdeps/i386/fpu/libm-test-ulps: Update.
7334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7335
85bff96a
JM
7336 * timezone/checktab.awk: Update from tzcode 2013i.
7337 * timezone/private.h: Likewise.
7338 * timezone/scheck.c: Likewise.
7339 * timezone/tzfile.h: Likewise.
7340 * timezone/tzselect.ksh: Likewise.
7341 * timezone/zdump.c: Likewise.
7342 * timezone/zic.c: Likewise.
7343
b7867a3b
JM
7344 * math/auto-libm-test-in: Add tests of cpow.
7345 * math/auto-libm-test-out: Regenerated.
7346 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7347 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7348 mpc_cc_c.
7349 (func_calc_desc): Add mpc_cc_c union field.
7350 (test_functions): Add cpow.
7351 (special_fill_2pi): New function.
7352 (special_real_inputs): Add 2pi.
7353 (calc_generic_results): Handle mpc_cc_c.
7354 * sysdeps/i386/fpu/libm-test-ulps: Update.
7355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7356
7fda5682
JM
7357 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7358 csqrt, ctan and ctanh.
7359 * math/auto-libm-test-out: Regenerated.
7360 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7361 (TEST_COND_x86): Likewise.
7362 (ccos_test_data): Use AUTO_TESTS_c_c.
7363 (ccosh_test_data): Likewise.
7364 (cexp_test_data): Likewise.
7365 (clog_test_data): Likewise.
7366 (csqrt_test_data): Likewise.
7367 (ctan_test_data): Likewise.
7368 (ctan_tonearest_test_data): Likewise.
7369 (ctan_towardzero_test_data): Likewise.
7370 (ctan_downward_test_data): Likewise.
7371 (ctan_upward_test_data): Likewise.
7372 (ctanh_test_data): Likewise.
7373 (ctanh_tonearest_test_data): Likewise.
7374 (ctanh_towardzero_test_data): Likewise.
7375 (ctanh_downward_test_data): Likewise.
7376 (ctanh_upward_test_data): Likewise.
7377 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7378 mpc_c_c.
7379 (func_calc_desc): Add mpc_c_c union field.
7380 (FUNC_mpc_c_c): New macro.
7381 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7382 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7383 ctanh.
7384 (special_fill_min_subnorm_p120): New function.
7385 (special_real_inputs): Add min_subnorm_p120.
7386 (calc_generic_results): Handle mpc_c_c.
7387 * sysdeps/i386/fpu/libm-test-ulps: Update.
7388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7389
5ff8d60e
SP
73902013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7391
57f41c40
AS
7392 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7393 (do_sin_slow): New functions.
7394 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7395 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7396
84ba214c
SP
7397 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7398 Use M to change sign of result instead of X. Assume X is
7399 positive.
7400 (csloww1): Likewise.
7401 (__sin): Adjust.
7402 (__cos): Adjust.
7403
975195e4
SP
7404 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7405 arguments A and DA.
7406 (__sin): Adjust.
7407 (__cos): Likewise.
7408
5ff8d60e
SP
7409 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7410 (__cos): Likewise.
7411 (sloww1): Don't adjust sign of DX.
7412 (csloww1): Likewise.
7413 (sloww2): Use X directly and don't adjust sign of DX.
7414 (csloww2): Likewise.
7415
eb983568
JM
74162013-12-19 Joseph Myers <joseph@codesourcery.com>
7417
64a17f1a
JM
7418 * math/auto-libm-test-in: Add tests of cabs and carg.
7419 * math/auto-libm-test-out: Regenerated.
7420 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7421 (carg_test_data): Likewise.
7422 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7423 mpc_c_f.
7424 (func_calc_desc): Add mpc_c_f union field.
7425 (test_functions): Add cabs and carg.
7426 (calc_generic_results): Handle mpc_c_f.
7427
eb983568
JM
7428 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7429 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7430 as a macro and a compat symbol.
7431 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7432 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7433 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7434 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7435 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7436 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7437 not use .hidden.
7438 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7439 Likewise.
7440 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7441 Likewise.
7442 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7443 Likewise.
7444 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7445 Likewise.
7446 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7447 Likewise.
7448 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7449 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7450 from GLIBC_2.3.2.
7451
6eeb678a
AZ
74522013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7453
7454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7455
6f6fc482
JM
74562013-12-19 Joseph Myers <joseph@codesourcery.com>
7457
21fea2e2
JM
7458 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7459 trailing whitespace removed.
7460 * scripts/config.guess: Update to version 2013-11-29.
7461 * scripts/config.sub: Update to version 2013-10-01.
7462
6f6fc482
JM
7463 * math/auto-libm-test-in: Add tests of sincos.
7464 * math/auto-libm-test-out: Regenerated.
7465 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7466 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7467 mpfr_f_11.
7468 (func_calc_desc): Add mpfr_f_11 union field.
7469 (test_functions): Add sincos.
7470 (calc_generic_results): Handle mpfr_f_11.
7471 * sysdeps/i386/fpu/libm-test-ulps: Update.
7472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7473
83f5c32d
AS
74742013-12-19 Andreas Schwab <schwab@suse.de>
7475
7476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7477 CALL_MCOUNT.
7478 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7479 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7480 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7481
c688b419
JM
74822013-12-19 Joseph Myers <joseph@codesourcery.com>
7483
335ee092
JM
7484 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7485 * sysdeps/i386/fpu/libm-test-ulps: Update.
7486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7487
f88acd39
JM
7488 [BZ #16293]
7489 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7490 round-to-nearest mode when using frndint.
7491 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7492 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7493 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7494 Likewise.
7495 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7496 sinh test to fail.
7497 * math/auto-libm-test-out: Regenerated.
7498 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7499 (TEST_COND_x86): Likewise.
7500 (expm1_tonearest_test_data): New array.
7501 (expm1_test_tonearest): New function.
7502 (expm1_towardzero_test_data): New array.
7503 (expm1_test_towardzero): New function.
7504 (expm1_downward_test_data): New array.
7505 (expm1_test_downward): New function.
7506 (expm1_upward_test_data): New array.
7507 (expm1_test_upward): New function.
7508 (main): Run the new test functions.
7509 * sysdeps/i386/fpu/libm-test-ulps: Update.
7510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7511
c688b419
JM
7512 * include/features.h: Update comment documenting feature test
7513 macros. Mention _DEFAULT_SOURCE in comment.
7514 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7515 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7516 _BSD_SOURCE and _SVID_SOURCE.
7517 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7518 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7519 !_SVID_SOURCE]: Likewise.
7520 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7521 (__USE_POSIX_IMPLICITLY): Define.
7522 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7523 (_POSIX_SOURCE): Undefine and redefine.
7524 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7525 (_POSIX_C_SOURCE): Likewise.
7526 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7527 (Feature Test Macros): Update documentation of default features.
7528
9f6e964c
RS
75292013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7530
7531 * benchtests/Makefile: Add bench-strtok.
7532 * benchtests/bench-strtok.c: New file: strtok benchtest.
7533
ee0a148a
AM
75342013-12-19 Allan McRae <allan@archlinux.org>
7535
7536 * manual/install.texi: Suppress menu for plain text output.
7537 * INSTALL: Regenerated.
7538
b9ab448f
BM
75392013-12-18 Brooks Moses <bmoses@google.com>
7540
7541 [BZ #15846]
7542 * misc/getauxval.c: Include errno.h.
7543 (__getauxval): Set errno to ENOENT if the requested type is not
7544 found.
7545 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7546 don't declare with __attribute_const__.
7547 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7548 * manual/startup.texi: Document that getauxval sets errno.
7549
23776487
JM
75502013-12-18 Joseph Myers <joseph@codesourcery.com>
7551
f889953b
JM
7552 * math/auto-libm-test-in: Add tests of jn and yn.
7553 * math/auto-libm-test-out: Regenerated.
7554 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7555 (yn_test_data): Likewise.
7556 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7557 mpfr_if_f.
7558 (func_calc_desc): Add mpfr_if_f union field.
7559 (FUNC_mpfr_if_f): New macro.
7560 (test_functions): Add jn and yn.
7561 (calc_generic_results): Assert type of second input for
7562 mpfr_ff_f. Handle mpfr_if_f.
7563 (output_for_one_input_case): Disable all checking for arguments
7564 fitting floating-point types in case of an integer argument.
7565 * sysdeps/i386/fpu/libm-test-ulps: Update.
7566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7567
23776487
JM
7568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7569 Don't expect fegetround reference in libm.so.
7570
cb756c6d
MS
75712013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7572
7573 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7574 $(config-cflags-nofma).
7575
2dec468f
JM
75762013-12-18 Joseph Myers <joseph@codesourcery.com>
7577
5953eb3a
JM
7578 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7579 * math/auto-libm-test-out: Regenerated.
7580
2dec468f
JM
7581 [BZ #16338]
7582 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7583 to determine exponent and adjust argument to have exponent of -1.
7584 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7585 log2.
7586 * math/auto-libm-test-out: Regenerated.
7587 * sysdeps/i386/fpu/libm-test-ulps: Update.
7588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7589
4d84e6ad
OB
75902013-12-18 Ondřej Bílka <neleai@seznam.cz>
7591
7592 * manual/probes.texi: Remove cases when per-thread arenas are
7593 disabled.
7594
1818483b
AS
75952013-12-18 Andreas Schwab <schwab@suse.de>
7596
7597 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7598 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7599 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7600 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7601 * sysdeps/i386/i686/multiarch/Makefile: Update.
7602 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7603
25de95bf
JM
76042013-12-17 Joseph Myers <joseph@codesourcery.com>
7605
7606 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7607 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7608
674762d9
PE
76092013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7610
ed27ed83 7611 [BZ #15968]
0748546f
PE
7612 Support TZ transition times < 00:00:00.
7613 This is needed for version-3 tz-format files; it supports time
7614 stamps past 2037 for America/Godthab (the only entry in the tz
7615 database for which this change is relevant).
7616 * manual/time.texi (TZ Variable): Document transition times
7617 from -167:59:59 through -00:00:01.
7618 * time/tzset.c (tz_rule): Time of day is now signed.
7619 (__tzset_parse_tz): Parse negative time of day.
7620
4480e934
PE
7621 Document TZ transition times >= 25:00:00.
7622 * manual/time.texi (TZ Variable): Document transition times from
7623 25:00:00 through 167:59:59. These are already supported, and this
7624 support will help with version-3 tz-format files.
7625
69947401
PE
7626 * manual/time.texi (TZ Variable): Modernize North America example
7627 to reflect current (i.e., 2007-and-later) daylight saving rules.
7628
674762d9
PE
7629 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7630
7011c262
JM
76312013-12-17 Joseph Myers <joseph@codesourcery.com>
7632
2fc6557e
JM
7633 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7634 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7636 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7637 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7638 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7639 * sysdeps/unix/bsd/clock.c: Likewise.
7640 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7641 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7642 * sysdeps/unix/bsd/init-posix.c: Likewise.
7643 * sysdeps/unix/bsd/poll.c: Likewise.
7644 * sysdeps/unix/bsd/ptsname.c: Likewise.
7645 * sysdeps/unix/bsd/seekdir.c: Likewise.
7646 * sysdeps/unix/bsd/setegid.c: Likewise.
7647 * sysdeps/unix/bsd/seteuid.c: Likewise.
7648 * sysdeps/unix/bsd/setgid.c: Likewise.
7649 * sysdeps/unix/bsd/setrgid.c: Likewise.
7650 * sysdeps/unix/bsd/setruid.c: Likewise.
7651 * sysdeps/unix/bsd/setsid.c: Likewise.
7652 * sysdeps/unix/bsd/setuid.c: Likewise.
7653 * sysdeps/unix/bsd/sigaction.c: Likewise.
7654 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7655 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7656 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7657 * sysdeps/unix/bsd/telldir.c: Likewise.
7658 * sysdeps/unix/bsd/times.c: Likewise.
7659 * sysdeps/unix/bsd/usleep.c: Likewise.
7660
029c7b25
JM
7661 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7662 ($(objpfx)libbsd-compat.a): Remove rule.
7663
7011c262
JM
7664 * include/features.h (__FAVOR_BSD): Do not define.
7665 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7666 features conflicting with POSIX.
7667 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7668 (_BSD_SOURCE): Remove description of not being a subset of other
7669 feature test macros.
7670 * manual/job.texi (getpgrp): Do not document BSD version.
7671 (getpgid): Do not document by reference to BSD getpgrp.
7672 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7673 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7674 * signal/signal.h [__FAVOR_BSD]: Likewise.
7675 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7676 instead of making contents conditional on [__FAVOR_BSD].
7677 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7678
affb6f78
AZ
76792013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680
7681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7682
c88769dd
JM
76832013-12-17 Joseph Myers <joseph@codesourcery.com>
7684
6432a540
JM
7685 [BZ #16314]
7686 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7687 values below 2**-450, not 2**-500.
7688 * math/auto-libm-test-in: Don't allow spurious underflow from
7689 hypot.
7690 * math/auto-libm-test-out: Regenerated.
7691
c88769dd
JM
7692 [BZ #16316]
7693 [BZ #16330]
7694 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7695 values of ha and hb and sort them after adjusting subnormal
7696 arguments.
7697 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7698 Likewise.
7699 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7700 values of ea and eb and sort them after adjusting subnormal
7701 arguments.
7702 * math/auto-libm-test-in: Do not expect some hypot tests of
7703 subnormals to fail. Add more hypot tests.
7704 * math/auto-libm-test-out: Regenerated.
7705
29618f6b
KK
77062013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7707
7708 [BZ #13304]
7709 * sysdeps/sh/s_fma.c: New file.
7710 * sysdeps/sh/s_fmaf.c: New file.
7711 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7712 version.
7713 * sysdeps/sh/Implies: Add sh/soft-fp.
7714
eacfdfbf
RM
77152013-12-16 Roland McGrath <roland@hack.frob.com>
7716
7717 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7718 level of indirection to members `objname', `errstring', `malloced'.
7719 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7720 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7721 it as the __longjmp argument (just pass 1 instead).
7722 (_dl_catch_error): Initialize C with argument pointers and address of
7723 volatile local ERRCODE rather than copying values out of C at return.
7724
ff362e5b
JM
77252013-12-16 Joseph Myers <joseph@codesourcery.com>
7726
7727 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7728 * math/auto-libm-test-out: Regenerated.
7729 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7730 (hypot_test_data): Likewise.
7731 (pow_test_data): Likewise.
7732 (pow_tonearest_test_data): Likewise.
7733 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7734 mpfr_ff_f.
7735 (func_calc_desc): Add mpfr_ff_f union field.
7736 (FUNC_mpfr_ff_f): New macro.
7737 (test_functions): Add atan2, hypot and pow.
7738 (special_fill_min): New function.
7739 (special_fill_minus_min): Likewise.
7740 (special_fill_min_subnorm): Likewise.
7741 (special_fill_minus_min_subnorm): Likewise.
7742 (special_real_inputs): Add min, -min, min_subnorm and
7743 -min_subnorm.
7744 (calc_generic_results): Handle mpfr_ff_f.
7745 * sysdeps/i386/fpu/libm-test-ulps: Update.
7746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7747
5764c27f
WN
77482013-12-16 Will Newton <will.newton@linaro.org>
7749
7750 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7751 (Aligned Memory Blocks): Add documentation for aligned_alloc
7752 and suggest it as an alternative to posix_memalign.
7753 (Hooks for Malloc): Document __memalign_hook is also called
7754 for aligned_alloc. (Summary of Malloc): Add summary for
7755 aligned alloc. Document __memalign_hook is also called
7756 for aligned_alloc.
7757
0a096e44
WN
77582013-12-16 Will Newton <will.newton@linaro.org>
7759
7760 * manual/memory.texi (Malloc Examples): Clarify default
7761 alignment documentation. Suggest posix_memalign rather
7762 than memalign or valloc.
7763 (Aligned Memory Blocks): Remove suggestion to use memalign
7764 or valloc. Remove obsolete comment about BSD.
7765 Document memalign errno values and mark the function obsolete.
7766 Document posix_memalign returned error codes. Mark valloc
7767 as obsolete. (Hooks for Malloc): __memalign_hook is also
7768 called for posix_memalign and valloc.
7769 (Summary of Malloc): Add posix_memalign to function summary.
7770 __memalign_hook is also called for posix_memalign and valloc.
7771
8d561986
SP
77722013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7773
7774 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7775 TAYLOR_SIN.
7776 (__sin): Adjust.
7777 (__cos): Likewise.
7778 (sloww): Use mynumber union. Expand ternary operator into
7779 if-else statements.
7780 (cslow): use mynumber union.
7781
73616a74
AM
77822013-12-16 Allan McRae <allan@archlinux.org>
7783
9e8ac24b
AM
7784 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7785 * configure: Regenerated.
7786
6f8e37eb
AM
7787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7788
8894bad3
AM
7789 [BZ #14120]
7790 * configure.ac: Added --enable-maintainer-mode. Check for
7791 autoconf when enabled.
7792 * configure: Regenerated.
7793
73616a74
AM
7794 * nscd/nscd.service: New file.
7795 * nscd/nscd.tmpfiles: New file.
7796
584b18eb
OB
77972013-12-14 Ondřej Bílka <neleai@seznam.cz>
7798
7799 [BZ #12100]
7800 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7801 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7802 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7803 (strstr): Add __strstr_sse2_unaligned ifunc.
7804 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7805 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7806 (strcasestr): Remove __strcasestr_sse42 ifunc.
7807 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7810
8a5c7897
KK
78112013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7812
7813 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7814 * sysdeps/sh/bits/fenv.h: ... here.
7815 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7816
fd712ef3
AZ
78172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7818
7819 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7820
42fcb46c
AZ
7821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7822 hypotf multiarch implementations.
7823 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7825 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7826 multiarch hypot for PPC64.
7827 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7828 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7830 multiarch hypotf for PPC64.
7831
83efded4
AZ
7832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7833 modff multiarch implementations.
7834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7837 multiarch modf for PPC64.
7838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7841 multiarch modff for PPC64.
7842
43e246d2
AZ
7843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7844 and logl multiarch implementations.
7845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7848 multiarch logb for PPC64.
7849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7852 multiarch logb for PPC64.
7853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7856 multiarch logb for PPC64.
7857
8fdad123
AZ
7858 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7859 isinff multiarch implementation.
7860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7861 file.
7862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7864 multiarch isinf for PPC64.
7865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7866 file.
7867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7868 multiarch isinff for PPC64.
7869
1481d706
AZ
7870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7871 finitef multiarch implementation.
7872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7873 file.
7874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7876 multiarch finite for PPC64.
7877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7878 file.
7879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7880 multiarch finitef for PPC64.
7881
5ccd5fc8
AZ
7882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7883 lrint multiarch implementation.
7884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7885 file.
7886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7888 multiarch llrint for PPC64.
7889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7890 multiarch lrint for PPC64.
7891
2568f3fa
AZ
7892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7893 copysignf multiarch implementation.
7894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7895 file.
7896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7897 file.
7898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7899 multiarch copysign for PPC64.
7900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7901 multiarch copysignf for PPC64.
7902
1cb341fd
AZ
7903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7904 multiarch implementation.
7905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7906 file.
7907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7908 file.
7909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7910 file.
7911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7912 file.
7913 multiarch llround for PPC64.
7914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7915 multiarch trunc for PPC64.
7916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7917 multiarch truncf for PPC64.
7918
59a3e194
AZ
7919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7920 multiarch implementation.
7921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7922 file.
7923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7924 file.
7925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7926 file.
7927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7928 file.
7929 multiarch llround for PPC64.
7930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7931 multiarch round for PPC64.
7932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7933 multiarch roundf for PPC64.
7934
357fd3b4
AZ
7935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7936 multiarch implementation.
7937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7938 file.
7939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7940 file.
7941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7942 file.
7943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7944 file.
7945 multiarch llround for PPC64.
7946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7947 multiarch floor for PPC64.
7948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7949 multiarch floorf for PPC64.
7950
96770f12
AZ
7951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7952 multiarch implementation.
7953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7954 file.
7955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7956 file.
7957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7958 file.
7959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7960 file.
7961 multiarch llround for PPC64.
7962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7963 multiarch ceil for PPC64.
7964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7965 multiarch ceilf for PPC64.
7966
c3627f6e
AZ
7967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7968 multiarch implementation.
7969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7970 file.
7971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7972 file.
7973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7974 file.
7975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7976 multiarch llround for PPC64.
7977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7978 multiarch lround for PPC64.
7979
b2284ad7
AZ
7980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7981 multiarch implementation.
7982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7985 file.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7989 multiarch isnan for PPC64.
7990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7991 multiarch isnanf for PPC64.
7992
69bbc63d
AZ
7993 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7994 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7995 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7996 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7997 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7999
c24517c9
AZ
8000 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8001 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8002 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8004
a52374e8
AZ
8005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8006 multiarch implementations.
8007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8008 (__libc_ifunc_impl_list): Likewise.
8009 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8012 multiarch stpcpy for PPC64.
8013
7f5ec113
AZ
8014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8015 multiarch implementations.
8016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8017 (__libc_ifunc_impl_list): Likewise.
8018 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8019 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8020 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8021 multiarch strcpy for PPC64.
8022
e28bcd42
AZ
8023 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8024 redefine function name.
8025 (_wordcopy_fwd_dest_aligned): Likewise.
8026 (_wordcopy_bwd_aligned): Likewise.
8027 (_wordcopy_bwd_dest_aligned): Likewise.
8028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8029 multiarch implementations.
8030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8031 (__libc_ifunc_impl_list): Likewise.
8032 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8033 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8034 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8035 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8036 multiarch wcscpy for PPC64.
8037
92cacfce
AZ
8038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8039 multiarch implementations.
8040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8041 (__libc_ifunc_impl_list): Likewise.
8042 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8043 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8044 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8045 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8046 multiarch wcscpy for PPC64.
8047
7b714620
AZ
8048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8049 multiarch implementations.
8050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8051 (__libc_ifunc_impl_list): Likewise.
8052 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8053 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8054 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8055 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8056 multiarch wcsrchr for PPC64.
8057
16fd2ae3
AZ
8058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8059 multiarch implementations.
8060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8061 (__libc_ifunc_impl_list): Likewise.
8062 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8063 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8064 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8065 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8066 multiarch wcschr for PPC64.
8067
9ee2969b
AZ
8068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8069 multiarch implementations.
8070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8071 (__libc_ifunc_impl_list): Likewise.
8072 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8073 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8074 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8075 multiarch strchrnul for PPC64.
8076
372dc060
AZ
8077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8078 implementations.
8079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8080 (__libc_ifunc_impl_list): Likewise.
8081 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8082 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8083 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8084 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8085 strchr for PPC64.
8086
24c2c3b9
AZ
8087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8088 implementations.
8089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8090 (__libc_ifunc_impl_list): Likewise.
8091 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8092 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8093 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8094 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8095 strncmp for PPC64.
8096
1c92d9a0
AZ
8097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8098 multiarch implementations.
8099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8100 (__libc_ifunc_impl_list): Likewise.
8101 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8102 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8103 strncasecmp for PPC64.
8104 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8105 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8106 multiarch strncasecmp_l for PPC64.
8107
17de3ee3
AZ
8108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8109 multiarch implementations.
8110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8111 (__libc_ifunc_impl_list): Likewise.
8112 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8113 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8114 multiarch strcasecmp for PPC64.
8115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8116 file.
8117 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8118 multiarch strcasecmp_l for PPC64.
8119
62982bf9
AZ
8120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8121 implementations.
8122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8123 (__libc_ifunc_impl_list): Likewise.
8124 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8125 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8126 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8127 strnlen for PPC64.
8128
a65f4904
AZ
8129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8130 implementations.
8131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8132 (__libc_ifunc_impl_list): Likewise.
8133 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8134 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8135 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8136 strlen for PPC64.
8137
1fd005ad
AZ
8138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8139 implementations.
8140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8141 (__libc_ifunc_impl_list): Likewise.
8142 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8143 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8144 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8145 rawmemrchr for PPC64.
8146
cd05ba91
AZ
8147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8148 implementation.
8149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8150 (__libc_ifunc_impl_list): Likewise.
8151 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8152 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8153 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8154 memrchr for PPC64.
8155
870f8676
AZ
8156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8157 implementation.
8158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8159 (__libc_ifunc_impl_list): Likewise.
8160 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8161 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8162 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8163 memchr for PPC64.
8164
f00be62b
AZ
8165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8166 implementation.
8167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8168 (__libc_ifunc_impl_list): Likewise.
8169 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8170 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8171 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8172 mempcpy for PPC64.
8173
8a29a3d0
AZ
8174 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8175 avoid cretion of __bzero symbol.
8176 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8177 Likewise.
8178 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8179 Likewise.
8180 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8181 Likewise.
8182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8183 multiarch implementations.
8184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8185 (__libc_ifunc_impl_list): Likewise.
8186 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8187 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8188 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8189 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8190 bzero for PPC32.
8191 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8192 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8193 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8194 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8195 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8196 memset for PPC64.
8197 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8198
07253fcf
AZ
8199 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8201 implementations.
8202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8203 (__libc_ifunc_impl_list): Likewise.
8204 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8205 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8206 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8207 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8208 memcmp for PPC64.
8209
b5beafbc
AZ
8210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8211 multiarch for POWER/PPC64.
8212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8213 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8215 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8216 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8217 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8218 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8219 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8220 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8221 memcpy for PPC64.
8222
5e6a4d4b
AZ
8223 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8224 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8225 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8226 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8227 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8228 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8229 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8230 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8231 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8232 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8233 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8234 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8235 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8236 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8237 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8245
ddfab6dc
KK
82462013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8247
8248 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8249
19b5525e
SP
82502013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8251
8252 * benchtests/Makefile (bench): Add exp2 and log2.
8253 (LDLIBS-bench-exp2): Add -lm.
8254 (LDLIBS-bench-log2): Likewise.
8255 * benchtests/exp2-inputs: New inputs file.
8256 * benchtests/log2-inputs: New inputs file.
8257 * benchtests/log-inputs: Add new inputs.
8258 * benchtests/tan-inputs: Likewise.
8259
196f7f5d
SP
82602013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8261
7a74607f
SP
8262 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8263 definition...
57f41c40
AS
8264 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8265 (csloww2): ... from here.
7a74607f 8266
196f7f5d
SP
8267 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8268 instead of structures.
8269 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8270 (POLYNOMIAL): Likewise.
8271 (TAYLOR_SLOW): Likewise.
8272 (__sin): Likewise.
8273 (__cos): Likewise.
8274 (slow1): Likewise.
8275 (slow2): Likewise.
8276 (sloww): Likewise.
8277 (sloww1); Likewise.
8278 (sloww2): Likewise.
8279 (bsloww1): Likewise.
8280 (bsloww2): Likewise.
8281 (cslow2): Likewise.
8282 (csloww): Likewise.
8283 (csloww1): Likewise.
8284 (csloww2): Likewise.
8285
0dfa665c
OB
82862013-12-10 Ondřej Bílka <neleai@seznam.cz>
8287
8288 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8289 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8290 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8291 * malloc/hooks.c (realloc_check): Likewise.
8292
5782a80f
OB
8293 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8294 * malloc/arena.c: Remove PER_THREAD conditional.
8295 [!PER_THREAD]: Remove code.
8296 (ptmalloc_unlock_all2): Likewise.
8297 (ptmalloc_init): Likewise.
8298 (_int_new_arena): Likewise.
8299 (arena_get2): Likewise.
8300 * malloc/hooks.c (__malloc_get_state): Likewise.
8301 (__malloc_set_state): Likewise.
8302 * malloc/malloc.c: Likewise.
8303 (struct malloc_state): Likewise.
8304 (struct malloc_par): Likewise.
8305 (__libc_realloc): Likewise.
8306 (__libc_mallopt): Likewise.
8307
aeb95445
AZ
83082013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8309
8310 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8311
e8349efd
OB
83122013-12-09 Ondřej Bílka <neleai@seznam.cz>
8313
8314 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8315 macro to a function. Check for zero perturb_byte.
8316 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8317
f3eeb3fc 8318 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8319 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8320 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8321 force_reg by atomic_forced_read.
8322 * malloc/arena.c (ptmalloc_init): Likewise.
8323 * malloc/hooks.c (top_check): Likewise.
8324
be2f9009
AZ
83252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8326
8327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8328
e7b914bd
MT
83292013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8330
8331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8332
9f0be4f8
JM
83332013-12-08 Joseph Myers <joseph@codesourcery.com>
8334
8335 * math/auto-libm-test-in: Add tests of lgamma.
8336 * math/auto-libm-test-out: Regenerated.
8337 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8338 (M_LOG_2_SQRT_PIl): Likewise.
8339 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8340 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8341 mpfr_f_f1.
8342 (func_calc_desc): Add mpfr_f_f1 union field.
8343 (ARGS1): New macro.
8344 (ARGS2): Likewise.
8345 (ARGS3): Likewise.
8346 (ARGS4): Likewise.
8347 (RET1): Likewise.
8348 (RET2): Likewise.
8349 (CALC): Likewise.
8350 (FUNC): Likewise.
8351 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8352 (test_functions): Add lgamma.
8353 (calc_generic_results): Handle mpfr_f_f1.
8354 * sysdeps/i386/fpu/libm-test-ulps: Update.
8355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8356
24eeafdb
AZ
83572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8358
8359 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8360 __mpn_add_n for PowerPC64/POWER7.
8361 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8362 __mpn_sub_n for PowerPC64/POWER7.
8363
4a2c0fd4
AZ
8364 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8365 __mpn_addmul_1 for PowerPC64.
8366 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8367 __mpn_submul_1 for PowerPC64.
8368 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8369 for PowerPC64.
8370 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8371 for PowerPC64.
8372
4b5b548c
FS
83732013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8374
8375 [BZ #15089]
8376 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8377
0a3ac0aa
AZ
83782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8379
8380 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8381
ccdc8438
AZ
8382 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8383 add multiarch folders.
8384 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8385 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8386 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8387 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8388 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8389 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8390 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8391 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8392 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8393 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8394 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8401
2e973d99
AZ
8402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8403 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8405 New file.
8406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8407 New file.
8408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8409 multiarch __ieee754_hypot for PowerPC32.
8410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8411 New file.
8412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8413 New file.
8414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8415 multiarch __ieee754_hypotf for PowerPC32.
8416
2d9470b2
AZ
8417 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8418 long_double_symbol only if __logbl is defined.
8419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8420 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8422 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8424 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8425 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8426 path for implementation.
8427 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8428 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8430 logb, and logbl multiarch implementations for PowerPC32.
8431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8432 file.
8433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8434 file.
8435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8436 multiarch logb for PowerPC32.
8437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8438 file.
8439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8440 file.
8441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8442 multiarch logbf for PowerPC32.
8443 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8445 file.
8446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8447 multiarch logbl implementation for PowerPC32.
8448
5212ffce
AZ
8449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8450 and modff multiarch implementations.
8451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8452 New file.
8453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8454 New file.
8455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8456 multiarch modf for PowerPC32.
8457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8458 New file.
8459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8460 New file.
8461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8462 multiarch modff for PowerPC32.
8463
79dccf31
AZ
8464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8465 and lrintf multiarch implementations.
8466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8467 New file.
8468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8469 New file.
8470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8471 multiarch lrint for PowerPC32.
8472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8473 file: multiarch lrintf for PowerPC32.
8474
deb66480
AZ
8475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8476 and lroundf multiarch implementations.
8477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8478 New file.
8479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8480 New file.
8481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8482 New file.
8483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8484 multiarch lround for PowerPC32.
8485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8486 file: multiarch lroundf for PowerPC32.
8487
264b036b
AZ
8488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8489 copysign and copysignf multiarch implementations.
8490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8491 New file.
8492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8493 New file.
8494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8495 file: multiarch copysign for PowerPC32.
8496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8497 file: multiarch copysignf for PowerPC32.
8498
d47db6c9
AZ
8499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8500 and truncf multiarch implementations.
8501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8502 New file.
8503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8504 file.
8505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8506 multiarch trunc for PowerPC32.
8507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8508 New file.
8509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8510 New file.
8511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8512 multiarch truncf for PowerPC32.
8513
ddb60b5a
AZ
8514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8515 and roundf multiarch implementations.
8516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8517 New file.
8518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8519 file.
8520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8521 multiarch round for PowerPC32.
8522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8523 New file.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8525 New file.
8526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8527 multiarch roundf for PowerPC32.
8528
bedcf49b
AZ
8529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8530 and floorf multiarch implementations.
8531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8532 New file.
8533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8534 file.
8535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8536 multiarch floor for PowerPC32.
8537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8538 New file.
8539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8540 New file.
8541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8542 multiarch floorf for PowerPC32.
8543
35ae5b40
AZ
8544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8545 and ceilf multiarch implementations.
8546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8547 New file.
8548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8549 file.
8550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8551 multiarch ceil for PowerPC32.
8552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8553 New file.
8554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8555 file.
8556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8557 multiarch ceilf for PowerPC32.
8558
ae1a4cd9
AZ
8559 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8560 is defined.
8561 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8562 FINITEF is defined.
8563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8564 and finitef multiarch implementations.
8565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8566 New file.
8567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8568 file.
8569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8570 multiarch finite for PowerPC32.
8571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8572 New file.
8573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8574 file: multiarch finitef for PowerPC32.
8575
64fffd65
AZ
8576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8577 and isinff multiarch implementations.
8578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8579 file.
8580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8581 file.
8582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8583 multiarch isinf for PowerPC32.
8584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8585 New file.
8586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8587 multiarch isinff for PowerPC32.
8588
8e4e7ba2
AZ
8589 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8590 alias when __isnan is defined.
8591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8592 and isnanf multiarch implementations.
8593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8594 file.
8595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8596 file.
8597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8598 file.
8599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8600 file.
8601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8602 multiarch isnan for PowerPC32.
8603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8604 New file.
8605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8606 New file.
8607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8608 multiarch isnanf for PowerPC32.
8609
ddba588e
AZ
8610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8611 and sqrtf multiarch implementations.
8612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8613 file.
8614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8615 file.
8616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8617 multiarch sqrt for PowerPC32.
8618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8619 file.
8620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8621 file.
8622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8623 multiarch sqrtf for PowerPC32.
8624
0f96a2f0
AZ
8625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8626 and llroundf multiarch implementations.
8627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8628 New file.
8629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8630 New file.
8631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8632 New file.
8633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8634 file: multiarch llround for PowerPC32.
8635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8636 file: multiarch llroundf for PowerPC32.
8637
c9b5d79e
AZ
8638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8639 multiarch PowerPC32 fpu implementations.
8640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8641 New file.
8642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8643 New file.
8644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8645 multiarch llrint for PowerPC32.
8646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8647 New file.
8648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8649 New file.
8650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8651 file.
8652
9cbb3aab
AZ
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8654
ea5a72f8
AZ
8655 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8656 file.
8657 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8658 file.
8659 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8660 file.
8661 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8662 multiarch wordcopy for PPC32.
8663 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8664 wordcopy objects.
8665 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8666 (__libc_ifunc_impl_list): Likewise.
8667 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8668 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8669 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8670 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8671 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8672 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8673
93be09e7
AZ
8674 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8675 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8676 file.
8677 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8678 file.
8679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8680 file.
8681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8682 multiarch wcscpy for PPC32.
8683 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8684 multiarch objects.
8685 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8686 (__libc_ifunc_impl_list): Likewise.
8687 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8688 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8689 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8690 sysdeps/powerpc/power6/wcscpy.c.
8691
bb04e529
AZ
8692 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8693 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8694 file.
8695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8696 file.
8697 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8698 file.
8699 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8700 multiarch wcsrchr for PPC32.
8701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8702 multiarch objects.
8703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8704 (__libc_ifunc_impl_list): Likewise.
8705 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8706 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8707 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8708 sysdeps/powerpc/power6/wcsrchr.c.
8709
05b5cd1c
AZ
8710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8711 file.
8712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8713 file.
8714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8716 multiarch wcschr for PPc32.
8717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8718 multiarch objects.
8719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8720 (__libc_ifunc_impl_list): Likewise.
8721 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8722 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8723 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8724 sysdeps/powerpc/power6/wcschr.c.
8725
ba964147
AZ
8726 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8727 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8728 file.
8729 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8730 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8731 file: multiarch strchr for PPC32.
8732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8733 multiarch objects.
8734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8735 (__libc_ifunc_impl_list): Likewise.
8736
31c81aaa
AZ
8737 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8738 name.
8739 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8740 file.
8741 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8742 file.
8743 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8744 multiarch strchrnul for PPC32.
8745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8746 multiarch objects.
8747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8748 (__libc_ifunc_impl_list): Likewise.
8749
0d0607d9
AZ
8750 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8751 file.
8752 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8753 multiarch strncasecmp for PPC32.
8754 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8755 file.
8756 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8757 multiarch strncasecmp_l for PPC32.
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8759 strncasecmp multiarch objects.
8760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8761 (__libc_ifunc_impl_list): Likewise.
8762
4dfd5c86
AZ
8763 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8764 file.
8765 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8766 multiarch strncasecmp for PPC32.
8767 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8768 New file.
8769 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8770 multiarch strcasecmp_l for PPC32.
8771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8772 multiarch objects.
8773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8774 (__libc_ifunc_impl_list): Likewise.
8775
a19e01a3
AZ
8776 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8777 file.
8778 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8779 file.
8780 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8781 multiarch strncmp for PPC32.
8782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8783 multiarch objects.
8784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8785 (__libc_ifunc_impl_list): Likewise.
8786
ae9cf7a2
AZ
8787 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8788 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8789 file.
8790 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8791 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8793 multiarch objects.
8794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8795 (__libc_ifunc_impl_list): Likewise.
8796
3148bb7d
AZ
8797 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8798 file.
8799 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8800 file.
8801 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8803 multiarch objects.
8804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8805 (__libc_ifunc_impl_list): Likewise.
8806
7af8b946
AZ
8807 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8808 file.
8809 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8810 file.
8811 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8812 multiarch rawmemchr for PPC32.
8813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8814 multiarch objects.
8815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8816 (__libc_ifunc_impl_list): Likewise.
8817
03a6aa6a
AZ
8818 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8819 file.
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8821 file.
8822 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8823 file: memrchr multiarch for PPC32.
8824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8825 multiarch objects.
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8827 (__libc_ifunc_impl_list): Likewise.
8828
1c62e6d9
AZ
8829 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8830 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8831 file.
8832 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8833 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8834 multiarch memchr for PPC32.
8835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8836 multiarch objects.
8837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8838 (__libc_ifunc_impl_list): Likewise.
8839
87da8bdb
AZ
8840 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8841 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8842 file.
8843 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8844 file.
8845 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8846 file: multiarch mempcpy for PPC32.
8847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8848 multiarch objects.
8849 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8850 (__libc_ifunc_impl_list): Likewise.
8851
20ed4714
AZ
8852 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8853 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8854 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8855 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8856 multiarch bzero for PPC32.
8857 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8858 file.
8859 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8860 file.
8861 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8862 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8863 file: multiarch memset for PPC32.
8864 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8866 memset multiarch objects.
8867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8868 (__libc_ifunc_impl_list): Likewise.
8869
ab3e3a46
AZ
8870 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8871 file.
8872 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8873 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8874 memcmp for PPC32.
8875 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8877 multiarch objects.
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8879 (__libc_ifunc_impl_list): Likewise.
8880
930de6f0
AZ
8881 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8882 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8883 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8884 file.
8885 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8886 file.
8887 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8888 file.
8889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8890 multiarch memcpy for PPC32.
8891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8892 multiarch objects.
8893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8894 (__libc_ifunc_impl_list): Likewise.
8895
4c628e00
AZ
8896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8897 support multiarch for POWER/PPC32.
8898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8899 Likewise.
8900 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8902 Implies file to make multiarch folder appers before the fpu and
8903 default folder for power4 configuration.
8904
f4479220
SP
89052013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8906
8907 * scripts/bench.pl: Append volatile keyword to type.
8908
8517800f
KK
89092013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8910
8911 * sysdeps/sh/sotruss-lib.c: New file.
8912 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8913
180138f1
AZ
89142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8915
8916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8917
bbf37bdc
JM
89182013-12-05 Joseph Myers <joseph@codesourcery.com>
8919
e47cc4e0
JM
8920 [BZ #6810]
8921 * math/w_tgamma.c: Include <errno.h>.
8922 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8923 * math/w_tgammaf.c: Include <errno.h>.
8924 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8925 * math/w_tgammal.c: Include <errno.h>.
8926 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8927 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8928 underflow. Add more tgamma tests.
8929 * math/auto-libm-test-out: Regenerated.
8930 * sysdeps/i386/fpu/libm-test-ulps: Update.
8931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8932
bbf37bdc
JM
8933 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8934 sin, sinh, tan, tanh, tgamma, y0 and y1.
8935 * math/auto-libm-test-out: Regenerated.
8936 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8937 (TEST_COND_x86): Likewise.
8938 (M_E2l): Remove macro.
8939 (M_E3l): Likewise.
8940 (M_2_SQRT_PIl): Likewise.
8941 (M_SQRT_PIl): Likewise.
8942 (M_1_DIV_El): Likewise.
8943 (log_test_data): Use AUTO_TESTS_f_f.
8944 (log10_test_data): Likewise.
8945 (log1p_test_data): Likewise.
8946 (log2_test_data): Likewise.
8947 (sin_test_data): Likewise.
8948 (sin_tonearest_test_data): Likewise.
8949 (sin_towardzero_test_data): Likewise.
8950 (sin_downward_test_data): Likewise.
8951 (sin_upward_test_data): Likewise.
8952 (sinh_test_data): Likewise.
8953 (sinh_tonearest_test_data): Likewise.
8954 (sinh_towardzero_test_data): Likewise.
8955 (sinh_downward_test_data): Likewise.
8956 (sinh_upward_test_data): Likewise.
8957 (tan_test_data): Likewise.
8958 (tan_tonearest_test_data): Likewise.
8959 (tan_towardzero_test_data): Likewise.
8960 (tan_downward_test_data): Likewise.
8961 (tan_upward_test_data): Likewise.
8962 (tanh_test_data): Likewise.
8963 (tgamma_test_data): Likewise.
8964 (y0_test_data): Likewise.
8965 (y1_test_data): Likewise.
8966 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8967 (special_real_inputs): Add pi/4.
8968 * sysdeps/i386/fpu/libm-test-ulps: Update.
8969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8970
eb5ad6b9
AZ
89712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8972
8973 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8974 "longjmp_target" static probes.
8975 (__longjmp): Rename to __longjmp_symbol.
8976 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8977 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8978 on which longjmp to generate.
8979 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8980 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8981 probe.
8982 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8983 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8984 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8985 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8986 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8987 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8989 __longjmp_symbol based on which __longjmp to generate.
8990 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8991 probe.
8992 (setjmp): Rename to setjmp_symbol.
8993 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8994 (_setjmp): Rename to _setjmp_symbol.
8995 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8996 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8997 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8998 which setjmp to generate.
8999 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9000 "longjmp_target" static probes.
9001
d136c6dc
SP
90022013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9003
9298ecba
SP
9004 * benchtests/README: Add note about output arguments.
9005 * benchtests/bench-sincos.c: Remove file.
9006 * benchtests/sincos-inputs: New file.
9007 * scripts/bench.pl: Identify output arguments and define
9008 static variables for them.
9009
232983e9
SP
9010 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9011
d136c6dc
SP
9012 [BZ #15941]
9013 * Makefile (INSTALL): Add install-plain.texi as the primary
9014 dependency.
9015 * manual/install-plain.texi: New file.
9016 * manual/install.texi: Include node directive only for
9017 non-plaintext output.
9018
699ff837
JM
90192013-12-04 Joseph Myers <joseph@codesourcery.com>
9020
ab07cea8
JM
9021 * stdlib/longlong.h: Update from GCC.
9022
699ff837
JM
9023 [BZ #6807]
9024 [BZ #15901]
9025 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9026 * math/w_j0f.c (y0f): Likewise.
9027 * math/w_j0l.c (__y0l): Likewise.
9028 * math/w_j1.c (y1): Likewise.
9029 * math/w_j1f.c (y1f): Likewise.
9030 * math/w_j1l.c (__y1l): Likewise
9031 * math/w_jn.c (yn): Likewise.
9032 * math/w_jnf.c (ynf): Likewise.
9033 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9034 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9035 value for Bessel function domain errors outside _SVID_ mode.
9036 Adjust sign of return value for yn (negative integer, 0).
9037 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9038 by zero in return for negative x and set sign appropriately for
9039 negative n.
9040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9041 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9042 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9043 expectations in error cases.
9044 (y1_test_data): Likewise.
9045 (yn_test_data): Likewise.
9046 * sysdeps/i386/fpu/libm-test-ulps: Update.
9047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9048
5b118558
UW
90492013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9050
9051 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9052 "64" to "64-v1". Add "64-v2".
9053 (abi-64-options): Rename to ...
9054 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9055 (abi-64-condition): Rename to ...
9056 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9057 (abi-64-ld-soname): Rename to ...
9058 (abi-64-v1-ld-soname): ... this.
9059 (abi-64-v2-options): Define.
9060 (abi-64-v2-condition): Likewise.
9061 (abi-64-v2-ld-soname): Likewise.
9062 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9063 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9067
61cd8fe4
UW
90682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9069 Alan Modra <amodra@gmail.com>
9070
9071 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9072 New versions for use with the ELFv2 ABI.
9073 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9074 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9075 declaration.
9076 (struct La_ppc64v2_retval): Likewise.
9077 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9078 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9079 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9080 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9081 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9082 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9083 Do not save or restore CR.
9084 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9085 (_dl_profile_resolve): Do no save or restore CR. Support extended
9086 return values for ELFv2 ABI. Fix location of FPR return registers.
9087 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9088 updated values for _CALL_ELF == 2.
9089 (La_regs, La_retval, int_retval): Likewise.
9090
8b8a692c
UW
90912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9092
9093 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9094 (FRAME_MIN_SIZE_PARM): Likewise.
9095 (FRAME_BACKCHAIN): Likewise.
9096 (FRAME_CR_SAVE): Likewise.
9097 (FRAME_LR_SAVE): Likewise.
9098 (FRAME_TOC_SAVE): Likewise.
9099 (FRAME_PARM_SAVE): Likewise.
9100 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9101 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9102 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9103 (call_mcount_parm_offset): New macro.
9104 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9105 (PROF): Use symbolic stack frame offsets.
9106 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9107 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9108 Redefine in terms of FRAME_MIN_SIZE.
9109 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9110 (_dl_profile_resolve): Likewise. Update comment.
9111 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9112 symbols stack frame offsets.
9113 (__sigsetjmp): Likewise.
9114 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9115 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9116 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9117 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9118
9119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9120 (FRAME_BACKCHAIN): Remove.
9121 (FRAME_CR_SAVE): Likewise.
9122 (FRAME_LR_SAVE): Likewise.
9123 (FRAME_COMPILER_DW): Likewise.
9124 (FRAME_LINKER_DW): Likewise.
9125 (FRAME_TOC_SAVE): Likewise.
9126 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9127 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9128 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9129 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9131 (CHECK_SP): Use symbolic stack frame offsets.
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9133 zone" instead of caller's parameter save area for temp storage.
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9135 Likewise. Also, use symbolic stack frame offsets.
9136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9137 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9138 our own stack frame instead of the caller's.
9139 (__socket): Use symbolic stack frame offsets.
9140
122b66de
UW
91412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9142 Alan Modra <amodra@gmail.com>
9143
9144 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9145 Define.
57f41c40
AS
9146 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9147 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9148 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9149 New function.
9150 (elf_machine_fixup_plt): Call it.
9151 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9152 reloc arguments.
9153 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9154 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9155 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9156 r2 before calling target.
9157
696caf1d
UW
91582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9159 Alan Modra <amodra@gmail.com>
9160
9161 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9162 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9163 versions of macros to support ELFv2 ABI.
9164 (LOCALENTRY): New macro.
9165 (ENTRY, EALIGN): Use it.
9166 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9167 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9168 fall through into ENTRY entry point.
9169 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9170 Only define if _CALL_ELF != 2.
9171
9172 (elf_machine_matches_host): Verify ABI version matches.
9173 (RTLD_START): Use LOCALENTRY.
9174 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9175 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9176 (PLT_ENTRY_WORDS): New macro.
9177 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9178 (elf_machine_runtime_setup): Support ELFv2 ABI.
9179 (elf_machine_fixup_plt): Likewise.
9180 (elf_machine_plt_conflict): Likewise.
9181 (resolve_ifunc): Likewise.
9182 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9184 Likewise.
9185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9186 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9188 (makecontext): Support ELFv2 ABI.
9189 * elf/elf.h (EF_PPC64_ABI): Define.
9190
d31beafa
UW
91912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9192
57f41c40
AS
9193 * sysdeps/powerpc/powerpc64/sysdep.h
9194 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9195 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9196 (ENTRY) [ASSEMBLER]: ... but instead here ...
9197 (EALIGN) [ASSEMBLER]: ... and here.
9198 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9199 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9200 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9201 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9202 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9203 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9204 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9205 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9207 Use PPC64_LOAD_FUNCPTR.
9208
b525166b
UW
9209 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9210
7ec07d9a
AM
92112013-12-04 Alan Modra <amodra@gmail.com>
9212
9213 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9214 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9215 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9216 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9217
9218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9219 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9220 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9221 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9222 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9223 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9224
5162e7dd
UW
92252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9226
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9228 (__makecontext): Fix incorrect CFI when backtracing out of
9229 context created via makecontext.
9230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9231 (__setcontext): Fix incorrect CFI during switch to new context.
9232 (__novec_setcontext): Likewise.
9233
19e3372b
OB
92342013-12-04 Ondřej Bílka <neleai@seznam.cz>
9235
9236 [BZ #4772]
9237 * time/strptime_l.c (__strptime_internal): Allow modifiers
9238 in strptime.
9239 * time/tst-strptime.c (day_tests): Add testcase.
9240
ecaf142d
SP
92412013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9242
9243 * scripts/bench.pl: Skip over blank lines.
9244
fbf964ae
PE
92452013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9246
9247 [BZ #926]
9248 * manual/time.texi (Calendar Time): Clarify what timezone functions
9249 use.
9250
fa60a674
AZ
92512013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9252
9253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9254
d674f0ef
OB
92552013-12-04 Ondřej Bílka <neleai@seznam.cz>
9256
9257 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9258 implementation.
9259 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9260 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9261 * debug/memset_chk.c (__memset_chk): Likewise.
9262 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9263 * debug/strncpy_chk.c: Likewise.
9264
17dea188
JM
92652013-12-03 Joseph Myers <joseph@codesourcery.com>
9266
749008ff
JM
9267 [BZ #15268]
9268 [BZ #15425]
9269 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9270 (__ieee754_exp): For possibly underflowing results, check size of
9271 result and force underflow exception if required.
9272 * math/auto-libm-test-in: Add more tests of exp.
9273 * math/auto-libm-test-out: Regenerated.
9274 * sysdeps/i386/fpu/libm-test-ulps: Update.
9275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9276
17dea188
JM
9277 [BZ #16283]
9278 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9279 * math/w_exp2f.c (__exp2f): Likewise.
9280 * math/w_exp2l.c (__exp2l): Likewise.
9281 * math/auto-libm-test-in: Do not allow missing errno on exp2
9282 underflow.
9283 * math/auto-libm-test-out: Regenerated.
9284
b20de2c3
OB
92852013-12-03 Ondřej Bílka <neleai@seznam.cz>
9286
9287 [BZ #16274]
9288 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9289 handle filename validation.
9290 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9291 (do_open): Delete.
9292
d8e2dbe3
JM
92932013-12-03 Joseph Myers <joseph@codesourcery.com>
9294
34e16df5
JM
9295 [BZ #6786]
9296 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9297 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9298 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9299 <float.h>.
9300 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9301 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9302 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9303 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9304 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9306 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9307 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9308 Add more erfc tests.
9309 * math/auto-libm-test-out: Regenerated.
9310 * sysdeps/i386/fpu/libm-test-ulps: Update.
9311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9312
d8e2dbe3
JM
9313 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9314 exp2, expm1, j0 and j1.
9315 * math/auto-libm-test-out: Regenerated.
9316 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9317 (erfc_test_data): Likewise.
9318 (exp_test_data): Likewise.
9319 (exp_tonearest_test_data): Likewise.
9320 (exp_towardzero_test_data): Likewise.
9321 (exp_downward_test_data): Likewise.
9322 (exp_upward_test_data): Likewise.
9323 (exp10_test_data): Likewise.
9324 (exp2_test_data): Likewise.
9325 (expm1_test_data): Likewise.
9326 (j0_test_data): Likewise.
9327 (j1_test_data): Likewise.
9328 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9329 (input_flag_type): Add flag_xfail_rounding.
9330 (input_flags): Add xfail-rounding.
9331 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9332 (output_for_one_input_case): Handle flag_xfail_rounding.
9333 * sysdeps/i386/fpu/libm-test-ulps: Update.
9334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9335
18d14251
AJ
93362013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9337
3d2e6075 9338 [BZ #16289]
18d14251
AJ
9339 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9340 division by 0.
9341
520d437b
SP
93422013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9343
9344 [BZ #16195]
9345 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9346 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9347 (STAP_PROBE0): New macro.
9348 (STAP_PROBE1): Likewise.
9349 (STAP_PROBE2): Likewise.
9350 (STAP_PROBE3): Likewise.
9351 (STAP_PROBE4): Likewise.
9352
416e0145
OB
93532013-12-02 Ondřej Bílka <neleai@seznam.cz>
9354
9355 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9356
9d17796a
SE
93572013-12-02 Steve Ellcey <sellcey@mips.com>
9358
9359 * benchtests/Makefile (bench): Add sqrt.
9360 (LDLIBS-bench-sqrt): New.
9361 * benchtests/sqrt-input: New.
9362
f524d6a8
PS
93632013-12-02 Pavel Simerda <psimerda@redhat.com>
9364
639a0ef8
PS
9365 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9366 (GAIH_EAI): Likewise.
9367 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9368 (gaih_inet): Likewise.
9369 (getaddrinfo): Don't use GAIH_EAI.
9370
f524d6a8
PS
9371 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9372 (struct gaih): Remove definition.
9373
df3aedaf
SP
93742013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9375
9376 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9377 Use HERRNOP directly.
9378
1ab19dec
AZ
93792013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9380
b42ad38d 9381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9382
176b0c79
JM
93832013-11-30 Joseph Myers <joseph@codesourcery.com>
9384
9385 * math/gen-auto-libm-tests.c (test_functions): Add more
9386 single-argument functions.
9387 (special_fill_pi_2): New function.
9388 (special_fill_minus_pi_2): Likewise.
9389 (special_fill_pi_6): Likewise.
9390 (special_fill_minus_pi_6): Likewise.
9391 (special_fill_pi_3): Likewise.
9392 (special_fill_2pi_3): Likewise.
9393 (special_fill_e): Likewise.
9394 (special_fill_1_e): Likewise.
9395 (special_fill_e_minus_1): Likewise.
9396 (special_real_inputs): Add more special inputs.
9397 (output_for_one_input_case): Do not require ERANGE on underflow to
9398 zero if round-to-nearest result does not underflow to zero, unless
9399 exact results required.
9400 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9401 atan, atanh, cbrt, cos and cosh.
9402 * math/auto-libm-test-out: Regenerated.
9403 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9404 (acos_tonearest_test_data): Likewise.
9405 (acos_towardzero_test_data): Likewise.
9406 (acos_downward_test_data): Likewise.
9407 (acos_upward_test_data): Likewise.
9408 (acosh_test_data): Likewise.
9409 (asin_test_data): Likewise.
9410 (asin_tonearest_test_data): Likewise.
9411 (asin_towardzero_test_data): Likewise.
9412 (asin_upward_test_data): Likewise.
9413 (asinh_test_data): Likewise.
9414 (atan_test_data): Likewise.
9415 (atanh_test_data): Likewise.
9416 (cbrt_test_data): Likewise.
9417 (cos_test_data): Likewise.
9418 (cos_tonearest_test_data): Likewise.
9419 (cos_towardzero_test_data): Likewise.
9420 (cos_downward_test_data): Likewise.
9421 (cos_upward_test_data): Likewise.
9422 (cosh_test_data): Likewise.
9423 (cosh_tonearest_test_data): Likewise.
9424 (cosh_towardzero_test_data): Likewise.
9425 (cosh_downward_test_data): Likewise.
9426 (cosh_upward_test_data): Likewise.
9427 * sysdeps/i386/fpu/libm-test-ulps: Update.
9428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9429
ffb536d0
JM
94302013-11-29 Joseph Myers <joseph@codesourcery.com>
9431
2a77a467
JM
9432 [BZ #6787]
9433 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9434 * math/w_exp10f.c (__exp10f): Likewise.
9435 * math/w_exp10l.c (__exp10l): Likewise.
9436 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9437 errno settings in existing tests.
9438
ea3bc4e8
JM
9439 [BZ #14032]
9440 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9441 precision control set to double precision.
9442 * sysdeps/i386/fpu/w_sqrt.c: New file.
9443 * math/auto-libm-test-in: Add more tests.
9444 * math/auto-libm-test-out: Update.
9445
0712c9d8
JM
9446 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9447 (sqrt_test_tonearest): New function.
9448 (sqrt_towardzero_test_data): New variable.
9449 (sqrt_test_towardzero): New function.
9450 (sqrt_downward_test_data): New variable.
9451 (sqrt_test_downward): New function.
9452 (sqrt_upward_test_data): New variable.
9453 (sqrt_test_upward): New function.
9454 (main): Call the new functions.
9455
ffb536d0
JM
9456 * math/gen-auto-libm-tests.c: New file.
9457 * math/auto-libm-test-in: Likewise.
9458 * math/auto-libm-test-out: New generated file.
9459 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9460 variables.
9461 (%beautify): Add generated representations of zero.
9462 (top level): Set $auto_input and call parse_auto_input.
9463 (beautify): Remove trailing "f" from hex float constants.
9464 (parse_args): Handle XFAIL_TEST.
9465 (convert_condition): New function.
9466 (or_value): Likewise.
9467 (or_cond_value): Likewise.
9468 (generate_testfile): Handle AUTO_TESTS_* lines.
9469 (parse_auto_input): New function.
9470 * math/libm-test.inc (XFAIL_TEST): New macro.
9471 (ERRNO_UNCHANGED): Update value.
9472 (ERRNO_EDOM): Likewise.
9473 (ERRNO_ERANGE): Likewise.
9474 (IGNORE_RESULT): Likewise.
9475 (TEST_COND_flt_32): New macro.
9476 (TEST_COND_dbl_64): Likewise.
9477 (TEST_COND_ldbl_96_intel): Likewise.
9478 (TEST_COND_ldbl_96_m68k): Likewise.
9479 (TEST_COND_ldbl_128): Likewise.
9480 (TEST_COND_ldbl_128ibm): Likewise.
9481 (TEST_COND_long32): Likewise.
9482 (TEST_COND_long64): Likewise.
9483 (TEST_COND_before_rounding): Likewise.
9484 (TEST_COND_after_rounding): Likewise.
9485 (enable_test): Handle XFAIL_TEST flag.
9486 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9487 with finite results.
9488 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9489 auto-libm-test-out.
9490
acd98a8e
AK
94912013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9492 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9493
9494 [BZ #16214]
9495 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9496 __tls_get_addr_internal instead of __tls_get_offset in order to
9497 avoid GOT pointer dependency. Make rtld export
9498 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9499 __tls_get_addr since we are a __tls_get_offset platform.
9500 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9501 GOT pointer being set up before.
9502 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9503
3c1c46a6
JM
95042013-11-28 Joseph Myers <joseph@codesourcery.com>
9505
7475aef5
JM
9506 * manual/math.texi (Errors in Math Functions): Document accuracy
9507 goals.
9508
8bca7cd8
JM
9509 [BZ #15004]
9510 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9511 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9514 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9516 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9526
91a1f3fe
JM
9527 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9528 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9529 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9530 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9531 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9532 Likewise.
9533 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9534 Likewise.
9535 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9536 Likewise.
9537 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9538 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9539 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9540 atomic-feupdateenv and flt-rounds.
9541 * sysdeps/powerpc/nofpu/Versions (libc): Add
9542 __atomic_feholdexcept, __atomic_feclearexcept,
9543 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9544 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9545 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9546 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9547 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9548 here.
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9550 Update.
9551
c5df7609
JM
9552 * manual/arith.texi (FP Exceptions): Document that exceptions may
9553 not be raised when matherr is used.
9554 (Math Error Reporting): Document overflow in directed rounding
9555 modes. Document that errno may not be set when finite values are
9556 returned on overflow. Document intent to set errno on underflow
9557 only for underflow to zero.
9558
3c1c46a6
JM
9559 [BZ #16271]
9560 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9561 round-to-nearest then adjust result for other rounding modes.
9562 * include/fenv.h (fegetround): Use libm_hidden_proto.
9563 * math/fegetround.c (fegetround): Use libm_hidden_def.
9564 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9565 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9566 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9567 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9568 Likewise.
9569 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9570 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9571 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9572 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9573
5a4c6d53
SP
95742013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9575
9576 [BZ #16077]
9577 * nss/Versions (libnss_files): Add
9578 _nss_files_gethostbyname3_r.
9579 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9580 New function.
9581 (HOST_DB_LOOKUP): Remove macro.
9582 (_nss_files_gethostbyname_r): Implement function without the
9583 HOST_DB_LOOKUP macro.
9584 (_nss_files_gethostbyname2_r): Likewise.
9585
897b98ba
OB
95862013-11-28 Ondřej Bílka <neleai@seznam.cz>
9587
9588 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9589
6f476861
UB
95902013-11-26 Uros Bizjak <ubizjak@gmail.com>
9591
9592 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9593 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9594 warning.
9595
bd12ab55
AZ
95962013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9597
9598 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9599 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9600 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9601 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9602 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9603 __fe_nomask_env_priv and attribute_hidden.
9604 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9605 (libc_feupdateenv_test_ppc): Likewise.
9606 (libc_feresetround_ppc): Likewise.
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9608 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9609 compat_symbol macro.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9611 (__fe_nomask_env): Likewise.
9612 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9613
52bb6543
OB
96142013-11-26 Ondřej Bílka <neleai@seznam.cz>
9615
9616 * string/Makefile: Remove ifunc tests.
9617 * string/test-string.h: Define TEST_IFUNC.
9618 * string/test-bcopy-ifunc.c: Remove.
9619 * string/test-bzero-ifunc.c: Likewise.
9620 * string/test-memccpy-ifunc.c: Likewise.
9621 * string/test-memchr-ifunc.c: Likewise.
9622 * string/test-memcmp-ifunc.c: Likewise.
9623 * string/test-memcpy-ifunc.c: Likewise.
9624 * string/test-memmem-ifunc.c: Likewise.
9625 * string/test-memmove-ifunc.c: Likewise.
9626 * string/test-mempcpy-ifunc.c: Likewise.
9627 * string/test-memrchr-ifunc.c: Likewise.
9628 * string/test-memset-ifunc.c: Likewise.
9629 * string/test-rawmemchr-ifunc.c: Likewise.
9630 * string/test-stpcpy-ifunc.c: Likewise.
9631 * string/test-stpncpy-ifunc.c: Likewise.
9632 * string/test-strcasecmp-ifunc.c: Likewise.
9633 * string/test-strcasestr-ifunc.c: Likewise.
9634 * string/test-strcat-ifunc.c: Likewise.
9635 * string/test-strchr-ifunc.c: Likewise.
9636 * string/test-strchrnul-ifunc.c: Likewise.
9637 * string/test-strcmp-ifunc.c: Likewise.
9638 * string/test-strcpy-ifunc.c: Likewise.
9639 * string/test-strcspn-ifunc.c: Likewise.
9640 * string/test-strlen-ifunc.c: Likewise.
9641 * string/test-strncasecmp-ifunc.c: Likewise.
9642 * string/test-strncat-ifunc.c: Likewise.
9643 * string/test-strncmp-ifunc.c: Likewise.
9644 * string/test-strncpy-ifunc.c: Likewise.
9645 * string/test-strnlen-ifunc.c: Likewise.
9646 * string/test-strpbrk-ifunc.c: Likewise.
9647 * string/test-strrchr-ifunc.c: Likewise.
9648 * string/test-strspn-ifunc.c: Likewise.
9649 * string/test-strstr-ifunc.c: Likewise.
9650
ab260039 96512013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9652
9653 * benchtests/Makefile: Remove ifunc tests.
9654 * benchtests/bench-string.h: Define TEST_IFUNC.
9655 * benchtests/bench-bcopy-ifunc.c: Remove.
9656 * benchtests/bench-bzero-ifunc.c: Likewise.
9657 * benchtests/bench-memccpy-ifunc.c: Likewise.
9658 * benchtests/bench-memchr-ifunc.c: Likewise.
9659 * benchtests/bench-memcmp-ifunc.c: Likewise.
9660 * benchtests/bench-memcpy-ifunc.c: Likewise.
9661 * benchtests/bench-memmem-ifunc.c: Likewise.
9662 * benchtests/bench-memmove-ifunc.c: Likewise.
9663 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9664 * benchtests/bench-memrchr-ifunc.c: Likewise.
9665 * benchtests/bench-memset-ifunc.c: Likewise.
9666 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9667 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9668 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9669 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9670 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9671 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9672 * benchtests/bench-strcat-ifunc.c: Likewise.
9673 * benchtests/bench-strchr-ifunc.c: Likewise.
9674 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9675 * benchtests/bench-strcmp-ifunc.c: Likewise.
9676 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9677 * benchtests/bench-strcpy-ifunc.c: Likewise.
9678 * benchtests/bench-strcspn-ifunc.c: Likewise.
9679 * benchtests/bench-strlen-ifunc.c: Likewise.
9680 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9681 * benchtests/bench-strncat-ifunc.c: Likewise.
9682 * benchtests/bench-strncmp-ifunc.c: Likewise.
9683 * benchtests/bench-strncpy-ifunc.c: Likewise.
9684 * benchtests/bench-strnlen-ifunc.c: Likewise.
9685 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9686 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9687 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9688 * benchtests/bench-strspn-ifunc.c: Likewise.
9689 * benchtests/bench-strstr-ifunc.c: Likewise.
9690
96912013-11-26 Ondřej Bílka <neleai@seznam.cz>
9692
ab260039
OB
9693 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9694
d1d9eaf4 96952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9696
d1d9eaf4
OB
9697 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9698 * rt/aio.h: Likewise.
9699 * sysdeps/gnu/bits/utmp.h: Likewise.
9700 * sysdeps/gnu/bits/utmpx.h: Likewise.
9701 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9702 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9703 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9704 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9705 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9706 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9707 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9708 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9709 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9710 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9711 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9712 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9713 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9715 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9716 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9717 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9718 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9719 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9720 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9721 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9722 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9723 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9724 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9725 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9727 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9728 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9729 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9730 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9731 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9732 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9733 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9734 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9735 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9736 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9737 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9738 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9739 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9740 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9741 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9742 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9743
a7624ed9
CD
97442013-11-25 Carlos O'Donell <carlos@redhat.com>
9745
9746 [BZ #16245]
9747 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9748 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9749
63cfe52b
JM
97502013-11-25 Joseph Myers <joseph@codesourcery.com>
9751
9752 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9753 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9754 Likewise.
9755
41e8926a
AZ
97562013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9757
9758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9759 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9760 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9761 (__fesetround): Remove define.
9762 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9763 rounding and exceptions handling.
9764 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9765 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9766 (__fe_nomask_env): Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9768 __fegetround instead of fegetround.
9769 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9771
6851bd4d
RM
97722013-11-21 Roland McGrath <roland@hack.frob.com>
9773
070906ff
RM
9774 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9775 it's there.
9776
6851bd4d
RM
9777 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9778
84ae135d
MI
97792013-11-21 Meador Inge <meadori@codesourcery.com>
9780
9781 [BZ #11157]
9782 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9783 (encrypt_r): Likewise.
9784 * malloc/obstack.h (obstack_free): Likewise.
9785 * posix/unistd.h (encrypt): Likewise.
9786
daf75146
GM
97872013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9788
9789 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9790 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9791 DL_CALL_DT_FINI() that call the functions directly.
9792 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9793 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9794 * elf/dl-fini.c: Likewise.
9795
10ad46bc
OB
97962013-11-20 Ondřej Bílka <neleai@seznam.cz>
9797
9798 * malloc/hooks.c (memalign_check): Add alignment rounding.
9799 * malloc/malloc.c (_mid_memalign): New function.
9800 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9801 Implement by calling _mid_memalign.
9802 * manual/probes.texi (Memory Allocation Probes): Remove
9803 memory_valloc_retry and memory_pvalloc_retry.
9804
f3fd2628
SP
98052013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9806
4712799f
SP
9807 * locale/programs/locarchive.c (open_archive): Add const
9808 qualifier to ARCHIVEFNAME and copy default fname to
9809 DEFAULT_FNAME.
9810
0417b20f
SP
9811 [BZ #15601]
9812 * libio/tst-widetext.input: Rename Oriya to Odia.
9813 * locale/iso-639.def: Likewise.
9814
f3fd2628
SP
9815 * manual/probes.texi (Mathematical Function Probes): Add
9816 documentation for sin, cos, asin and acos probes.
9817 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9818 (__sin32): Add slowasin probe.
9819 (__cos32): Add slowacos probe.
9820 (__mpsin): Add slowsin probe.
9821 (__mpcos): Add slowcos probe.
9822
73c1ce4f
JM
98232013-11-19 Joseph Myers <joseph@codesourcery.com>
9824
9825 [BZ #15483]
9826 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9827 thread-local __sim_exceptions_thread and global
9828 __sim_exceptions_global.
9829 (__sim_disabled_exceptions): Change to thread-local
9830 __sim_disabled_exceptions_thread and global
9831 __sim_disabled_exceptions_global.
9832 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9833 and global __sim_round_mode_global.
9834 (__simulate_exceptions): Use thread-local floating-point state and
9835 set global state from it as needed.
9836 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9837 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9838 __sim_round_mode_thread.
9839 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9840 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9841 and global __sim_exceptions_global.
9842 (__sim_disabled_exceptions): Change to thread-local
9843 __sim_disabled_exceptions_thread and global
9844 __sim_disabled_exceptions_global.
9845 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9846 and global __sim_round_mode_global.
9847 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9848 (SIM_SET_GLOBAL): Likewise.
9849 * sysdeps/powerpc/soft-fp/sfp-machine.h
9850 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9851 __sim_round_mode_thread.
9852 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9853 __sim_disabled_exceptions_thread.
9854 (__sim_exceptions): Change to __sim_exceptions_thread.
9855 (__sim_disabled_exceptions): Change to
9856 __sim_disabled_exceptions_thread.
9857 (__sim_round_mode): Change to __sim_round_mode_thread.
9858 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9859 thread-local floating-point state and set global state from it as
9860 needed.
9861 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9862 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9863 (__sim_disabled_exceptions): Remove extern declaration.
9864 (feenableexcept): Use thread-local floating-point state and set
9865 global state from it as needed.
9866 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9867 extern declaration.
9868 (__sim_disabled_exceptions): Likewise.
9869 (__sim_round_mode): Likewise.
9870 (__fegetenv): Use thread-local floating-point state.
9871 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9872 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9873 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9874 floating-point state and set global state from it as needed.
9875 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9876 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9877 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9878 Likewise.
9879 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9880 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9881 Likewise.
9882 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9883 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9884 Use __sim_round_mode_thread.
9885 * math/test-fenv-tls.c: New file.
9886 * math/Makefile (tests): Add test-fenv-tls.
9887 ($(objpfx)test-fenv-tls): Depend on
9888 $(common-objpfx)nptl/libpthread.so.
9889
b5449b12
AS
98902013-11-19 Andreas Schwab <schwab@suse.de>
9891
9892 * locale/programs/locale.c (show_info): Decode wordarray elements.
9893 * locale/categories.def (LC_MONETARY): Add element for
9894 _NL_MONETARY_CRNCYSTR.
9895 * locale/C-monetary.c (conversion_rate): New variable.
9896 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9897 element.
9898
e186536b
CM
98992013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9900
9901 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9902 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9903
5c349950
PP
99042013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9905
9906 * elf/Makefile (tst-auxv): New test.
9907 * elf/tst-auxv.c: New
9908 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9909
699df45b
JM
99102013-11-18 Joseph Myers <joseph@codesourcery.com>
9911
9912 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9913 (hidden_proto): Caller changed.
9914 (hidden_tls_proto): New macro.
9915 (libc_hidden_tls_proto): Likewise.
9916 (rtld_hidden_tls_proto): Likewise.
9917 (libm_hidden_tls_proto): Likewise.
9918 (libresolv_hidden_tls_proto): Likewise.
9919 (librt_hidden_tls_proto): Likewise.
9920 (libdl_hidden_tls_proto): Likewise.
9921 (libnss_files_hidden_tls_proto): Likewise.
9922 (libnsl_hidden_tls_proto): Likewise.
9923 (libnss_nisplus_hidden_tls_proto): Likewise.
9924 (libutil_hidden_tls_proto): Likewise.
9925
b7589107
OB
99262013-11-18 Ondřej Bílka <neleai@seznam.cz>
9927
9928 [BZ #10253]
9929 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9930 (decompose_rpath): Defer expansion to fillin_rpath.
9931 (_dl_init_paths): Pass linkmap to fillin_rpath.
9932
250c23bd
RS
99332013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9934
9935 * benchtests/Makefile: Add strsep.
9936 * benchtests/bench-strsep.c: New file: strsep benchtest.
9937 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9938
a7931fcf
AS
99392013-11-18 Andreas Schwab <schwab@suse.de>
9940
9941 * locale/programs/locale.c (show_info) [case byte]: Check for
9942 '\377' instead of '\177'.
9943 * locale/C-monetary.c (not_available): Always use "\377".
9944 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9945 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9946 detect unavailable sign_posn locale elements.
9947 * locale/localeconv.c (__localeconv): For grouping and
9948 mon_grouping handle "\177" and "\377" like no grouping.
9949 (INT_ELEM): New macro. Use it to set all numeric members.
9950 * locale/programs/ld-monetary.c (monetary_read)
9951 <tok_mon_grouping>: Normalize single -1 to the empty string.
9952 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9953 Likewise.
9954
728dab0e
OB
99552013-11-07 Ondřej Bílka <neleai@seznam.cz>
9956
9957 [BZ #16055]
9958 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9959 when we match (nil).
9960 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9961
66294491
JM
99622013-11-16 Joseph Myers <joseph@codesourcery.com>
9963
ce665817
JM
9964 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9965 (NO_TEST_INLINE): Update value.
9966 (ERRNO_UNCHANGED): Likewise.
9967 (ERRNO_EDOM): Likewise.
9968 (ERRNO_ERANGE): Likewise.
9969 (IGNORE_RESULT): Likewise.
9970 (check_float_internal): Check signs of NaN results if
9971 TEST_NAN_SIGN used.
9972 (check_complex): Pass TEST_NAN_SIGN flag through to second
9973 check_float_internal call.
9974 (copysign_test_data): Add tests with quiet NaNs as second
9975 argument. Use TEST_NAN_SIGN.
9976 (fabs_test_data): Add test of negative quiet NaN argument. Use
9977 TEST_NAN_SIGN.
9978 (signbit_test_data): Add tests of quiet NaN argument.
9979 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9980
ee1466a9
JM
9981 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9982 $ignore_result.
9983 (parse_args): Handle function results specified as IGNORE.
9984 * math/libm-test.inc (IGNORE_RESULT): New macro.
9985 (check_float_internal): Do not check numerical result if flag
9986 IGNORE_RESULT set.
9987 (check_complex): Pass through IGNORE_RESULT to second
9988 check_float_internal call.
9989 (check_int): Do not check numerical result if flag IGNORE_RESULT
9990 set.
9991 (check_long): Likewise.
9992 (check_bool): Likewise.
9993 (check_longlong): Likewise.
9994 (lrint_test_data): Add tests of infinite and NaN arguments.
9995 (lrint_tonearest_test_data): Likewise.
9996 (lrint_towardzero_test_data): Likewise.
9997 (lrint_downward_test_data): Likewise.
9998 (lrint_upward_test_data): Likewise.
9999 (llrint_test_data): Likewise.
10000 (llrint_tonearest_test_data): Likewise.
10001 (llrint_towardzero_test_data): Likewise.
10002 (llrint_downward_test_data): Likewise.
10003 (llrint_upward_test_data): Likewise.
10004 (lround_test_data): Likewise.
10005 (llround_test_data): Likewise.
10006
14407b7e
JM
10007 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10008 (ERRNO_UNCHANGED): Update value.
10009 (ERRNO_EDOM): Likewise.
10010 (ERRNO_ERANGE): Likewise.
10011 (NO_TEST_INLINE_FLOAT): New macro.
10012 (NO_TEST_INLINE_DOUBLE): Likewise.
10013 (enable_test): New function.
10014 (RUN_TEST_f_f): Check enable_test before running test.
10015 (RUN_TEST_2_f): Likewise.
10016 (RUN_TEST_fff_f): Likewise.
10017 (RUN_TEST_c_f): Likewise.
10018 (RUN_TEST_f_f1): Likewise.
10019 (RUN_TEST_fF_f1): Likewise.
10020 (RUN_TEST_fI_f1): Likewise.
10021 (RUN_TEST_ffI_f1): Likewise.
10022 (RUN_TEST_c_c): Likewise.
10023 (RUN_TEST_cc_c): Likewise.
10024 (RUN_TEST_f_i): Likewise.
10025 (RUN_TEST_f_i_tg): Likewise.
10026 (RUN_TEST_ff_i_tg): Likewise.
10027 (RUN_TEST_f_b): Likewise.
10028 (RUN_TEST_f_b_tg): Likewise.
10029 (RUN_TEST_f_l): Likewise.
10030 (RUN_TEST_f_L): Likewise.
10031 (RUN_TEST_fFF_11): Likewise.
10032 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10033 conditionals.
10034 (cosh_test_data): Likewise.
10035 (exp_test_data): Likewise.
10036 (expm1_test_data): Likewise.
10037 (hypot_test_data): Likewise.
10038 (pow_test_data): Likewise.
10039 (sinh_test_data): Likewise.
10040 (tanh_test_data): Likewise.
10041 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10042 flags argument.
10043
ca07f197
JM
10044 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10045 tests with quiet NaN input and output.
10046 (acosh_test_data): Likewise.
10047 (asin_test_data): Likewise.
10048 (asinh_test_data): Likewise.
10049 (atan_test_data): Likewise.
10050 (atanh_test_data): Likewise.
10051 (atan2_test_data): Likewise.
10052 (cbrt_test_data): Likewise.
10053 (cos_test_data): Likewise.
10054 (cosh_test_data): Likewise.
10055 (erf_test_data): Likewise.
10056 (erfc_test_data): Likewise.
10057 (exp_test_data): Likewise.
10058 (exp10_test_data): Likewise.
10059 (exp2_test_data): Likewise.
10060 (expm1_test_data): Likewise.
10061 (hypot_test_data): Likewise.
10062 (j0_test_data): Likewise.
10063 (j1_test_data): Likewise.
10064 (jn_test_data): Likewise.
10065 (lgamma_test_data): Likewise.
10066 (log_test_data): Likewise.
10067 (log10_test_data): Likewise.
10068 (log1p_test_data): Likewise.
10069 (log2_test_data): Likewise.
10070 (pow_test_data): Likewise.
10071 (scalb_test_data): Likewise.
10072 (sin_test_data): Likewise.
10073 (sincos_test_data): Likewise.
10074 (sinh_test_data): Likewise.
10075 (tan_test_data): Likewise.
10076 (tanh_test_data): Likewise.
10077 (tgamma_test_data): Likewise.
10078 (y0_test_data): Likewise.
10079 (y1_test_data): Likewise.
10080 (yn_test_data): Likewise.
10081
66294491
JM
10082 [BZ #16167]
10083 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10084 argument being NaN and avoid computations with second argument in
10085 that case.
10086 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10087 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10088 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10089
1820b143
CL
100902013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10091
10092 * locale/iso-639.def: Add Chitwani Tharu (the).
10093
714bd261
AS
100942013-11-14 Andreas Schwab <schwab@suse.de>
10095
10096 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10097 word instead of empty string.
10098
7ab44563
AZ
100992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10100
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10102 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10104 (__fe_nomask_env): Likewise.
10105
e8470ea2
SE
101062013-11-13 Steve Ellcey <sellcey@mips.com>
10107
10108 * benchtests/bench-timing.h: Include time.h.
10109
17c1d9f0
L
101102013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10111
10112 [BZ #15997]
10113 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10114 to 3.4.0 for x32.
10115 * sysdeps/unix/sysv/linux/configure: Regenerated.
10116
9310c284
JM
101172013-11-13 Joseph Myers <joseph@codesourcery.com>
10118
10119 [BZ #16151]
10120 * stdlib/strtod_l.c (round_and_return): Do not consider
10121 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10122 exponent one less than half the least subnormal exponent.
10123 * stdlib/test-strtod-round-data: Add more tests.
10124 * stdlib/tst-strtod-round.c (tests): Regenerated.
10125
7a2ad8cf
AZ
101262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10127
10128 [BZ #14143]
10129 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10130 (__fe_mask_env): Likewise.
10131 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10132 libm_hidden_proto and add function prototype.
10133 (__fe_mask_env): Add function prototype.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10135 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10137 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10139 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10140
50727aa7
MS
101412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10142
b2f386c1 10143 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10144 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10145
a615be46
MS
101462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10147
10148 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10149 of htab_find_slot().
10150
7ddace62
DM
101512013-11-11 David S. Miller <davem@davemloft.net>
10152
10153 [BZ #16150]
10154 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10155 symbol in the non-vis3 case in static builds.
10156 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10157 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10158 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10159 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10160
9182aa67
JK
101612013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10162
10163 [BZ #387]
10164 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10165 it is empty.
10166
450a2e2d
AZ
101672013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10168
b2f386c1
SP
10169 * benchtests/Makefile: Add bench-strtod.
10170 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10171
8ec3f656
AS
101722013-11-11 Andreas Schwab <schwab@suse.de>
10173
10174 [BZ #16153]
10175 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10176 terminating NUL in key length.
10177
76a9b998
AZ
101782013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10179
10180 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10181 Add artificial ODP entry for vDSO symbol for PPC64.
10182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10183 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10184
e4368156
OB
101852013-11-07 Ondřej Bílka <neleai@seznam.cz>
10186
10187 [BZ #15374]
10188 * nss/getent.c (services_keys): Recognize services starting with digit.
10189
8d6bb57c
DM
101902013-11-06 David S. Miller <davem@davemloft.net>
10191
10192 [BZ #15985]
10193 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10194 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10195
e256c421
WN
101962013-11-06 Will Newton <will.newton@linaro.org>
10197
10198 * manual/memory.texi (Malloc Examples): Remove register
10199 keyword from examples.
10200
f6e12daa 102012013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10202
f6e12daa 10203 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10204
9d880655
AS
102052013-11-04 Joseph Myers <joseph@codesourcery.com>
10206
fd2f9486 10207 [BZ #6981]
9d880655
AS
10208 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10209 depending on [__GCC_IEC_559 > 0].
10210 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10211 depending on [__GCC_IEC_559_COMPLEX > 0].
10212
ae129d3c
CL
102132013-11-03 Chris Leonard <cjl@sugarlabs.org>
10214
10215 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10216 to iso-639.def.
10217
4a15c2a4 102182013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10219
10220 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10221
8b35e35d
OB
102222013-11-01 Ondřej Bílka <neleai@seznam.cz>
10223
10224 [BZ #16112]
10225 * malloc/malloc (malloc_info): Do not handle first bin as
10226 special case.
10227
1d70fd6c
CL
102282013-11-01 Chris Leonard <cjl@sugarlabs.org>
10229
10230 * locale/iso-639.def: Add Central Nahuatl (nhn).
10231
8c5c2600
BH
102322013-11-01 Bruno Haible <bruno@clisp.org>
10233
10234 [BZ #7003]
10235 * manual/math.texi (BSD Random): Specify range upper bound as
10236 in POSIX.
10237
da5579c2
CL
102382013-10-31 Chris Leonard <cjl@sugarlabs.org>
10239
10240 * locale/iso-639.def: Add Meadow Mari (mhr).
10241
5d30d853
OB
102422013-10-31 Ondřej Bílka <neleai@seznam.cz>
10243
10244 [BZ #14752], [BZ #15763]
10245 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10246 Validate name.
10247 * rt/tst_shm.c: Add test for escaping directory.
10248
a4966c61
AS
102492013-10-31 Andreas Schwab <schwab@suse.de>
10250
8a43e768 10251 [BZ #15917]
a4966c61
AS
10252 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10253 followed by 'x' as part of digit sequence.
10254 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10255
28d708c4
MAP
102562013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10257
10258 [BZ #16037]
10259 * configure.ac: allow GNU Make 4.0 and greater.
10260 * configure: Regenerated.
10261
a56ee40b
WN
102622013-10-30 Will Newton <will.newton@linaro.org>
10263
10264 [BZ #16038]
10265 * malloc/hooks.c (memalign_check): Limit alignment to the
10266 maximum representable power of two.
10267 * malloc/malloc.c (__libc_memalign): Likewise.
10268 * malloc/tst-memalign.c (do_test): Add test for very
10269 large alignment values.
10270 * malloc/tst-posix_memalign.c (do_test): Likewise.
10271
c6e4925d
OB
102722013-10-30 Ondřej Bílka <neleai@seznam.cz>
10273
10274 [BZ #11087]
10275 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10276 (munmap_chunk): Likewise.
10277 (mremap_chunk): Likewise.
10278
102792013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10280
8a43e768 10281 [BZ #15799]
bbea82f7
OB
10282 * stdlib/div.c (div): Remove obsolete code.
10283 * stdlib/ldiv.c (ldiv): Likewise.
10284 * stdlib/lldiv.c (lldiv): Likewise.
10285
977f4b31
SP
102862013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10287
10288 [BZ #16071]
10289 * nss/nss_files/files-XXX.c (get_contents_ret): New
10290 enumerator.
10291 (get_contents): New function.
10292 (internal_getent): Use it. Expand size of LINEBUFLEN.
10293
cb8a6dbd
MF
102942013-10-30 Mike Frysinger <vapier@gentoo.org>
10295
10296 * configure.in: Moved to ...
10297 * configure.ac: ... here. Change reference to configure.in
10298 to configure.ac.
10299 * sysdeps/arm/preconfigure.ac: ... here.
10300 configure.in to configure.ac.
10301 * sysdeps/gnu/configure.in: Moved to ...
10302 * sysdeps/gnu/configure.ac: ... here.
10303 * sysdeps/i386/configure.in: Moved to ...
10304 * sysdeps/i386/configure.ac: ... here.
10305 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10306 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10307 * sysdeps/mach/configure.in: Moved to ...
10308 * sysdeps/mach/configure.ac: ... here.
10309 * sysdeps/mach/hurd/configure.in: Moved to ...
10310 * sysdeps/mach/hurd/configure.ac: ... here.
10311 * sysdeps/powerpc/configure.in: Moved to ...
10312 * sysdeps/powerpc/configure.ac: ... here.
10313 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10314 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10315 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10316 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10317 * sysdeps/s390/s390-32/configure.in: Moved to ...
10318 * sysdeps/s390/s390-32/configure.ac: ... here.
10319 * sysdeps/s390/s390-64/configure.in: Moved to ...
10320 * sysdeps/s390/s390-64/configure.ac: ... here.
10321 * sysdeps/sh/configure.in: Moved to ...
10322 * sysdeps/sh/configure.ac: ... here.
10323 * sysdeps/sparc/configure.in: Moved to ...
10324 * sysdeps/sparc/configure.ac: ... here.
10325 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10326 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10327 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10328 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10329 * sysdeps/x86_64/configure.in: Moved to ...
10330 * sysdeps/x86_64/configure.ac: ... here.
10331 * sysdeps/x86_64/preconfigure.in: Moved to ...
10332 * sysdeps/x86_64/preconfigure.ac: ... here.
10333 * aclocal.m4: Change reference to configure.in to configure.ac.
10334 * config.h.in: Likewise.
10335 * manual/install.texi: Likewise.
10336 * manual/maint.texi: Likewise.
10337 * Makefile: Likewise.
10338 * malloc/Makefile: Likewise.
10339 * nscd/Makefile: Likewise.
10340 * Makeconfig: Change reference to configure.in and
10341 preconfigure.in to configure.ac and preconfigure.ac
10342 respectively.
10343 * INSTALL: Regenerated.
10344 * configure: Likewise.
10345 * sysdeps/gnu/configure: Likewise.
10346 * sysdeps/i386/configure: Likewise.
10347 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10348 * sysdeps/mach/configure: Likewise.
10349 * sysdeps/mach/hurd/configure: Likewise.
10350 * sysdeps/powerpc/configure: Likewise.
10351 * sysdeps/powerpc/powerpc32/configure: Likewise.
10352 * sysdeps/powerpc/powerpc64/configure: Likewise.
10353 * sysdeps/s390/s390-32/configure: Likewise.
10354 * sysdeps/s390/s390-64/configure: Likewise.
10355 * sysdeps/sh/configure: Likewise.
10356 * sysdeps/sparc/configure: Likewise.
10357 * sysdeps/unix/sysv/linux/configure: Likewise.
10358 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10359 * sysdeps/x86_64/configure: Likewise.
10360 * sysdeps/x86_64/preconfigure: Likewise.
10361
36a4953a
AS
103622013-10-29 Andreas Schwab <schwab@suse.de>
10363
10364 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10365
c79a1204
SP
103662013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10367
dfa1b402
SP
10368 * benchtests/pow-inputs: Add new inputs.
10369
54f73d9c
SP
10370 * benchtests/exp-inputs: Add new inputs.
10371
c79a1204
SP
10372 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10373 conditional check for return value.
10374 (__cos32): Likewise.
10375
67beb545 103762013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10377
10378 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10379 to provide a boost for large inputs with word alignment.
10380 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10381 implementation based on optimized PPC64 strcpy.
10382 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10383 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10384 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10385 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10386
151659f6
OB
103872013-10-25 Ondřej Bílka <neleai@seznam.cz>
10388
482a077e 10389 [BZ #2801]
151659f6
OB
10390 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10391
10b0f26b
OB
103922013-10-25 Ondřej Bílka <neleai@seznam.cz>
10393
10394 [BZ #14876]
10395 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10396 * time/tst-strptime.c (day_tests): Add testcase.
10397
ca42d35e
OB
103982013-10-25 Ondřej Bílka <neleai@seznam.cz>
10399
482a077e 10400 [BZ #14029]
ca42d35e
OB
10401 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10402
52e6d801
FB
104032013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10404
10405 [BZ #16074]
10406 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10407 MAP_FAILED on error.
10408
7cbcdb36
SP
104092013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10410
10411 [BZ #16072]
10412 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10413 heap for large requests.
10414
894f3f10
AM
104152013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10416
10417 [BZ #9954]
10418 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10419 result if the result has no associated interface.
10420 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10421 interface for all 127.X.Y.Z addresses.
10422
b85545a6
CL
104232013-10-24 Chris Leonard <cjl@sugarlabs.org>
10424
10425 * locale/iso-639.def: Add Ligurian (lij)
10426
d1f23d46
OB
104272013-10-21 Ondřej Bílka <neleai@seznam.cz>
10428
10429 [BZ #15825]
10430 * sunrpc/rpc_main.c: Document rpcgen -5.
10431
4db5b08f
MS
104322013-10-19 Michael Stahl <mstahl@redhat.com>
10433
10434 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10435
a471e96a
OB
104362013-10-19 Ondřej Bílka <neleai@seznam.cz>
10437
d1f23d46 10438 [BZ #10278]
a471e96a
OB
10439 * posix/glob.c: Match only directories when trailing slash is present.
10440 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10441 (main): Add testcase.
10442
45c30c61
OB
104432013-10-19 Ondřej Bílka <neleai@seznam.cz>
10444
10445 [BZ #15670]
10446 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10447
484c12fb
CD
104482013-10-18 Carlos O'Donell <carlos@redhat.com>
10449
3d7dc513
CD
10450 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10451 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10452 AUTH_DES and cindex for FIPS 140-2.
10453 (DES Encryption): Add cindex FIPS 46-3.
10454
484c12fb
CD
10455 * locale/locarchive.h (struct locarhandle): Add fname.
10456 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10457 if an optional argument was specified to --list-archive,
10458 otherwise NULL.
10459 * locale/programs/locarchive.c (show_archive_content): Take new
10460 argument fname and pass it via ah.fname to open_archive.
10461 * locale/programs/localedef.h: Update decl.
10462 (open_archive): If AH->fname is non-null, open that file
10463 rather than the default file name, and don't ignore ENOENT.
10464 (create_archive): Set AH.fname to NULL.
10465 (delete_locales_from_archive): Likewise.
10466 (add_locales_to_archive): Likewise.
10467 * locale/programs/locfile.c (write_all_categories): Likewise.
10468
3c8325fb
JM
104692013-10-18 Joseph Myers <joseph@codesourcery.com>
10470 Aldy Hernandez <aldyh@redhat.com>
10471
10472 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10473 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10474 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10475 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10476 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10477 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10478 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10479 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10480 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10481 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10482 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10483 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10484 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10485 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10486 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10487 Likewise.
10488 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10489 Likewise.
10490 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10491 Likewise.
10492 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10493 Likewise.
10494 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10495 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10496 Likewise.
10497 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10498 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10499 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10500 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10501 Likewise.
10502 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10503 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10504 * sysdeps/powerpc/preconfigure: Likewise.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10506 Likewise.
10507 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10508 Replace contents of file by #include of <fenv_libc.h>.
10509 * sysdeps/powerpc/soft-fp/sfp-machine.h
10510 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10511 and <sys/prctl.h>.
10512 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10513 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10517 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10519 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10520 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10521 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10522 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10523 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10525 Allow copysignl PLT reference to be missing.
10526
5abe0682
RS
105272013-10-18 Richard Sandiford <richard@codesourcery.com>
10528 Joseph Myers <joseph@codesourcery.com
10529
10530 [BZ #15948]
10531 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10532 single character.
10533 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10534
c7738d08
SP
105352013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10536
10537 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10538 * elf/tst-tls1.c: Likewise.
10539 * elf/tst-tls10.h: Likewise.
10540 * elf/tst-tls14.c: Likewise.
10541 * elf/tst-tls2.c: Likewise.
10542 * elf/tst-tls3.c: Likewise.
10543 * elf/tst-tls4.c: Likewise.
10544 * elf/tst-tls5.c: Likewise.
10545 * elf/tst-tls6.c: Likewise.
10546 * elf/tst-tls7.c: Likewise.
10547 * elf/tst-tls8.c: Likewise.
10548 * elf/tst-tls9.c: Likewise.
10549 * elf/tst-tlsmod1.c: Likewise.
10550 * elf/tst-tlsmod13.c: Likewise.
10551 * elf/tst-tlsmod13a.c: Likewise.
10552 * elf/tst-tlsmod14a.c: Likewise.
10553 * elf/tst-tlsmod16a.c: Likewise.
10554 * elf/tst-tlsmod16b.c: Likewise.
10555 * elf/tst-tlsmod2.c: Likewise.
10556 * elf/tst-tlsmod3.c: Likewise.
10557 * elf/tst-tlsmod4.c: Likewise.
10558 * elf/tst-tlsmod5.c: Likewise.
10559 * elf/tst-tlsmod6.c: Likewise.
10560
0bfcf2c7
OB
105612013-10-18 Ondřej Bílka <neleai@seznam.cz>
10562
10563 [BZ #12486]
10564 * malloc/malloc.c: remove checks for statistics.
10565
264aad1e
OB
105662013-10-17 Ondřej Bílka <neleai@seznam.cz>
10567
10568 [BZ #15277]
10569 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10570 * inet/tst-network.c: Add testcase.
10571
b957ced8
AS
105722013-10-17 Andreas Schwab <schwab@suse.de>
10573
10574 [BZ #15218]
10575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10576 to determine canonical name.
10577
c5d5d574
OB
105782013-10-17 Ondřej Bílka <neleai@seznam.cz>
10579
10580 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10581 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10583 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10585 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10586 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10587 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10588 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10589 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10598 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10599 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10604 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10605 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10607 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10608 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10610 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10633 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10634 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10635 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10638
e5c2c2d0
JM
106392013-10-17 Joseph Myers <joseph@codesourcery.com>
10640
10641 [BZ #16041]
10642 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10643 make result into a quiet NaN.
10644
51ca9e29
JM
106452013-10-16 Joseph Myers <joseph@codesourcery.com>
10646
10647 * soft-fp/adddf3.c: Fix horizontal whitespace.
10648 * soft-fp/addsf3.c: Likewise.
10649 * soft-fp/addtf3.c: Likewise.
10650 * soft-fp/divdf3.c: Likewise.
10651 * soft-fp/divsf3.c: Likewise.
10652 * soft-fp/divtf3.c: Likewise.
10653 * soft-fp/double.h: Likewise.
10654 * soft-fp/eqdf2.c: Likewise.
10655 * soft-fp/eqsf2.c: Likewise.
10656 * soft-fp/eqtf2.c: Likewise.
10657 * soft-fp/extenddftf2.c: Likewise.
10658 * soft-fp/extended.h: Likewise.
10659 * soft-fp/extendsfdf2.c: Likewise.
10660 * soft-fp/extendsftf2.c: Likewise.
10661 * soft-fp/extendxftf2.c: Likewise.
10662 * soft-fp/fixdfdi.c: Likewise.
10663 * soft-fp/fixdfsi.c: Likewise.
10664 * soft-fp/fixdfti.c: Likewise.
10665 * soft-fp/fixsfdi.c: Likewise.
10666 * soft-fp/fixsfsi.c: Likewise.
10667 * soft-fp/fixsfti.c: Likewise.
10668 * soft-fp/fixtfdi.c: Likewise.
10669 * soft-fp/fixtfsi.c: Likewise.
10670 * soft-fp/fixtfti.c: Likewise.
10671 * soft-fp/fixunsdfdi.c: Likewise.
10672 * soft-fp/fixunsdfsi.c: Likewise.
10673 * soft-fp/fixunsdfti.c: Likewise.
10674 * soft-fp/fixunssfdi.c: Likewise.
10675 * soft-fp/fixunssfsi.c: Likewise.
10676 * soft-fp/fixunssfti.c: Likewise.
10677 * soft-fp/fixunstfdi.c: Likewise.
10678 * soft-fp/fixunstfsi.c: Likewise.
10679 * soft-fp/fixunstfti.c: Likewise.
10680 * soft-fp/floatdidf.c: Likewise.
10681 * soft-fp/floatdisf.c: Likewise.
10682 * soft-fp/floatditf.c: Likewise.
10683 * soft-fp/floatsidf.c: Likewise.
10684 * soft-fp/floatsisf.c: Likewise.
10685 * soft-fp/floatsitf.c: Likewise.
10686 * soft-fp/floattidf.c: Likewise.
10687 * soft-fp/floattisf.c: Likewise.
10688 * soft-fp/floattitf.c: Likewise.
10689 * soft-fp/floatundidf.c: Likewise.
10690 * soft-fp/floatundisf.c: Likewise.
10691 * soft-fp/floatunditf.c: Likewise.
10692 * soft-fp/floatunsidf.c: Likewise.
10693 * soft-fp/floatunsisf.c: Likewise.
10694 * soft-fp/floatunsitf.c: Likewise.
10695 * soft-fp/floatuntidf.c: Likewise.
10696 * soft-fp/floatuntisf.c: Likewise.
10697 * soft-fp/floatuntitf.c: Likewise.
10698 * soft-fp/fmadf4.c: Likewise.
10699 * soft-fp/fmasf4.c: Likewise.
10700 * soft-fp/fmatf4.c: Likewise.
10701 * soft-fp/gedf2.c: Likewise.
10702 * soft-fp/gesf2.c: Likewise.
10703 * soft-fp/getf2.c: Likewise.
10704 * soft-fp/ledf2.c: Likewise.
10705 * soft-fp/lesf2.c: Likewise.
10706 * soft-fp/letf2.c: Likewise.
10707 * soft-fp/muldf3.c: Likewise.
10708 * soft-fp/mulsf3.c: Likewise.
10709 * soft-fp/multf3.c: Likewise.
10710 * soft-fp/negdf2.c: Likewise.
10711 * soft-fp/negsf2.c: Likewise.
10712 * soft-fp/negtf2.c: Likewise.
10713 * soft-fp/op-1.h: Likewise.
10714 * soft-fp/op-2.h: Likewise.
10715 * soft-fp/op-4.h: Likewise.
10716 * soft-fp/op-8.h: Likewise.
10717 * soft-fp/op-common.h: Likewise.
10718 * soft-fp/quad.h: Likewise.
10719 * soft-fp/single.h: Likewise.
10720 * soft-fp/soft-fp.h: Likewise.
10721 * soft-fp/sqrtdf2.c: Likewise.
10722 * soft-fp/sqrtsf2.c: Likewise.
10723 * soft-fp/sqrttf2.c: Likewise.
10724 * soft-fp/subdf3.c: Likewise.
10725 * soft-fp/subsf3.c: Likewise.
10726 * soft-fp/subtf3.c: Likewise.
10727 * soft-fp/truncdfsf2.c: Likewise.
10728 * soft-fp/trunctfdf2.c: Likewise.
10729 * soft-fp/trunctfsf2.c: Likewise.
10730 * soft-fp/trunctfxf2.c: Likewise.
10731 * soft-fp/unorddf2.c: Likewise.
10732 * soft-fp/unordsf2.c: Likewise.
10733 * soft-fp/unordtf2.c: Likewise.
10734
9ebb0332
JM
107352013-10-15 Joseph Myers <joseph@codesourcery.com>
10736
10737 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10738 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10739
4b1a6d8b
OB
107402013-10-15 Ondřej Bílka <neleai@seznam.cz>
10741
10742 * elf/dl-libc.c: Clear initfini list after freeing.
10743
1e145589
JM
107442013-10-14 Joseph Myers <joseph@codesourcery.com>
10745
10746 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10747 * soft-fp/addsf3.c: Likewise.
10748 * soft-fp/addtf3.c: Likewise.
10749 * soft-fp/divdf3.c: Likewise.
10750 * soft-fp/divsf3.c: Likewise.
10751 * soft-fp/divtf3.c: Likewise.
10752 * soft-fp/double.h: Likewise.
10753 * soft-fp/eqdf2.c: Likewise.
10754 * soft-fp/eqsf2.c: Likewise.
10755 * soft-fp/eqtf2.c: Likewise.
10756 * soft-fp/extenddftf2.c: Likewise.
10757 * soft-fp/extended.h: Likewise.
10758 * soft-fp/extendsfdf2.c: Likewise.
10759 * soft-fp/extendsftf2.c: Likewise.
10760 * soft-fp/extendxftf2.c: Likewise.
10761 * soft-fp/fixdfdi.c: Likewise.
10762 * soft-fp/fixdfsi.c: Likewise.
10763 * soft-fp/fixdfti.c: Likewise.
10764 * soft-fp/fixsfdi.c: Likewise.
10765 * soft-fp/fixsfsi.c: Likewise.
10766 * soft-fp/fixsfti.c: Likewise.
10767 * soft-fp/fixtfdi.c: Likewise.
10768 * soft-fp/fixtfsi.c: Likewise.
10769 * soft-fp/fixtfti.c: Likewise.
10770 * soft-fp/fixunsdfdi.c: Likewise.
10771 * soft-fp/fixunsdfsi.c: Likewise.
10772 * soft-fp/fixunsdfti.c: Likewise.
10773 * soft-fp/fixunssfdi.c: Likewise.
10774 * soft-fp/fixunssfsi.c: Likewise.
10775 * soft-fp/fixunssfti.c: Likewise.
10776 * soft-fp/fixunstfdi.c: Likewise.
10777 * soft-fp/fixunstfsi.c: Likewise.
10778 * soft-fp/fixunstfti.c: Likewise.
10779 * soft-fp/floatdidf.c: Likewise.
10780 * soft-fp/floatdisf.c: Likewise.
10781 * soft-fp/floatditf.c: Likewise.
10782 * soft-fp/floatsidf.c: Likewise.
10783 * soft-fp/floatsisf.c: Likewise.
10784 * soft-fp/floatsitf.c: Likewise.
10785 * soft-fp/floattidf.c: Likewise.
10786 * soft-fp/floattisf.c: Likewise.
10787 * soft-fp/floattitf.c: Likewise.
10788 * soft-fp/floatundidf.c: Likewise.
10789 * soft-fp/floatundisf.c: Likewise.
10790 * soft-fp/floatunsidf.c: Likewise.
10791 * soft-fp/floatunsisf.c: Likewise.
10792 * soft-fp/floatuntidf.c: Likewise.
10793 * soft-fp/floatuntisf.c: Likewise.
10794 * soft-fp/floatuntitf.c: Likewise.
10795 * soft-fp/fmadf4.c: Likewise.
10796 * soft-fp/fmasf4.c: Likewise.
10797 * soft-fp/fmatf4.c: Likewise.
10798 * soft-fp/gedf2.c: Likewise.
10799 * soft-fp/gesf2.c: Likewise.
10800 * soft-fp/getf2.c: Likewise.
10801 * soft-fp/ledf2.c: Likewise.
10802 * soft-fp/lesf2.c: Likewise.
10803 * soft-fp/letf2.c: Likewise.
10804 * soft-fp/muldf3.c: Likewise.
10805 * soft-fp/mulsf3.c: Likewise.
10806 * soft-fp/multf3.c: Likewise.
10807 * soft-fp/negdf2.c: Likewise.
10808 * soft-fp/negsf2.c: Likewise.
10809 * soft-fp/negtf2.c: Likewise.
10810 * soft-fp/op-1.h: Likewise.
10811 * soft-fp/op-2.h: Likewise.
10812 * soft-fp/op-4.h: Likewise.
10813 * soft-fp/op-8.h: Likewise.
10814 * soft-fp/op-common.h: Likewise.
10815 * soft-fp/quad.h: Likewise.
10816 * soft-fp/single.h: Likewise.
10817 * soft-fp/soft-fp.h: Likewise.
10818 * soft-fp/sqrtdf2.c: Likewise.
10819 * soft-fp/sqrtsf2.c: Likewise.
10820 * soft-fp/sqrttf2.c: Likewise.
10821 * soft-fp/subdf3.c: Likewise.
10822 * soft-fp/subsf3.c: Likewise.
10823 * soft-fp/subtf3.c: Likewise.
10824 * soft-fp/truncdfsf2.c: Likewise.
10825 * soft-fp/trunctfdf2.c: Likewise.
10826 * soft-fp/trunctfsf2.c: Likewise.
10827 * soft-fp/trunctfxf2.c: Likewise.
10828 * soft-fp/unorddf2.c: Likewise.
10829 * soft-fp/unordsf2.c: Likewise.
10830 * soft-fp/unordtf2.c: Likewise.
10831
17c48a60
OB
108322013-10-14 Ondřej Bílka <neleai@seznam.cz>
10833
10834 [BZ #15672]
10835 * misc/error.c (error_tail): Fix possible buffer overflow.
10836
cabba934
OB
108372013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10838
10839 [BZ #13028]
10840 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10841 address.
10842
94bf958a
PM
108432013-10-14 P. J. McDermott <pj@pehjota.net>
10844
10845 [BZ #832]
10846 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10847 testing pipefail option.
10848
71b4dea7
JM
108492013-10-12 Joseph Myers <joseph@codesourcery.com>
10850
10851 * soft-fp/double.h: Indent preprocessor directives inside #if.
10852 * soft-fp/extended.h: Likewise.
10853 * soft-fp/op-2.h: Likewise.
10854 * soft-fp/op-4.h: Likewise.
10855 * soft-fp/op-common.h: Likewise.
10856 * soft-fp/quad.h: Likewise.
10857 * soft-fp/single.h: Likewise.
10858 * soft-fp/soft-fp.h: Likewise.
10859
55602758
YC
108602013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10861
10862 * iconv/iconv_prog.c: Fix typos.
10863 * stdio-common/psiginfo-data.h: Likewise.
10864
9cd83302
RT
108652013-10-12 Reuben Thomas <rrt@sc3d.org>
10866
10867 [BZ #15764]
10868 * locale/setlocale.c: Fix typo.
10869
99fd9f47
JM
108702013-10-12 Joseph Myers <joseph@codesourcery.com>
10871
b7ea74f0
JM
10872 [BZ #16036]
10873 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10874 signaling NaN arguments.
10875 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10876 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10877
8a509447
JM
10878 [BZ #14910]
10879 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10880 unordered operands.
10881 * soft-fp/gesf2.c (__gesf2): Likewise.
10882 * soft-fp/getf2.c (__getf2): Likewise.
10883 * soft-fp/ledf2.c (__ledf2): Likewise.
10884 * soft-fp/lesf2.c (__lesf2): Likewise.
10885 * soft-fp/letf2.c (__letf2): Likewise.
10886
98998e9f
JM
10887 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10888 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10889 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10890 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10891 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10892 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10893 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10894 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10895 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10896 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10897 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10898 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10899 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10900 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10901 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10902 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10903 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10904 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10905 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10906 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10907 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10908 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10909 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10910 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10911 * soft-fp/floattidf.c (__floattidf): Likewise.
10912 * soft-fp/floattisf.c (__floattisf): Likewise.
10913 * soft-fp/floattitf.c (__floattitf): Likewise.
10914 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10915 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10916 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10917 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10918 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10919 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10920 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10921 * soft-fp/gesf2.c (__gesf2): Likewise.
10922 * soft-fp/getf2.c (__getf2): Likewise.
10923 * soft-fp/ledf2.c (__ledf2): Likewise.
10924 * soft-fp/lesf2.c (__lesf2): Likewise.
10925 * soft-fp/letf2.c (__letf2): Likewise.
10926
8edc4a11
JM
10927 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10928 Undefine and redefine.
10929 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10930 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10931 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10932 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10933 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10934 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10935 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10936 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10937 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10938 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10939 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10940 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10941 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10942 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10943 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10944
8399acaf
JM
10945 [BZ #16032]
10946 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10947 without decrementing exponent if mantissa >= that for the
10948 denominator, not >.
10949 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10950 denominator, not >. Decrement exponent in < case instead of
10951 incrementing in >= case.
10952 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10953 without decrementing exponent if mantissa >= that for the
10954 denominator, not >.
10955
99fd9f47
JM
10956 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10957 computing saturated result for unsigned overflow.
10958
10e1cf6b
SP
109592013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10960 Jeff Law <law@redhat.com>
10961
10962 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10963 (atan2Mp): Add systemtap probe marker.
10964 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10965 (__ieee754_log): Add systemtap probe marker.
10966 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10967 (atanMp): Add systemtap probe marker.
10968 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10969 (tanMp): Add systemtap probe marker.
10970 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10971 (__slowexp): Add systemtap probe marker.
10972 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10973 (__slowpow): Add systemtap probe marker.
10974 * manual/probes.texi: Document probes.
10975
3d110c7c
EB
109762013-10-11 Eric Biggers <ebiggers3@gmail.com>
10977
10978 [BZ #15362]
10979 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10980 written.
10981 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10982 written.
10983 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10984 written to buffer but not flushed.
10985 * libio/iofwrite_u.c: Likewise.
10986 * libio/iopadn.c: Return bytes returned even if EOF was
10987 encountered.
10988 * libio/iowpadn.c: Likewise.
10989 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10990 if _IO_padn does not write the whole buffer.
10991 [!COMPILE_WPRINTF] (PAD): Likewise.
10992
75b4202a
DM
109932013-10-10 David S. Miller <davem@davemloft.net>
10994
10995 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10996 directory block.
10997
6c6352e6
JM
109982013-10-10 Joseph Myers <joseph@codesourcery.com>
10999
33b853c3
JM
11000 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11001 instead of FSF address.
11002 * soft-fp/fixdfti.c: Likewise.
11003 * soft-fp/fixsfti.c: Likewise.
11004 * soft-fp/fixtfti.c: Likewise.
11005 * soft-fp/fixunsdfti.c: Likewise.
11006 * soft-fp/fixunssfti.c: Likewise.
11007 * soft-fp/fixunstfti.c: Likewise.
11008 * soft-fp/floattidf.c: Likewise.
11009 * soft-fp/floattisf.c: Likewise.
11010 * soft-fp/floattitf.c: Likewise.
11011 * soft-fp/floatuntidf.c: Likewise.
11012 * soft-fp/floatuntisf.c: Likewise.
11013 * soft-fp/floatuntitf.c: Likewise.
11014 * soft-fp/trunctfxf2.c: Likewise.
11015
6c6352e6
JM
11016 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11017 * soft-fp/fixdfti.c: Likewise.
11018 * soft-fp/fixsfti.c: Likewise.
11019 * soft-fp/fixtfti.c: Likewise.
11020 * soft-fp/fixunsdfti.c: Likewise.
11021 * soft-fp/fixunssfti.c: Likewise.
11022 * soft-fp/fixunstfti.c: Likewise.
11023 * soft-fp/floattidf.c: Likewise.
11024 * soft-fp/floattisf.c: Likewise.
11025 * soft-fp/floattitf.c: Likewise.
11026 * soft-fp/floatuntidf.c: Likewise.
11027 * soft-fp/floatuntisf.c: Likewise.
11028 * soft-fp/floatuntitf.c: Likewise.
11029 * soft-fp/trunctfxf2.c: Likewise.
11030
3bf78b71
DM
110312013-10-10 David S. Miller <davem@davemloft.net>
11032
11033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11034
6f10289e
JM
110352013-10-10 Joseph Myers <joseph@codsourcery.com>
11036
bd878fc0
JM
11037 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11038 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11039 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11040 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11041 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11042 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11043 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11044
6f10289e
JM
11045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11046 for NaNs before doing comparisons on argument.
11047 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11048 Likewise.
11049
321e2684
WN
110502013-10-10 Will Newton <will.newton@linaro.org>
11051
11052 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11053 passed to _int_memalign does not overflow.
11054
40fefba1
TR
110552013-10-10 Torvald Riegel <triegel@redhat.com>
11056
11057 * scripts/bench.pl: Add include-sources directive.
11058 * benchtests/README: Update documentation.
11059
2ae21ed2
JM
110602013-10-10 Joseph Myers <joseph@codesourcery.com>
11061
dcc2dd3f
JM
11062 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11063 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11064 instead of FP_INIT_ROUNDMODE.
11065 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11066 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11067
2ae21ed2
JM
11068 [BZ #16034]
11069 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11070 copy class of input value.
11071 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11072 not handle exceptions.
11073 * soft-fp/negsf2.c (__negsf2): Likewise.
11074 * soft-fp/negtf2.c (__negtf2): Likewise.
11075 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11076
cb8f9562
JM
110772013-10-09 Joseph Myers <joseph@codesourcery.com>
11078
11079 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11080 semicolon. From Linux kernel.
11081
5b60c59d
AB
110822013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11083
11084 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11085
b86835ca
YC
110862013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11087
11088 [BZ #156]
11089 * manual/socket.texi: Added statement about buffer
11090 for gethostbyname2_r.
11091
e7044ea7
OB
110922013-10-08 Ondřej Bílka <neleai@seznam.cz>
11093
11094 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11095 Use .p2align directive instead, throughout.
11096 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11097 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11098 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11101 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11102 * sysdeps/x86_64/strchr.S: Likewise.
11103 * sysdeps/x86_64/strrchr.S: Likewise.
11104
09544cbc
SP
111052013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11106
88576635
SP
11107 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11108
e7b2d1dd
SP
11109 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11110
09544cbc
SP
11111 * sysdeps/generic/math_private.h (__mpsin1): Remove
11112 declaration.
11113 (__mpcos1): Likewise.
11114 (__mpsin): New argument __range_reduce.
11115 (__mpcos): Likewise.
11116 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11117 (slow): Use __mpsin and __mpcos.
11118 (slow1): Likewise.
11119 (slow2): Likewise.
11120 (sloww): Likewise.
11121 (sloww1): Likewise.
11122 (sloww2): Likewise.
11123 (bsloww): Likewise.
11124 (bsloww1): Likewise.
11125 (bsloww2): Likewise.
11126 (cslow2): Likewise.
11127 (csloww): Likewise.
11128 (csloww1): Likewise.
11129 (csloww2): Likewise.
11130 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11131 range_reduce. Merge in __mpsin1.
11132 (__mpcos): Likewise.
11133 (__mpsin1): Remove.
11134 (__mpcos1): Likewise.
11135
7602d070
JM
111362013-10-07 Joseph Myers <joseph@codesourcery.com>
11137
11138 * locale/loadlocale.c (_nl_intern_locale_data): Use
11139 LOCFILE_ALIGNED_P.
11140 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11141 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11142 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11143 obstack data is appropriately aligned.
11144 (obstack_int32_grow_fast): Likewise.
11145 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11146 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11147 (add_locale_uint32_array): Likewise.
11148
a357259b
SP
111492013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11150
11151 * benchtests/Makefile: Remove ARGLIST and RET variables.
11152 ($(objpfx)bench-%.c): Pass only function name to the script.
11153 * benchtests/README: Update documentation.
11154 * benchtests/acos-inputs: Add new directives.
11155 * benchtests/acosh-inputs: Likewise.
11156 * benchtests/asin-inputs: Likewise.
11157 * benchtests/asinh-inputs: Likewise.
11158 * benchtests/atan-inputs: Likewise.
11159 * benchtests/atanh-inputs: Likewise.
11160 * benchtests/cos-inputs: Likewise.
11161 * benchtests/cosh-inputs: Likewise.
11162 * benchtests/exp-inputs: Likewise.
11163 * benchtests/log-inputs: Likewise.
11164 * benchtests/pow-inputs: Likewise.
11165 * benchtests/rint-inputs: Likewise.
11166 * benchtests/sin-inputs: Likewise.
11167 * benchtests/sinh-inputs: Likewise.
11168 * benchtests/tan-inputs: Likewise.
11169 * benchtests/tanh-inputs: Likewise.
11170 * scripts/bench.pl: Add support for new directives.
11171
9ec1b13d
AM
111722013-10-07 Alan Modra <amodra@gmail.com>
11173
11174 * README: Fix careless merge.
11175
8b7d57cd
AM
111762013-10-05 Alan Modra <amodra@gmail.com>
11177
11178 * NEWS: Mention powerpc64le support and bugs fixed.
11179 * README: Both big-endian and little-endian powerpc64 supported.
11180
7b7bab13
ST
111812013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11182
57f41c40
AS
11183 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11184 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11185 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11186 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11187
d39baad1
RA
111882013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11189
11190 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11191 match prototype.
11192
cd78f7e7
JM
111932013-10-04 Joseph Myers <joseph@codesourcery.com>
11194
29d73d86
JM
11195 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11196 Move -mhard-float appending from
11197 ports/sysdeps/powerpc/powerpc32/Makefile.
11198 [$(with-fp) = yes] (ASFLAGS): Likewise.
11199 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11200 * sysdeps/powerpc/nofpu: Move directory from
11201 ports/sysdeps/powerpc/nofpu.
11202 * sysdeps/powerpc/soft-fp: Move directory from
11203 ports/sysdeps/powerpc/soft-fp.
11204 * sysdeps/powerpc/powerpc32/405: Move directory from
11205 ports/sysdeps/powerpc/powerpc32/405.
11206 * sysdeps/powerpc/powerpc32/440: Move directory from
11207 ports/sysdeps/powerpc/powerpc32/440.
11208 * sysdeps/powerpc/powerpc32/464: Move directory from
11209 ports/sysdeps/powerpc/powerpc32/464.
11210 * sysdeps/powerpc/powerpc32/476: Move directory from
11211 ports/sysdeps/powerpc/powerpc32/476.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11213 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11215 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11217 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11219 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11221 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11222 * README: Update for powerpc-*-linux-gnu software floating point
11223 support in libc.
11224
e246b347
JM
11225 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11226 case to powerpc/powerpc32*.
11227 * sysdeps/unix/sysv/linux/configure: Regenerated.
11228
89c2003e
JM
11229 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11230 (_FPU_MASK_OM): Define as 0x04.
11231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11233 0x00c10080.
11234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11235 0x0000003c.
11236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11237
cd78f7e7
JM
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11239 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11240 getcontext_e500.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11242 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11243 setcontext_e500.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11245 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11246 and setcontext_e500.
11247
c755294d
CL
112482013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11249
11250 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11251
e16d221c
SP
112522013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11253
11254 * manual/threads.texi (Default Thread Attributes): Fix typo.
11255
215c7d43
WN
112562013-10-04 Will Newton <will.newton@linaro.org>
11257
11258 * malloc/Makefile: Add tst-memalign.
11259 * malloc/tst-memalign.c: New file.
11260
27d0461b
WN
11261 * malloc/tst-posix_memalign.c: Add comments.
11262 (do_test): Add comments and call free on all potentially
11263 allocated pointers. Add space after cast.
11264
1bc92709
WN
11265 * malloc/tst-pvalloc.c: Add comments.
11266 (do_test): Add comments and call free on all potentially
11267 allocated pointers. Remove duplicate check for NULL pointer.
11268 Add space after cast.
11269
66a9be9d
WN
11270 * malloc/tst-valloc.c: Add comments.
11271 (do_test): Add comments and call free on all potentially
11272 allocated pointers. Remove duplicate check for NULL pointer.
11273 Add space after cast.
11274
4cb81307
AM
112752013-10-04 Alan Modra <amodra@gmail.com>
11276
11277 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11278 Use stdint types in rather than __attribute__((mode())).
11279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11280
f8e3e9f3
AM
112812013-10-04 Alan Modra <amodra@gmail.com>
11282
11283 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11284 Correct handling of unaligned relocs for little-endian.
11285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11286
8f9ebb08
AM
112872013-10-04 Alan Modra <amodra@gmail.com>
11288
11289 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11290 * configure: Regenerate.
11291 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11292 * shlib-versions: Likewise.
11293
0edf96c2
AM
112942013-10-04 Alan Modra <amodra@gmail.com>
11295
11296 * string/tester.c (test_memrchr): Increment reported test cycle.
11297
e0f7a380
AM
112982013-10-04 Alan Modra <amodra@gmail.com>
11299
11300 * string/test-memcpy.c (do_one_test): When reporting errors, print
11301 string address and don't overrun end of string.
11302
466b0393
AM
113032013-10-04 Alan Modra <amodra@gmail.com>
11304
11305 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11306 insrdi. Make better use of reg selection to speed exit slightly.
11307 Schedule entry path a little better. Remove useless "are we done"
11308 checks on entry to main loop. Handle wrapping around zero address.
11309 Correct main loop count. Handle single left-over word from main
11310 loop inline rather than by using loop_small. Remove extra word
11311 case in loop_small caused by wrong loop count. Add little-endian
11312 support.
11313 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11314 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11315 cache hint.
11316 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11317 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11318 support. Avoid rlwimi.
11319 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11320
3be87c77
AM
113212013-10-04 Alan Modra <amodra@gmail.com>
11322
11323 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11324 insrdi. Formatting.
3be87c77
AM
11325 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11326 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11327 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11328 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11329 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11330 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11331
759cfef3
AM
113322013-10-04 Alan Modra <amodra@gmail.com>
11333
11334 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11335 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11336 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11337 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11338 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11339 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11340 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11341 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11342 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11343 use of regs. Use power7 mtocrf. Tidy function tails.
11344
fe6e95d7
AM
113452013-10-04 Alan Modra <amodra@gmail.com>
11346
11347 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11348 Formatting. Consistently use rXXX register defines or rN defines.
11349 Use early exit labels that avoid restoring unused non-volatile regs.
11350 Make cr field use more consistent with rWORDn compares. Rename
11351 regs used as shift registers for unaligned loop, using rN defines
11352 for short lifetime/multiple use regs.
11353 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11354 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11355 addi 1,1,64 to pop stack frame. Simplify return value code.
11356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11357
664318c3
AM
113582013-10-04 Alan Modra <amodra@gmail.com>
11359
11360 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11361 support. Correct typos, formatting. Optimize tail. Use insrdi
11362 rather than rlwimi.
11363 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11364 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11365 little-endian support. Correct typos.
11366 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11367 rather than rlwimi.
11368 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11369 in loop and entry code to keep "and." results.
11370 (strchr): Add little-endian support. Comment. Move cntlzd
11371 earlier in tail.
11372 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11373
43b84013
AM
113742013-10-04 Alan Modra <amodra@gmail.com>
11375
11376 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11377 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11378 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11379 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11380
8a7413f9
AM
113812013-10-04 Alan Modra <amodra@gmail.com>
11382
11383 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11384 (rTMP): Define as r11.
11385 (strcmp): Add little-endian support. Optimise tail.
11386 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11387 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11388 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11390 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11391 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11392 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11393
33ee81de
AM
113942013-10-04 Alan Modra <amodra@gmail.com>
11395
11396 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11397 little-endian support. Remove unnecessary "are we done" tests.
11398 Handle "s" wrapping around zero and extremely large "size".
11399 Correct main loop count. Handle single left-over word from main
11400 loop inline rather than by using small_loop. Correct comments.
11401 Delete "zero" tail, use "end_max" instead.
11402 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11403
db9b4570
AM
114042013-10-04 Alan Modra <amodra@gmail.com>
11405
11406 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11407 support. Don't branch over align.
11408 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11409 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11410 support. Rearrange tmp reg use to suit. Comment.
11411 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11412
f7c399cf
AM
114132013-10-04 Alan Modra <amodra@gmail.com>
11414
11415 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11416
0b2c2ace
AM
114172013-10-04 Alan Modra <amodra@gmail.com>
11418
11419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11420 conditional form of branch and link when obtaining pc.
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11422
02f04a6c
AM
114232013-10-04 Alan Modra <amodra@gmail.com>
11424
11425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11426 HIWORD/LOWORD.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11429
9b874b2f
AM
114302013-10-04 Alan Modra <amodra@gmail.com>
11431
11432 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11433 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11434 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11435 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11436 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11437 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11438 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11439 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11440 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11441 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11442
be1e5d31
AB
114432013-10-04 Anton Blanchard <anton@au1.ibm.com>
11444 Alistair Popple <alistair@ozlabs.au.ibm.com>
11445 Alan Modra <amodra@gmail.com>
11446
11447 [BZ #15723]
11448 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11449 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11450 _dl_hwcap access for little-endian.
11451 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11452 destroy vmx regs when saving unaligned.
11453 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11454 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11455 destroy vmx regs when saving unaligned.
11456
fef13a78
AM
114572013-10-04 Alan Modra <amodra@gmail.com>
11458
11459 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11460 Don't use a union to pack hi/low value.
11461
76a66d51
AB
114622013-10-04 Anton Blanchard <anton@au1.ibm.com>
11463
11464 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11465 for little-endian.
11466 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11467 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11468 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11469 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11470 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11471
6a31fe7f
AM
114722013-10-04 Alan Modra <amodra@gmail.com>
11473
11474 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11475 constants to usual value for .cst8 section, and remove redundant
11476 high address load.
11477 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11478 constant for 0x1p52. Load little-endian words of double from
11479 correct stack offsets.
11480
7b88401f
AM
114812013-10-04 Alan Modra <amodra@gmail.com>
11482
11483 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11484 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11485 words of double from correct stack offsets.
11486 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11487 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11488 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11489 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11490 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11491 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11492 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11493 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11494 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11496 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11497 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11498 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11499 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11500 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11501 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11502 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11503
9c008155
AM
115042013-10-04 Alan Modra <amodra@gmail.com>
11505
11506 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11507 64-bit int/double union.
11508 (_FPU_SETCW): Likewise.
11509 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11510 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11511
da13146d
AM
115122013-10-04 Alan Modra <amodra@gmail.com>
11513
11514 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11515 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11516
603e8410
AM
115172013-10-04 Alan Modra <amodra@gmail.com>
11518
11519 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11520 use vector int constants.
11521 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11522
4a28b3ca
AB
115232013-10-04 Anton Blanchard <anton@au1.ibm.com>
11524
11525 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11526 array with long long.
11527 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11528 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11529 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11530 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11531 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11532 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11533 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11534 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11535 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11536 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11537 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11538 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11539 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11540
2ca85d2b
AB
115412013-10-04 Anton Blanchard <anton@au1.ibm.com>
11542
11543 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11544 (__signbit): Likewise. Correct for little-endian.
11545 (__signbitl): Call __signbit.
11546 (lrint): Correct for little-endian.
11547 (lrintf): Call lrint.
11548
62a728ae
AM
115492013-10-04 Alan Modra <amodra@gmail.com>
11550
11551 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11552 union 32-bit int array member with 64-bit int array.
11553 (t515, tm256): Double rather than long double.
11554 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11555
32c301df
AM
115562013-10-04 Alan Modra <amodra@gmail.com>
11557
11558 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11559 Delete.
11560 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11561 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11562 version of math_ldbl.h.
11563
650ef4bd
AM
115642013-10-04 Alan Modra <amodra@gmail.com>
11565
11566 [BZ #15734], [BZ #15735]
11567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11568 all uses of ieee875 long double macros and unions. Simplify test
11569 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11570 ldbl_extract_mantissa value for ix,iy exponents. Properly
11571 normalize after ldbl_extract_mantissa, and don't add hidden bit
11572 already handled. Don't treat low word of ieee854 mantissa like
11573 low word of IBM long double and mask off bit when testing for
11574 zero.
11575 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11576 all uses of ieee875 long double macros and unions. Simplify tests
11577 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11578 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11579 two1022, instead use their values. Recognise that tests for large
11580 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11581 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11582 Rewrite all uses of ieee875 long double macros and unions. Simplify
11583 test for 0.0L and nan. Correct negation.
11584 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11585 ieee875 long double macros and unions. Correct output for large
11586 magnitude x. Correct absolute value calculation.
11587 (__erfcl): Likewise.
11588 * math/libm-test.inc: Add tests for errors discovered in IBM long
11589 double versions of fmodl, remainderl, erfl and erfcl.
11590
765714ca
AM
115912013-10-04 Alan Modra <amodra@gmail.com>
11592
11593 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11594 all uses of ieee854 long double macros and unions. Simplify tests
11595 for long doubles that are fully specified by the high double.
11596 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11597 Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11599 Remove dead code too.
11600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11601 (__ieee754_ynl): Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11605 Remove dead code too.
11606 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11607 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11610 Simplify.
11611 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11612 Simplify.
11613 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11614 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11615 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11616 Comment on variable precision.
11617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11618 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11619 Likewise.
11620 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11621 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11622 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11623 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11624 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11625
4ebd120c
AM
116262013-10-04 Alan Modra <amodra@gmail.com>
11627
11628 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11630 all uses of ieee854 long double macros and unions.
11631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11637 Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11644 Simplify sign and nan test too.
11645 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11649 Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11652 Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11655 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11656 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11657 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11659
1b6adf88
AM
116602013-10-04 Alan Modra <amodra@gmail.com>
11661
11662 * stdio-common/printf_size.c (__printf_size): Don't use
11663 union ieee854_long_double in fpnum union.
11664 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11665 signbit macro to retrieve sign from long double.
11666 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11667 retrieve sign from long double.
11668 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11669 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11670 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11671 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11672 * math/test-misc.c (main): Don't use union ieee854_long_double.
11673
4cf69995
AM
116742013-10-04 Alan Modra <amodra@gmail.com>
11675
11676 [BZ #15680]
11677 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11678 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11679 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11680 calculation. Remove unnecessary test for denormal exponent.
11681 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11682 Correct handling of denormals. Avoid undefined shift behaviour.
11683 Correct normalisation of low mantissa when low double is denormal.
11684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11685 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11686 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11687 Correct normalisation of low mantissa. Test for overflow of high
11688 mantissa and normalise.
11689 (ldbl_nearbyint): Use more readable constant for two52.
11690 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11691 (__mpn_construct_long_double): Fix test for overflow of high
11692 mantissa and correct normalisation. Avoid undefined shift.
11693
9605ca6c
AM
116942013-10-04 Alan Modra <amodra@gmail.com>
11695
11696 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11697 (union ibm_extended_long_double): Define as an array of ieee754_double.
11698 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11699 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11700 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11701 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11705 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11709
975569d0
JM
117102013-10-03 Joseph Myers <joseph@codesourcery.com>
11711
d3d23756
JM
11712 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11713 page size instead of calling getpagesize.
11714
975569d0
JM
11715 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11716 (LOCFILE_ALIGN_MASK): Likewise.
11717 (LOCFILE_ALIGN_UP): Likewise.
11718 (LOCFILE_ALIGNED_P): Likewise.
11719 * locale/programs/ld-collate.c (collate_output): Use the new
11720 macros instead of __alignof__ (int32_t).
11721 * locale/weight.h (findidx): Likewise.
11722
b1fe1f2b
OB
117232013-10-03 Ondřej Bílka <neleai@seznam.cz>
11724
11725 [BZ #431]
11726 * manual/string.texi: Fix strncat and wcsncat.
11727
5f855e35
BM
117282013-10-03 Brooks Moses <bmoses@google.com>
11729
11730 [BZ #15915]
11731 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11732 * Makerules: ...here, and adjust associated comments.
11733
3cef6009
WN
117342013-10-02 Will Newton <will.newton@linaro.org>
11735
11736 * malloc/Makefile: Add tst-pvalloc.
11737 * malloc/tst-pvalloc.c: New file.
11738
7815420b
WN
117392013-10-02 Will Newton <will.newton@linaro.org>
11740
11741 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11742 improve test coverage.
11743
4868b204
WN
117442013-10-02 Will Newton <will.newton@linaro.org>
11745
11746 * malloc/Makefile: Add tst-posix_memalign.
11747 * malloc/tst-posix_memalign.c: New file.
11748
29c793b3
EB
117492013-10-01 Eric Blake <eblake@redhat.com>
11750
11751 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11752 Use __THROWNL rather than __THROW on static functions.
11753
fd967522
PM
117542013-09-30 Petr Machata <pmachata@redhat.com>
11755
11756 * elf/elf.h (R_AARCH64_ABS16): New macro.
11757 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11758 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11759 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11760 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11761 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11762 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11763 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11764 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11765 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11766 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11767 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11768 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11769 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11770 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11771 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11772 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11773 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11774 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11775 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11776 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11777 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11778 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11779 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11780 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11781 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11782 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11783 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11784 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11785 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11786 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11787 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11788 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11789 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11790 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11791 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11792 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11793 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11794 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11795 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11796 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11797 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11798 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11799 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11800 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11801 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11802 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11803 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11804 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11805 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11806 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11807 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11808 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11809 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11810 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11811 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11812 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11813 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11814 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11815 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11816 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11817 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11818 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11819 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11820 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11821 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11822 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11823 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11824 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11825 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11826 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11827 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11828 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11829 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11830 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11831 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11832 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11833 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11834 (R_AARCH64_TLSDESC_LDR): Likewise.
11835 (R_AARCH64_TLSDESC_ADD): Likewise.
11836 (R_AARCH64_TLSDESC_CALL): Likewise.
11837
b2179107
AS
118382013-09-30 Andreas Schwab <schwab@suse.de>
11839
11840 [BZ #15048]
11841 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11842 the nss database lookup.
11843 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11845
47f28d0a
MF
118462013-09-28 Mike Frysinger <vapier@gentoo.org>
11847
11848 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11849
118502013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11851
11852 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11853 ${Bash-specific parameter/pattern/string} parameter expansion.
11854 * sysdeps/unix/make-syscalls.sh: Likewise.
11855
f4518a17
KK
118562013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11857
11858 * sysdeps/sh/stackguard-macros.h: New file.
11859
dc1a95c7
OB
118602013-09-26 Ondřej Bílka <neleai@seznam.cz>
11861
11862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11864 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11865 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11866 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11867 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11868
5ebbff8f
AZ
118692013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11870
11871 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11872 Fix thread ID register.
11873
4fd2cf9f
JM
118742013-09-25 Joseph Myers <joseph@codesourcery.com>
11875
11876 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11877 [POSIX || UNIX98]: Require rather than permitting all symbols from
11878 <time.h>.
11879 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11880 element of struct sched_param.
11881 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11882 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11883 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11884 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11885 constant.
11886
12c22bc4
OL
118872013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11888
11889 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11890 argument calculation.
11891
a03d8ea7
JM
118922013-09-24 Joseph Myers <joseph@codesourcery.com>
11893
11894 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11895 Expect macro.
11896 [POSIX] (pthread_attr_t): Do not require type.
11897 [POSIX] (pthread_cond_t): Likewise.
11898 [POSIX] (pthread_condattr_t): Likewise.
11899 [POSIX] (pthread_key_t): Likewise.
11900 [POSIX] (pthread_mutex_t): Likewise.
11901 [POSIX] (pthread_mutexattr_t): Likewise.
11902 [POSIX] (pthread_once_t): Likewise.
11903 [POSIX] (pthread_t): Likewise.
11904 [POSIX-based standards] (pthread_atfork): Expect function.
11905
6055173a
JM
119062013-09-24 Joseph Myers <joseph@codesourcery.com>
11907 Richard Sandiford <richard@codesourcery.com>
11908
11909 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11910 (swap_endianness_p): New extern variable.
11911 (set_big_endian): New inline function.
11912 (maybe_swap_uint32): Likewise.
11913 (maybe_swap_uint32_array): Likewise.
11914 (maybe_swap_uint32_obstack): Likewise.
11915 * locale/programs/locfile.c: Include <stdbool.h>.
11916 (swap_endianness_p): New variable.
11917 (add_locale_uint32): Call maybe_swap_uint32.
11918 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11919 (write_locale_data): Call maybe_swap_uint32_array.
11920 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11921 maybe_swap_uint32.
11922 (obstack_int32_grow_fast): Likewise.
11923 (output_weightwc): Call maybe_swap_uint32_obstack.
11924 (collate_output): Likewise.
11925 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11926 (OPT_LITTLE_ENDIAN): Likewise.
11927 (options): Add --little-endian and --big-endian options.
11928 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11929 * locale/programs/locarchive.c: Include "locfile.h".
11930 (GET): New macro.
11931 (SET): Likewise.
11932 (INC): Likewise.
11933 (create_archive): Use the new macros to access fields of
11934 structures directly mapped from or written to locale archives.
11935 (oldlocrecentcmp): Likewise.
11936 (enlarge_archive): Likewise.
11937 (insert_name): Likewise.
11938 (add_alias): Likewise.
11939 (add_locale): Likewise.
11940 (delete_locales_from_archive): Likewise.
11941 (show_archive_content): Likewise.
11942 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11943 locale data.
11944
39bf0bb4
RM
119452013-09-24 Roland McGrath <roland@hack.frob.com>
11946
11947 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11948 http://www.gnu.org/doc/freemanuals.texi.
11949 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11950
f02eed10
WN
119512013-09-24 Will Newton <will.newton@linaro.org>
11952
11953 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11954 macro.
11955
a3a6c312
JM
119562013-09-23 Joseph Myers <joseph@codesourcery.com>
11957
11958 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11959 unsigned char.
11960
107375ac
MR
119612013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11962
11963 * manual/threads.texi (POSIX Threads): Fix a typo.
11964
141f3a77
SP
119652013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11966
303e567a
SP
11967 [BZ #14547]
11968 * string/tst-strcoll-overflow.c: New test case.
11969 * string/Makefile (xtests): Add tst-strcoll-overflow.
11970 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11971 cache if string sizes may cause integer overflow.
11972
141f3a77
SP
11973 [BZ #14547]
11974 * string/strcoll_l.c (coll_seq): New members rule, idx,
11975 save_idx and back_us.
11976 (get_next_seq_nocache): New function.
11977 (do_compare_nocache): New function.
11978 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11979 when malloc fails.
11980
c61b4d41
CD
119812013-09-23 Carlos O'Donell <carlos@redhat.com>
11982
0b1f8e35
CD
11983 [BZ #15754]
11984 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11985 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11986 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11987
c61b4d41
CD
11988 [BZ #15754]
11989 * elf/Makefile (tests): Add tst-ptrguard1.
11990 (tests-static): Add tst-ptrguard1-static.
11991 (tst-ptrguard1-ARGS): Define.
11992 (tst-ptrguard1-static-ARGS): Define.
11993 * elf/tst-ptrguard1.c: New file.
11994 * elf/tst-ptrguard1-static.c: New file.
11995 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11996 * sysdeps/i386/stackguard-macros.h: Likewise.
11997 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11998 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11999 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12000 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12001 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12002 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12003
120042013-09-23 Hector Marco <hecmargi@upv.es>
12005 Ismael Ripoll <iripoll@disca.upv.es>
12006 Carlos O'Donell <carlos@redhat.com>
12007
12008 [BZ #15754]
12009 * sysdeps/generic/stackguard-macros.h: Define
12010 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12011 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12012 Define __pointer_chk_guard_local.
12013 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12014 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12015
f5f4e7b4
VV
120162013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12017
12018 [BZ #15859]
12019 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12020
5bb43a43
AS
120212013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12022
12023 * include/string.h (__ffs): Declare as hidden.
12024 * string/ffs.c (__ffs): Define as hidden.
12025 * sysdeps/i386/ffs.c (__ffs): Likewise.
12026 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12027 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12028 * sysdeps/s390/ffs.c (__ffs): Likewise.
12029 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12030
3ea5be54
AO
120312013-09-20 Alexandre Oliva <aoliva@redhat.com>
12032
ffb89e53
AO
12033 * NEWS: Mention malloc probes.
12034
322dea08
AO
12035 * malloc/arena.c (new_heap): New memory_heap_new probe.
12036 (grow_heap): New memory_heap_more probe.
12037 (shrink_heap): New memory_heap_less probe.
12038 (heap_trim): New memory_heap_free probe.
12039 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12040 (systrim): New memory_sbrk_less probe.
12041 * manual/probes.texi: Document them.
12042
655673f3
AO
12043 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12044 * manual/probes.texi: Document it.
12045
35fed6f1
AO
12046 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12047 (__libc_realloc): Add memory_realloc_retry probe.
12048 (__libc_memalign): Add memory_memalign_retry probe.
12049 (__libc_valloc): Add memory_valloc_retry probe.
12050 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12051 (__libc_calloc): Add memory_calloc_retry probe.
12052 * manual/probes.texi: Document them.
12053
6999d38c
AO
12054 * malloc/arena.c (get_free_list): Add probe
12055 memory_arena_reuse_free_list.
12056 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12057 and memory_arena_reuse.
12058 (arena_get2) [!PER_THREAD]: Likewise.
12059 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12060 memory_arena_reuse_realloc.
12061 * manual/probes.texi: Document them.
12062
0653427f
AO
12063 * malloc/malloc.c (__libc_free): Add
12064 memory_mallopt_free_dyn_thresholds probe.
12065 (__libc_mallopt): Add multiple memory_mallopt probes.
12066 * manual/probes.texi: Document them.
12067
3ea5be54
AO
12068 * malloc/malloc.c: Include stap-probe.h.
12069 (__libc_mallopt): Add memory_mallopt probe.
12070 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12071 * manual/probes.texi: New.
12072 * manual/Makefile (chapters): Add probes.
12073 * manual/threads.texi: Set next node.
12074
e35696c3 120752013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12076
e35696c3
CL
12077 [BZ #15963, #13985]
12078 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12079 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12080 Add `Chinese' to `nan' entry name.
12081
4aafb73c
SP
120822013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12083
12084 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12085 (POLYNOMIAL): Likewise.
12086 (TAYLOR_SINCOS): Likewise.
12087 (TAYLOR_SLOW): Likewise.
12088 (__sin): Use TAYLOR_SINCOS.
12089 (__cos): Likewise.
12090 (slow): Use TAYLOR_SLOW.
12091 (sloww): Likewise.
12092 (bsloww): Likewise.
12093 (csloww): Likewise.
12094
d84f25c7
LD
120952013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12096
12097 * stdlib/strtod_l.c: Fix buffer overrun.
12098
5eea0404
SP
120992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12100
7849ff93
SP
12101 * benchtests/Makefile (bench): Add sincos.
12102 * benchtests/bench-sincos.c: New file.
12103
cfa3c886
SP
12104 * math/libm-test.inc (cos_test_data): New test inputs.
12105 (sin_test_data): Likewise.
12106
b348e1e3
SP
12107 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12108 macro.
12109 (__sin): Use it.
12110 (__cos): Likewise.
12111 (slow1): Likewise.
12112 (slow2): Likewise.
12113 (sloww1): Likewise.
12114 (sloww2): Likewise.
12115 (bsloww1): Likewise.
12116 (bsloww2): Likewise.
12117 (cslow2): Likewise.
12118 (csloww1): Likewise.
12119 (csloww2): Likewise.
12120
6cce25f8
SP
12121 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12122 function.
12123 (__sin): Use it.
12124 (__cos): Likewise.
12125
5eea0404
SP
12126 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12127 gotos.
12128 (__cos): Likewise.
12129
9c21573c
MR
121302013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12131
12132 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12133 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12134 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12135 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12136 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12137 * elf/cache.c (print_entry): Handle the new cache flags.
12138
24d22e65
JM
121392013-09-18 Joseph Myers <joseph@codesourcery.com>
12140 Aldy Hernandez <aldyh@redhat.com>
12141
12142 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12143 Change condition to [_SOFT_FLOAT].
12144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12156 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12159 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12160 declaration.
12161
d13ef066
JM
121622013-09-18 Joseph Myers <joseph@codesourcery.com>
12163
2e071de0
JM
12164 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12165 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12166 (__longjmp): Use LOAD_GP to load saved GPRs.
12167 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12168 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12169 (__sigsetjmp): Use SAVE_GP to save GPRs.
12170
d13ef066
JM
12171 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12172 Do not append -msoft-float.
12173 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12174
97a0650b
SP
121752013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12176
12177 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12178
11ca09e9
JM
121792013-09-17 Joseph Myers <joseph@codesourcery.com>
12180
12181 [BZ #15966]
12182 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12183 (_FPU_GETCW): Use initial "__" on variable and field names but not
12184 on macro parameter name.
12185 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12186 parentheses around reference to macro parameter.
12187
08ffcf34
RS
121882013-09-13 Richard Sandiford <richard@codesourcery.com>
12189
12190 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12191 prototype.
12192 (ctype_startup): Use uint32_t in cast and sizeof for
12193 ctype->charnames.
12194
ae7080d3
JL
121952013-09-11 Jia Liu <proljc@gmail.com>
12196
12197 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12198 __daddr_t_defined.
12199 [__FreeBSD__]: Likewise.
12200
5905e7b3
OB
122012013-09-11 Ondřej Bílka <neleai@seznam.cz>
12202
12203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12204 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12205 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12206 (strchr): Remove __strchr_sse42 ifunc selection.
12207 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12208 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12209
b987c776
WN
122102013-09-11 Will Newton <will.newton@linaro.org>
12211
12212 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12213 parameter to RES. Remove hardcoded 1000 value.
12214 * benchtests/bench-skeleton.c (main): Pass RES parameter
12215 to TIMING_INIT and multiply result by 1000.
12216
ddf985af
AZ
122172013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12218
12219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12220
ffdd3181
AS
122212013-09-11 Andreas Schwab <schwab@suse.de>
12222
12223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12224 if not defined.
12225 (O_TMPFILE) [__USE_GNU]: Define.
12226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12227 Define.
12228
b73ed247
WN
122292013-09-11 Will Newton <will.newton@linaro.org>
12230
12231 [BZ #15857]
12232 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12233 does not overflow.
12234
55e17aad
WN
122352013-09-11 Will Newton <will.newton@linaro.org>
12236
12237 [BZ #15856]
12238 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12239 does not overflow.
12240
1159a193
WN
122412013-09-11 Will Newton <will.newton@linaro.org>
12242
12243 [BZ #15855]
12244 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12245 does not overflow.
12246
5905e7b3 122472013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12248
12249 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12250 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12254
cdfc721b
AM
122552013-09-10 Allan McRae <allan@archlinux.org>
12256
aa04af00
AM
12257 [BZ #15748]
12258 * manual/arith.texi (Parsing of Floats): Clarify
12259 cross-reference.
12260
cdfc721b
AM
12261 [BZ #15849]
12262 * manual/install.texi (Running make install): Mention
12263 --enable-pt-chown.
12264 * INSTALL: Regenerated.
12265
95e7cf29
MR
122662013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12267
12268 * csu/init-first.c (_init): Remove the !SHARED condition around
12269 FPU control word initialization.
12270 * elf/dl-support.c (_dl_fpu_control): New variable.
12271 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12272 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12273 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12274 * math/test-fpucw-static.c: New file.
12275 * math/test-fpucw-ieee.c: New file.
12276 * math/test-fpucw-ieee-static.c: New file.
12277 * math/Makefile (tests): Add `test-fpucw-ieee' and
12278 `$(tests-static)'.
12279 (tests-static): New variable.
12280 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12281 dependency to...
12282 [($(build-shared),yes)]
12283 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12284 ... this.
12285 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12286 New dependency.
12287
83e43bf0
AM
122882013-09-09 Allan McRae <allan@archlinux.org>
12289
a9f5ce09
AM
12290 [BZ #15939]
12291 * manual/string.texi (Collation Functions): Fix typo in
12292 strcoll example.
12293 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12294
34829bc2
AM
12295 [BZ #15893]
12296 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12297
3932737d
AM
12298 [BZ #15892]
12299 * libio/memstream.c (open_memstream): Fix memory leak.
12300 * libio/wmemstream.c (open_wmemstream): Likewise.
12301
83e43bf0
AM
12302 [BZ #15895]
12303 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12304
0c66b8e9
WN
123052013-09-09 Will Newton <will.newton@linaro.org>
12306
12307 * malloc/Makefile: Add tst-realloc to tests.
12308 * malloc/tst-realloc.c: New file.
12309
f6b00fd1
AM
123102013-09-09 Allan McRae <allan@archlinux.org>
12311
12312 [BZ #15844]
12313 * COPYING: Update from GNU website to fix FSF address.
12314 * COPYING.LIB: Likewise.
12315
eec55e16
DM
123162013-09-06 David S. Miller <davem@davemloft.net>
12317
12318 * po/zh_TW.po: Update Chinese (traditional) translation from
12319 translation project.
12320
1ecbb381
RS
123212013-09-06 Richard Sandiford <richard@codesourcery.com>
12322 Joseph Myers <joseph@codesourcery.com>
12323
12324 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12325 "localeinfo.h".
12326 (obstack_chunk_alloc): New macro.
12327 (obstack_chunk_free): Likewise.
12328 (record_offset): New function.
12329 (init_locale_data): Likewise.
12330 (align_locale_data): Likewise.
12331 (add_locale_empty): Likewise.
12332 (add_locale_raw_data): Likewise.
12333 (add_locale_raw_obstack): Likewise.
12334 (add_locale_string): Likewise.
12335 (add_locale_wstring): Likewise.
12336 (add_locale_uint32): Likewise.
12337 (add_locale_uint32_array): Likewise.
12338 (add_locale_char): Likewise.
12339 (start_locale_structure): Likewise.
12340 (end_locale_structure): Likewise.
12341 (start_locale_prelude): Likewise.
12342 (end_locale_prelude): Likewise.
12343 (write_locale_data): Take locale_file structure rather than an
12344 iovec.
12345 * locale/programs/locfile.h: Include "obstack.h".
12346 (struct locale_file): Change to store locale file contents instead
12347 of header.
12348 (init_locale_data): New prototype.
12349 (align_locale_data): Likewise.
12350 (add_locale_empty): Likewise.
12351 (add_locale_raw_data): Likewise.
12352 (add_locale_raw_obstack): Likewise.
12353 (add_locale_string): Likewise.
12354 (add_locale_wstring): Likewise.
12355 (add_locale_uint32): Likewise.
12356 (add_locale_uint32_array): Likewise.
12357 (add_locale_char): Likewise.
12358 (start_locale_structure): Likewise.
12359 (end_locale_structure): Likewise.
12360 (start_locale_prelude): Likewise.
12361 (end_locale_prelude): Likewise.
12362 (write_locale_data): Update prototype.
12363 * locale/programs/3level.h (struct TABLE): Remove result field.
12364 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12365 Use new locale_file interface.
12366 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12367 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12368 * locale/programs/ld-address.c (address_output): Use new
12369 locale_file interface.
12370 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12371 NO_ADD_LOCALE.
12372 (collate_finish): Don't call collseq_table_finalize.
12373 (collate_output): Use new locale_file interface.
12374 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12375 in file.
12376 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12377 (TABLE): Move defines earlier in file.
12378 (ELEMENT): Likewise.
12379 (DEFAULT): Likewise.
12380 (wctrans_table_add): Move macro and inline function earlier in
12381 file.
12382 (struct wctype_table): Move type earlier in file.
12383 (add_locale_wctype_table): New static prototype.
12384 (struct locale_ctype_t): Use logical types instead of struct iovec
12385 pointers for members.
12386 (ctype_output): Use new locale_file interface.
12387 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12388 new locale_file interface.
12389 (allocate_arrays): Update for use of new locale_file interface.
12390 * locale/programs/ld-identification.c (identification_output): Use
12391 new locale_file interface.
12392 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12393 * locale/programs/ld-messages.c (messages_output): Likewise.
12394 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12395 * locale/programs/ld-name.c (name_output): Likewise.
12396 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12397 * locale/programs/ld-paper.c (paper_output): Likewise.
12398 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12399 * locale/programs/ld-time.c (time_output): Likewise.
12400
e029e2e5
AZ
124012013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12402
12403 * benchtests/Makefile: Add memrchr benchmark.
12404 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12405 benchmark as memrchr.
12406 * benchtests/bench-memrchr-ifunc.c: New file.
12407 * benchtests/bench-memrchr.c: New file.
12408
bbf6e8e4
WN
124092013-09-06 Will Newton <will.newton@linaro.org>
12410
12411 * benchtests/Makefile (string-bench): Add memcpy.
12412
6c82a2f8
CD
124132013-09-05 Carlos O'Donell <carlos@redhat.com>
12414 Cong Wang <amwang@redhat.com>
12415
e732c5f0 12416 [BZ #15850]
6c82a2f8
CD
12417 * sysdeps/unix/sysv/linux/bits/in.h
12418 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12419 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12420 before __USE_KERNEL_IPV6_DEFS uses.
12421 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12422 IPPROTO_BEETPH.
12423 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12424 sockaddr_in6, or ipv6_mreq.
12425
5430fc65
AZ
124262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12427
12428 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12429 memory access for final bytes in some large inputs.
12430 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12431
4660856c
AZ
124322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12433
12434 * string/test-memrchr.c: New file.
12435 * string/test-memrchr-ifunc.c: New file.
12436 * string/Makefile: Add new memrchr testcase.
12437
bb8ea713
MF
124382013-09-05 Mike Frysinger <vapier@gentoo.org>
12439
12440 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12441 fanotify_init returns EPERM.
12442
b92a20b5
JM
124432013-09-04 Joseph Myers <joseph@codesourcery.com>
12444
12445 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12446 errors.
12447 (top level): Treat second token from macro or constant entries for
12448 allowed headers as allowed.
12449 * include/complex.h: Condition internal declarations on
12450 [!_ISOMAC].
12451 * include/fenv.h: Condition include of <stdbool.h> and internal
12452 declarations on [!_ISOMAC].
7447ccd9
CL
12453
124542013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12455
3e181dda 12456 [BZ #15923]
7447ccd9
CL
12457 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12458
3f2e46a4
JM
124592013-09-04 Joseph Myers <joseph@codesourcery.com>
12460
12461 * configure.in (--enable-versioning): Remove configure option.
12462 (libc_cv_asm_symver_directive): Remove configure test.
12463 (libc_cv_ld_version_script_option): Likewise.
12464 (VERSIONING): Remove variable and AC_SUBST.
12465 (DO_VERSIONING): Remove AC_DEFINE.
12466 * configure: Regenerated.
12467 * config.h.in (DO_VERSIONING): Remove macro.
12468 * Makerules [$(versioning) = yes]: Change conditionals to
12469 [$(build-shared) = yes].
12470 * config.make.in (versioning): Remove variable.
12471 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12472 [$(build-shared) = yes].
12473 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12474 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12475 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12476 [$(build-shared) = yes].
12477 * extra-lib.mk [$(versioning) = yes]: Likewise.
12478 * hurd/Makefile [$(versioning) = yes]: Likewise.
12479 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12480 [SHARED].
12481 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12482 [SHARED].
12483 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12484 [SHARED && !NO_HIDDEN].
12485 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12486 [SHARED].
12487 [SHARED && DO_VERSIONING]: Likewise..
12488 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12489 [$(build-shared) = yes].
12490 * manual/install.texi (--disable-versioning): Remove
12491 documentation.
12492 * INSTALL: Regenerated.
12493 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12494 to [SHARED].
12495 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12496 [$(build-shared) = yes].
12497 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12498 * sysdeps/i386/i686/multiarch/strstr-c.c
12499 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12500 [SHARED && !NO_HIDDEN].
12501 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12502 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12503 * sysdeps/powerpc/powerpc32/dl-machine.c
12504 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12505 * sysdeps/powerpc/powerpc32/sysdep.h
12506 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12507 to [SHARED && PIC && !NO_HIDDEN].
12508 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12509 conditional to [SHARED].
12510
44558701
WN
125112013-09-04 Will Newton <will.newton@linaro.org>
12512
12513 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12514 * benchtests/bench-string.h: Include bench-timing.h instead
12515 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12516 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12517 call to HP_TIMING_DIFF_INIT.
12518 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12519 instead of hp-timing.h macros.
12520 * benchtests/bench-memchr.c: Likewise.
12521 * benchtests/bench-memcmp.c: Likewise.
12522 * benchtests/bench-memcpy.c: Likewise.
12523 * benchtests/bench-memmem.c: Likewise.
12524 * benchtests/bench-memmove.c: Likewise.
12525 * benchtests/bench-memset.c: Likewise.
12526 * benchtests/bench-rawmemchr.c: Likewise.
12527 * benchtests/bench-strcasecmp.c: Likewise.
12528 * benchtests/bench-strcasestr.c: Likewise.
12529 * benchtests/bench-strcat.c: Likewise.
12530 * benchtests/bench-strchr.c: Likewise.
12531 * benchtests/bench-strcmp.c: Likewise.
12532 * benchtests/bench-strcpy.c: Likewise.
12533 * benchtests/bench-strcpy_chk.c: Likewise.
12534 * benchtests/bench-strlen.c: Likewise.
12535 * benchtests/bench-strncasecmp.c: Likewise.
12536 * benchtests/bench-strncat.c: Likewise.
12537 * benchtests/bench-strncmp.c: Likewise.
12538 * benchtests/bench-strncpy.c: Likewise.
12539 * benchtests/bench-strnlen.c: Likewise.
12540 * benchtests/bench-strpbrk.c: Likewise.
12541 * benchtests/bench-strrchr.c: Likewise.
12542 * benchtests/bench-strspn.c: Likewise.
12543 * benchtests/bench-strstr.c: Likewise.
12544
cae16d66
WN
125452013-09-04 Will Newton <will.newton@linaro.org>
12546
12547 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12548
ffa3cd7f
JM
125492013-09-03 Joseph Myers <joseph@codesourcery.com>
12550
12551 [BZ #15427]
12552 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12553 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12554 * math/libm-test.inc (lgamma_test_data): Add more tests.
12555 * sysdeps/i386/fpu/libm-test-ulps: Update.
12556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12557
8f02859f
OB
125582013-09-03 Ondřej Bílka <neleai@seznam.cz>
12559
12560 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12562 Add ifunc.
12563 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12564 Add strcmp-sse2-unaligned
12565 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12566
18d43716
MF
125672013-09-02 Mike Frysinger <vapier@gentoo.org>
12568
12569 * Versions.def (libc): Add GLIBC_2.19.
12570
ac444012
MF
125712013-09-02 Mike Frysinger <vapier@gentoo.org>
12572
12573 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12574 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12575
b7835e32
JM
125762013-09-02 Joseph Myers <joseph@codesourcery.com>
12577
12578 [BZ #14155]
12579 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12580 intermediate calculations in recurrence.
12581 (__ieee754_ynf): Likewise.
12582 * math/libm-test.inc (jn_test_data): Do not allow spurious
12583 underflow exception. Add more tests.
12584 (yn_test_data): Add more tests.
12585 * sysdeps/i386/fpu/libm-test-ulps: Update.
12586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12587
8220f4f0
OB
125882013-09-02 Ondřej Bílka <neleai@seznam.cz>
12589
12590 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12591
f24a6d08
OB
125922013-08-30 Ondřej Bílka <neleai@seznam.cz>
12593
12594 * csu/init-first.c: Fix then/than typos.
12595 * locale/programs/ld-collate.c: Likewise.
12596 * locale/programs/linereader.h: Likewise.
12597 * manual/charset.texi: Likewise.
12598 * manual/filesys.texi: Likewise.
12599 * manual/stdio.texi: Likewise.
12600 * manual/string.texi: Likewise.
12601 * stdlib/fmtmsg.c: Likewise.
12602 * sysdeps/i386/stpncpy.S: Likewise.
12603 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12604 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12605 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12606 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12607
382466e0
OB
126082013-08-30 Ondřej Bílka <neleai@seznam.cz>
12609
12610 * elf/dl-open.c: Fix typos.
12611 * iconvdata/gbbig5.c: Likewise.
12612 * iconvdata/iso-2022-jp.c: Likewise.
12613 * iconv/gconv_int.h: Likewise.
12614 * iconv/loop.c: Likewise.
12615 * nis/rpcsvc/nis.h: Likewise.
12616 * resolv/ns_name.c: Likewise.
12617 * stdio-common/vfscanf.c: Likewise.
12618 * streams/stropts.h: Likewise.
12619 * sunrpc/rpc_thread.c: Likewise.
12620 * sysdeps/i386/strpbrk.S: Likewise.
12621 * sysdeps/ieee754/k_standard.c: Likewise.
12622 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12624 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12625 * sysdeps/mach/hurd/profil.c: Likewise.
12626 * sysdeps/s390/dl-procinfo.h: Likewise.
12627 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12628 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12629 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12630 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12631 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12632
0186c6e9
OB
126332013-08-30 Ondřej Bílka <neleai@seznam.cz>
12634
12635 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12637
d4e16af1
OB
126382013-08-29 Ondřej Bílka <neleai@seznam.cz>
12639
12640 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12641 aix specific files.
12642 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12643 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12645 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12646 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12648 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12649 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12650
88335980
TS
126512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12652 Roland McGrath <roland@hack.frob.com>
12653
12654 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12655 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12656
ed479b02
ST
126572013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12658
12659 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12660 __executable_start symbol instead of _start.
12661
f1cc4c86
TS
126622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12663
d821f07c
TS
12664 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12665 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12666 Move macros to...
12667 * sysdeps/gnu/ldsodefs.h: ... this new file.
12668
c54290cf
TS
12669 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12670 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12671 instead of ELFOSABI_LINUX.
12672
0007fc9b 12673 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12674 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12675 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12676 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12677 Likewise.
12678 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12679 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12680 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12681 Likewise.
12682 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12683 (ibm_extended_long_double): Add ieee_nan member.
12684 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12685 (do_test): New function.
12686
f1cc4c86
TS
12687 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12688 TEST_TRUNC.
12689 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12690 functions, renamed from truncdfsf_test, trunctfsf_test,
12691 trunctfdf_test.
12692 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12693 functions.
12694 (do_test): Run all these.
12695
6f65e668
OB
126962013-08-29 Ondřej Bílka <neleai@seznam.cz>
12697
12698 * argp/argp-help.c: Fix typos.
12699 * argp/argp-parse.c: Likewise.
12700 * debug/backtracesyms.c: Likewise.
12701 * elf/elf.h: Likewise.
12702 * malloc/malloc.c: Likewise.
12703 * nis/nis_print.c: Likewise.
12704 * resolv/res_comp.c: Likewise.
12705 * stdlib/stdlib.h: Likewise.
12706 * sunrpc/clnt_tcp.c: Likewise.
12707 * sunrpc/clnt_udp.c: Likewise.
12708 * sunrpc/clnt_unix.c: Likewise.
12709 * sysdeps/unix/bsd/ptsname.c: Likewise.
12710 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12711 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12713 Likewise.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12715 Likewise.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12717 Likewise.
6f65e668
OB
12718 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12719
3a309239
SP
127202013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12721
12722 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12724
3b813b29
MF
127252013-08-27 Mike Frysinger <vapier@gentoo.org>
12726
12727 [BZ #15897]
12728 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12729 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12730 ($(objpfx)bug-dl-leaf): New rule.
12731 ($(objpfx)bug-dl-leaf.so): Likewise.
12732 ($(objpfx)bug-dl-leaf.out): Likewise.
12733 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12734 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12735 * dlfcn/bug-dl-leaf.c: New test.
12736 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12737 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12738 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12739 (dlclose): Likewise.
12740 (dlmopen): Likewise.
12741
8cc3269f
RM
127422013-08-27 Roland McGrath <roland@hack.frob.com>
12743
7f9d0034
RM
12744 * include/netdb.h [!_ISOMAC]:
12745 Don't include <tls.h>.
12746 (h_errno, __libc_h_errno): Move declaration and macros out of
12747 [_LIBC_REENTRANT].
12748
fb431262
RM
12749 * include/resolv.h [_RESOLV_H_]:
12750 Don't include <tls.h>.
12751 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12752 * resolv/res_libc.c: Don't include <tls.h>.
12753 (_res): Use __attribute__ ((nocommon)) in place of
12754 __attribute__ ((section (".bss"))).
12755
bd81123a
RM
12756 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12757 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12758
c4e42566
RM
12759 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12760
f890a59b
RM
12761 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12762 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12763
12764 * resolv/res_mkquery.c: Include <sys/time.h>.
12765
5d1f0a09
RM
12766 * inet/ifreq.c: Moved to ...
12767 * sysdeps/unix/ifreq.c: ... here.
12768 * inet/ifreq.c: New file, true stub version.
12769
6fcf28b3
RM
12770 * socket/sa_len.c: New file.
12771 * socket/Makefile (aux): Add it.
12772 * sysdeps/unix/sysv/linux/Makefile
12773 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12774 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12775 and #include <socket/sa_len.c>.
12776 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12777 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12778
e041fb8b
RM
12779 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12780 * bits/socket.h: ... here.
12781
8cc3269f
RM
12782 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12783 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12784 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12785
5d228a43
AS
127862013-08-27 Andreas Schwab <schwab@suse.de>
12787
45b8accc
AS
12788 [BZ #15736]
12789 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12790 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12791 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12792 * string/test-strcasecmp.c (test_main): Run tests in several
12793 locales.
12794 * string/test-strncasecmp.c (test_main): Likewise.
12795
5d228a43
AS
12796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12797 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12798 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12800 (__strncasecmp_ssse3) [PIC]: Likewise.
12801
59d112a4
RM
128022013-08-26 Roland McGrath <roland@hack.frob.com>
12803
53234cc3
RM
12804 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12805
59d112a4
RM
12806 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12807 instead of explicitly declaring xdecrypt.
12808 * nis/nss_nis/nis-publickey.c: Likewise.
12809
595aba70
SP
128102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12811
12812 [BZ #15890]
12813 * nscd/aicache.c: Include res_hconf.h.
12814 (addhstaiX): Initialize res_hconf.
12815
ffabd393
AS
128162013-08-26 Andreas Schwab <schwab@suse.de>
12817
12818 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12819 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12820
e0a69f5c
SP
128212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12822
12823 * nscd/aicache.c (addhstaiX): Fix indentation.
12824
8c12f01d
MF
128252013-08-25 Mike Frysinger <vapier@gentoo.org>
12826
12827 * configure.ac: Quote $build_pt_chown test.
12828 * configure: Regenerated.
12829
8fe89494
JM
128302013-08-23 Joseph Myers <joseph@codesourcery.com>
12831
12832 [BZ #15532]
12833 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12834 * math/s_cexpf.c (__cexpf): Likewise.
12835 * math/s_cexpl.c (__cexpl): Likewise.
12836 * math/libm-test.inc (cexp_test_data): Correct expected return
12837 value for NaN + i0. Add another test.
12838
75b181d6
DM
128392013-08-22 David S. Miller <davem@davemloft.net>
12840
12841 * po/ca.po: Update Catalan translation from translation project.
936241e4 12842 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12843
acd06bb1
JM
128442013-08-21 Joseph Myers <joseph@codesourcery.com>
12845
12846 [BZ #15797]
12847 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12848 is infinite, not alongside NaN test.
12849 * math/s_fdimf.c (__fdimf): Likewise.
12850 * math/s_fdiml.c (__fdiml): Likewise.
12851 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12852 errno is unchanged.
12853
c0c3f78a
OB
128542013-08-21 Ondřej Bílka <neleai@seznam.cz>
12855
12856 * argp/argp-help.c: Fix typos.
12857 * crypt/speeds.c: Likewise.
12858 * csu/check_fds.c: Likewise.
12859 * elf/dl-load.c: Likewise.
12860 * elf/dl-open.c: Likewise.
12861 * elf/reldep3.c: Likewise.
12862 * elf/reldep.c: Likewise.
12863 * elf/sprof.c: Likewise.
12864 * iconv/iconv_charmap.c: Likewise.
12865 * iconv/skeleton.c: Likewise.
12866 * iconv/strtab.c: Likewise.
12867 * io/lockf64.c: Likewise.
12868 * libio/libioP.h: Likewise.
12869 * resolv/gai_notify.c: Likewise.
12870 * resolv/ns_name.c: Likewise.
12871 * resolv/ns_samedomain.c: Likewise.
12872 * resolv/res_send.c: Likewise.
12873 * stdlib/random.c: Likewise.
12874 * sunrpc/rpc/xdr.h: Likewise.
12875 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12876 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12882 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12883 * sysdeps/mach/hurd/check_fds.c: Likewise.
12884 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12885 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12887 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12888 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12889 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12890 * sysdeps/pthread/aio_notify.c: Likewise.
12891 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12892 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12894 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12895 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12896
46ed1038
LD
128972013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12898
12899 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12900 version if bit_Slow_SSE4_2 is set.
12901 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12902 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12903
d400dcac
AZ
129042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12905
12906 [BZ #15867]
12907 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12908 trampoline stack frame information.
12909 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12910 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12911 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12912 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12913 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12914 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12915 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12916 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12917 sa_flags value.
12918 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12919 interrupting a syscall and set with option SA_SIGINFO.
12920
42c8fdd8
JM
129212013-08-20 Joseph Myers <joseph@codesourcery.com>
12922
c980f2f4
JM
12923 [BZ #15531]
12924 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12925 argument is infinite.
12926 * math/s_cprojf.c (__cprojf): Likewise.
12927 * math/s_cprojl.c (__cprojl): Likewise.
12928 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12929 * math/libm-test.inc (cproj_test_data): Add more tests.
12930
0716c4fc
JM
12931 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12932
42c8fdd8
JM
12933 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12934 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12935 size. Use __ffs to determine corresponding shift.
12936
b31469d0
JM
129372013-08-20 Joseph Myers <joseph@codesourcery.com>
12938 Roland McGrath <roland@hack.frob.com>
12939
12940 * Makefile (INSTALL): Remove trailing blank lines from output of
12941 makeinfo.
12942
4e39af6e
AK
129432013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12944
12945 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12946 Align 32 bit compat elf_greg to 8 bytes.
12947
f315524e
AA
129482013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12949
12950 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12951
1326ba1a
SP
129522013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12953
12954 * string/strcoll_l.c (coll_seq): New structure.
12955 (get_next_seq_cached): New function.
12956 (get_next_seq): New function.
12957 (do_compare): New function.
12958 (STRCOLL): Use GNU style definition. Simplify implementation
12959 by using get_next_seq, get_next_seq_cached and do_compare.
12960
91ce4085
FW
129612013-08-16 Florian Weimer <fweimer@redhat.com>
12962
12963 [BZ #14699]
12964 CVE-2013-4237
12965 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12966 member.
12967 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12968 member.
12969 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12970 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12971 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12972 conditional.
12973 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12974 GETDENTS_64BIT_ALIGNED.
12975 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12976 * manual/filesys.texi (Reading/Closing Directory): Document
12977 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12978 strongly.
12979 * manual/conf.texi (Limits for Files): Add portability note to
12980 NAME_MAX, PATH_MAX.
12981 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12982
ca0a6bc4
AS
129832013-08-13 Andreas Schwab <schwab@suse.de>
12984
12985 [BZ #15749]
12986 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12987 of fabs.
12988 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12989 LDBL_MAX_EXP >= 16384]: Add tests for it.
12990
6c1fd795
DM
129912013-08-12 David S. Miller <davem@davemloft.net>
12992
12993 * version.h (RELEASE): Set to "development".
12994 (VERSION): Set to "2.18.90".
12995 * NEWS: Add 2.19 section.
12996
31ad488d
DM
129972013-08-03 David S. Miller <davem@davemloft.net>
12998
12999 * po/ko.po: Update Korean translation from translation project.
13000
db24e684
DM
130012013-08-01 David S. Miller <davem@davemloft.net>
13002
13003 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13004 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13005 Bilka.
13006
f723285b
DM
130072013-07-30 David S. Miller <davem@davemloft.net>
13008
13009 * po/fr.po: Update French translation from translation project.
13010
3cbc52db
DM
130112013-07-28 David S. Miller <davem@davemloft.net>
13012
30bbc0cc
DM
13013 * po/cs.po: Update Czech translation from translation project.
13014
3cbc52db
DM
13015 * po/sv.po: Update Swedish translation from translation project.
13016
d492e6d0
DM
130172013-07-27 David S. Miller <davem@davemloft.net>
13018
f1a7f492
DM
13019 * po/eo.po: Update Esperanto translation from translation project.
13020
90e62a4a
DM
13021 * po/vi.po: Update Vietnamese translation from translation project.
13022
d492e6d0
DM
13023 * po/de.po: Update German translation from translation project.
13024
d4baa62d
DM
130252013-07-26 David S. Miller <davem@davemloft.net>
13026
641aa7b4
DM
13027 * po/bg.po: Update Bulgarian translation from translation project.
13028
d4baa62d
DM
13029 * po/nl.po: Update Dutch translation from translation project.
13030 * po/pl.po: Update Polish translation from translation project.
13031 * po/ru.po: Update Russian translation from translation project.
13032
61a9dcb9
DM
130332013-07-24 David S. Miller <davem@davemloft.net>
13034
13035 * po/libc.pot: Update.
13036
7b1f8b58
AZ
130372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13038
13039 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13040 variable page size.
13041 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13042 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13043 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13044
a8fc7a03
AK
130452013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13046
13047 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13048
e4608715
CD
130492013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13050 Andreas Schwab <schwab@suse.de>
13051 Roland McGrath <roland@hack.frob.com>
13052 Joseph Myers <joseph@codesourcery.com>
13053 Carlos O'Donell <carlos@redhat.com>
13054
13055 [BZ #15755]
13056 * config.h.in: Define HAVE_PT_CHOWN.
13057 * config.make.in (build-pt-chown): New variable.
13058 * configure.in (--enable-pt_chown): New configure option.
13059 * configure: Regenerate.
13060 * login/Makefile: Include Makeconfig. Build pt_chown only if
13061 build-pt-chown is enabled.
13062 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13063 pt_chown to fix pty ownership.
13064 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13065 CLOSE_ALL_FDS.
13066 * manual/install.texi (Configuring and compiling): Mention
13067 --enable-pt_chown. Add @findex for grantpt.
13068 * INSTALL: Regenerate.
13069
da2d62df
DM
130702013-07-20 David S. Miller <davem@davemloft.net>
13071
13072 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13073 difference between 32-bit and 64-bit.
13074
d7e06450
CD
130752013-07-15 Carlos O'Donell <carlos@redhat.com>
13076
13077 [BZ #15711]
13078 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13079 Avoid system header dependency with -ffreestanding.
13080 ($(objpfx)bits/syscall%d): Likewise.
13081
f959cfd7
DM
130822013-07-13 David S. Miller <davem@davemloft.net>
13083
13084 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13085 underflows from atanl/atan2l due to bug 15319.
13086 (casinh_test_data): Likewise.
13087
c61f8513
DM
130882013-07-07 David S. Miller <davem@davemloft.net>
13089
13090 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13091
72c90ed0
JA
130922013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13093
13094 * sysdeps/i386/fpu/libm-test-ulps: Update.
13095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13096
52dfbe13
SP
130972013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13098
13099 * configure.in (--enable-lock-elision): Fix message text.
13100 * INSTALL: Regenerate.
13101 * configure: Regenerate.
13102
3f169543
AZ
131032013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13104
13105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13106
521c6785
AJ
131072013-07-03 Andreas Jaeger <aj@suse.de>
13108
13109 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13110 define.
13111 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13112 (ptrace_peeksiginfo_args): Add.
13113 (__ptrace_peeksiginfo_flags): Add.
13114 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13115 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13117
d2cc15cb
AM
131182013-07-03 Allan McRae <allan@archlinux.org>
13119
13120 * sysdeps/i386/fpu/libm-test-ulps: Update.
13121
3aaeeca7
DM
131222013-07-02 David S. Miller <davem@davemloft.net>
13123
13124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13125
5314ed1a
MT
131262013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13127
13128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13129
67338156
JM
131302013-07-02 Joseph Myers <joseph@codesourcery.com>
13131
13132 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13134
1717da59
AK
131352013-07-02 Andi Kleen <ak@linux.intel.com>
13136
13137 * config.h.in (ENABLE_LOCK_ELISION): Add.
13138 * configure.in (--enable-lock-elision): Add option.
13139 * manual/install.texi: Document --enable lock elision.
13140 * configure: Regenerate
13141 * INSTALL: Regenerate.
13142
1c81621c
L
131432013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13144
13145 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13146 SSE4.2 strcasecmp for libc.a.
13147 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13148
77f01ab5
JM
131492013-07-02 Joseph Myers <joseph@codesourcery.com>
13150
13151 [BZ #13304]
13152 * soft-fp/op-common.h (_FP_FMA): New macro.
13153 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13154 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13155 (_FP_MUL_MEAT_1_imm): ... here.
13156 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13157 (_FP_MUL_MEAT_1_wide): ... here.
13158 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13159 (_FP_MUL_MEAT_1_hard): ... here.
13160 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13161 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13162 (_FP_MUL_MEAT_2_wide): ... here.
13163 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13164 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13165 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13166 (_FP_MUL_MEAT_2_gmp): ... here.
13167 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13168 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13169 (_FP_MUL_MEAT_4_wide): ... here.
13170 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13171 (_FP_MUL_MEAT_4_gmp): ... here.
13172 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13173 (_FP_WFRACBITS_DW_S): Likewise.
13174 (_FP_WFRACXBITS_DW_S): Likewise.
13175 (_FP_HIGHBIT_DW_S): Likewise.
13176 (FP_FMA_S): Likewise.
13177 (_FP_FRAC_HIGH_DW_S): Likewise.
13178 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13179 (_FP_WFRACBITS_DW_D): Likewise.
13180 (_FP_WFRACXBITS_DW_D): Likewise.
13181 (_FP_HIGHBIT_DW_D): Likewise.
13182 (FP_FMA_D): Likewise.
13183 (_FP_FRAC_HIGH_DW_D): Likewise.
13184 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13185 (_FP_WFRACBITS_DW_E): Likewise.
13186 (_FP_WFRACXBITS_DW_E): Likewise.
13187 (_FP_HIGHBIT_DW_E): Likewise.
13188 (FP_FMA_E): Likewise.
13189 (_FP_FRAC_HIGH_DW_E): Likewise.
13190 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13191 (_FP_WFRACBITS_DW_Q): Likewise.
13192 (_FP_WFRACXBITS_DW_Q): Likewise.
13193 (_FP_HIGHBIT_DW_Q): Likewise.
13194 (FP_FMA_Q): Likewise.
13195 (_FP_FRAC_HIGH_DW_Q): Likewise.
13196 * soft-fp/fmasf4.c: New file.
13197 * soft-fp/fmadf4.c: Likewise.
13198 * soft-fp/fmatf4.c: Likewise.
13199
6308fd9a
LD
132002013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13201
13202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13203 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13204 Silvermont.
13205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13206 macro.
13207 (index_Slow_SSE4_2): Likewise.
13208 (index_Prefer_PMINUB_for_stringop): Likewise.
13209 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13210 bit_Slow_SSE4_2 is set.
13211 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13212 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13213
89cd9569
RA
132142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13215
13216 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13217 rtld_global._dl_hwcap2.
13218 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13219 POWER8.
13220 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13221 POWER8 feature descriptions defined in _dl_hwcap2.
13222 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13223 string handling for POWER8 feature bits.
13224 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13225 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13226 _dl_powerpc_cap_flags.
13227 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13228 * sysdeps/powerpc/rtld-global-offsets.sym
13229 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13230 _dl_hwcap2 in the rtld_global_ro structure.
13231
1ae8bfe0
RA
132322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13233
13234 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13235 hardware capabilities in support of AT_HWCAP2.
13236 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13237 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13238 GLRO(dl_hwcap2).
13239 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13240 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13241 explicitly the unknown a_type display mechanism is used.
13242 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13243 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13244 struct member.
13245 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13246 to macro prototype for AT_HWCAP2 support.
13247 * sysdeps/i386/dl-procinfo.h: Likewise.
13248 * sysdeps/s390/dl-procinfo.h: Likewise.
13249 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13250 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13251 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13252 return -1 for unknown a_type display fallback.
13253 * sysdeps/sparc/dl-procinfo.h: Likewise.
13254 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13255 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13256
8fbec010
JM
132572013-06-28 Joseph Myers <joseph@codesourcery.com>
13258
13259 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13260 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13261
0432680e
PY
132622013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13263
13264 [BZ #12492]
13265 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13266 mprotect making __stack_prot writable.
13267
ce61a2ad
NF
132682013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13269 Joseph Myers <joseph@codesourcery.com>
13270
13271 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13272 as being properly aligned.
13273
f91f1c0f
MR
132742013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13275
3d0f5d0c
MR
13276 * dlfcn/modstatic5.c: New file.
13277 * dlfcn/tststatic5.c: New file.
13278 * dlfcn/Makefile (tests): Add tststatic5.
13279 (tests-static): Likewise.
13280 (modules-names): Add modstatic5.
13281 (tststatic5-ENV): New variable.
13282 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13283
f91f1c0f
MR
13284 [BZ #15022]
13285 * elf/dl-support.c (_dl_main_map): New variable.
13286 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13287 (_dl_nns, _dl_load_adds): Set to 1.
13288 (_dl_initial_searchlist): Refer to _dl_main_map.
13289 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13290 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13291 call to _dl_get_origin.
13292 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13293 around call_map.
13294 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13295 * dlfcn/modstatic3.c: New file.
13296 * dlfcn/tststatic3.c: New file.
13297 * dlfcn/tststatic4.c: New file.
13298 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13299 (tests-static): Likewise.
13300 (modules-names): Add modstatic3.
13301 (tststatic3-ENV, tststatic4-ENV): New variables.
13302 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13303 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13304
cbe7d24b
JM
133052013-06-26 Joseph Myers <joseph@codesourcery.com>
13306
13307 * configure.in (CC): Require GCC version 4.4 or later.
13308 * configure: Regenerated.
13309 * manual/install.texi (Tools for Compilation): Update GCC version
13310 requirement.
13311 * INSTALL: Regenerated.
13312
11b8a0e1
LD
133132013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13314
13315 [BZ #15674]
bb5bb87c
L
13316 * string/test-memcmp.c (check2): New.
13317 (main): Call check2.
13318
11b8a0e1
LD
13319 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13320
b0037103
MR
133212013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13322
13323 [BZ #15022]
13324 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13325 over to...
13326 (dl_open_worker) [!SHARED]: ... here.
13327
c18c701d
RA
133282013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13329
13330 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13331
1d17fa5f
RH
133322013-06-25 Richard Henderson <rth@redhat.com>
13333
13334 * locale/programs/locarchive.c: Include <libc-internal.h>
13335
8fcb833a
JM
133362013-06-25 Joseph Myers <joseph@codesourcery.com>
13337
13338 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13339 trailing whitespace removed.
13340
17db6e8d
MF
133412013-06-24 Mike Frysinger <vapier@gentoo.org>
13342
13343 [BZ #10283]
17db6e8d
MF
13344 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13345 * locale/programs/locarchive.c: Include libc-mmap.h.
13346 (prepare_address_space): Take two new outputs (the mmap base and len).
13347 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13348 values.
13349 (create_archive): Declare new mmap base and len values for
13350 prepare_address_space, and store the result in ah.
13351 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13352 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13353 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13354 Declare new mmap base and len values for
13355 prepare_address_space, and store the result in new_ah.
13356 (open_archive): Declare new mmap base and len values for
13357 prepare_address_space, and store the result in ah.
13358 (close_archive): If ah->mmap_base is not NULL, use that and
13359 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13360 * sysdeps/generic/libc-mmap.h: New file.
13361
d605071e
MF
133622013-06-24 Mike Frysinger <vapier@gentoo.org>
13363
13364 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13365 (ALIGN_UP): Likewise.
13366 (PTR_ALIGN_DOWN): Likewise.
13367 (PTR_ALIGN_UP): Likewise.
13368
2f063a6e
RA
133692013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13370
13371 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13372 entry mapped to PPC_PLATFORM_POWER8.
13373 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13374 POWER8.
13375 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13376 (_dl_string_platform): Add case for exporting platform position for
13377 POWER8.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13379 search path to sysdeps/powerpc/powerpc32/power8 directory.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13381 search path to sysdeps/powerpc/powerpc64/power8 directory.
13382 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13383 power7 directories.
13384 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13385 power7 directories.
13386
a31ee4b3
SP
133872013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13388
a74ca98f
SP
13389 * INSTALL: Regenerate.
13390
a31ee4b3
SP
13391 * nscd/connections.c (nscd_init): Fix comment.
13392
695c378f
JM
133932013-06-22 Joseph Myers <joseph@codesourcery.com>
13394
d8412221
JM
13395 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13396
695c378f
JM
13397 [BZ #15667]
13398 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13399 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13400
d1d54715
MR
134012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13402
13403 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13404 DL_DST_REQ_STATIC.
13405 (DL_DST_REQ_STATIC): Remove macro.
13406
8fdda7af
JM
134072013-06-21 Joseph Myers <joseph@codesourcery.com>
13408
13409 [BZ #7006]
13410 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13411 with a shift of 0 bits.
13412
f3bc5e5a
MR
134132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13414
13415 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13416 $(tststatic-ENV).
13417
be09e8c9
KK
134182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13419
13420 [BZ #15655]
13421 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13422
85c2e611
AZ
134232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13424
13425 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13426 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13427 accepts -fno-tree-loop-distribute-patterns.
13428 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13429 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13430 recursive call.
13431 * string/memset.c (memset): Likewise.
13432 * string/test-memmove.c (simple_memmove): Disable loop transformation
13433 to library calls.
13434 * string/test-memset.c (simple_memset): Likewise.
13435 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13436 * benchtests/bench-memset.c (simple_memset): Likewise.
13437 * configure: Regenerated.
13438
c91e0825
JM
134392013-06-20 Joseph Myers <joseph@codesourcery.com>
13440
b8c792af
JM
13441 * math/test-misc.c (main): Ignore fesetround failure when failures
13442 of subsequent rounding tests would be ignored.
13443
c91e0825
JM
13444 [BZ #15654]
13445 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13446 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13447 * math/fegetenv.c (__fegetenv): Return 0.
13448 * math/fegetexcept.c (fegetexcept): Return 0.
13449 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13450 FE_TONEAREST.
13451 * math/feholdexcpt.c (feholdexcept): Return 0.
13452 * math/fesetenv.c (__fesetenv): Return 0.
13453 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13454 argument FE_TONEAREST.
13455 * math/feupdateenv.c (__feupdateenv): Return 0.
13456 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13457
bfcacbde
RM
134582013-06-18 Roland McGrath <roland@hack.frob.com>
13459
13460 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13461 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13462 ($(objpfx)rtld-%.os rules): Use them.
13463
e55a9b25
AZ
134642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13465
13466 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13467 fields.
13468
346d65b3
RM
134692013-06-17 Roland McGrath <roland@hack.frob.com>
13470
12086fb4
RM
13471 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13472 length of target pattern, then descending length of dependency pattern.
13473 * configure.in (AWK): Require gawk 3.1.2 or newer.
13474 * manual/install.texi (Tools for Compilation): Say that we do.
13475 * configure: Regenerated.
13476
346d65b3
RM
13477 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13478 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13479 * scripts/sysd-rules.awk: ... this new script.
13480 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13481 than a glob-style pattern.
13482
1a846317
JM
134832013-06-17 Joseph Myers <joseph@codesourcery.com>
13484
13485 * math/test-misc.c (main): Do not treat incorrectly rounded
13486 conversions as failure unless ROUNDING_TESTS passes.
13487
8fc75e6f
JM
134882013-06-15 Joseph Myers <joseph@codesourcery.com>
13489
3711a167
JM
13490 [BZ #15631]
13491 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13492 restore exception state around main square root computation, then
13493 check for inexactness explicitly.
13494
8fc75e6f
JM
13495 * math/libm-test.inc (fma_test_data): Add another test.
13496
61dd6208
SP
134972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13498
adf23d2c
SP
13499 * manual/threads.texi (Non-POSIX Extensions): New document
13500 node. Document pthread_getattr_default_np and
13501 pthread_setattr_default_np.
13502
61dd6208
SP
13503 * Versions.def (libpthread): Add GLIBC_2.18.
13504 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13506 Likewise.
13507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13508 Likewise.
13509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13510 Likewise.
13511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13512 Likewise.
13513 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13514 Likewise.
13515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13516 Likewise.
13517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13518 Likewise.
13519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13520 Likewise.
13521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13522 Likewise.
13523
d086fc7b
LD
135242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13525
13526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13527 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13528
747ef469
SP
135292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13530 H.J. Lu <hjl.tools@gmail.com>
13531
13532 [BZ #15627]
13533 * sysdeps/x86_64/rtld-memset.c: Remove file.
13534 * sysdeps/x86_64/rtld-memset.S: New file.
13535
1b2feed2
JM
135362013-06-14 Joseph Myers <joseph@codesourcery.com>
13537
13538 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13539 (test_in_one_mode): Take arguments for whether the rounding mode
13540 is supported for each floating-point type.
13541 (do_test): Pass new arguments to test_in_one_mode using
13542 ROUNDING_TESTS.
13543
a58ad3f8
RM
135442013-06-13 Roland McGrath <roland@hack.frob.com>
13545
13546 * posix/tst-waitid.c (do_test): Distinguish different instances of
13547 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13548 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13549 before entering the kernel for waitpid.
13550
c204ab28
SP
135512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13552
13553 * NEWS: Fix note on clock function precision. Text by Roland
13554 McGrath.
13555
f4a29fba
RM
135562013-06-13 Roland McGrath <roland@hack.frob.com>
13557
13558 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13559 it into place only when and if the sanity check passes.
13560
1f24b9ad
JM
135612013-06-13 Joseph Myers <joseph@codesourcery.com>
13562
13563 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13564 output for whether conversion result is exact. Take argument
13565 indicating whether type is IBM long double.
13566 (round_for_all): Change need_exact field to ibm_ld.
13567 * stdlib/tst-strtod-round.c (struct exactness): New type.
13568 (struct test): Change bool ld_ok field to struct exactness exact.
13569 (TEST): Update all definitions for change to field.
13570 (tests): Regenerate array contents.
13571 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13572 field value. Check for IBM long double here.
13573 (do_test): Update calls to test_in_one_mode.
13574
58206c68
SP
135752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13576
13577 [BZ #12515]
13578 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13579 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13580
2d6f4c5b 135812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13582
13583 [BZ #15605]
13584 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13585 generated by the compiler on loop optimizations.
13586 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13587 general definitions.
13588
94f2c076
JM
135892013-06-12 Joseph Myers <joseph@codesourcery.com>
13590
13591 * math/bug-nextafter.c: Include <math-tests.h>.
13592 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13593 the relevant type.
13594 * math/bug-nexttoward.c: Include <math-tests.h>.
13595 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13596 the relevant type.
13597 * math/test-misc.c: Include <math-tests.h>.
13598 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13599 the relevant type.
13600
e0e50a0a
AJ
136012013-06-12 Andreas Jaeger <aj@suse.de>
13602
13603 * po/ia.po: Update Interlingua translation from translation
13604 project.
13605
25061094
SP
136062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13607
13608 * include/fenv.h: Include stdbool.h.
13609 (struct rm_ctx): New structure.
13610 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13611 Define macro.
13612 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13613 (SET_RESTORE_ROUNDF): Likewise.
13614 (SET_RESTORE_ROUNDL): Likewise.
13615 (SET_RESTORE_ROUND_NOEX): Likewise.
13616 (SET_RESTORE_ROUND_NOEXF): Likewise.
13617 (SET_RESTORE_ROUND_NOEXL): Likewise.
13618 (SET_RESTORE_ROUND_53BIT): Likewise.
13619 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13620 (libc_feresetround_noexf_ctx): Likewise.
13621 (libc_feresetround_noexl_ctx): Likewise.
13622 (libc_feholdsetround_53bit_ctx): Likewise.
13623 (libc_feresetround_53bit_ctx): Likewise.
13624 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13625 (libc_feholdexcept_setround_sse_ctx): New function.
13626 (libc_fesetenv_sse_ctx): Likewise.
13627 (libc_feupdateenv_sse_ctx): Likewise.
13628 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13629 (libc_feholdexcept_setround_387_ctx): Likewise.
13630 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13631 (libc_feholdsetround_387_prec_ctx): Likewise.
13632 (libc_feholdsetround_387_ctx): Likewise.
13633 (libc_feholdsetround_387_53bit_ctx): Likewise.
13634 (libc_feholdsetround_sse_ctx): Likewise.
13635 (libc_feresetround_sse_ctx): Likewise.
13636 (libc_feresetround_387_ctx): Likewise.
13637 (libc_feupdateenv_387_ctx): Likewise.
13638 (libc_feholdexcept_setroundf_ctx): Define macro.
13639 (libc_fesetenvf_ctx): Likewise.
13640 (libc_feupdateenvf_ctx): Likewise.
13641 (libc_feholdsetroundf_ctx): Likewise.
13642 (libc_feresetroundf_ctx): Likewise.
13643 (libc_feholdexcept_setround_ctx): Likewise.
13644 (libc_fesetenv_ctx): Likewise.
13645 (libc_feupdateenv_ctx): Likewise.
13646 (libc_feholdsetround_ctx): Likewise.
13647 (libc_feresetround_ctx): Likewise.
13648 (libc_feholdexcept_setroundl_ctx): Likewise.
13649 (libc_feupdateenvl_ctx): Likewise.
13650 (libc_feholdsetroundl_ctx): Likewise.
13651 (libc_feresetroundl_ctx): Likewise.
13652 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13653 (libc_feresetround_53bit_ctx): Likewise.
13654
59b30555
SP
136552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13656
13657 * locale/iso-639.def: Convert to UTF-8.
13658
f1d73d30
JM
136592013-06-11 Joseph Myers <joseph@codesourcery.com>
13660
13661 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13662 (EXCEPTION_TESTS_double): Likewise.
13663 (EXCEPTION_TESTS_long_double): Likewise.
13664 (EXCEPTION_TESTS): Likewise.
13665 * math/libm-test.inc (test_exceptions): Only test exceptions if
13666 EXCEPTION_TESTS (FLOAT).
13667
94aca5e7
SP
136682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13669
13670 * benchtests/Makefile (string-bench): Add strcpy_chk and
13671 stpcpy_chk.
13672 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13673 * benchtests/bench-stpcpy_chk.c: New file.
13674 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13675 * benchtests/bench-strcpy_chk.c: New file.
13676 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13677 code.
13678 (do_test): Likewise.
13679
fac0c5f2
RA
136802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13681
13682 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13683 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13684 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13685 with tabs where appropriate.
13686 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13687 dl-procinfo.h.
13688 [PPC_PLATFORM_PPC440]: Likewise.
13689 [PPC_PLATFORM_PPC464]: Likewise.
13690 [PPC_PLATFORM_PPC476]: Likewise.
13691 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13692 ppc464, and ppc476 platform strings merging from ports/
13693 dl-procinfo.h.
13694
f22bc486
AS
136952013-06-11 Andreas Schwab <schwab@suse.de>
13696
13697 [BZ #14991]
13698 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13699 (from_ucs4_idx): Regenerate.
13700 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13701 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13702 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13703 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13704 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13705 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13706 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13707 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13708 from FROM_LOOP and TO_LOOP specific macros.
13709 (BODY): Handle combining characters.
13710 * iconvdata/BIG5HKSCS.irreversible: Update.
13711 * iconvdata/BIG5HKSCS.precomposed: New file.
13712 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13713 characters.
13714 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13715
c1f75dc3
SP
137162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13717
4eacded2
SP
13718 * include/sys/time.h: Fix indentation and add copyright header.
13719
fec799f8
SP
13720 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13721 (do_test): Likewise.
13722 * string/test-memchr.c (do_one_test): Likewise.
13723 (do_test): Likewise.
13724 * string/test-memcmp.c (do_one_test): Likewise.
13725 (do_test): Likewise.
13726 * string/test-memcpy.c (do_one_test): Likewise.
13727 (do_test): Likewise.
13728 * string/test-memmem.c (do_one_test): Likewise.
13729 (do_test): Likewise.
13730 (do_random_tests): Likewise.
13731 * string/test-memmove.c (do_one_test): Likewise.
13732 (do_test): Likewise.
13733 * string/test-memset.c (do_one_test): Likewise.
13734 (do_test): Likewise.
13735 * string/test-rawmemchr.c (do_one_test): Likewise.
13736 (do_test): Likewise.
13737 * string/test-strcasecmp.c (do_one_test): Likewise.
13738 (do_test): Likewise.
13739 * string/test-strcasestr.c (do_one_test): Likewise.
13740 (do_test): Likewise.
13741 * string/test-strcat.c (do_one_test): Likewise.
13742 (do_test): Likewise.
13743 * string/test-strchr.c (do_one_test): Likewise.
13744 (do_test): Likewise.
13745 * string/test-strcmp.c (do_one_test): Likewise.
13746 (do_test): Likewise.
13747 * string/test-strcpy.c (do_one_test): Likewise.
13748 (do_test): Likewise.
13749 * string/test-string.h: Likewise.
13750 (test_init): Likewise.
13751 * string/test-strlen.c (do_one_test): Likewise.
13752 (do_test): Likewise.
13753 * string/test-strncasecmp.c (do_one_test): Likewise.
13754 (do_test): Likewise.
13755 * string/test-strncat.c (do_one_test): Likewise.
13756 (do_test): Likewise.
13757 * string/test-strncmp.c (do_one_test): Likewise.
13758 (do_test_limit): Likewise.
13759 (do_test): Likewise.
13760 * string/test-strncpy.c (do_one_test): Likewise.
13761 (do_test): Likewise.
13762 * string/test-strnlen.c (do_one_test): Likewise.
13763 (do_test): Likewise.
13764 * string/test-strpbrk.c (do_one_test): Likewise.
13765 (do_test): Likewise.
13766 * string/test-strrchr.c (do_one_test): Likewise.
13767 (do_test): Likewise.
13768 * string/test-strspn.c (do_one_test): Likewise.
13769 (do_test): Likewise.
13770 * string/test-strstr.c (do_one_test): Likewise.
13771 (do_test): Likewise.
13772
97020474
SP
13773 * benchtests/Makefile (string-bench): Add string benchmarks.
13774 * benchtests/bench-bcopy-ifunc.c: New file.
13775 * benchtests/bench-bcopy.c: New file.
13776 * benchtests/bench-bzero-ifunc.c: New file.
13777 * benchtests/bench-bzero.c: New file.
13778 * benchtests/bench-memccpy-ifunc.c: New file.
13779 * benchtests/bench-memccpy.c: New file.
13780 * benchtests/bench-memchr-ifunc.c: New file.
13781 * benchtests/bench-memchr.c: New file.
13782 * benchtests/bench-memcmp-ifunc.c: New file.
13783 * benchtests/bench-memcmp.c: New file.
13784 * benchtests/bench-memmem-ifunc.c: New file.
13785 * benchtests/bench-memmem.c: New file.
13786 * benchtests/bench-memmove-ifunc.c: New file.
13787 * benchtests/bench-memmove.c: New file.
13788 * benchtests/bench-mempcpy-ifunc.c: New file.
13789 * benchtests/bench-mempcpy.c: New file.
13790 * benchtests/bench-memset-ifunc.c: New file.
13791 * benchtests/bench-memset.c: New file.
13792 * benchtests/bench-rawmemchr-ifunc.c: New file.
13793 * benchtests/bench-rawmemchr.c: New file.
13794 * benchtests/bench-stpcpy-ifunc.c: New file.
13795 * benchtests/bench-stpcpy.c: New file.
13796 * benchtests/bench-stpncpy-ifunc.c: New file.
13797 * benchtests/bench-stpncpy.c: New file.
13798 * benchtests/bench-strcasecmp-ifunc.c: New file.
13799 * benchtests/bench-strcasecmp.c: New file.
13800 * benchtests/bench-strcasestr-ifunc.c: New file.
13801 * benchtests/bench-strcasestr.c: New file.
13802 * benchtests/bench-strcat-ifunc.c: New file.
13803 * benchtests/bench-strcat.c: New file.
13804 * benchtests/bench-strchr-ifunc.c: New file.
13805 * benchtests/bench-strchr.c: New file.
13806 * benchtests/bench-strchrnul-ifunc.c: New file.
13807 * benchtests/bench-strchrnul.c: New file.
13808 * benchtests/bench-strcmp-ifunc.c: New file.
13809 * benchtests/bench-strcmp.c: New file.
13810 * benchtests/bench-strcpy-ifunc.c: New file.
13811 * benchtests/bench-strcpy.c: New file.
13812 * benchtests/bench-strcspn-ifunc.c: New file.
13813 * benchtests/bench-strcspn.c: New file.
13814 * benchtests/bench-strlen-ifunc.c: New file.
13815 * benchtests/bench-strlen.c: New file.
13816 * benchtests/bench-strncasecmp-ifunc.c: New file.
13817 * benchtests/bench-strncasecmp.c: New file.
13818 * benchtests/bench-strncat-ifunc.c: New file.
13819 * benchtests/bench-strncat.c: New file.
13820 * benchtests/bench-strncmp-ifunc.c: New file.
13821 * benchtests/bench-strncmp.c: New file.
13822 * benchtests/bench-strncpy-ifunc.c: New file.
13823 * benchtests/bench-strncpy.c: New file.
13824 * benchtests/bench-strnlen-ifunc.c: New file.
13825 * benchtests/bench-strnlen.c: New file.
13826 * benchtests/bench-strpbrk-ifunc.c: New file.
13827 * benchtests/bench-strpbrk.c: New file.
13828 * benchtests/bench-strrchr-ifunc.c: New file.
13829 * benchtests/bench-strrchr.c: New file.
13830 * benchtests/bench-strspn-ifunc.c: New file.
13831 * benchtests/bench-strspn.c: New file.
13832 * benchtests/bench-strstr-ifunc.c: New file.
13833 * benchtests/bench-strstr.c: New file.
13834
c1f75dc3
SP
13835 * benchtests/Makefile: Disable parallel execution of targets.
13836 (string-bench): Add memcpy.
13837 (benchset): New variable to store a list of benchmark sets.
13838 (bench-func): Renamed from bench.
13839 (bench-set): New target.
13840 (bench): Depend on bench-func and bench-set.
13841 * benchtests/README: Add section on benchmark sets.
13842 * benchtests/bench-memcpy-ifunc.c: New file.
13843 * benchtests/bench-memcpy.c: New file.
13844 * benchtests/bench-string.h: New file.
13845
50fd745b
AS
138462013-06-11 Andreas Schwab <schwab@suse.de>
13847
13848 [BZ #15577]
13849 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13850 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13851 values in the triple.
13852 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13853 terminator in the group key.
13854
3ee7e9fe
AJ
138552013-06-11 Andreas Jaeger <aj@suse.de>
13856
13857 * po/zh_TW.po: Update Chinese (traditional) translation from
13858 translation project.
13859
89fb6835
SP
138602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13861
13862 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13863 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13864 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13865 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13866 (clock_getcpuclockid): Likewise.
13867 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13868 Add weak_alias and libc_hidden_def.
13869 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13870 * rt/clock_gettime.c (clock_gettime): Rename to
13871 __clock_gettime. Add weak_alias and libc_hidden_def.
13872 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13873 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13874 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13875 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13876 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13877 Likewise.
13878 * rt/clock_settime.c (clock_settime): Rename to
13879 __clock_settime. Add weak_alias and libc_hidden_def.
13880 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13881
0efa6f8b
JM
138822013-06-10 Joseph Myers <joseph@codesourcery.com>
13883
b8c61b4b
JM
13884 * mach/err_boot.sub: Remove trailing whitespace.
13885 * mach/err_ipc.sub: Likewise.
13886 * mach/err_mach.sub: Likewise.
13887
0efa6f8b
JM
13888 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13889 (ROUNDING_TESTS_double): Likewise.
13890 (ROUNDING_TESTS_long_double): Likewise.
13891 (ROUNDING_TESTS): Likewise.
13892 * math/libm-test.inc: Include <math-tests.h>.
13893 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13894 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13895 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13896 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13897
50b818bf
SP
138982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13899
13900 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13901 of assigning.
13902
60d2f8f3
JM
139032013-06-08 Joseph Myers <joseph@codesourcery.com>
13904
4902d2c3
JM
13905 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13906 otherwise empty TRANS lines.
13907 * sysdeps/gnu/errlist.c: Regenerated.
13908
60d2f8f3
JM
13909 * catgets/gencat.c (error_print): Use (void) in function
13910 definition.
13911 * crypt/crypt_util.c (__init_des): Likewise.
13912 * crypt/speeds.c (Stop): Likewise.
13913 (main): Likewise.
13914 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13915 * inet/ruserpass.c (token): Likewise.
13916 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13917 * intl/localealias.c (extend_alias_table): Likewise.
13918 * intl/plural-exp.c (init_germanic_plural): Likewise.
13919 * libio/fcloseall.c (__fcloseall): Likewise.
13920 * libio/genops.c (_IO_flush_all): Likewise.
13921 (_IO_flush_all_linebuffered): Likewise.
13922 (_IO_cleanup): Likewise.
13923 (_IO_iter_begin): Likewise.
13924 (_IO_iter_end): Likewise.
13925 (_IO_list_lock): Likewise.
13926 (_IO_list_unlock): Likewise.
13927 (_IO_list_resetlock): Likewise.
13928 * libio/getchar.c (getchar): Likewise.
13929 * libio/getchar_u.c (getchar_unlocked): Likewise.
13930 * libio/getwchar.c (getwchar): Likewise.
13931 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13932 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13933 * login/getpt.c (__getpt): Likewise.
13934 * login/tst-utmp.c (main): Likewise.
13935 * malloc/hooks.c (__malloc_check_init): Likewise.
13936 * malloc/malloc.c (__malloc_stats): Likewise.
13937 * malloc/mtrace.c (tr_break): Likewise.
13938 (mtrace): Likewise.
13939 (muntrace): Likewise.
13940 * misc/fstab.c (endfsent): Likewise.
13941 * misc/getclktck.c (__getclktck): Likewise.
13942 * misc/getdtsz.c (__getdtablesize): Likewise.
13943 * misc/gethostid.c (gethostid): Likewise.
13944 * misc/getpagesize.c (__getpagesize): Likewise.
13945 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13946 (__get_nprocs): Likewise.
13947 (__get_phys_pages): Likewise.
13948 (__get_avphys_pages): Likewise.
13949 * misc/getttyent.c (getttyent): Likewise.
13950 (setttyent): Likewise.
13951 (endttyent): Likewise.
13952 * misc/getusershell.c (getusershell): Likewise.
13953 (endusershell): Likewise.
13954 (setusershell): Likewise.
13955 (initshells): Likewise.
13956 * misc/hsearch.c (__hdestroy): Likewise.
13957 * misc/sync.c (sync): Likewise.
13958 * misc/syslog.c (closelog_internal): Likewise.
13959 (closelog): Likewise.
13960 * misc/ttyslot.c (ttyslot): Likewise.
13961 * misc/vhangup.c (vhangup): Likewise.
13962 * posix/fork.c (__fork): Likewise.
13963 * posix/getegid.c (__getegid): Likewise.
13964 * posix/geteuid.c (__geteuid): Likewise.
13965 * posix/getgid.c (__getgid): Likewise.
13966 * posix/getpid.c (__getpid): Likewise.
13967 * posix/getppid.c (__getppid): Likewise.
13968 * posix/getuid.c (__getuid): Likewise.
13969 * posix/pause.c (pause): Likewise.
13970 * posix/setpgrp.c (setpgrp): Likewise.
13971 * posix/setsid.c (__setsid): Likewise.
13972 * posix/test-vfork.c (noop): Likewise.
13973 * resolv/gethnamaddr.c (_endhtent): Likewise.
13974 (_gethtent): Likewise.
13975 (ht_endhostent): Likewise.
13976 (gethostent): Likewise.
13977 (dns_service): Likewise.
13978 * stdlib/drand48.c (drand48): Likewise.
13979 * stdlib/lrand48.c (lrand48): Likewise.
13980 * stdlib/mrand48.c (mrand48): Likewise.
13981 * stdlib/rand.c (rand): Likewise.
13982 * stdlib/random.c (__random): Likewise.
13983 * stdlib/setenv.c (clearenv): Likewise.
13984 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13985 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13986 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13987 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13988 (__get_nprocs): Likewise.
13989 (__get_phys_pages): Likewise.
13990 (__get_avphys_pages): Likewise.
13991 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13992 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13993 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13994 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13995 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13996 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13997 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13998 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13999 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14000 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14001 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14002 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14003 * sysdeps/posix/clock.c (clock): Likewise.
14004 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14005 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14006 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14007 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14008 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14010 (__get_nprocs_conf): Likewise.
14011 (__get_phys_pages): Likewise.
14012 (__get_avphys_pages): Likewise.
14013 * time/clock.c (clock): Likewise.
14014 * time/tzset.c (__tzname_max): Likewise.
14015
2e09a79a
JM
140162013-06-07 Joseph Myers <joseph@codesourcery.com>
14017
14018 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14019 (__bswap_32): Do not use "register".
14020 * crypt/crypt.c (_ufc_doit_r): Likewise.
14021 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14022 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14023 * gmon/gmon.c (__monstartup): Likewise.
14024 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14025 * hurd/hurdmalloc.c (more_memory): Likewise.
14026 (malloc): Likewise.
14027 (free): Likewise.
14028 (realloc): Likewise.
14029 (malloc_fork_prepare): Likewise.
14030 (malloc_fork_parent): Likewise.
14031 (malloc_fork_child): Likewise.
14032 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14033 (_svcauth_des): Likewise.
14034 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14035 * inet/inet_net.c (inet_network): Likewise.
14036 * inet/inet_netof.c (inet_netof): Likewise.
14037 * inet/rcmd.c (__validuser2_sa): Likewise.
14038 * io/fts.c (fts_open): Likewise.
14039 (fts_load): Likewise.
14040 (fts_close): Likewise.
14041 (fts_read): Likewise.
14042 (fts_children): Likewise.
14043 (fts_build): Likewise.
14044 (fts_stat): Likewise.
14045 (fts_sort): Likewise.
14046 (fts_alloc): Likewise.
14047 (fts_lfree): Likewise.
14048 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14049 (_IO_file_xsgetn): Likewise.
14050 (_IO_file_xsgetn_mmap): Likewise.
14051 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14052 (_IO_cookie_write): Likewise.
14053 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14054 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14055 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14056 * malloc/obstack.c (_obstack_begin): Likewise.
14057 (_obstack_begin_1): Likewise.
14058 (_obstack_newchunk): Likewise.
14059 (_obstack_allocated_p): Likewise.
14060 (obstack_free): Likewise.
14061 (_obstack_memory_used): Likewise.
14062 * misc/getttyent.c (getttynam): Likewise.
14063 (getttyent): Likewise.
14064 (skip): Likewise.
14065 (value): Likewise.
14066 * misc/getusershell.c (initshells): Likewise.
14067 * misc/syslog.c (__vsyslog_chk): Likewise.
14068 * misc/ttyslot.c (ttyslot): Likewise.
14069 * nis/nis_hash.c (__nis_hash): Likewise.
14070 * posix/fnmatch_loop.c (FCT): Likewise.
14071 * posix/getconf.c (print_all): Likewise.
14072 (main): Likewise.
14073 * posix/getopt.c (exchange): Likewise.
14074 * posix/glob.c (globfree): Likewise.
14075 (prefix_array): Likewise.
14076 (__glob_pattern_type): Likewise.
14077 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14078 (NS_GET32): Likewise.
14079 (NS_PUT16): Likewise.
14080 (NS_PUT32): Likewise.
14081 * resolv/gethnamaddr.c (getanswer): Likewise.
14082 (gethostbyname2): Likewise.
14083 (gethostbyaddr): Likewise.
14084 (_gethtent): Likewise.
14085 (_gethtbyname2): Likewise.
14086 (_gethtbyaddr): Likewise.
14087 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14088 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14089 * resolv/res_init.c (__res_vinit): Likewise.
14090 (net_mask): Likewise.
14091 * resolv/res_mkquery.c (outchar): Likewise.
14092 (PRINT): Likewise.
14093 * stdio-common/printf_fp.c (outchar): Likewise.
14094 (PRINT): Likewise.
14095 * stdio-common/printf_fphex.c (outchar): Likewise.
14096 (PRINT): Likewise.
14097 * stdio-common/printf_size.c (outchar): Likewise.
14098 (PRINT): Likewise.
14099 * stdio-common/test_rdwr.c (main): Likewise.
14100 * stdio-common/tfformat.c (matches): Likewise.
14101 * stdio-common/vfprintf.c (outchar): Likewise.
14102 (printf_unknown): Likewise.
14103 (buffered_vfprintf): Likewise.
14104 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14105 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14106 (ReadFile): Likewise.
14107 * stdlib/qsort.c (SWAP): Likewise.
14108 (_quicksort): Likewise.
14109 * stdlib/setenv.c (__add_to_environ): Likewise.
14110 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14111 * stdlib/strtol_l.c (__strtol_l): Likewise.
14112 * stdlib/tst-strtod.c (main): Likewise.
14113 * stdlib/tst-strtol.c (main): Likewise.
14114 * stdlib/tst-strtoll.c (main): Likewise.
14115 * string/bits/string2.h (__strcmp_cc): Likewise.
14116 (__strcmp_cg): Likewise.
14117 (__strcspn_c1): Likewise.
14118 (__strcspn_c2): Likewise.
14119 (__strcspn_c3): Likewise.
14120 (__strspn_c1): Likewise.
14121 (__strspn_c2): Likewise.
14122 (__strspn_c3): Likewise.
14123 (__strsep_1c): Likewise.
14124 (__strsep_2c): Likewise.
14125 (__strsep_3c): Likewise.
14126 * string/memccpy.c (__memccpy): Likewise.
14127 * string/stpcpy.c (__stpcpy): Likewise.
14128 * string/strcmp.c (strcmp): Likewise.
14129 * string/strrchr.c (strrchr): Likewise.
14130 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14131 Likewise.
14132 * sysdeps/mach/hurd/getcwd.c
14133 (_hurd_canonicalize_directory_name_internal): Likewise.
14134 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14135 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14136 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14137 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14138 Likewise, in both definitions.
14139 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14140 definitions.
14141 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14142 64] (__bswap_64): Likewise.
14143 * time/test_time.c (main): Likewise.
14144 * time/tzfile.c (__tzfile_read): Likewise.
14145 (__tzfile_compute): Likewise.
14146 * time/tzset.c (__tzset_parse_tz): Likewise.
14147 (tzset_internal): Likewise.
14148 (compute_change): Likewise.
14149 * wcsmbs/wcscat.c (__wcscat): Likewise.
14150 * wcsmbs/wcschr.c (wcschr): Likewise.
14151 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14152 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14153 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14154 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14155 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14156 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14157 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14158 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14159 * wcsmbs/wmemset.c (wmemset): Likewise.
14160
9e54314b
JM
141612013-06-06 Joseph Myers <joseph@codesourcery.com>
14162
14163 * scripts/config.guess: Update to version 2013-05-16.
14164 * scripts/config.sub: Update to version 2013-04-24.
14165 * scripts/install-sh: Update to version 2011-11-20.07.
14166 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14167 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14168
350635a5
OB
141692013-06-06 Ondřej Bílka <neleai@seznam.cz>
14170
14171 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14172 * elf/sln.c: Likewise.
14173 * hurd/hurd/ioctl.h: Likewise.
14174 * hurd/hurdmalloc.c: Likewise.
14175 * hurd/xattr.c: Likewise.
14176 * include/shlib-compat.h: Likewise.
14177 * inet/ruserpass.c: Likewise.
14178 * libio/iofgets_u.c: Likewise.
14179 * libio/iofgetws_u.c: Likewise.
14180 * locale/programs/ld-identification.c: Likewise.
14181 * locale/programs/ld-time.c: Likewise.
14182 * mach/msg-destroy.c: Likewise.
14183 * nss/nss_files/files-netgrp.c: Likewise.
14184 * resolv/res_data.c: Likewise.
14185 * soft-fp/op-1.h: Likewise.
14186 * soft-fp/op-2.h: Likewise.
14187 * soft-fp/op-4.h: Likewise.
14188 * soft-fp/op-common.h: Likewise.
14189 * stdio-common/printf_fphex.c: Likewise.
14190 * stdlib/strtod_l.c: Likewise.
14191 * sunrpc/rpc/clnt.h: Likewise.
14192 * sysdeps/generic/framestate.c: Likewise.
14193 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14194 * sysdeps/i386/bsd-setjmp.S: Likewise.
14195 * sysdeps/i386/__longjmp.S: Likewise.
14196 * sysdeps/i386/setjmp.S: Likewise.
14197 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14200 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14210 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14211 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14212 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14213 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14215 * sysdeps/ieee754/support.c: Likewise.
14216 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14217 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14218 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14219 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14220 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14221 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14222 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14223 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14224 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14225 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14226 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14227 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14228 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14229 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14230 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14231 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14232 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14234
44a988af
OB
142352013-06-05 Ondřej Bílka <neleai@seznam.cz>
14236
25506f09 14237 * posix/transbug.c: Remove executable mode.
44a988af 14238
9c84384c
JM
142392013-06-05 Joseph Myers <joseph@codesourcery.com>
14240
14241 * crypt/speeds.c: Remove trailing whitespace.
14242 * dlfcn/default.c: Likewise.
14243 * elf/ifuncdep2.c: Likewise.
14244 * elf/ifuncmain1.c: Likewise.
14245 * elf/ifuncmain1vis.c: Likewise.
14246 * elf/testobj.h: Likewise.
14247 * elf/tst-stackguard1.c: Likewise.
14248 * gmon/sys/gmon.h: Likewise.
14249 * hurd/hurdmsg.c: Likewise.
14250 * hurd/new-fd.c: Likewise.
14251 * hurd/ports-get.c: Likewise.
14252 * iconvdata/ibm1008_420.c: Likewise.
14253 * inet/tst-getni1.c: Likewise.
14254 * inet/tst-getni2.c: Likewise.
14255 * libio/ioungetc.c: Likewise.
14256 * libio/wfiledoalloc.c: Likewise.
14257 * manual/libm-err-tab.pl: Likewise.
14258 * math/w_dremf.c: Likewise.
14259 * misc/ftruncate.c: Likewise.
14260 * posix/bug-glob2.c: Likewise.
14261 * posix/tst-pcre.c: Likewise.
14262 * posix/wait4.c: Likewise.
14263 * resolv/README: Likewise.
14264 * resolv/res_debug.h: Likewise.
14265 * resolv/tst-inet_ntop.c: Likewise.
14266 * setjmp/bug269-setjmp.c: Likewise.
14267 * soft-fp/extended.h: Likewise.
14268 * soft-fp/op-1.h: Likewise.
14269 * soft-fp/op-2.h: Likewise.
14270 * soft-fp/op-4.h: Likewise.
14271 * soft-fp/op-8.h: Likewise.
14272 * soft-fp/testit.c: Likewise.
14273 * stdio-common/bug16.c: Likewise.
14274 * stdlib/random.c: Likewise.
14275 * sunrpc/rpcsvc/rquota.x: Likewise.
14276 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14277 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14278 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14279 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14280 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14282 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14283 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14284 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14285 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14286 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14303 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14305 * sysdeps/ieee754/s_lib_version.c: Likewise.
14306 * sysdeps/mach/hurd/check_fds.c: Likewise.
14307 * sysdeps/mach/hurd/getsockname.c: Likewise.
14308 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14309 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14310 * sysdeps/powerpc/bits/link.h: Likewise.
14311 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14312 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14313 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14314 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14315 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14316 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14317 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14318 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14319 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14320 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14321 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14322 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14323 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14324 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14325 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14326 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14327 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14328 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14329 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14330 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14331 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14332 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14333 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14334 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14335 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14336 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14337 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14339 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14340 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14341 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14342 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14343 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14344 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14345 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14346 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14347 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14348 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14349 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14350 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14351 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14352 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14353 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14354 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14355 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14356 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14357 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14358 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14359 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14360 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14361 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14363 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14364 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14365 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14366 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14367 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14368 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14369 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14370 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14371 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14372 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14373 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14374 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14375 * sysdeps/powerpc/sysdep.h: Likewise.
14376 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14377 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14378 * sysdeps/sh/dl-trampoline.S: Likewise.
14379 * sysdeps/sh/memset.S: Likewise.
14380 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14381 * sysdeps/sh/strlen.S: Likewise.
14382 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14383 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14384 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14385 * sysdeps/sparc/sparc32/rem.S: Likewise.
14386 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14387 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14388 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14389 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14390 * sysdeps/sparc/sparc32/urem.S: Likewise.
14391 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14392 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14393 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14394 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14395 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14396 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14397 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14398 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14399 * sysdeps/unix/bsd/times.c: Likewise.
14400 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14401 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14405 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14406 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14407 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14408 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14409 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14410 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14411 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14412 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14413 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14414 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14415 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14416 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14417 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14418 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14419 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14420 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14421 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14422 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14423 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14424 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14425 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14426 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14427 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14428 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14429 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14430 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14431 * sysdeps/x86_64/strcspn.S: Likewise.
14432
869378a5
RA
144332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14434
14435 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14436 generated file. Regenerate properly from gen-translit.pl.
14437 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14438 locale/C-translit.h.
14439
840e2943
AS
144402013-06-05 Andreas Schwab <schwab@suse.de>
14441
14442 [BZ #15100]
14443 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14444 week as 6 instead of -1.
14445 * time/tst-strptime.c (day_tests): Add test case.
14446
4c60cb0c
SP
144472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14448
14449 * sysdeps/generic/math_private.h
14450 (libc_feholdexcept_setround_53bit): Replace with
14451 libc_feholdsetround_53bit.
14452 (libc_feupdateenv_53bit): Replace with
14453 libc_feresetround_53bit.
14454 (SET_RESTORE_ROUND_53BIT): Adjust.
14455
d180203e
SP
144562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14457
96df079a
SP
14458 * string/test-strchrnul.c: Add copyright header.
14459
d180203e
SP
14460 * posix/tst-getaddrinfo4.c: Increase test timeout.
14461
8b0ccb2d
CD
144622013-06-03 Carlos O'Donell <carlos@redhat.com>
14463
14464 [BZ #15536]
14465 * math/libm-test.inc (MAX_EXP): Remove
14466 (MIN_EXP): Define.
14467 (ulp): Use MIN_EXP - MANT_DIG.
14468 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14469
3b3c4d40
CD
144702013-05-31 Carlos O'Donell <carlos@redhat.com>
14471
14472 * po/be.po: Revert last change.
14473 * po/zh_CN.po: Likewise.
14474 * po/header.pot: Likewise.
14475
fab7ce3f
JM
144762013-05-31 Joseph Myers <joseph@codesourcery.com>
14477
14478 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14479 link-libc-deps to empty as target-specific variable.
14480 * Makerules (link-libc-args): New variable.
14481 (libc-for-link): Likewise.
14482 (link-libc-deps): Likewise.
14483 (lib%.so): Depend on $(link-libc-deps). Link with
14484 $(link-libc-args).
14485 (build-module): Link with $(link-libc-args).
14486 (build-module-asneeded): Likewise.
14487 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14488 list of objects.
14489 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14490 target-specific variable.
14491 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14492 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14493 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14494 libc.
14495 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14496 libc and ld.so.
14497 ($(objpfx)libpcprofile.so): Likewise.
14498 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14499 libc_nonshared.a.
14500 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14501 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14502 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14503 $(link-libc-deps).
14504 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14505 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14506 * login/Makefile ($(objpfx)libutil.so): Likewise.
14507 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14508 * math/Makefile ($(objpfx)libm.so): Likewise.
14509 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14510 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14511 variable instead of depending directly on libc.
14512 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14513 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14514 $(link-libc-deps).
14515 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14516 libc.
14517 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14518 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14519 ($(objpfx)libanl.so): Likewise.
14520 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14521 ld.so.
14522 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14523 $(link-libc-deps).
14524 * sysdeps/i386/fpu/Makefile: Remove file.
14525 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14526 ($(objpfx)libm.so): Remove dependency on ld.so.
14527
eca5920c
PF
145282013-05-30 Patsy Franklin <pfrankli@redhat.com>
14529
14530 [BZ # 15553]
14531 * nis/yp_xdr.c (XDRMAXNAME): Define.
14532 (XDRMAXRECORD): Define.
14533 (xdr_domainname): Use XDRMAXNAME.
14534 (xdr_mapname): Likewise.
14535 (xdr_peername): Likewise.
14536 (xdr_keydat): Use XDRMAXRECORD.
14537 (xdr_valdat): Likewise.
14538
145392013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14540
14541 [BZ #14256]
14542 * manual/errno.texi (ESTALE): Update to account for more than
14543 just NFS file systems.
14544 * sysdeps/gnu/errlist.c: Regenerated.
14545
b9375348
SP
145462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14547
14548 [BZ #15465]
14549 * elf/Makefile (tests): Add tst-null-argv.
14550 (modules-names): Add tst-null-argv-lib.
14551 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14552 (tst-null-argv-ENV): Set environment for tst-null-argv.
14553 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14554 (RTLD_PROGNAME): New macro.
14555 * elf/tst-null-argv.c: New test case.
14556 * elf/tst-null-argv-lib.c: Library for test case.
14557 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14558 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14559 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14560 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14561 * elf/dl-init.c (call_init): Likewise.
14562 (_dl_init): Likewise.
14563 * elf/dl-load.c (print_search_path): Likewise.
14564 (_dl_map_object): Likewise.
14565 * elf/dl-lookup.c (do_lookup_x): Likewise.
14566 (add_dependency): Likewise.
14567 (_dl_lookup_symbol_x): Likewise.
14568 (_dl_debug_bindings): Likewise.
14569 * elf/dl-open.c (_dl_show_scope): Likewise.
14570 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14571 * elf/dl-version.c (match_symbol): Likewise.
14572 (_dl_check_map_versions): Likewise.
14573 * elf/rtld.c (dl_main): Likewise.
14574 (print_unresolved): Use RTLD_PROGNAME.
14575 (print_missing_version): Likewise.
14576 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14577 (elf_machine_rela): Likewise.
14578 * sysdeps/powerpc/powerpc32/dl-machine.c
14579 (__process_machine_rela): Likewise.
14580 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14581 Likewise.
14582 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14583 Likewise.
14584 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14585 Likewise.
14586 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14588 Likewise.
14589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14590 Likewise.
14591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14592
8a9f20c8
CD
145932013-05-28 Carlos O'Donell <carlos@redhat.com>
14594
14595 * po/be.po: Add descriptive title.
14596 * po/zh_CN.po: Likewise.
14597 * po/header.pot: Likewise.
14598
0e60d68e
MF
145992013-05-28 Mike Frysinger <vapier@gentoo.org>
14600
14601 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14602 error message.
14603 (enlarge_archive): Likewise.
14604
56b672e9
BN
146052013-05-28 Ben North <ben@redfrontdoor.org>
14606
14607 * manual/arith.texi (frexp): It is the magnitude of the return
14608 value which lies in [0.5, 1), not the return value itself.
14609
5e056687
AZ
146102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14611
14612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14613
2b66ef5d
TS
146142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14615
528c2405
TS
14616 * stdio-common/bug26.c (main): Correct fscanf template.
14617
07b4c13d
TS
14618 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14619 declare _dl_skip_args.
14620
ec9dd97c
TS
14621 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14622 Don't declare.
14623
2b66ef5d
TS
14624 * manual/platform.texi: Add missing @end deftypefun.
14625
4f8dfe27
JM
146262013-05-24 Joseph Myers <joseph@codesourcery.com>
14627
0323d086
JM
14628 [BZ #15529]
14629 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14630 bit of mantissa of 2^16382.
14631 * math/libm-test.inc (hypot_test_data): Add more tests.
14632
dd4259b9
JM
14633 * math/libm-test.inc: Add drem and pow10 to list of tested
14634 functions.
14635 (pow10_test): New function.
14636 (drem_test): Likewise.
14637 (drem_test_tonearest): Likewise.
14638 (drem_test_towardzero): Likewise.
14639 (drem_test_downward): Likewise.
14640 (drem_test_upward): Likewise.
14641 (main): Call the new functions.
14642
4f8dfe27
JM
14643 * math/libm-test.inc (finite_test_data): Remove.
14644 (finite_test): Run tests from isfinite_test_data.
14645 (gamma_test_data): Remove.
14646 (gamma_test): Run tests from lgamma_test_data.
14647 * sysdeps/i386/fpu/libm-test-ulps: Update.
14648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14649
d116b7c4
AZ
146502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14651
14652 * manual/platform.texi: Add PowerPC PPR function set documentation.
14653 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14654 implementation.
14655
e96e3767
CD
146562013-05-24 Carlos O'Donell <carlos@redhat.com>
14657
14658 * math/libm-test.inc (MAX_EXP): Define.
14659 (ULPDIFF): Define.
14660 (ulp): New function.
14661 (check_float_internal): Use ULPDIFF.
14662 (cpow_test): Disable failing test.
14663 (check_ulp): Test ulp() implemetnation.
14664 (main): Call check_ulp before starting tests.
14665
b679a606
JM
146662013-05-24 Joseph Myers <joseph@codesourcery.com>
14667
e8bdba36
JM
14668 * math/gen-libm-test.pl (generate_testfile): Do not handle
14669 START_DATA and END_DATA.
14670 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14671 END_DATA.
14672 (acos_tonearest_test_data): Likewise.
14673 (acos_towardzero_test_data): Likewise.
14674 (acos_downward_test_data): Likewise.
14675 (acos_upward_test_data): Likewise.
14676 (acosh_test_data): Likewise.
14677 (asin_test_data): Likewise.
14678 (asin_tonearest_test_data): Likewise.
14679 (asin_towardzero_test_data): Likewise.
14680 (asin_downward_test_data): Likewise.
14681 (asin_upward_test_data): Likewise.
14682 (asinh_test_data): Likewise.
14683 (atan_test_data): Likewise.
14684 (atanh_test_data): Likewise.
14685 (atan2_test_data): Likewise.
14686 (cabs_test_data): Likewise.
14687 (cacos_test_data): Likewise.
14688 (cacosh_test_data): Likewise.
14689 (carg_test_data): Likewise.
14690 (casin_test_data): Likewise.
14691 (casinh_test_data): Likewise.
14692 (catan_test_data): Likewise.
14693 (catanh_test_data): Likewise.
14694 (cbrt_test_data): Likewise.
14695 (ccos_test_data): Likewise.
14696 (ccosh_test_data): Likewise.
14697 (ceil_test_data): Likewise.
14698 (cexp_test_data): Likewise.
14699 (cimag_test_data): Likewise.
14700 (clog_test_data): Likewise.
14701 (clog10_test_data): Likewise.
14702 (conj_test_data): Likewise.
14703 (copysign_test_data): Likewise.
14704 (cos_test_data): Likewise.
14705 (cos_tonearest_test_data): Likewise.
14706 (cos_towardzero_test_data): Likewise.
14707 (cos_downward_test_data): Likewise.
14708 (cos_upward_test_data): Likewise.
14709 (cosh_test_data): Likewise.
14710 (cosh_tonearest_test_data): Likewise.
14711 (cosh_towardzero_test_data): Likewise.
14712 (cosh_downward_test_data): Likewise.
14713 (cosh_upward_test_data): Likewise.
14714 (cpow_test_data): Likewise.
14715 (cproj_test_data): Likewise.
14716 (creal_test_data): Likewise.
14717 (csin_test_data): Likewise.
14718 (csinh_test_data): Likewise.
14719 (csqrt_test_data): Likewise.
14720 (ctan_test_data): Likewise.
14721 (ctan_tonearest_test_data): Likewise.
14722 (ctan_towardzero_test_data): Likewise.
14723 (ctan_downward_test_data): Likewise.
14724 (ctan_upward_test_data): Likewise.
14725 (ctanh_test_data): Likewise.
14726 (ctanh_tonearest_test_data): Likewise.
14727 (ctanh_towardzero_test_data): Likewise.
14728 (ctanh_downward_test_data): Likewise.
14729 (ctanh_upward_test_data): Likewise.
14730 (erf_test_data): Likewise.
14731 (erfc_test_data): Likewise.
14732 (exp_test_data): Likewise.
14733 (exp_tonearest_test_data): Likewise.
14734 (exp_towardzero_test_data): Likewise.
14735 (exp_downward_test_data): Likewise.
14736 (exp_upward_test_data): Likewise.
14737 (exp10_test_data): Likewise.
14738 (exp2_test_data): Likewise.
14739 (expm1_test_data): Likewise.
14740 (fabs_test_data): Likewise.
14741 (fdim_test_data): Likewise.
14742 (finite_test_data): Likewise.
14743 (floor_test_data): Likewise.
14744 (fma_test_data): Likewise.
14745 (fma_towardzero_test_data): Likewise.
14746 (fma_downward_test_data): Likewise.
14747 (fma_upward_test_data): Likewise.
14748 (fmax_test_data): Likewise.
14749 (fmin_test_data): Likewise.
14750 (fmod_test_data): Likewise.
14751 (fpclassify_test_data): Likewise.
14752 (frexp_test_data): Likewise.
14753 (gamma_test_data): Likewise.
14754 (hypot_test_data): Likewise.
14755 (ilogb_test_data): Likewise.
14756 (isfinite_test_data): Likewise.
14757 (isgreater_test_data): Likewise.
14758 (isgreaterequal_test_data): Likewise.
14759 (isinf_test_data): Likewise.
14760 (isless_test_data): Likewise.
14761 (islessequal_test_data): Likewise.
14762 (islessgreater_test_data): Likewise.
14763 (isnan_test_data): Likewise.
14764 (isnormal_test_data): Likewise.
14765 (issignaling_test_data): Likewise.
14766 (isunordered_test_data): Likewise.
14767 (j0_test_data): Likewise.
14768 (j1_test_data): Likewise.
14769 (jn_test_data): Likewise.
14770 (ldexp_test_data): Likewise.
14771 (lgamma_test_data): Likewise.
14772 (lrint_test_data): Likewise.
14773 (lrint_tonearest_test_data): Likewise.
14774 (lrint_towardzero_test_data): Likewise.
14775 (lrint_downward_test_data): Likewise.
14776 (lrint_upward_test_data): Likewise.
14777 (llrint_test_data): Likewise.
14778 (llrint_tonearest_test_data): Likewise.
14779 (llrint_towardzero_test_data): Likewise.
14780 (llrint_downward_test_data): Likewise.
14781 (llrint_upward_test_data): Likewise.
14782 (log_test_data): Likewise.
14783 (log10_test_data): Likewise.
14784 (log1p_test_data): Likewise.
14785 (log2_test_data): Likewise.
14786 (logb_test_data): Likewise.
14787 (logb_downward_test_data): Likewise.
14788 (lround_test_data): Likewise.
14789 (llround_test_data): Likewise.
14790 (modf_test_data): Likewise.
14791 (nearbyint_test_data): Likewise.
14792 (nextafter_test_data): Likewise.
14793 (nexttoward_test_data): Likewise.
14794 (pow_test_data): Likewise.
14795 (pow_tonearest_test_data): Likewise.
14796 (pow_towardzero_test_data): Likewise.
14797 (pow_downward_test_data): Likewise.
14798 (pow_upward_test_data): Likewise.
14799 (remainder_test_data): Likewise.
14800 (remainder_tonearest_test_data): Likewise.
14801 (remainder_towardzero_test_data): Likewise.
14802 (remainder_downward_test_data): Likewise.
14803 (remainder_upward_test_data): Likewise.
14804 (remquo_test_data): Likewise.
14805 (rint_test_data): Likewise.
14806 (rint_tonearest_test_data): Likewise.
14807 (rint_towardzero_test_data): Likewise.
14808 (rint_downward_test_data): Likewise.
14809 (rint_upward_test_data): Likewise.
14810 (round_test_data): Likewise.
14811 (scalb_test_data): Likewise.
14812 (scalbn_test_data): Likewise.
14813 (scalbln_test_data): Likewise.
14814 (signbit_test_data): Likewise.
14815 (sin_test_data): Likewise.
14816 (sin_tonearest_test_data): Likewise.
14817 (sin_towardzero_test_data): Likewise.
14818 (sin_downward_test_data): Likewise.
14819 (sin_upward_test_data): Likewise.
14820 (sincos_test_data): Likewise.
14821 (sinh_test_data): Likewise.
14822 (sinh_tonearest_test_data): Likewise.
14823 (sinh_towardzero_test_data): Likewise.
14824 (sinh_downward_test_data): Likewise.
14825 (sinh_upward_test_data): Likewise.
14826 (sqrt_test_data): Likewise.
14827 (tan_test_data): Likewise.
14828 (tan_tonearest_test_data): Likewise.
14829 (tan_towardzero_test_data): Likewise.
14830 (tan_downward_test_data): Likewise.
14831 (tan_upward_test_data): Likewise.
14832 (tanh_test_data): Likewise.
14833 (tgamma_test_data): Likewise.
14834 (trunc_test_data): Likewise.
14835 (y0_test_data): Likewise.
14836 (y1_test_data): Likewise.
14837 (yn_test_data): Likewise.
14838 (significand_test_data): Likewise.
14839
b679a606
JM
14840 * math/gen-libm-test.pl (@functions): Remove variable.
14841 (generate_testfile): Don't handle START and END lines.
14842 * math/libm-test.inc (START): New macro.
14843 (END): Likewise.
14844 (END_COMPLEX): Likewise.
14845 (acos_test): Use END macro without arguments.
14846 (acos_test_tonearest): Likewise.
14847 (acos_test_towardzero): Likewise.
14848 (acos_test_downward): Likewise.
14849 (acos_test_upward): Likewise.
14850 (acosh_test): Likewise.
14851 (asin_test): Likewise.
14852 (asin_test_tonearest): Likewise.
14853 (asin_test_towardzero): Likewise.
14854 (asin_test_downward): Likewise.
14855 (asin_test_upward): Likewise.
14856 (asinh_test): Likewise.
14857 (atan_test): Likewise.
14858 (atanh_test): Likewise.
14859 (atan2_test): Likewise.
14860 (cabs_test): Likewise.
14861 (cacos_test): Use END_COMPLEX macro without arguments.
14862 (cacosh_test): Likewise.
14863 (carg_test): Use END macro without arguments.
14864 (casin_test): Use END_COMPLEX macro without arguments.
14865 (casinh_test): Likewise.
14866 (catan_test): Likewise.
14867 (catanh_test): Likewise.
14868 (cbrt_test): Use END macro without arguments.
14869 (ccos_test): Use END_COMPLEX macro without arguments.
14870 (ccosh_test): Likewise.
14871 (ceil_test): Use END macro without arguments.
14872 (cexp_test): Use END_COMPLEX macro without arguments.
14873 (cimag_test): Use END macro without arguments.
14874 (clog_test): Use END_COMPLEX macro without arguments.
14875 (clog10_test): Likewise.
14876 (conj_test): Likewise.
14877 (copysign_test): Use END macro without arguments.
14878 (cos_test): Likewise.
14879 (cos_test_tonearest): Likewise.
14880 (cos_test_towardzero): Likewise.
14881 (cos_test_downward): Likewise.
14882 (cos_test_upward): Likewise.
14883 (cosh_test): Likewise.
14884 (cosh_test_tonearest): Likewise.
14885 (cosh_test_towardzero): Likewise.
14886 (cosh_test_downward): Likewise.
14887 (cosh_test_upward): Likewise.
14888 (cpow_test): Use END_COMPLEX macro without arguments.
14889 (cproj_test): Likewise.
14890 (creal_test): Use END macro without arguments.
14891 (csin_test): Use END_COMPLEX macro without arguments.
14892 (csinh_test): Likewise.
14893 (csqrt_test): Likewise.
14894 (ctan_test): Likewise.
14895 (ctan_test_tonearest): Likewise.
14896 (ctan_test_towardzero): Likewise.
14897 (ctan_test_downward): Likewise.
14898 (ctan_test_upward): Likewise.
14899 (ctanh_test): Likewise.
14900 (ctanh_test_tonearest): Likewise.
14901 (ctanh_test_towardzero): Likewise.
14902 (ctanh_test_downward): Likewise.
14903 (ctanh_test_upward): Likewise.
14904 (erf_test): Use END macro without arguments.
14905 (erfc_test): Likewise.
14906 (exp_test): Likewise.
14907 (exp_test_tonearest): Likewise.
14908 (exp_test_towardzero): Likewise.
14909 (exp_test_downward): Likewise.
14910 (exp_test_upward): Likewise.
14911 (exp10_test): Likewise.
14912 (exp2_test): Likewise.
14913 (expm1_test): Likewise.
14914 (fabs_test): Likewise.
14915 (fdim_test): Likewise.
14916 (finite_test): Likewise.
14917 (floor_test): Likewise.
14918 (fma_test): Likewise.
14919 (fma_test_towardzero): Likewise.
14920 (fma_test_downward): Likewise.
14921 (fma_test_upward): Likewise.
14922 (fmax_test): Likewise.
14923 (fmin_test): Likewise.
14924 (fmod_test): Likewise.
14925 (fpclassify_test): Likewise.
14926 (frexp_test): Likewise.
14927 (gamma_test): Likewise.
14928 (hypot_test): Likewise.
14929 (ilogb_test): Likewise.
14930 (isfinite_test): Likewise.
14931 (isgreater_test): Likewise.
14932 (isgreaterequal_test): Likewise.
14933 (isinf_test): Likewise.
14934 (isless_test): Likewise.
14935 (islessequal_test): Likewise.
14936 (islessgreater_test): Likewise.
14937 (isnan_test): Likewise.
14938 (isnormal_test): Likewise.
14939 (issignaling_test): Likewise.
14940 (isunordered_test): Likewise.
14941 (j0_test): Likewise.
14942 (j1_test): Likewise.
14943 (jn_test): Likewise.
14944 (ldexp_test): Likewise.
14945 (lgamma_test): Likewise.
14946 (lrint_test): Likewise.
14947 (lrint_test_tonearest): Likewise.
14948 (lrint_test_towardzero): Likewise.
14949 (lrint_test_downward): Likewise.
14950 (lrint_test_upward): Likewise.
14951 (llrint_test): Likewise.
14952 (llrint_test_tonearest): Likewise.
14953 (llrint_test_towardzero): Likewise.
14954 (llrint_test_downward): Likewise.
14955 (llrint_test_upward): Likewise.
14956 (log_test): Likewise.
14957 (log10_test): Likewise.
14958 (log1p_test): Likewise.
14959 (log2_test): Likewise.
14960 (logb_test): Likewise.
14961 (logb_test_downward): Likewise.
14962 (lround_test): Likewise.
14963 (llround_test): Likewise.
14964 (modf_test): Likewise.
14965 (nearbyint_test): Likewise.
14966 (nextafter_test): Likewise.
14967 (nexttoward_test): Likewise.
14968 (pow_test): Likewise.
14969 (pow_test_tonearest): Likewise.
14970 (pow_test_towardzero): Likewise.
14971 (pow_test_downward): Likewise.
14972 (pow_test_upward): Likewise.
14973 (remainder_test): Likewise.
14974 (remainder_test_tonearest): Likewise.
14975 (remainder_test_towardzero): Likewise.
14976 (remainder_test_downward): Likewise.
14977 (remainder_test_upward): Likewise.
14978 (remquo_test): Likewise.
14979 (rint_test): Likewise.
14980 (rint_test_tonearest): Likewise.
14981 (rint_test_towardzero): Likewise.
14982 (rint_test_downward): Likewise.
14983 (rint_test_upward): Likewise.
14984 (round_test): Likewise.
14985 (scalb_test): Likewise.
14986 (scalbn_test): Likewise.
14987 (scalbln_test): Likewise.
14988 (signbit_test): Likewise.
14989 (sin_test): Likewise.
14990 (sin_test_tonearest): Likewise.
14991 (sin_test_towardzero): Likewise.
14992 (sin_test_downward): Likewise.
14993 (sin_test_upward): Likewise.
14994 (sincos_test): Likewise.
14995 (sinh_test): Likewise.
14996 (sinh_test_tonearest): Likewise.
14997 (sinh_test_towardzero): Likewise.
14998 (sinh_test_downward): Likewise.
14999 (sinh_test_upward): Likewise.
15000 (sqrt_test): Likewise.
15001 (tan_test): Likewise.
15002 (tan_test_tonearest): Likewise.
15003 (tan_test_towardzero): Likewise.
15004 (tan_test_downward): Likewise.
15005 (tan_test_upward): Likewise.
15006 (tanh_test): Likewise.
15007 (tgamma_test): Likewise.
15008 (trunc_test): Likewise.
15009 (y0_test): Likewise.
15010 (y1_test): Likewise.
15011 (yn_test): Likewise.
15012 (significand_test): Likewise.
15013
bae143d2
OB
150142013-05-24 Ondřej Bílka <neleai@seznam.cz>
15015
15016 [BZ #15381]
15017 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15018
9323d39b
EM
150192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15020
d4ea44a0 15021 [BZ #14894]
9323d39b
EM
15022 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15023 __ppc_mdoio and __ppc_mdoom.
15024 * manual/platform.texi: Document new functions __ppc_yield,
15025 __ppc_mdoio and __ppc_mdoom.
15026
13e23af7
CD
150272013-05-22 Carlos O'Donell <carlos@redhat.com>
15028
15029 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15030 (main): Mention "tls" pseudo-hwcap is legacy.
15031 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15032
351fe550
JM
150332013-05-22 Joseph Myers <joseph@codesourcery.com>
15034
15035 * math/gen-libm-test.pl (parse_args): Output only string of
15036 arguments as text for test name, not full call or descriptions of
15037 tests for extra outputs.
15038 (generate_testfile): Do not pass function name to parse_args.
15039 Generate this_func variable from START.
15040 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15041 field to arg_str.
15042 (struct test_ff_f_data): Likewise.
15043 (test_ff_f_data_nexttoward): Likewise.
15044 (struct test_fi_f_data): Likewise.
15045 (struct test_fl_f_data): Likewise.
15046 (struct test_if_f_data): Likewise.
15047 (struct test_fff_f_data): Likewise.
15048 (struct test_c_f_data): Likewise.
15049 (struct test_f_f1_data): Likewise. Remove field extra_name.
15050 (struct test_fF_f1_data): Likewise.
15051 (struct test_ffI_f1_data): Likewise.
15052 (struct test_c_c_data): Rename test_name field to arg_str.
15053 (struct test_cc_c_data): Likewise.
15054 (struct test_f_i_data): Likewise.
15055 (struct test_ff_i_data): Likewise.
15056 (struct test_f_l_data): Likewise.
15057 (struct test_f_L_data): Likewise.
15058 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15059 and extra2_name.
15060 (COMMON_TEST_SETUP): New macro.
15061 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15062 (COMMON_TEST_CLEANUP): Likewise.
15063 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15064 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15065 macros.
15066 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15067 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15068 macros.
15069 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15070 (RUN_TEST_fff_f): Take argument string. Call new setup and
15071 cleanup macros.
15072 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15073 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15074 macros.
15075 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15076 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15077 macros.
15078 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15079 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15080 cleanup macros.
15081 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15082 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15083 cleanup macros.
15084 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15085 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15086 cleanup macros.
15087 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15088 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15089 macros.
15090 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15091 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15092 macros.
15093 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15094 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15095 macros.
15096 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15097 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15098 cleanup macros.
15099 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15100 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15101 cleanup macros.
15102 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15103 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15104 macros.
15105 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15106 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15107 cleanup macros.
15108 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15109 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15110 macros.
15111 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15112 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15113 macros.
15114 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15115 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15116 cleanup macros.
15117 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15118
85118d4d
EBM
151192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15120
15121 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15122 to _sifields.sigfault.
15123 (si_addr_lsb): Define new macro.
15124 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15126 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15127
7a44c18f
CD
151282013-05-03 Carlos O'Donell <carlos at redhat.com>
15129
15130 [BZ #15441]
15131 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15132 returns -1.
15133 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15134 null return -1.
15135 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15136 loading the domain.
15137
b50a7181
JM
151382013-05-22 Joseph Myers <joseph@codesourcery.com>
15139
15140 * math/gen-libm-test.pl (parse_args): Do not include expected
15141 result in test name.
15142 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15143 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15144 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15145 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15146 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15148
051063c8
SP
151492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15150
3ce9e010
SP
15151 * benchtests/Makefile: Sort function entries.
15152
051063c8
SP
15153 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15154 tanh, asinh, acosh, atanh.
15155 * benchtests/acos-inputs: New file.
15156 * benchtests/acosh-inputs: New file.
15157 * benchtests/asin-inputs: New file.
15158 * benchtests/asinh-inputs: New file.
15159 * benchtests/atanh-inputs: New file.
15160 * benchtests/cosh-inputs: New file.
15161 * benchtests/log-inputs: New file.
15162 * benchtests/sinh-inputs: New file.
15163 * benchtests/tanh-inputs: New file.
15164
47c22455
DL
151652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15166
15167 [BZ #15339]
15168 * posix/tst-getaddrinfo4.c: New test.
15169 * posix/Makefile (tests): Add it.
15170
3d04f5db
SP
151712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15172
15173 [BZ #15339]
15174 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15175 when no services were used.
15176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15177 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15178
d5dd6189
AS
151792013-05-21 Andreas Schwab <schwab@suse.de>
15180
15181 [BZ #15014]
15182 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15183 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15184 successful.
15185 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15186 redundant variable declarations and reallocation of buffer when
15187 parsing as IPv6 address. Always set NSS status when called from
15188 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15189 buffer too small. Correct computation of needed size.
15190 * nss/Makefile (tests): Add test-digits-dots.
15191 * nss/test-digits-dots.c: New test.
15192
fef94eab
SP
151932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15194
15195 * benchtests/Makefile: Remove instructions for adding
15196 benchmark tests.
15197 * benchtests/README: New file to explain how to execute and
15198 enhance the benchmark tests.
15199
e39adf43
AS
152002013-05-21 Andreas Schwab <schwab@suse.de>
15201
15202 [BZ #15493]
15203 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15204 * setjmp/tst-sigsetjmp.c: New test.
15205
b2b671b6
OB
152062013-05-20 Ondřej Bílka <neleai@seznam.cz>
15207
15208 * sysdeps/x86_64/memset.S (memset): New implementation.
15209 (__bzero): Likewise.
15210 (__memset_tail): New function.
15211
2d48b41c
OB
152122013-05-20 Ondřej Bílka <neleai@seznam.cz>
15213
15214 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15215 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15216 __memcpy_sse2_unaligned ifunc selection.
15217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15218 Add memcpy-sse2-unaligned.S.
15219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15220 Add: __memcpy_sse2_unaligned.
15221
f16cc3eb
JM
152222013-05-19 Joseph Myers <joseph@codesourcery.com>
15223
3e694268
JM
15224 [BZ #15490]
15225 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15226 math_force_eval before restoring floating-point envrionment.
15227 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15229 Likewise.
15230 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15231 <math_private.h>.
15232 (__nearbyintl): Use math_force_eval before restoring
15233 floating-point environment.
15234 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15235
db62a907
JM
15236 * math/gen-libm-test.pl (special_functions): Remove.
15237 (parse_args): Don't handle TEST_extra. Handle functions with no
15238 return value.
15239 * math/libm-test.inc (struct test_sincos_data): Replace with
15240 struct test_fFF_11_data.
15241 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15242 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15243 (sincos_test_data): Change element type to struct
15244 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15245 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15246 RUN_TEST_LOOP_sincos.
15247 * math/README.libm-test: Don't mention special handling of
15248 individual functions.
15249 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15251 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15252 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15253 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15255
f16cc3eb
JM
15256 * math/gen-libm-test.pl (get_variable): Remove function.
15257 (parse_args): Don't show pointer parameters to call in test
15258 names. Use "extra output N" in test names for extra outputs
15259 rather than naming variables.
15260
3779b5b6
JM
152612013-05-18 Joseph Myers <joseph@codesourcery.com>
15262
2ee094ff
JM
15263 [BZ #15488]
15264 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15265 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15266 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15267 double tests.
15268 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15269 disable.
15270 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15271 check_long_double.
15272
3779b5b6
JM
15273 * math/gen-libm-test.pl (@tests): Remove variable.
15274 ($count): Likewise.
15275 (new_test): Remove function.
15276 (show_exceptions): New function.
15277 (special_functions): Use show_exceptions instead of new_test.
15278 (parse_args): Likewise.
15279 (generate_testfile): Pass only function name in generated call to
15280 print_max_error or print_complex_max_error.
15281 (get_ulps): Do not handle complex tests specially.
15282 (output_test): Rename to ...
15283 (get_all_ulps_for_test): ... this. Return a string rather than
15284 printing to a file. Require ulps to be present.
15285 (output_ulps): Generate arrays rather than #defines.
15286 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15287 (struct ulp_data): New type.
15288 (BUILD_COMPLEX_ULP): Remove macro.
15289 (compare_ulp_data): New function.
15290 (find_ulps): Likewise.
15291 (find_test_ulps): Likewise.
15292 (find_function_ulps): Likewise.
15293 (find_complex_function_ulps): Likewise.
15294 (print_max_error): Determine allowed ulps using
15295 find_function_ulps.
15296 (print_complex_max_error): Determine allowed ulps using
15297 find_complex_function_ulps.
15298 (check_float_internal): Determine max ulps using find_test_ulps.
15299 (check_float): Do not take max_ulp parameter. Update call to
15300 check_float_internal.
15301 (check_complex): Likewise.
15302 (check_int): Do not take max_ulp parameter.
15303 (check_long): Likewise.
15304 (check_bool): Likewise.
15305 (check_longlong): Likewise.
15306 (struct test_f_f_data): Remove max_ulp field.
15307 (struct test_ff_f_data): Likewise.
15308 (struct test_ff_f_data_nexttoward): Likewise.
15309 (struct test_fi_f_data): Likewise.
15310 (struct test_fl_f_data): Likewise.
15311 (struct test_if_f_data): Likewise.
15312 (struct test_fff_f_data): Likewise.
15313 (struct test_c_f_data): Likewise.
15314 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15315 (struct test_fF_f1_data): Likewise.
15316 (struct test_ffI_f1_data): Likewise.
15317 (struct test_c_c_data): Remove max_ulp field.
15318 (struct test_cc_c_data): Likewise.
15319 (struct test_f_i_data): Likewise.
15320 (struct test_ff_i_data): Likewise.
15321 (struct test_f_l_data): Likewise.
15322 (struct test_f_L_data): Likewise.
15323 (struct test_sincos_data): Likewise.
15324 (RUN_TEST_f_f): Do not handle ulps.
15325 (RUN_TEST_LOOP_f_f): Likewise.
15326 (RUN_TEST_2_f): Likewise.
15327 (RUN_TEST_LOOP_2_f): Likewise.
15328 (RUN_TEST_fff_f): Likewise.
15329 (RUN_TEST_LOOP_fff_f): Likewise.
15330 (RUN_TEST_c_f): Likewise.
15331 (RUN_TEST_LOOP_c_f): Likewise.
15332 (RUN_TEST_f_f1): Likewise.
15333 (RUN_TEST_LOOP_f_f1): Likewise.
15334 (RUN_TEST_fF_f1): Likewise.
15335 (RUN_TEST_LOOP_fF_f1): Likewise.
15336 (RUN_TEST_fI_f1): Likewise.
15337 (RUN_TEST_LOOP_fI_f1): Likewise.
15338 (RUN_TEST_ffI_f1): Likewise.
15339 (RUN_TEST_LOOP_ffI_f1): Likewise.
15340 (RUN_TEST_c_c): Likewise.
15341 (RUN_TEST_LOOP_c_c): Likewise.
15342 (RUN_TEST_cc_c): Likewise.
15343 (RUN_TEST_LOOP_cc_c): Likewise.
15344 (RUN_TEST_f_i): Likewise.
15345 (RUN_TEST_LOOP_f_i): Likewise.
15346 (RUN_TEST_f_i_tg): Likewise.
15347 (RUN_TEST_LOOP_f_i_tg): Likewise.
15348 (RUN_TEST_ff_i_tg): Likewise.
15349 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15350 (RUN_TEST_f_b): Likewise.
15351 (RUN_TEST_LOOP_f_b): Likewise.
15352 (RUN_TEST_f_b_tg): Likewise.
15353 (RUN_TEST_LOOP_f_b_tg): Likewise.
15354 (RUN_TEST_f_l): Likewise.
15355 (RUN_TEST_LOOP_f_l): Likewise.
15356 (RUN_TEST_f_L): Likewise.
15357 (RUN_TEST_LOOP_f_L): Likewise.
15358 (RUN_TEST_sincos): Likewise.
15359 (RUN_TEST_LOOP_sincos): Likewise.
15360
8269107f
JM
153612013-05-17 Joseph Myers <joseph@codesourcery.com>
15362
bb38759d
JM
15363 [BZ #15480]
15364 [BZ #15485]
15365 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15366 main case of finite arguments, set rounding mode to FE_TONEAREST
15367 and discard exceptions.
15368 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15369 exceptions.
15370 (remainder_tonearest_test_data): New variable.
15371 (remainder_test_tonearest): New function.
15372 (remainder_towardzero_test_data): New variable.
15373 (remainder_test_towardzero): New function.
15374 (remainder_downward_test_data): New variable.
15375 (remainder_test_downward): New function.
15376 (remainder_upward_test_data): New variable.
15377 (remainder_test_upward): New function.
15378 (main): Call the new test functions.
15379
a00bdcf0
JM
15380 * math/libm-test.inc (struct test_f_f1_data): Remove field
15381 extra_init.
15382 (struct test_fF_f1_data): Likewise.
15383 (struct test_ffI_f1_data): Likewise.
15384 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15385 based on value of EXTRA_EXPECTED.
15386 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15387 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15388 EXTRA_VAR based on value of EXTRA_EXPECTED.
15389 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15390 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15391 EXTRA_VAR based on value of EXTRA_EXPECTED.
15392 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15393 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15394 EXTRA_VAR based on value of EXTRA_EXPECTED.
15395 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15396 * math/gen-libm-test.pl (parse_args): Don't output initializers
15397 for extra output values.
15398
de407f79
JM
15399 * math/libm-test.inc (check_int): Expect result to be exactly
15400 equal to expected value and do not handle ulps.
15401 (check_long): Likewise.
15402 (check_longlong): Likewise.
15403
8269107f
JM
15404 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15405 exceptions.
15406 (cimag_test_data): Likewise.
15407 (conj_test_data): Likewise.
15408 (copysign_test_data): Likewise.
15409 (cproj_test_data): Likewise.
15410 (creal_test_data): Likewise.
15411 (fabs_test_data): Likewise.
15412 (fdim_test_data): Likewise.
15413 (finite_test_data): Likewise.
15414 (floor_test_data): Likewise.
15415 (fmax_test_data): Likewise.
15416 (fmin_test_data): Likewise.
15417 (fmod_test_data): Likewise.
15418 (fpclassify_test_data): Likewise.
15419 (frexp_test_data): Likewise.
15420 (ilogb_test_data): Likewise.
15421 (isfinite_test_data): Likewise.
15422 (isgreater_test_data): Likewise.
15423 (isgreaterequal_test_data): Likewise.
15424 (isinf_test_data): Likewise.
15425 (isless_test_data): Likewise.
15426 (islessequal_test_data): Likewise.
15427 (islessgreater_test_data): Likewise.
15428 (isnan_test_data): Likewise.
15429 (isnormal_test_data): Likewise.
15430 (issignaling_test_data): Likewise.
15431 (isunordered_test_data): Likewise.
15432 (ldexp_test_data): Likewise.
15433 (lrint_test_data): Likewise.
15434 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15435 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15436 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15437 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15438 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15439 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15440 test input.
15441 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15442 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15443 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15444 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15445 that test input.
15446 (lrint_downward_test_data): Test for "inexact" exceptions.
15447 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15448 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15449 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15450 test input.
15451 (lrint_upward_test_data): Test for "inexact" exceptions.
15452 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15453 test input.
15454 (llrint_test_data): Test for "inexact" exceptions.
15455 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15456 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15457 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15458 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15459 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15460 (llrint_downward_test_data): Test for "inexact" exceptions.
15461 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15462 (llrint_upward_test_data): Test for "inexact" exceptions.
15463 (logb_test_data): Likewise.
15464 (logb_downward_test_data): Likewise.
15465 (nextafter_test_data): Likewise.
15466 (nexttoward_test_data): Likewise.
15467 (remainder_test_data): Likewise.
15468 (remquo_test_data): Likewise.
15469 (scalbn_test_data): Likewise.
15470 (scalbln_test_data): Likewise.
15471 (signbit_test_data): Likewise.
15472 (sqrt_test_data): Likewise.
15473 (significand_test_data): Likewise.
15474
48a18de1
SP
154752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15476
15477 [BZ #15424]
15478 * benchtests/bench-modf.c (struct args): Mark arg0 as
15479 volatile.
15480 * scripts/bench.pl: Mark members of struct args as volatile.
15481
13d3b41a
AZ
154822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15483
68191c1d 15484 [BZ # 15497]
13d3b41a
AZ
15485 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15486 negative infinity on POWER6 or lower.
15487 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15488
2848b105
MR
154892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15490
15491 [BZ #15442]
15492 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15493 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15494 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15495 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15496 (_FP_SETQNAN): New macro.
15497 (_FP_SETQNAN_SEMIRAW): Likewise.
15498 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15499 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15500 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15501 (FP_EXTEND): Use _FP_FRAC_SNANP.
15502 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15503 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15504 into account.
15505 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15506 New macro.
15507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15508 Likewise.
15509
323e5cb7
JM
155102013-05-16 Joseph Myers <joseph@codesourcery.com>
15511
c58b274f
JM
15512 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15513 with DIVIDE_BY_ZERO_EXCEPTION.
15514 (gamma_test_data): Likewise.
15515 (lgamma_test_data): Likewise.
15516 (log_test_data): Likewise.
15517 (log10_test_data): Likewise.
15518 (log2_test_data): Likewise.
15519 (tgamma_test_data): Likewise.
15520
0ab34904
JM
15521 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15522 (acos_test_tonearest): Likewise.
15523 (acos_test_towardzero): Likewise.
15524 (acos_test_downward): Likewise.
15525 (acos_test_upward): Likewise.
15526 (acosh_test): Likewise.
15527 (asin_test): Likewise.
15528 (asin_test_tonearest): Likewise.
15529 (asin_test_towardzero): Likewise.
15530 (asin_test_downward): Likewise.
15531 (asin_test_upward): Likewise.
15532 (asinh_test): Likewise.
15533 (atan_test): Likewise.
15534 (atanh_test): Likewise.
15535 (atan2_test): Likewise.
15536 (cabs_test): Likewise.
15537 (cacos_test): Likewise.
15538 (cacosh_test): Likewise.
15539 (casin_test): Likewise.
15540 (casinh_test): Likewise.
15541 (catan_test): Likewise.
15542 (catanh_test): Likewise.
15543 (cbrt_test): Likewise.
15544 (ccos_test): Likewise.
15545 (ccosh_test): Likewise.
15546 (cexp_test): Likewise.
15547 (clog_test): Likewise.
15548 (clog10_test): Likewise.
15549 (cos_test): Likewise.
15550 (cos_test_tonearest): Likewise.
15551 (cos_test_towardzero): Likewise.
15552 (cos_test_downward): Likewise.
15553 (cos_test_upward): Likewise.
15554 (cosh_test): Likewise.
15555 (cosh_test_tonearest): Likewise.
15556 (cosh_test_towardzero): Likewise.
15557 (cosh_test_downward): Likewise.
15558 (cosh_test_upward): Likewise.
15559 (cpow_test): Likewise.
15560 (csin_test): Likewise.
15561 (csinh_test): Likewise.
15562 (csqrt_test): Likewise.
15563 (ctan_test): Likewise.
15564 (ctan_test_tonearest): Likewise.
15565 (ctan_test_towardzero): Likewise.
15566 (ctan_test_downward): Likewise.
15567 (ctan_test_upward): Likewise.
15568 (ctanh_test): Likewise.
15569 (ctanh_test_tonearest): Likewise.
15570 (ctanh_test_towardzero): Likewise.
15571 (ctanh_test_downward): Likewise.
15572 (ctanh_test_upward): Likewise.
15573 (erf_test): Likewise.
15574 (erfc_test): Likewise.
15575 (exp_test): Likewise.
15576 (exp_test_tonearest): Likewise.
15577 (exp_test_towardzero): Likewise.
15578 (exp_test_downward): Likewise.
15579 (exp_test_upward): Likewise.
15580 (exp10_test): Likewise.
15581 (exp2_test): Likewise.
15582 (expm1_test): Likewise.
15583 (fmod_test): Likewise.
15584 (gamma_test): Likewise.
15585 (hypot_test): Likewise.
15586 (j0_test): Likewise.
15587 (j1_test): Likewise.
15588 (jn_test): Likewise.
15589 (lgamma_test): Likewise.
15590 (log_test): Likewise.
15591 (log10_test): Likewise.
15592 (log1p_test): Likewise.
15593 (log2_test): Likewise.
15594 (logb_test_downward): Likewise.
15595 (pow_test): Likewise.
15596 (pow_test_tonearest): Likewise.
15597 (pow_test_towardzero): Likewise.
15598 (pow_test_downward): Likewise.
15599 (pow_test_upward): Likewise.
15600 (remainder_test): Likewise.
15601 (remquo_test): Likewise.
15602 (sin_test): Likewise.
15603 (sin_test_tonearest): Likewise.
15604 (sin_test_towardzero): Likewise.
15605 (sin_test_downward): Likewise.
15606 (sin_test_upward): Likewise.
15607 (sincos_test): Likewise.
15608 (sinh_test): Likewise.
15609 (sinh_test_tonearest): Likewise.
15610 (sinh_test_towardzero): Likewise.
15611 (sinh_test_downward): Likewise.
15612 (sinh_test_upward): Likewise.
15613 (sqrt_test): Likewise.
15614 (tan_test): Likewise.
15615 (tan_test_tonearest): Likewise.
15616 (tan_test_towardzero): Likewise.
15617 (tan_test_downward): Likewise.
15618 (tan_test_upward): Likewise.
15619 (tanh_test): Likewise.
15620 (tgamma_test): Likewise.
15621 (y0_test): Likewise.
15622 (y1_test): Likewise.
15623 (yn_test): Likewise.
15624
323e5cb7
JM
15625 * math/gen-libm-test.pl (adjust_arg): Remove function.
15626 (special_function): Remove argument $in_func. Only handle
15627 generating output for tables of tests, not inside functions.
15628 (parse_args): Likewise.
15629 (generate_testfile): Remove variable $in_func. Update call to
15630 parse_args.
15631 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15632 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15633 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15634 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15635 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15636 (MAX_VALUE_INIT): Rename macro to max_value.
15637 (MIN_VALUE_INIT): Rename macro to min_value.
15638 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15639 (plus_zero): Remove variable.
15640 (minus_zero): Likewise.
15641 (plus_infty): Likewise.
15642 (minus_infty): Likewise.
15643 (qnan_value): Likewise.
15644 (max_value): Likewise.
15645 (min_value): Likewise.
15646 (min_subnorm_value): Likewise.
15647
e054f494
RA
156482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15649
15650 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15651 uint64_t or uint32_t usage.
15652 * crypt/sha256-block.c: Likewise.
15653 * crypt/sha256-crypt.c: Likewise.
15654 * crypt/sha256.c: Likewise.
15655 * crypt/sha512-block.c: Likewise.
15656 * crypt/sha512-crypt.c: Likewise.
15657 * crypt/sha512.c: Likewise.
15658 * debug/backtrace-tst.c: Likewise.
15659 * debug/pcprofiledump.c: Likewise.
15660 * elf/cache.c: Likewise.
15661 * elf/dl-cache.c: Likewise.
15662 * elf/dl-misc.c: Likewise.
15663 * elf/dl-profile.c: Likewise.
15664 * elf/dl-support.c: Likewise.
15665 * elf/ldconfig.c: Likewise.
15666 * elf/sprof.c: Likewise.
15667 * iconv/dummy-repertoire.c: Likewise.
15668 * iconv/iconv_charmap.c: Likewise.
15669 * iconv/skeleton.c: Likewise.
15670 * iconvdata/8bit-generic.c: Likewise.
15671 * iconvdata/cp737.h: Likewise.
15672 * iconvdata/cp775.h: Likewise.
15673 * iconvdata/ibm1008.h: Likewise.
15674 * iconvdata/ibm1025.h: Likewise.
15675 * iconvdata/ibm1046.h: Likewise.
15676 * iconvdata/ibm1097.h: Likewise.
15677 * iconvdata/ibm1112.h: Likewise.
15678 * iconvdata/ibm1122.h: Likewise.
15679 * iconvdata/ibm1123.h: Likewise.
15680 * iconvdata/ibm1124.h: Likewise.
15681 * iconvdata/ibm1129.h: Likewise.
15682 * iconvdata/ibm1130.h: Likewise.
15683 * iconvdata/ibm1132.h: Likewise.
15684 * iconvdata/ibm1133.h: Likewise.
15685 * iconvdata/ibm1137.h: Likewise.
15686 * iconvdata/ibm1140.h: Likewise.
15687 * iconvdata/ibm1141.h: Likewise.
15688 * iconvdata/ibm1142.h: Likewise.
15689 * iconvdata/ibm1143.h: Likewise.
15690 * iconvdata/ibm1144.h: Likewise.
15691 * iconvdata/ibm1145.h: Likewise.
15692 * iconvdata/ibm1146.h: Likewise.
15693 * iconvdata/ibm1147.h: Likewise.
15694 * iconvdata/ibm1148.h: Likewise.
15695 * iconvdata/ibm1149.h: Likewise.
15696 * iconvdata/ibm1153.h: Likewise.
15697 * iconvdata/ibm1154.h: Likewise.
15698 * iconvdata/ibm1155.h: Likewise.
15699 * iconvdata/ibm1156.h: Likewise.
15700 * iconvdata/ibm1157.h: Likewise.
15701 * iconvdata/ibm1158.h: Likewise.
15702 * iconvdata/ibm1160.h: Likewise.
15703 * iconvdata/ibm1161.h: Likewise.
15704 * iconvdata/ibm1162.h: Likewise.
15705 * iconvdata/ibm1163.h: Likewise.
15706 * iconvdata/ibm1164.h: Likewise.
15707 * iconvdata/ibm1166.h: Likewise.
15708 * iconvdata/ibm1167.h: Likewise.
15709 * iconvdata/ibm12712.h: Likewise.
15710 * iconvdata/ibm1390.h: Likewise.
15711 * iconvdata/ibm1399.h: Likewise.
15712 * iconvdata/ibm16804.h: Likewise.
15713 * iconvdata/ibm4517.h: Likewise.
15714 * iconvdata/ibm4899.h: Likewise.
15715 * iconvdata/ibm4909.h: Likewise.
15716 * iconvdata/ibm4971.h: Likewise.
15717 * iconvdata/ibm5347.h: Likewise.
15718 * iconvdata/ibm803.h: Likewise.
15719 * iconvdata/ibm856.h: Likewise.
15720 * iconvdata/ibm901.h: Likewise.
15721 * iconvdata/ibm902.h: Likewise.
15722 * iconvdata/ibm9030.h: Likewise.
15723 * iconvdata/ibm9066.h: Likewise.
15724 * iconvdata/ibm921.h: Likewise.
15725 * iconvdata/ibm922.h: Likewise.
15726 * iconvdata/ibm9448.h: Likewise.
15727 * iconvdata/isiri-3342.h: Likewise.
15728 * iconvdata/jis0201.h: Likewise.
15729 * include/link.h: Likewise.
15730 * include/netdb.h: Likewise.
15731 * inet/check_native.c: Likewise.
15732 * inet/check_pf.c: Likewise.
15733 * inet/getipv4sourcefilter.c: Likewise.
15734 * inet/getnameinfo.c: Likewise.
15735 * inet/getsourcefilter.c: Likewise.
15736 * inet/htonl.c: Likewise.
15737 * inet/setipv4sourcefilter.c: Likewise.
15738 * inet/setsourcefilter.c: Likewise.
15739 * inet/test-inet6_opt.c: Likewise.
15740 * inet/tst-network.c: Likewise.
15741 * locale/C-collate.c: Likewise.
15742 * locale/C-ctype.c: Likewise.
15743 * locale/C-time.c: Likewise.
15744 * locale/C-translit.h: Likewise.
15745 * locale/loadarchive.c: Likewise.
15746 * locale/programs/3level.h: Likewise.
15747 * locale/programs/charmap.c: Likewise.
15748 * locale/programs/charmap.h: Likewise.
15749 * locale/programs/ld-address.c: Likewise.
15750 * locale/programs/ld-collate.c: Likewise.
15751 * locale/programs/ld-ctype.c: Likewise.
15752 * locale/programs/ld-identification.c: Likewise.
15753 * locale/programs/ld-measurement.c: Likewise.
15754 * locale/programs/ld-messages.c: Likewise.
15755 * locale/programs/ld-monetary.c: Likewise.
15756 * locale/programs/ld-name.c: Likewise.
15757 * locale/programs/ld-numeric.c: Likewise.
15758 * locale/programs/ld-paper.c: Likewise.
15759 * locale/programs/ld-telephone.c: Likewise.
15760 * locale/programs/ld-time.c: Likewise.
15761 * locale/programs/linereader.c: Likewise.
15762 * locale/programs/locale.c: Likewise.
15763 * locale/programs/locarchive.c: Likewise.
15764 * locale/programs/locfile.h: Likewise.
15765 * locale/programs/repertoire.c: Likewise.
15766 * locale/programs/simple-hash.c: Likewise.
15767 * locale/programs/simple-hash.h: Likewise.
15768 * malloc/memusage.c: Likewise.
15769 * malloc/memusagestat.c: Likewise.
15770 * nis/nis_defaults.c: Likewise.
15771 * nis/nis_hash.c: Likewise.
15772 * nis/nis_print.c: Likewise.
15773 * nis/nis_xdr.c: Likewise.
15774 * nscd/connections.c: Likewise.
15775 * nscd/hstcache.c: Likewise.
15776 * nscd/nscd_gethst_r.c: Likewise.
15777 * nscd/nscd_getserv_r.c: Likewise.
15778 * nscd/nscd_helper.c: Likewise.
15779 * nscd/servicescache.c: Likewise.
15780 * nss/makedb.c: Likewise.
15781 * nss/nss_db/db-XXX.c: Likewise.
15782 * nss/nss_db/db-initgroups.c: Likewise.
15783 * nss/nss_db/db-netgrp.c: Likewise.
15784 * nss/nss_files/files-network.c: Likewise.
15785 * nss/nss_files/files-parse.c: Likewise.
15786 * posix/bug-regex5.c: Likewise.
15787 * posix/fnmatch_loop.c: Likewise.
15788 * posix/regcomp.c: Likewise.
15789 * posix/regexec.c: Likewise.
15790 * posix/tst-rfc3484-2.c: Likewise.
15791 * posix/tst-rfc3484-3.c: Likewise.
15792 * posix/tst-rfc3484.c: Likewise.
15793 * resolv/nss_dns/dns-canon.c: Likewise.
15794 * resolv/nss_dns/dns-network.c: Likewise.
15795 * resolv/res_init.c: Likewise.
15796 * resolv/res_mkquery.c: Likewise.
15797 * resolv/tst-aton.c: Likewise.
15798 * stdlib/cxa_atexit.c: Likewise.
15799 * stdlib/cxa_finalize.c: Likewise.
15800 * stdlib/gen-fpioconst.c: Likewise.
15801 * stdlib/strtol_l.c: Likewise.
15802 * string/tst-endian.c: Likewise.
15803 * sunrpc/auth_des.c: Likewise.
15804 * sunrpc/clnt_udp.c: Likewise.
15805 * sunrpc/rtime.c: Likewise.
15806 * sunrpc/svcauth_des.c: Likewise.
15807 * sunrpc/xdr.c: Likewise.
15808 * sunrpc/xdr_intXX_t.c: Likewise.
15809 * sunrpc/xdr_rec.c: Likewise.
15810 * sysdeps/generic/ldconfig.h: Likewise.
15811 * sysdeps/generic/ldsodefs.h: Likewise.
15812 * sysdeps/generic/memusage.h: Likewise.
15813 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15815 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15816 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15817 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15820 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15821 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15823 * sysdeps/posix/getaddrinfo.c: Likewise.
15824 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15825 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15826 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15827 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15828 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15829 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15830 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15831 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15832 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15833 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15834 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15835 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15836 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15837 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15838 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15839 * sysdeps/x86_64/dl-tls.h: Likewise.
15840 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15841 * time/alt_digit.c: Likewise.
15842 * time/era.c: Likewise.
15843 * wcsmbs/tst-c16c32-1.c: Likewise.
15844
8c75f674
JM
158452013-05-16 Joseph Myers <joseph@codesourcery.com>
15846
15847 * math/libm-test.inc (struct test_sincos_data): New type.
15848 (RUN_TEST_LOOP_sincos): New macro.
15849 (sincos_test_data): New variable.
15850 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15851
e6e49e59
RH
158522013-05-16 Richard Henderson <rth@redhat.com>
15853
15854 * math/atest-exp2.c (LIMB64): New macro.
15855 (CONSTSZ): New macro.
15856 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15857 (hexdig): Move ...
15858 (print_mpn_fp): ... to function scope.
15859 (read_mpn_hex): Remove.
15860 (get_log2): Remove.
15861 (exp2_mpn): Use mp_log2.
15862 (main): Use mp_exp1.
15863
15c7c18d
JM
158642013-05-16 Joseph Myers <joseph@codesourcery.com>
15865
105a07df
JM
15866 * math/libm-test.inc: Remove comment about not testing "inexact"
15867 exceptions.
15868 (INEXACT_EXCEPTION): New macro.
15869 (NO_INEXACT_EXCEPTION): Likewise.
15870 (INVALID_EXCEPTION_OK): Update value.
15871 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15872 (OVERFLOW_EXCEPTION_OK): Likewise.
15873 (UNDERFLOW_EXCEPTION_OK): Likewise.
15874 (IGNORE_ZERO_INF_SIGN): Likewise.
15875 (ERRNO_UNCHANGED): Likewise.
15876 (ERRNO_EDOM): Likewise.
15877 (ERRNO_ERANGE): Likewise.
15878 (test_exceptions): Handle testing "inexact" exceptions.
15879 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15880 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15881 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15882 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15883 INEXACT_EXCEPTION.
15884 (rint_towardzero_test_data): Likewise.
15885 (rint_downward_test_data): Likewise.
15886 (rint_upward_test_data): Likewise.
15887
e9eee333
JM
15888 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15889 with OVERFLOW_EXCEPTION.
15890 (exp10_test_data): Likewise.
15891 (exp2_test_data): Likewise.
15892 (expm1_test_data): Likewise.
15893 (lgamma_test_data): Likewise.
15894 (pow_test_data): Likewise.
15895 (tgamma_test_data): Likewise.
15896 (yn_test_data): Remove duplicate test of overflow.
15897
1c38ff73
JM
15898 * math/libm-test.inc (struct test_cc_c_data): New type.
15899 (RUN_TEST_LOOP_cc_c): New macro.
15900 (cpow_test_data): New variable.
15901 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15902
15c7c18d
JM
15903 * math/libm-test.inc (struct test_f_L_data): New type.
15904 (RUN_TEST_LOOP_f_L): New macro.
15905 (llrint_test_data): New variable.
15906 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15907 (llrint_tonearest_test_data): New variable.
15908 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15909 (llrint_towardzero_test_data): New variable.
15910 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15911 (llrint_downward_test_data): New variable.
15912 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15913 (llrint_upward_test_data): New variable.
15914 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15915 (llround_test_data): New variable.
15916 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15917
f137ff13
PC
159182013-05-13 Peter Collingbourne <pcc@google.com>
15919
15920 * math/atest-exp2.c (get_log2): Remove const attribute.
15921
3608cb24
JM
159222013-05-15 Joseph Myers <joseph@codesourcery.com>
15923
15924 * math/libm-test.inc (struct test_f_l_data): New type.
15925 (RUN_TEST_LOOP_f_l): New macro.
15926 (lrint_test_data): New variable.
15927 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15928 (lrint_tonearest_test_data): New variable.
15929 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15930 (lrint_towardzero_test_data): New variable.
15931 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15932 (lrint_downward_test_data): New variable.
15933 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15934 (lrint_upward_test_data): New variable.
15935 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15936 (lround_test_data): New variable.
15937 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15938
39b1f617
PC
159392013-05-15 Peter Collingbourne <pcc@google.com>
15940
1deff3dc
PC
15941 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15942 (EXTRACT_WORDS64) Use where appropriate.
15943 (INSERT_WORDS64) Likewise.
15944
791f3ba0
PC
15945 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15946 constraints with x constraints.
15947 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15948
39b1f617
PC
15949 * malloc/obstack.c (_obstack_compat): Add initializer.
15950
12fba011
EM
159512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15952
15953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15954 si_trapno and add si_addr_lsb to _sifields.sigfault.
15955 (si_trapno): Remove macro.
15956 (si_addr_lsb): Define new macro.
15957 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15958
d369f531
JM
159592013-05-15 Joseph Myers <joseph@codesourcery.com>
15960
b861c6c4
JM
15961 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15962 instead of TEST_f_l.
15963 (llrint_test_tonearest): Likewise.
15964 (llrint_test_towardzero): Likewise.
15965 (llrint_test_downward): Likewise.
15966 (llrint_test_upward): Likewise.
15967 (llround_test): Likewise.
15968
7abeee12
JM
15969 * math/libm-test.inc (struct test_f_i_data): Add comment.
15970 (RUN_TEST_LOOP_f_b): New macro.
15971 (RUN_TEST_LOOP_f_b_tg): Likewise.
15972 (finite_test_data): New variable.
15973 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15974 (isfinite_test_data): New variable.
15975 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15976 (isinf_test_data): New variable.
15977 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15978 (isnan_test_data): New variable.
15979 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15980 (isnormal_test_data): New variable.
15981 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15982 (issignaling_test_data): New variable.
15983 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15984 (signbit_test_data): New variable.
15985 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15986
cbe8c4d3
JM
15987 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15988 with INVALID_EXCEPTION.
15989 (acosh_test_data): Likewise.
15990 (asin_test_data): Likewise.
15991 (atanh_test_data): Likewise.
15992 (fmod_test_data): Likewise.
15993 (log_test_data): Likewise.
15994 (log10_test_data): Likewise.
15995 (log2_test_data): Likewise.
15996 (pow_test_data): Likewise.
15997 (sqrt_test_data): Likewise.
15998 (y0_test_data): Likewise.
15999 (y1_test_data): Likewise.
16000 (yn_test_data): Likewise.
16001
5575c0e5
JM
16002 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16003 function contents.
16004
d369f531
JM
16005 * math/libm-test.inc (struct test_ff_i_data): New type.
16006 (RUN_TEST_LOOP_ff_i_tg): New macro.
16007 (isgreater_test_data): New variable.
16008 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16009 (isgreaterequal_test_data): New variable.
16010 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16011 (isless_test_data): New variable.
16012 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16013 (islessequal_test_data): New variable.
16014 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16015 (islessgreater_test_data): New variable.
16016 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16017 (isunordered_test_data): New variable.
16018 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16019
781fd748
DM
160202013-05-14 David S. Miller <davem@davemloft.net>
16021
16022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16023
87aa21df
JM
160242013-05-14 Joseph Myers <joseph@codesourcery.com>
16025
5e908270
JM
16026 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16027
f71172e5
JM
16028 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16029 extra_test to int.
16030 (struct test_f_i_data): Change type of max_ulp to int.
16031
8cfa635a
JM
16032 * math/libm-test.inc (test_ffI_f1_data): New type.
16033 (RUN_TEST_LOOP_ffI_f1): New macro.
16034 (remquo_test_data): New variable.
16035 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16036
2bcb36b2
JM
16037 * setjmp/tst-setjmp-fp.c: New file.
16038 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16039 (link-libm): New variable.
16040 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16041
acbd839a
JM
16042 * math/libm-test.inc (struct test_f_i_data): New type.
16043 (RUN_TEST_LOOP_f_i): New macro.
16044 (RUN_TEST_LOOP_f_i_tg): Likewise.
16045 (fpclassify_test_data): New variable.
16046 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16047 (ilogb_test_data): New variable.
16048 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16049
e414d745
JM
16050 * math/libm-test.inc (scalbln_test): Correct function name in END
16051 call.
16052
d9c2a0fd
JM
16053 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16054 (RUN_TEST_LOOP_fI_f1): New macro.
16055 (frexp_test_data): New variable.
16056 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16057
9dc9095d
JM
16058 * math/libm-test.inc (struct test_fF_f1_data): New type.
16059 (RUN_TEST_LOOP_fF_f1): New macro.
16060 (modf_test_data): New variable.
16061 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16062
87aa21df
JM
16063 * math/libm-test.inc (struct test_f_f1_data): New type.
16064 (RUN_TEST_LOOP_f_f1): New macro.
16065 (gamma_test_data): New variable.
16066 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16067 (lgamma_test_data): New variable.
16068 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16069
141af660
CD
160702013-05-13 Carlos O'Donell <carlos@redhat.com>
16071
16072 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16073 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16074 (main): Comment "tls" pseudo-hwcap.
16075
6d33265c
JM
160762013-05-13 Joseph Myers <joseph@codesourcery.com>
16077
68fc074c
JM
16078 * math/libm-test.inc (struct test_fl_f_data): New type.
16079 (RUN_TEST_LOOP_fl_f): New variable.
16080 (scalbln_test_data): New variable.
16081 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16082
243216e1
JM
16083 * math/libm-test.inc (struct test_fi_f_data): New type.
16084 (RUN_TEST_LOOP_fi_f): New macro.
16085 (ldexp_test_data): New variable.
16086 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16087 (scalbn_test_data): New variable.
16088 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16089
6a1992e2
JM
16090 * math/libm-test.inc (struct test_c_f_data): New type.
16091 (RUN_TEST_LOOP_c_f): New macro.
16092 (cabs_test_data): New variable.
16093 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16094 (carg_test_data): New variable.
16095 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16096 (cimag_test_data): New variable.
16097 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16098 (creal_test_data): New variable.
16099 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16100
0e400df5
JM
16101 * math/libm-test.inc (struct test_if_f_data): New type.
16102 (RUN_TEST_LOOP_if_f): New macro.
16103 (jn_test_data): New variable.
16104 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16105 (yn_test_data): New variable.
16106 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16107
6d33265c
JM
16108 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16109
f98ece5f
AZ
161102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16111
16112 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16113 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16114
0f7d347b
SP
161152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16116
43fe811b
SP
16117 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16118 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16119 (bench-deps): Add bench-timing.h.
16120 * benchtests-bench-skeleton.c: Include bench-timing.h.
16121 (main): Use TIMING_* macros instead of clock_gettime.
16122 * benchtests/bench-timing.h: New file.
16123
0f7d347b
SP
16124 [BZ #14582]
16125 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16126 Renamed from _LIB_VERSION.
16127 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16128
601a3a5f
JM
161292013-05-12 Joseph Myers <joseph@codesourcery.com>
16130
4f184d30
JM
16131 * math/libm-test.inc (struct test_fff_f_data): New type.
16132 (RUN_TEST_LOOP_fff_f): New macro.
16133 (fma_test_data): New variable.
16134 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16135 (fma_towardzero_test_data): New variable.
16136 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16137 (fma_downward_test_data): New variable.
16138 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16139 (fma_upward_test_data): New variable.
16140 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16141
08198877
JM
16142 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16143 (struct test_c_c_data): New type.
16144 (RUN_TEST_LOOP_c_c): New macro.
16145 (cacos_test_data): New variable.
16146 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16147 (cacosh_test_data): New variable.
16148 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16149 (casin_test_data): New variable.
16150 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16151 (casinh_test_data): New variable.
16152 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16153 (catan_test_data): New variable.
16154 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16155 (catanh_test_data): New variable.
16156 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16157 (ccos_test_data): New variable.
16158 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16159 (ccosh_test_data): New variable.
16160 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16161 (cexp_test_data): New variable.
16162 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16163 (clog_test_data): New variable.
16164 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16165 (clog10_test_data): New variable.
16166 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16167 (conj_test_data): New variable.
16168 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16169 (cproj_test_data): New variable.
16170 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16171 (csin_test_data): New variable.
16172 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16173 (csinh_test_data): New variable.
16174 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16175 (csqrt_test_data): New variable.
16176 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16177 (ctan_test_data): New variable.
16178 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16179 (ctan_tonearest_test_data): New variable.
16180 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16181 (ctan_towardzero_test_data): New variable.
16182 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16183 (ctan_downward_test_data): New variable.
16184 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16185 (ctan_upward_test_data): New variable.
16186 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16187 (ctanh_test_data): New variable.
16188 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16189 (ctanh_tonearest_test_data): New variable.
16190 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16191 (ctanh_towardzero_test_data): New variable.
16192 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16193 (ctanh_downward_test_data): New variable.
16194 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16195 (ctanh_upward_test_data): New variable.
16196 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16197 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16198 of BUILD_COMPLEX.
16199
601a3a5f
JM
16200 * math/libm-test.inc (struct test_ff_f_data): New type.
16201 (struct test_ff_f_data_nexttoward): Likewise.
16202 (RUN_TEST_LOOP_2_f): New macro.
16203 (RUN_TEST_LOOP_ff_f): Likewise.
16204 (atan2_test_data): New variable.
16205 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16206 (copysign_test_data): New variable.
16207 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16208 (fdim_test_data): New variable.
16209 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16210 (fmax_test_data): New variable.
16211 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16212 (fmin_test_data): New variable.
16213 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16214 (fmod_test_data): New variable.
16215 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16216 (hypot_test_data): New variable.
16217 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16218 (nextafter_test_data): New variable.
16219 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16220 (nexttoward_test_data): New variable.
16221 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16222 (pow_test_data): New variable.
16223 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16224 (pow_tonearest_test_data): New variable.
16225 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16226 (pow_towardzero_test_data): New variable.
16227 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16228 (pow_downward_test_data): New variable.
16229 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16230 (pow_upward_test_data): New variable.
16231 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16232 (remainder_test_data): New variable.
16233 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16234 (scalb_test_data): New variable.
16235 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16236 * sysdeps/i386/fpu/libm-test-ulps: Update.
16237
74c57478
JM
162382013-05-11 Joseph Myers <joseph@codesourcery.com>
16239
8329e4da
JM
16240 * math/libm-test.inc (fma_test): Use max_value instead of local
16241 variable fltmax.
16242 (nextafter_test): Likewise.
16243
74c57478
JM
16244 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16245 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16246 (acos_downward_test_data): New variable.
16247 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16248 (acos_upward_test_data): New variable.
16249 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16250 (acosh_test_data): New variable.
16251 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16252 (asin_test_data): New variable.
16253 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16254 (asin_tonearest_test_data): New variable.
16255 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16256 (asin_towardzero_test_data): New variable.
16257 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16258 (asin_downward_test_data): New variable.
16259 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16260 (asin_upward_test_data): New variable.
16261 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16262 (asinh_test_data): New variable.
16263 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16264 (atan_test_data): New variable.
16265 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16266 (atanh_test_data): New variable.
16267 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16268 (cbrt_test_data): New variable.
16269 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16270 (ceil_test_data): New variable.
16271 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16272 (cos_test_data): New variable.
16273 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16274 (cos_tonearest_test_data): New variable.
16275 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16276 (cos_towardzero_test_data): New variable.
16277 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16278 (cos_downward_test_data): New variable.
16279 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16280 (cos_upward_test_data): New variable.
16281 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16282 (cosh_test_data): New variable.
16283 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16284 (cosh_tonearest_test_data): New variable.
16285 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16286 (cosh_towardzero_test_data): New variable.
16287 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16288 (cosh_downward_test_data): New variable.
16289 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16290 (cosh_upward_test_data): New variable.
16291 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16292 (erf_test_data): New variable.
16293 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16294 (erfc_test_data): New variable.
16295 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16296 (exp_test_data): New variable.
16297 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16298 (exp_tonearest_test_data): New variable.
16299 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16300 (exp_towardzero_test_data): New variable.
16301 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16302 (exp_downward_test_data): New variable.
16303 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16304 (exp_upward_test_data): New variable.
16305 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16306 (exp10_test_data): New variable.
16307 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16308 (exp2_test_data): New variable.
16309 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16310 (expm1_test_data): New variable.
16311 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16312 (fabs_test_data): New variable.
16313 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16314 (floor_test_data): New variable.
16315 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16316 (j0_test_data): New variable.
16317 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16318 (j1_test_data): New variable.
16319 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16320 (log_test_data): New variable.
16321 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16322 (log10_test_data): New variable.
16323 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16324 (log1p_test_data): New variable.
16325 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16326 (log2_test_data): New variable.
16327 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16328 (logb_test_data): New variable.
16329 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16330 (logb_downward_test_data): New variable.
16331 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16332 (nearbyint_test_data): New variable.
16333 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16334 (rint_test_data): New variable.
16335 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16336 (rint_tonearest_test_data): New variable.
16337 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16338 (rint_towardzero_test_data): New variable.
16339 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16340 (rint_downward_test_data): New variable.
16341 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16342 (rint_upward_test_data): New variable.
16343 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16344 (round_test_data): New variable.
16345 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16346 (sin_test_data): New variable.
16347 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16348 (sin_tonearest_test_data): New variable.
16349 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16350 (sin_towardzero_test_data): New variable.
16351 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16352 (sin_downward_test_data): New variable.
16353 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16354 (sin_upward_test_data): New variable.
16355 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16356 (sinh_test_data): New variable.
16357 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16358 (sinh_tonearest_test_data): New variable.
16359 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16360 (sinh_towardzero_test_data): New variable.
16361 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16362 (sinh_downward_test_data): New variable.
16363 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16364 (sinh_upward_test_data): New variable.
16365 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16366 (sqrt_test_data): New variable.
16367 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16368 (tan_test_data): New variable.
16369 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16370 (tan_tonearest_test_data): New variable.
16371 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16372 (tan_towardzero_test_data): New variable.
16373 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16374 (tan_downward_test_data): New variable.
16375 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16376 (tan_upward_test_data): New variable.
16377 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16378 (tanh_test_data): New variable.
16379 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16380 (tgamma_test_data): New variable.
16381 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16382 (trunc_test_data): New variable.
16383 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16384 (y0_test_data): New variable.
16385 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16386 (y1_test_data): New variable.
16387 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16388 (significand_test_data): New variable.
16389 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16390
7187d844
CG
163912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16392
16393 [BZ #12387]
16394 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16395
f63fae73
PT
163962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16397
16398 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16399
8a67a4b3
AJ
164002013-05-10 Andreas Jaeger <aj@suse.de>
16401
16402 [BZ #15448]
16403 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16404 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16405
51df539d
JM
164062013-05-10 Joseph Myers <joseph@codesourcery.com>
16407
16408 * math/gen-libm-test.pl (adjust_arg): New function.
16409 (special_functions): Handle generating output in both functions
16410 and arrays.
16411 (parse_args): Likewise.
16412 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16413 $in_func argument to parse_args.
16414 * math/libm-test.inc (struct test_f_f_data): New type.
16415 (IF_ROUND_INIT_): New macro.
16416 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16417 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16418 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16419 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16420 (ROUND_RESTORE_): Likewise.
16421 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16422 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16423 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16424 (ROUND_RESTORE_FE_UPWARD): Likewise.
16425 (RUN_TEST_LOOP_f_f): New macro.
16426 (acos_test_data): New variable.
16427 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16428 (acos_tonearest_test_data): New variable.
16429 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16430
5c637fe5
SP
164312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16432
16433 * benchtests/bench-skeleton.c (startup): Fix coding style.
16434
ab2b9461
JM
164352013-05-10 Joseph Myers <joseph@codesourcery.com>
16436
16437 [BZ #6809]
16438 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16439 negative infinity argument.
16440 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16441 negative infinity argument.
16442 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16443 negative infinity argument.
16444 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16445 domain errors.
16446
4c0fe6fe
FW
164472013-05-10 Florian Weimer <fweimer@redhat.com>
16448
16449 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16450 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16451 * iconv/iconv_prog.c (main): Likewise.
16452 * locale/programs/charmap-dir.c (charmap_readdir)
16453 (fopen_uncompressed): Likewise.
16454 * locale/programs/locfile.c (siblings_uncached)
16455 (write_locale_data): Use lstat64 instead of lstat.
16456 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16457 stat.
16458
a3375d29
AJ
164592013-05-10 Andreas Jaeger <aj@suse.de>
16460
16461 [BZ #15395]
16462 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16463 localization.
16464 Include <locale.h>.
16465
36129722
CD
164662013-05-09 Carlos O'Donell <carlos@redhat.com>
16467
16468 * elf/dl-close.c (_dl_close_worker): Add comments.
16469
faa7f811
JM
164702013-05-09 Joseph Myers <joseph@codesourcery.com>
16471
ed41ffef
JM
16472 [BZ #15359]
16473 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16474 high part of pi/2.
16475 (__ieee754_rem_pio2l): Update comments.
16476
d0213cd0
JM
16477 [BZ #15429]
16478 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16479 high part of pi/2.
16480 (__ieee754_rem_pio2l): Update comments.
16481
0d3e777a
JM
16482 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16483 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16484
24f56066
JM
16485 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16486 M_PI_4l.
16487
faa7f811
JM
16488 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16489 (M_PI_34_LOG10El): Likewise.
16490 (M_PI2_LOG10El): Likewise.
16491 (M_PI4_LOG10El): Likewise.
16492 (M_PI_LOG10El): Likewise.
16493
e9a5e0fd
AZ
164942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16495
16496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16497
d8cd06db
JM
164982013-05-08 Joseph Myers <joseph@codesourcery.com>
16499
a0d9f9d7
JM
16500 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16501 (MINUS_ZERO_INIT): Likewise.
16502 (PLUS_INFTY_INIT): Likewise.
16503 (MINUS_INFTY_INIT): Likewise.
16504 (QNAN_VALUE_INIT): Likewise.
16505 (MAX_VALUE_INIT): Likewise.
16506 (MIN_VALUE_INIT): Likewise.
16507 (MIN_SUBNORM_VALUE_INIT): Likewise.
16508 (plus_zero): Initialize with PLUS_ZERO_INIT.
16509 (minus_zero): Initialize with MINUS_ZERO_INIT.
16510 (plus_infty): Initialize with PLUS_INFTY_INIT.
16511 (minus_infty): Initialize with MINUS_INFTY_INIT.
16512 (qnan_value): Initialize with QNAN_VALUE_INIT.
16513 (max_value): Initialize with MAX_VALUE_INIT.
16514 (min_value): Initialize with MIN_VALUE_INIT.
16515 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16516
ae08db3b
JM
16517 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16518 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16519 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16520 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16521
f44bf14a
JM
16522 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16523 (RUN_TEST_2_f): Likewise.
16524 (RUN_TEST_ff_f): Likewise.
16525 (RUN_TEST_fi_f): Likewise.
16526 (RUN_TEST_fl_f): Likewise.
16527 (RUN_TEST_fff_f): Likewise.
16528 (RUN_TEST_c_f): Likewise.
16529 (RUN_TEST_f_f1): Likewise.
16530 (RUN_TEST_fF_f1): Likewise.
16531 (RUN_TEST_fI_f1): Likewise.
16532 (RUN_TEST_ffI_f1): Likewise.
16533 (RUN_TEST_c_c): Likewise.
16534 (RUN_TEST_cc_c): Likewise.
16535 (RUN_TEST_f_i): Likewise.
16536 (RUN_TEST_f_i_tg): Likewise.
16537 (RUN_TEST_ff_i_tg): Likewise.
16538 (RUN_TEST_f_b): Likewise.
16539 (RUN_TEST_f_b_tg): Likewise.
16540 (RUN_TEST_f_l): Likewise.
16541 (RUN_TEST_f_L): Likewise.
16542 (RUN_TEST_sincos): Likewise.
16543 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16544 whether to show exceptions. Do not include ");\n" in return
16545 value.
16546 (special_functions): Output call to RUN_TEST_sincos instead of
16547 check_float calls. Update calls to new_test.
16548 (parse_args): Output call to single RUN_TEST_* macro instead of
16549 check_* calls and other assignments. Update calls to new_test.
16550
d8cd06db
JM
16551 [BZ #2546]
16552 [BZ #2560]
16553 [BZ #5159]
16554 [BZ #15426]
16555 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16556 input to result for tgamma overflow.
16557 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16558 (gamma_coeff): New variable.
16559 (NCOEFF): New macro.
16560 (gamma_positive): New function.
16561 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16562 underflow here. Use gamma_positive instead of exp (lgamma) for
16563 other arguments.
16564 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16565 (gamma_coeff): New variable.
16566 (NCOEFF): New macro.
16567 (gammaf_positive): New function.
16568 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16569 underflow here. Use gamma_positive instead of exp (lgamma) for
16570 other arguments.
16571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16572 (gamma_coeff): New variable.
16573 (NCOEFF): New macro.
16574 (gammal_positive): New function.
16575 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16576 underflow here. Use gamma_positive instead of exp (lgamma) for
16577 other arguments.
16578 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16579 (gamma_coeff): New variable.
16580 (NCOEFF): New macro.
16581 (gammal_positive): New function.
16582 (__ieee754_gammal_r): Handle positive infinity, overflow and
16583 underflow here. Handle NaN the same as positive infinity. Remove
16584 check x < 0xffffffff for negative integers. Use gamma_positive
16585 instead of exp (lgamma) for other arguments.
16586 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16587 (gamma_coeff): New variable.
16588 (NCOEFF): New macro.
16589 (gammal_positive): New function.
16590 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16591 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16592 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16593 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16594 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16595 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16596 * sysdeps/generic/math_private.h (__gamma_productf): New
16597 prototype.
16598 (__gamma_product): Likewise.
16599 (__gamma_productl): Likewise.
16600 * math/Makefile (libm-calls): Add gamma_product.
16601 * math/libm-test.inc (tgamma_test): Add more tests.
16602 * sysdeps/i386/fpu/libm-test-ulps: Update.
16603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16604
bb7cf681
OB
166052013-05-08 Ondřej Bílka <neleai@seznam.cz>
16606
16607 * benchtests/bench-skeleton.c (main): Preheat CPU.
16608
ba853947
AJ
166092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16610
16611 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16612
8347c74c
RM
166132013-05-07 Roland McGrath <roland@hack.frob.com>
16614
16615 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16616 and _dl_skip_args_internal.
16617
e8dd4791
CD
166182013-05-07 Carlos O'Donell <carlos@redhat.com>
16619
16620 * manual/message.texi (Message Translation): Talk about users.
16621 Message to key mapping impacts design.
16622
c7405830
RM
166232013-05-06 Roland McGrath <roland@hack.frob.com>
16624
a9173057
RM
16625 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16626
976e2f03
RM
16627 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16628
9723ffc5
RM
16629 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16630 * sysdeps/wordsize-64/glob64.c: ... here.
16631
962e6658
RM
16632 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16633 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16634 New macros.
16635
ee586a6d
RM
16636 * debug/getlogin_r_chk.c: Moved to ...
16637 * login/getlogin_r_chk.c: ... here.
16638 * debug/Makefile (routines): Move getlogin_r_chk to ...
16639 * login/Makefile (routines): ... here.
16640 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16641 * login/Versions (libc: GLIBC_2.4): ... here.
16642
355f9165
RM
16643 * io/poll.c (__poll): Renamed from poll.
16644 Add libc_hidden_def.
16645 (poll): Define as weak alias.
16646
bd9ffde6
RM
16647 * debug/ptsname_r_chk.c: Moved to ...
16648 * login/ptsname_r_chk.c: ... here.
16649 * debug/Makefile (routines): Move ptsname_r_chk to ...
16650 * login/Makefile (routines): ... here.
16651 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16652 * login/Versions (libc: GLIBC_2.4): ... here.
16653
8fb16a04
RM
16654 * posix/getlogin.c: Moved to ...
16655 * login/getlogin.c: ... here.
16656 * posix/getlogin_r.c: Moved to ...
16657 * login/getlogin_r.c: ... here.
16658 * posix/getlogin_r.c: Moved to ...
16659 * login/getlogin_r.c: ... here.
16660 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16661 * login/Makefile (routines): ... here.
16662 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16663 * login/Versions (libc: GLIBC_2.0): ... here.
16664
b99b892f
RM
16665 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16666 (setrlimit): Define as weak alias.
16667
c7405830
RM
16668 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16669 Call __ names for open, ftruncate, and close.
16670 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16671 (truncate): Define as weak alias.
16672
5bf96de5
JM
166732013-05-06 Joseph Myers <joseph@codesourcery.com>
16674
9ea3513c
JM
16675 * math/gen-libm-test.pl (parse_args): Initialize x before each
16676 test of frexp, modf and remquo.
16677
5bf96de5
JM
16678 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16679 test signgam value.
16680
16e616a7
AZ
166812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16682
16683 [BZ #15418]
16684 [BZ #15419]
16685 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16686 internal tests.
16687 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16688
d5e82754
RM
166892013-05-06 Roland McGrath <roland@hack.frob.com>
16690
16691 * elf/dl-writev.h: New file.
16692 * elf/dl-misc.c: Include it.
16693 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16694 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16695
a7548d41
JM
166962013-05-04 Joseph Myers <joseph@codesourcery.com>
16697
b7dab1e4
JM
16698 * math/libm-test.inc (noXFails): Remove variable.
16699 (noXPasses): Likewise.
16700 (BUILD_COMPLEX_INT): Remove macro.
16701 (print_screen): Remove xfail argument.
16702 (print_screen_max_error): Likewise.
16703 (update_stats): Likewise.
16704 (print_max_error): Likewise. Update calls to other affected
16705 functions.
16706 (print_complex_max_error): Likewise.
16707 (test_single_exception): Update calls to print_screen.
16708 (test_single_errno): Likewise.
16709 (check_float_internal): Remove xfail argument. Update calls to
16710 other affected functions.
16711 (check_float): Likewise.
16712 (check_complex): Likewise.
16713 (check_int): Likewise.
16714 (check_long): Likewise.
16715 (check_bool): Likewise.
16716 (check_longlong): Likewise.
16717 (main): Don't print noXFails and noXPasses.
16718 * math/gen-libm-test.pl (top level): Don't mention expected
16719 failure handling in comment.
16720 (new_test): Don't handle expected failures.
16721 (parse_args): Don't mention expected failure handling in comment.
16722 (generate_testfile): Don't handle expected failures.
16723 (parse_ulps): Likewise.
16724 (print_ulps_file): Likewise.
16725 (get_failure): Remove function.
16726 (output_test): Don't handle expected failures.
16727 * make/README.libm-test: Don't mention expected failure handling.
16728
a7548d41
JM
16729 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16730 (minus_zero): Likewise.
16731 (plus_infty): Likewise.
16732 (minus_infty): Likewise.
16733 (qnan_value): Likewise.
16734 (max_value): Likewise.
16735 (min_value): Likewise.
16736 (min_subnorm_value): Likewise.
16737 (initialize): Do not initialize those variables dynamically.
16738
60bfd54c
RM
167392013-05-03 Roland McGrath <roland@hack.frob.com>
16740
cc0e6ed8
RM
16741 * io/open.c (__open_2): Moved to ...
16742 * io/open_2.c: ... this new file.
16743 * io/open64.c (__open64_2): Moved to ...
16744 * io/open64_2.c: ... this new file.
16745 * io/openat.c (__openat_2): Moved to ...
16746 * io/openat_2.c: ... this new file.
16747 * io/openat64.c (__openat64_2): Moved to ...
16748 * io/openat64_2.c: ... this new file.
16749 * io/Makefile (routines): Add them.
16750 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16751 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16752 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16753 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16754 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16755 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16756 (__openat64): Add hidden_ver.
16757 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16758 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16759
60bfd54c
RM
16760 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16761 Separately conditionalize setting of GLRO(dl_sysinfo) so
16762 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16763 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16764
83e7640f
AZ
167652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16766
16767 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16768 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16769 definition.
16770 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16771 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16772 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16773 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16774 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16775
d5dc2af3
JM
167762013-05-03 Joseph Myers <joseph@codesourcery.com>
16777
c31a5b1e
JM
16778 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16779 test signgam value.
16780
d5dc2af3
JM
16781 * math/libm-test.inc (hypot_test): Do not use
16782 IGNORE_ZERO_INF_SIGN.
16783
164fd39d
AJ
167842013-05-03 Andreas Jaeger <aj@suse.de>
16785
16786 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16787 Linux 3.9.
16788 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16789 (PF_MAX): Adjust for VSOCK change.
16790
8237f48c
AZ
167912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16792
16793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16794
9df02941
CD
167952013-05-02 Carlos O'Donell <carlos@redhat.com>
16796
16797 [BZ #15264]
16798 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16799 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16800 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16801
d422395e
DM
168022013-05-02 David S. Miller <davem@davemloft.net>
16803
16804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16805
a07c5731
OB
168062013-05-01 Ondřej Bílka <neleai@seznam.cz>
16807
16808 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16809
1324e37f
RM
168102013-05-01 Roland McGrath <roland@hack.frob.com>
16811
16812 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16813
0695940b
RS
168142013-05-01 Richard Smith <richard@metafoo.co.uk>
16815
bb5f27ad 16816 [BZ #14952]
0695940b
RS
16817 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16818 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16819 Use __attribute__ ((__gnu_inline__)).
16820 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16821 Don't use __attribute__ ((__gnu_inline__)).
16822
10de07f5
JM
168232013-05-01 Joseph Myers <joseph@codesourcery.com>
16824
16825 [BZ #15423]
16826 * math/s_catan.c (__catan): Handle small real or imaginary part of
16827 input specially to avoid spurious underflow.
16828 * math/s_catanf.c (__catanf): Likewise.
16829 * math/s_catanh.c (__catanh): Likewise.
16830 * math/s_catanhf.c (__catanhf): Likewise.
16831 * math/s_catanhl.c (__catanhl): Likewise.
16832 * math/s_catanl.c (__catanl): Likewise.
16833 * math/libm-test.inc (catan_test): Add more tests.
16834 (catanh_test): Likewise.
16835 * sysdeps/i386/fpu/libm-test-ulps: Update.
16836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16837
cb4d5414
AZ
168382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16839
16840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16841
caf84319
JM
168422013-04-30 Joseph Myers <joseph@codesourcery.com>
16843
16844 [BZ #15416]
16845 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16846 accurately for denominator in atan2.
16847 * math/s_catanf.c (__catanf): Likewise.
16848 * math/s_catanh.c (__catanh): Likewise.
16849 * math/s_catanhf.c (__catanhf): Likewise.
16850 * math/s_catanhl.c (__catanhl): Likewise.
16851 * math/s_catanl.c (__catanl): Likewise.
16852 * math/libm-test.inc (catan_test): Add more tests.
16853 (catanh_test): Likewise.
16854 * sysdeps/i386/fpu/libm-test-ulps: Update.
16855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16856
d569c6ee
SP
168572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16858
6dbe713d
SP
16859 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16860
f0ee064b
SP
16861 * benchtests/Makefile (bench): Remove slow benchmarks.
16862 * benchtests/atan-inputs: Add slow benchmark inputs.
16863 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16864 (BENCH_FUNC): Accept variant offset.
16865 (VARIANT): Define.
16866 * benchtests/bench-skeleton.c (main): Run benchmark for each
16867 variant.
16868 * benchtests/cos-inputs: Add slow benchmark inputs.
16869 * benchtests/exp-inputs: Likewise.
16870 * benchtests/pow-inputs: Likewise.
16871 * benchtests/sin-inputs: Likewise.
16872 * benchtests/slowatan-inputs: Remove.
16873 * benchtests/slowatan.c: Remove.
16874 * benchtests/slowcos-inputs: Remove.
16875 * benchtests/slowcos.c: Remove.
16876 * benchtests/slowexp-inputs: Remove.
16877 * benchtests/slowexp.c: Remove.
16878 * benchtests/slowpow-inputs: Remove.
16879 * benchtests/slowpow.c: Remove.
16880 * benchtests/slowsin-inputs: Remove.
16881 * benchtests/slowsin.c: Remove.
16882 * benchtests/slowtan-inputs: Remove.
16883 * benchtests/slowtan.c: Remove.
16884 * benchtests/tan-inputs: Add slow benchmark inputs.
16885 * scripts/bench.pl: Parse comments and directives.
16886
d569c6ee
SP
16887 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16888 in CPPFLAGS.
16889 ($(objpfx)bench-%.c): Remove *-ITER.
16890 * benchtests/bench-modf.c: Remove definition of ITER.
16891 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16892 (main): Loop for DURATION seconds instead of fixed number of
16893 iterations.
16894 * scripts/bench.pl: Don't expect iterations in parameters.
16895
a6a242fe
RM
168962013-04-29 Roland McGrath <roland@hack.frob.com>
16897
16898 * io/fchdir.c (__fchdir): Renamed from fchdir.
16899 (fchdir): Define as weak alias.
16900
f2da7793
JM
169012013-04-29 Joseph Myers <joseph@codesourcery.com>
16902
16903 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16904 (ERRNO_EDOM): Likewise.
16905 (ERRNO_ERANGE): Likewise.
16906 (noErrnoTests): New variable.
16907 (init_max_error): Set errno to 0.
16908 (test_single_errno): New function.
16909 (test_errno): Likewise.
16910 (check_float_internal): Call test_errno. Set errno to 0.
16911 (check_complex): Refer to errno tests in comment.
16912 (check_int): Call test_errno. Set errno to 0.
16913 (check_long): Likewise.
16914 (check_bool): Likewise.
16915 (check_longlong): Likewise.
16916 (cos_test): Use ERRNO_* flags for errno tests instead of
16917 check_int.
16918 (expm1_test): Likewise.
16919 (fmod_test): Likewise.
16920 (ilogb_test): Likewise.
16921 (lgamma_test): Likewise.
16922 (pow_test): Likewise.
16923 (remainder_test): Likewise.
16924 (sin_test): Likewise.
16925 (tan_test): Likewise.
16926 (yn_test): Likewise.
16927 (initialize): Set errno to 0.
16928 (main): Print number of errno tests.
16929 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16930
b1a36ceb
AJ
169312013-04-29 Andreas Jaeger <aj@suse.de>
16932
c3ed8088
AJ
16933 [BZ #15084]
16934 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16935 and RES_USEVC.
16936
f1a24198
AJ
16937 [BZ #15085]
16938 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16939 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16940 unimplemented.
16941
9ce3b2cb
AJ
16942 [BZ #15380]
16943 * stdlib/random.c (__initstate): Return NULL if
16944 __initstate fails.
16945
f1a24198 16946 [BZ #15086]
b1a36ceb
AJ
16947 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16948 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16949 RES_SNGLKUPREOP.
16950
7e7b6f36
AZ
169512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16952
16953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16954
4d14f449
JM
169552013-04-29 Joseph Myers <joseph@codesourcery.com>
16956
16957 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16958 of individual tests.
16959 (casin_test): Likewise.
16960 (casinh_test): Likewise.
16961
5b4217d7
JM
169622013-04-27 Joseph Myers <joseph@codesourcery.com>
16963
16964 [BZ #15409]
16965 * math/s_catan.c (__catan): Handle arguments with large real or
16966 imaginary part separately without squaring.
16967 * math/s_catanf.c (__catanf): Likewise.
16968 * math/s_catanh.c (__catanh): Likewise.
16969 * math/s_catanhf.c (__catanhf): Likewise.
16970 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16971 and redefine.
16972 (__catanhl): Handle arguments with large real or imaginary part
16973 separately without squaring.
16974 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16975 and redefine.
16976 (__catanl): Handle arguments with large real or imaginary part
16977 separately without squaring.
16978 * math/libm-test.inc (catan_test): Add more tests.
16979 (catanh_test): Likewise.
16980 * sysdeps/i386/fpu/libm-test-ulps: Update.
16981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16982
4220c3ef
AJ
169832013-04-27 Andreas Jaeger <aj@suse.de>
16984
16985 [BZ #15007]
16986 * stdlib/stdlib.h: Update guards for qecvt.
16987 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16988 <stdlib.h>.
16989
4721b2d1
AM
169902013-04-27 Allan McRae <allan@archlinux.org>
16991
16992 * sysdeps/i386/fpu/libm-test-ulps: Update.
16993
f0302940
JM
169942013-04-26 Joseph Myers <joseph@codesourcery.com>
16995
9457fd95
JM
16996 [BZ #15406]
16997 * math/s_catan.c: Include <float.h>.
16998 (__catan): Ensure underflow exception occurs for underflowed
16999 result.
17000 * math/s_catanf.c: Include <float.h>.
17001 (__catanf): Ensure underflow exception occurs for underflowed
17002 result.
17003 * math/s_catanh.c: Include <float.h>.
17004 (__catanh): Ensure underflow exception occurs for underflowed
17005 result.
17006 * math/s_catanhf.c: Include <float.h>.
17007 (__catanhf): Ensure underflow exception occurs for underflowed
17008 result.
17009 * math/s_catanhl.c: Include <float.h>.
17010 (__catanhl): Ensure underflow exception occurs for underflowed
17011 result.
17012 * math/s_catanl.c: Include <float.h>.
17013 (__catanl): Ensure underflow exception occurs for underflowed
17014 result.
17015 * math/libm-test.inc (catan_test): Add more tests.
17016 (catanh_test): Likewise.
17017
f0302940
JM
17018 [BZ #15405]
17019 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17020 underflowed result.
17021 * math/s_ccoshf.c (__ccoshf): Likewise.
17022 * math/s_ccoshl.c (__ccoshl): Likewise.
17023 * math/s_csin.c (__csin): Likewise.
17024 * math/s_csinf.c (__csinf): Likewise.
17025 * math/s_csinh.c (__csinh): Likewise.
17026 * math/s_csinhf.c (__csinhf): Likewise.
17027 * math/s_csinhl.c (__csinhl): Likewise.
17028 * math/s_csinl.c (__csinl): Likewise.
17029 * math/libm-test.inc (ccos_test): Add more tests.
17030 (ccosh_test): Likewise.
17031 (csin_test): Likewise.
17032 (csinh_test): Likewise.
17033
aa630f59
AZ
170342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17035
17036 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17037 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17038 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17039 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17040 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17041 powerpc/power5+/fpu folders.
17042 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17043
17044
1b835983
MT
170452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17046
17047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17048
73709b26
JM
170492013-04-25 Joseph Myers <joseph@codesourcery.com>
17050
17051 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17052 additions to variable.
17053 [$(config-machine) = x86_64] (modules-names): Likewise.
17054 ($(objpfx)tst-audit3): Remove dependency.
17055 ($(objpfx)tst-audit3.out): Likewise.
17056 ($(objpfx)tst-audit4): Likewise.
17057 ($(objpfx)tst-audit4.out): Likewise.
17058 ($(objpfx)tst-audit5): Likewise.
17059 ($(objpfx)tst-audit5.out): Likewise.
17060 ($(objpfx)tst-audit6): Likewise.
17061 ($(objpfx)tst-audit6.out): Likewise.
17062 ($(objpfx)tst-audit7): Likewise.
17063 ($(objpfx)tst-audit7.out): Likewise.
17064 (tst-audit3-ENV): Remove variable.
17065 (tst-audit4-ENV): Likewise.
17066 (tst-audit5-ENV): Likewise.
17067 (tst-audit6-ENV): Likewise.
17068 (tst-audit7-ENV): Likewise.
17069 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17070 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17071 addition to variable.
17072 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17073 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17074 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17075 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17076 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17077 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17078 tst-audit3, tst-audit4 and tst-audit5.
17079 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17080 tst-audit6 and tst-audit7.
17081 [$(subdir) = elf] (modules-names): Add audit modules for those
17082 tests.
17083 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17084 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17085 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17086 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17087 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17088 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17089 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17090 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17091 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17092 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17093 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17094 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17095 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17096 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17097 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17098 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17099 Likewise.
17100 [$(subdir) = elf && $(config-cflags-avx) = yes]
17101 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17102 [$(subdir) = elf && $(config-cflags-avx) = yes]
17103 (CFLAGS-tst-auditmod4a.c): Likewise.
17104 [$(subdir) = elf && $(config-cflags-avx) = yes]
17105 (CFLAGS-tst-auditmod4b.c): Likewise.
17106 [$(subdir) = elf && $(config-cflags-avx) = yes]
17107 (CFLAGS-tst-auditmod6b.c): Likewise.
17108 [$(subdir) = elf && $(config-cflags-avx) = yes]
17109 (CFLAGS-tst-auditmod6c.c): Likewise.
17110 [$(subdir) = elf && $(config-cflags-avx) = yes]
17111 (CFLAGS-tst-auditmod7b.c): Likewise.
17112 * elf/tst-audit3.c: Move to ...
17113 * sysdeps/x86_64/tst-audit3.c: ... here.
17114 * elf/tst-audit4.c: Move to ...
17115 * sysdeps/x86_64/tst-audit4.c: ... here.
17116 * elf/tst-audit5.c: Move to ...
17117 * sysdeps/x86_64/tst-audit5.c: ... here.
17118 * elf/tst-audit6.c: Move to ...
17119 * sysdeps/x86_64/tst-audit6.c: ... here.
17120 * elf/tst-audit7.c: Move to ...
17121 * sysdeps/x86_64/tst-audit7.c: ... here.
17122 * elf/tst-auditmod3a.c: Move to ...
17123 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17124 * elf/tst-auditmod3b.c: Move to ...
17125 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17126 * elf/tst-auditmod4a.c: Move to ...
17127 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17128 * elf/tst-auditmod4b.c: Move to ...
17129 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17130 * elf/tst-auditmod5a.c: Move to ...
17131 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17132 * elf/tst-auditmod5b.c: Move to ...
17133 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17134 * elf/tst-auditmod6a.c: Move to ...
17135 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17136 * elf/tst-auditmod6b.c: Move to ...
17137 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17138 * elf/tst-auditmod6c.c: Move to ...
17139 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17140 * elf/tst-auditmod7a.c: Move to ...
17141 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17142 * elf/tst-auditmod7b.c: Move to ...
17143 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17144
1ef74943
PP
171452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17146
17147 [BZ #15366]
17148 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17149 define unconditionally.
17150 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17151 define unconditionally.
17152 (INT8_C, INT16_C, etc.): Likewise.
17153
93fd48c5
MR
171542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17155
ae9552cf
MR
17156 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17157 __ehdr_start with hidden visibility.
17158
93fd48c5
MR
17159 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17160
418601aa
CD
171612013-04-24 Carlos O'Donell <carlos@redhat.com>
17162
17163 * math/libm-test.inc (cos_test): Use accurate hex constants.
17164 (sincost_test): Likewise.
17165
2f38fbfe
JM
171662013-04-24 Joseph Myers <joseph@codesourcery.com>
17167
5e221800
JM
17168 * math/libm-test.inc (catan_test): Add more tests.
17169 (catanh_test): Likewise.
17170
77f143fd
JM
17171 * math/s_catanf.c (__catanf): Use suffixed floating-point
17172 constants.
17173 * math/s_catanhf.c (__catanhf): Likewise.
17174 * math/s_catanhl.c (__catanhl): Likewise.
17175 * math/s_catanl.c (__catanl): Likewise.
17176
2f38fbfe
JM
17177 [BZ #15394]
17178 * math/s_catan.c (__catan): Calculate imaginary part of result
17179 with log1p not log unless computing log of number close to 0.
17180 * math/s_catanf.c (__catanf): Likewise.
17181 * math/s_catanl.c (__catanl): Likewise.
17182 * math/s_catanh.c (__catanh): Calculate real part of result with
17183 log1p not log unless computing log of number close to 0.
17184 * math/s_catanhf.c (__catanhf): Likewise.
17185 * math/s_catanhl.c (__catanhl): Likewise.
17186 * math/libm-test.inc (catan_test): Add more tests.
17187 (catanh_test): Likewise.
17188 * sysdeps/i386/fpu/libm-test-ulps: Update.
17189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17190
45d69176
SP
171912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17192
17193 * benchtests/Makefile: Mention files in which fast and slow
17194 paths of math functions are implemented.
17195
87f51853
RM
171962013-04-23 Roland McGrath <roland@hack.frob.com>
17197
17198 * sysdeps/posix/timespec_get.c: New file.
17199
3c026539
AZ
172002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17201
17202 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17203 POWER.
17204 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17205 for POWER.
17206 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17207 powerpc/power5/fpu folders.
17208 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17209 * benchtests/Makefile: Add modf testcase.
17210 * benchtests/bench-modf.c: New file: Benchmark test for mo
17211
ff491d14
SP
172122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17213
17214 [BZ #14888]
17215 * time/Makefile (tests): Add tst-strptime-whitespace.
17216 * time/strptime_l.c (get_number): Use ISSPACE.
17217 (__strptime_internal): Likewise.
17218 * time/tst-strptime-whitespace.c: New test case.
17219
7ed3f4e8
AS
172202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17221
17222 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17223 member.
17224 (_nss_files_init): Set it here.
17225
5c95f7b6
HC
172262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17227
17228 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17229 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17230 unsigned.
17231
d34c9158
JBG
172322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17233
17234 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17235
2169712d
SP
172362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17237
17238 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17239 size just once.
17240
29c5de99
DM
172412013-04-21 David S. Miller <davem@davemloft.net>
17242
17243 * po/ru.po: Update Russion translation from translation project.
17244
ccdad15d
AC
172452013-04-17 Adam Conrad <adconrad@0c3.net>
17246
17247 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17248 and setfsgid.
17249
0f122b8d
CD
172502013-04-17 Carlos O'Donell <carlos@redhat.com>
17251
5c5b07da 17252 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17253 * configure: Regenerate.
5c5b07da 17254 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17255 Add example to error message.
17256 * sysdeps/i386/configure: Regenerate.
17257
037714dd
SP
172582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17259
17260 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17261 slowtan.
17262 * benchtests/cos-inputs: New file.
17263 * benchtests/slowcos-inputs: New file.
17264 * benchtests/slowcos.c: New file.
17265 * benchtests/slowtan-inputs: New file.
17266 * benchtests/slowtan.c: New file.
17267 * benchtests/tan-inputs: New file.
17268
e913141d
RM
172692013-04-16 Roland McGrath <roland@hack.frob.com>
17270
17271 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17272 considered kosher.
17273
a2964074
SP
172742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17275
4856bcd2
SP
17276 * benchtests/Makefile: Include cppflags-iterator.mk to add
17277 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17278
a2964074
SP
17279 * Makefile.in (bench-clean): New target.
17280 * benchtests/Makefile (bench-clean): Likewise.
17281
9fbf9aca
DH
172822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17283
17284 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17285
207d1e2a
TS
172862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17287
17288 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17289
306dfba9
AS
172902013-04-15 Andreas Schwab <schwab@suse.de>
17291
17292 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17294 * nscd/pwdcache.c (cache_addpw): Likewise.
17295 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17296 more than recsize.
17297
206a6699
SP
172982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17299
17300 * benchtests/Makefile (bench): Write all output to
17301 bench-out.tmp together.
17302
0582f6b3
AS
173032013-04-15 Andreas Schwab <schwab@suse.de>
17304
17305 * nscd/nscd.c (main): Don't fork again after closing files.
17306
acb4325f
SP
173072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17308
5cb26d0a
SP
17309 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17310
acb4325f
SP
17311 * benchtests/Rules (bench-deps): Collect dependencies into a
17312 single variable. Add Makefile to dependencies.
17313 ($(objpfx)bench-%.c): Depend on bench-deps.
17314
47792506
RM
173152013-04-12 Roland McGrath <roland@hack.frob.com>
17316 Xavier Roche <roche+kml2@exalead.com>
17317
17318 [BZ #15361]
17319 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17320 just that it's a file descriptor.
17321 * manual/llio.texi (Synchronizing AIO Operations): Update description
17322 for EBADF error from aio_fsync.
17323
8fc1bee5
SP
173242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17325
17326 * Rules (bench): Move target definition...
17327 * benchtests/Makefile: ... here.
17328
aba5e333
CD
173292013-04-11 Carlos O'Donell <carlos@redhat.com>
17330
17331 * math/libm-test.inc (cos_test): Fix PI/2 test.
17332 (sincos_test): Likewise.
17333 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17334 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17335
273cdee8
AS
173362013-04-11 Andreas Schwab <schwab@suse.de>
17337
6ecec3b6
AS
17338 [BZ #13988]
17339 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17340 accept exponent character only when digits were seen.
17341 * stdio-common/Makefile (tests): Add bug26.
17342 * stdio-common/bug26.c: New file.
17343
273cdee8
AS
17344 [BZ #14293]
17345 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17346 non-freeable.
17347
8da491f5
SP
173482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17349
01dc6df9
SP
17350 * Makeconfig (rtld-prefix): Define built linker prefix.
17351 * Rules (run-bench): Use it.
17352 * math/Makefile (run-regen-ulps): Likewise.
17353
8da491f5
SP
17354 * Rules (bench): Remove eval.
17355
abe7f530
SP
173562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17357 Roland McGrath <roland@hack.frob.com>
17358 Ondrej Bilka <neleai@seznam.cz>
17359
17360 [BZ #15346]
17361 * time/getdate.c: Include ctype.h and alloca.h.
17362 (__getdate_r): Trim leading and trailing spaces of input.
17363 * time/tst-getdate.c (tests): Add tests with leading and
17364 trailing spaces.
17365
61c23e62
RM
173662013-04-08 Roland McGrath <roland@hack.frob.com>
17367
17368 [BZ #14280]
17369 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17370 when computing value.
17371
7208a313
CD
173722013-04-06 Carlos O'Donell <carlos@redhat.com>
17373
085b2d41
CD
17374 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17375 Use testrun.sh to run libm tests.
17376
7208a313
CD
17377 [BZ #15309]
17378 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17379
872c0acd
MM
173802013-04-06 Marko Myllynen <myllynen@redhat.com>
17381
17382 [BZ #15264]
17383 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17384
26510bdd
CD
173852013-04-06 Carlos O'Donell <carlos@redhat.com>
17386
17387 * Makefile.in (regen-ulps): New target.
17388 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17389 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17390 [ifneq (no,$(PERL)] (regen-ulps): New target.
17391 [ifeq (no,$(PERL)] (regen-ulps): New target.
17392 * math/libm-test.inc (ulps_file_name): Define.
17393 (output_dir): New variable.
17394 (options): Add "output-dir" option.
17395 (parse_opt): Handle 'o' case.
17396 (main): If output_dir is non-NULL use it as a prefix
17397 otherwise use "".
17398 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17399
a01f19c8
CD
174002013-04-06 Carlos O'Donell <carlos@redhat.com>
17401
17402 [BZ #10060, #10062]
17403 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17404 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17405 fail configure if __sync_val_compare_and_swap is not inlined.
17406 * sysdeps/i386/configure: Regenerate.
17407 * configure.in: Build for i686 when configured for i386.
17408 * configure: Regenerate.
17409 * README: Remove i386 reference.
17410
b7a329a5
CD
174112013-04-06 Carlos O'Donell <carlos@redhat.com>
17412
17413 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17414 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17415
bf0f50df
TS
174162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17417
ee091edf
TS
17418 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17419 (lmsnanval): New variables.
17420 (F): Add conversion tests.
17421 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17422 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17423
a8b792d6
TS
17424 * stdio-common/tstdiomisc.c (F): Properly collect individual
17425 tests' results.
17426
a1cbf437
TS
17427 [BZ #14686, #15336]
17428 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17429 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17430 Instead, use input NaN values or generate a qNaN by arithmetic
17431 operation. Also fix bugs to comply with the standard.
17432 * math/libm-test.inc (remainder_test): Add more tests.
17433
8b43a0c9
TS
17434 [BZ #15335, #15342]
17435 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17437 input NaN values or generate a qNaN by arithmetic operation.
17438
d91da4ce
TS
17439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17440 unreachable code.
17441
bf0f50df
TS
17442 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17443 definitions.
17444
05e166c8
JM
174452013-04-03 Joseph Myers <joseph@codesourcery.com>
17446
17447 [BZ #14478]
17448 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17449 underflowed result.
17450 * math/s_cexpf.c (__cexpf): Likewise.
17451 * math/s_cexpl.c (__cexpl): Likewise.
17452 * math/libm-test.inc (cexp_test): Add more tests.
17453
1cef1b19
AS
174542013-04-03 Andreas Schwab <schwab@suse.de>
17455
17456 [BZ #15330]
17457 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17458 order arrays from heap if bigger than alloca cutoff.
17459
74d87055
TS
174602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17461
17462 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17463 (SNAN_TESTS_double): Refer to GCC PR56831.
17464 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17465 GCC PR56828.
17466
d755bba4
SP
174672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17468
90d5d5bb
SP
17469 * Rules (bench): Move bench.out after the run is complete.
17470
73e0cd5d
SP
17471 * Rules (bench): Echo currently running benchmark.
17472
64aabd4b
SP
17473 * benchtests/Makefile (bench): Add atan and slowatan.
17474 * benchtests/atan-inputs: New file.
17475 * benchtests/slowatan-inputs: New file.
17476 * benchtests/slowatan.c: New file.
17477
c871eccd
SP
17478 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17480 its value.
17481
d755bba4
SP
17482 [BZ #15305]
17483 * sysdeps/unix/sysv/linux/kernel-features.h
17484 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17485 __ASSUME_XFS_RESTRICTED_CHOWN.
17486 * sysdeps/unix/sysv/linux/pathconf.c
17487 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17488 Save and restore errno.
17489
52ce4860
JM
174902013-04-02 Joseph Myers <joseph@codesourcery.com>
17491
17492 [BZ #15327]
17493 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17494 arguments using __kernel_casinh.
17495 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17496 arguments using __kernel_casinhf.
17497 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17498 arguments using __kernel_casinhl.
17499 * math/libm-test.inc (cacosh_test): Add more tests.
17500 * sysdeps/i386/fpu/libm-test-ulps: Update.
17501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17502
81f311c2
SP
175032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17504
e7906a47
SP
17505 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17507
92e3664b
SP
17508 * bench/Makefile (bench): Add sin and slowsin.
17509 * benchtests/sin-inputs: New file.
17510 * benchtests/slowsin-inputs: New file.
17511 * benchtests/slowsin.c: New file.
17512
81f311c2
SP
17513 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17514 (bench): Add slowexp and slowpow.
17515 (exp-ITER): Increase iterations.
17516 (pow-ITER): Likewise.
17517 * benchtests/exp-inputs: Change input.
17518 * benchtests/pow-inputs: Likewise.
17519 * benchtests/slowexp-inputs: New file.
17520 * benchtests/slowexp.c: New file.
17521 * benchtests/slowpow-inputs: New file.
17522 * benchtests/slowpow.c: New file.
17523
ab0f1aa9
AZ
175242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17525
17526 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17527 instructions.
17528 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17529 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17530 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17531 * benchtests/Makefile: Add rint benchtest.
17532 * benchtests/rint-inputs: Input for rint benchtest.
17533
57267616
TS
175342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17535
17536 * Versions.def (libm): Add GLIBC_2.18.
17537 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17538 hidden libm prototypes.
17539 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17540 * math/Makefile (libm-calls): Add s_issignaling.
17541 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17542 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17543 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17544 declaration.
17545 * math/math.h [__USE_GNU] (issignaling): New macro.
17546 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17547 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17551 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17552 * manual/arith.texi (issignaling): New section.
17553 * manual/libm-err-tab.pl (@all_functions): Update comment.
17554 * math/gen-libm-test.pl (parse_args): Apply special handling for
17555 issignaling.
17556 * math/libm-test.inc (print_float, issignaling_test): New
17557 functions.
17558 (check_float_internal): Add issignaling checks.
17559 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17560 default definition.
17561 * sysdeps/powerpc/math-tests.h: New file.
17562 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17563 tests.
17564 * math/test-snan.c (TEST_FUNC): Likewise.
17565
6142896d
DM
175662013-03-30 David S. Miller <davem@davemloft.net>
17567
17568 * po/de.po: Update from translation team.
17569
ccc8cadf
JM
175702013-03-30 Joseph Myers <joseph@codesourcery.com>
17571
17572 [BZ #10357]
17573 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17574 imaginary part less than 1.0 and real part less than 0.5
17575 specially.
17576 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17577 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17578 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17579 (cacos_test): Add more tests.
17580 (casin_test): Likewise.
17581 (casinh_test): Likewise.
17582 * sysdeps/i386/fpu/libm-test-ulps: Update.
17583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17584
0f6a8d4b
SP
175852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17586
0d1029de
SP
17587 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17588 ONE with its value.
17589
c2d94018
SP
17590 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17591 (__pow_mp): Replace ONE and MONE with their values.
17592 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17593 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17594 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17595 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17596 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17597 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17598
27ec37f1
SP
17599 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17600
a64d7e0e
SP
17601 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17602 (__pow_mp): Replace ZERO and MZERO with their values.
17603 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17605 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17606 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17607 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17608 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17609 (__sqr): Likewise.
17610
d26dd3eb
SP
17611 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17612
0f6a8d4b
SP
17613 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17614
e57b0c61
RM
176152013-03-28 Roland McGrath <roland@hack.frob.com>
17616
17617 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17618 Declare with __attribute__ ((weak)).
17619 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17620 Call __call_tls_dtors only if it's not NULL.
17621
356b3480
RM
176222013-03-28 Roland McGrath <roland@hack.frob.com>
17623
288f7d79
RM
17624 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17625 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17626 magic __ehdr_start linker symbol if it's defined.
17627 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17628 them up here if it was already done.
17629
dc0a0263
RM
17630 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17631 (_dl_aux_init): Use const in cast when setting it.
17632 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17633 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17634 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17635
3d3436ae
RM
17636 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17637 Declare them here.
17638 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17639 * csu/libc-tls.c: Nor here.
17640 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17641
356b3480
RM
17642 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17643 (__libc_message): Never call vsyslog.
17644
b0f1246a
AM
176452013-03-28 Alan Modra <amodra@gmail.com>
17646
17647 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17648 Define as empty.
17649 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17650 Likewise.
17651
fbbe2b9a
AZ
176522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17653
17654 [BZ #15214]
17655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17656 underflow.
17657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17658
1728ab37
SP
176592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17660
7a86be6e
SP
17661 [BZ #15304]
17662 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17663 Don't add gid passed as argument.
17664
1728ab37
SP
17665 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17666
3a7182a1
JM
176672013-03-27 Joseph Myers <joseph@codesourcery.com>
17668
17669 [BZ #15307]
17670 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17671 imaginary part between 1.0 and 1.5 and real part less than 0.5
17672 specially.
17673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17675 * math/libm-test.inc (cacos_test): Add more tests.
17676 (casin_test): Likewise.
17677 (casinh_test): Likewise.
17678 * sysdeps/i386/fpu/libm-test-ulps: Update.
17679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17680
6f2e90e7
SP
176812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17682
5739f705
SP
17683 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17684 constants.
17685 (norm): Likewise.
17686 (denorm): Likewise.
17687 (__dbl_mp): Likewise.
17688 (add_magnitudes): Likewise.
17689 (sub_magnitudes): Likewise.
17690 (__add): Likewise.
17691 (__sub): Likewise.
17692 (__mul): Likewise.
17693 (__sqr): Likewise.
17694 (__inv): Likewise.
17695 (__dvd): Likewise.
17696
e375e83d
SP
17697 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17698 commented code.
17699 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17700 (__dubcos): Likewise.
17701 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17702 (__ieee754_acos): Likewise.
17703 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17704 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17705 (__exp1): Likewise.
17706 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17708 (log1): Likewise.
17709 (my_log2): Likewise.
17710 (checkint): Likewise.
17711 * sysdeps/ieee754/dbl-64/e_remainder.c
17712 (__ieee754_remainder): Likewise.
17713 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17714 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17715 (bsloww): Likewise.
17716 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17717
6f2e90e7
SP
17718 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17719 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17720 MANTISSA_STORE_T to store computations on mantissa. Use
17721 macros for rounding and division.
17722 (denorm): Likewise.
17723 (__dbl_mp): Likewise.
17724 (add_magnitudes): Likewise.
17725 (sub_magnitudes): Likewise.
17726 (__mul): Likewise.
17727 (__sqr): Likewise.
17728 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17729 powers of two in terms of TWOPOW macro.
17730 (mp_no): Make type of mantissa as MANTISSA_T.
17731 [!RADIXI]: Define RADIXI.
17732 [!TWO52]: Define TWO52.
17733 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17734
fce14d4e
AZ
177352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17736
17737 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17738 llroundl symbol when building for PPC32.
17739
9ad027fb
MW
177402013-03-24 Mark H Weaver <mhw@netris.org>
17741
17742 * manual/arith.texi (Normalization Functions): Fix prototypes for
17743 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17744
e42a38dd
AZ
177452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17746
17747 [BZ #13889]
17748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17749 high value to check if expl overflow.
17750 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17751 to check for underflow and overflow.
17752 * math/libm-test.inc: Add exp test.
17753
2e0fb521
DL
177542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17755
17756 [BZ #11120]
17757 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17758 with NOT_IN_libc.
17759
b5784d95
AZ
177602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17761
17762 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17763 symbol.
17764
5aa4a1a1
TS
177652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17766
bdef0be7
TS
17767 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17768 wrap blocks consisting of several statements.
17769
5aa4a1a1
TS
17770 * sysdeps/generic/math-tests.h: New file.
17771 * sysdeps/i386/fpu/math-tests.h: Likewise.
17772 * math/test-snan.c: Include it.
17773 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17774
98c48fe5
JM
177752013-03-21 Joseph Myers <joseph@codesourcery.com>
17776
17777 [BZ #15285]
17778 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17779 (__ieee754_j0l): Do not improve calculations using cos of twice
17780 input for inputs above LDBL_MAX / 2.0L.
17781 (__ieee754_y0l): Likewise.
17782 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17783 (__ieee754_j1l): Do not improve calculations using cos of twice
17784 input for inputs above LDBL_MAX / 2.0L.
17785 (__ieee754_y1l): Likewise.
17786 * math/libm-test.inc (j0_test): Add another test.
17787 (j1_test): Likewise.
17788 (y0_test): Likewise.
17789 (y1_test): Likewise.
17790 * sysdeps/i386/fpu/libm-test-ulps: Update.
17791
3775a8bc
SP
177922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17793
17794 * Rules ($(objpfx)bench-%.c): Include code from a C source
17795 file.
17796
0a1b2ae6
JM
177972013-03-21 Joseph Myers <joseph@codesourcery.com>
17798
17799 [BZ #15287]
17800 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17801 imaginary part 1.0 and real part less than 0.5 specially.
17802 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17803 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17804 * math/libm-test.inc (cacos_test): Add more tests.
17805 (casin_test): Likewise.
17806 (casinh_test): Likewise.
17807 * sysdeps/i386/fpu/libm-test-ulps: Update.
17808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17809
b33d4ce4
SP
178102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17811
17812 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17813 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17814
bef0b507
JM
178152013-03-20 Joseph Myers <joseph@codesourcery.com>
17816
17817 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17818 * config.make.in (config-cflags-sse4): Remove variable.
17819 (config-cflags-avx): Likewise.
17820 (config-cflags-sse2avx): Likewise.
17821 (config-cflags-novzeroupper): Likewise.
17822 (config-asflags-i686): Likewise.
17823 (have-mfma4): Likewise.
17824 (have-as-vis3): Likewise.
17825 (MIG): Likewise.
17826 * configure.in (MIG): Do not AC_SUBST.
17827 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17828 (libc_cv_cc_sse4): Do not AC_SUBST.
17829 (libc_cv_cc_avx): Likewise.
17830 (libc_cv_cc_sse2avx): Likewise.
17831 (libc_cv_cc_novzeroupper): Likewise.
17832 (libc_cv_cc_fma4): Likewise.
17833 (libc_cv_as_i686): Likewise.
17834 (libc_cv_sparc_as_vis3): Likewise.
17835 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17836 LIBC_CONFIG_VAR.
17837 (config-asflags-i686): Likewise.
17838 (config-cflags-avx): Likewise.
17839 (config-cflags-sse2avx): Likewise.
17840 (have-mfma4): Likewise.
17841 (config-cflags-novzeroupper): Likewise.
17842 * sysdeps/mach/configure.in (MIG): Likewise.
17843 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17844 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17845 LIBC_CONFIG_VAR.
17846 (config-cflags-avx): Likewise.
17847 (config-cflags-sse2avx): Likewise.
17848 (have-mfma4): Likewise.
17849 (config-cflags-novzeroupper): Likewise.
17850 * configure: Regenerated.
17851 * sysdeps/i386/configure: Likewise.
17852 * sysdeps/mach/configure: Likewise.
17853 * sysdeps/sparc/configure: Likewise.
17854 * sysdeps/x86_64/configure: Likewise.
17855
912cc4b3
RM
178562013-03-20 Roland McGrath <roland@hack.frob.com>
17857
17858 [BZ #14812]
17859 * locale/programs/localedef.c (options): Put N_ translation marker
17860 on argument names, not just descriptions.
17861
04eed2b0
MS
178622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17863
17864 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17865
a065ceff
OB
178662013-03-20 Ondřej Bílka <neleai@seznam.cz>
17867
9bb2a810 17868 [BZ #14176]
a065ceff
OB
17869 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17870
a600e5ce
RM
178712013-03-19 Roland McGrath <roland@hack.frob.com>
17872
17873 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17874 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17875 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17876 [!BEFORE_ABORT] (before_abort): New function.
17877 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17878 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17879 (writev_for_fatal): New function.
17880 (WRITEV_FOR_FATAL): New macro; call that.
17881 (backtrace_and_maps): New function.
17882 (BEFORE_ABORT): New macro; call that.
17883 (struct str_list): Type removed.
17884 (__libc_message, __libc_fatal): Functions removed.
17885 Include <sysdeps/posix/libc_fatal.c> instead.
17886
6b18bea6
JM
178872013-03-19 Joseph Myers <joseph@codesourcery.com>
17888
17889 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17890 constants.
17891 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17892 double constants.
17893
aaa8cb4b
AS
178942013-03-19 Andreas Schwab <schwab@suse.de>
17895
44673770
AS
17896 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17897 * sysdeps/gnu/configure: Regenerate.
17898
aaa8cb4b
AS
17899 * configure.in: Substitute libc_cv_rtlddir.
17900 * configure: Regenerate.
17901 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17902 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17903 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17904 * elf/Makefile (install-others, CFLAGS-interp.c)
17905 (ldso_install, common-ldd-rewrite): Likewise.
17906 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17907 $(inst_slibdir)/$(rtld-installed-name).
17908 * scripts/rellns-sh: Add -p option.
17909 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17910 for source.
17911
d3cfc668
SP
179122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17913
17914 * manual/nptl.texi: Renamed to ...
17915 * manual/threads.texi: ... this.
17916 * manual/Makefile (chapters): Update.
17917
0e2b9cdd
RM
179182013-03-18 Roland McGrath <roland@hack.frob.com>
17919
17920 [BZ #14812]
17921 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17922 on argument names, not just descriptions.
0e2b9cdd
RM
17923 * malloc/memusagestat.c (options): Likewise.
17924 * nss/getent.c (options): Likewise.
63270c24
RM
17925
179262013-03-18 Benno Schulenberg <bensberg@justemail.net>
17927
17928 [BZ #14812]
17929 * iconv/iconv_prog.c (options): Put N_ translation marker
17930 on argument names, not just descriptions.
17931 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17932
b2e1393c
OB
179332013-03-18 Ondrej Bilka <neleai@seznam.cz>
17934
17935 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17936 implementation which is faster on all x86_64 architectures.
17937 Tested on AMD, Intel Nehalem, SNB, IVB.
17938 * sysdeps/x86_64/strnlen.S: Likewise.
17939
17940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17941 Remove all multiarch strlen and strnlen versions.
17942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17943 Remove strlen and strnlen related parts.
17944
17945 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17946 Inline strlen part.
17947 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17948
17949 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17950 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17951 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17952 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17953 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17954 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17955
ec4ff04d
CD
179562013-03-17 Carlos O'Donell <carlos@redhat.com>
17957
17958 * manual/memory.texi (Malloc Tunable Parameters):
17959 Sort parameters alphabetically. Add comments for missing entries.
17960
cd18e90a
DM
179612013-03-17 David S. Miller <davem@davemloft.net>
17962
17963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17964
2a185d32
JM
179652013-03-16 Joseph Myers <joseph@codesourcery.com>
17966
d2f9799e
JM
17967 [BZ #15283]
17968 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17969 for arguments at most half maximum finite value.
17970 * math/libm-test.inc (j0_test): Add more tests.
17971 (j1_test): Likewise.
17972 (y0_test): Likewise.
17973 (y1_test): Likewise.
17974 * sysdeps/i386/fpu/libm-test-ulps: Update.
17975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17976
2a185d32
JM
17977 [BZ #14155]
17978 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17979 1 / x and functions P and Q for arguments above 0x1p256L.
17980 (__ieee754_y0l): Likewise.
17981 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17982 (__ieee754_y1l): Likewise.
17983 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17984 (j1_test): Likewise.
17985 (y0_test): Likewise.
17986 (y1_test): Likewise.
17987
6cbec759
TS
179882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17989
17990 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17991 variable.
17992
bc16e260
RM
179932013-03-15 Roland McGrath <roland@hack.frob.com>
17994
aefc9b8c
RM
17995 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17996 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17997 zero since it's initialized to EXEC_PAGESIZE.
17998
bc16e260
RM
17999 * sysdeps/unix/sysv/linux/ldsodefs.h
18000 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18001 * sysdeps/generic/ldsodefs.h: ... here.
18002
a57da955
TS
180032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18004
af00a34d
TS
18005 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18006
495ded2c
TS
18007 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18008 math/test-snan.c.
18009 * math/test-snan.c: Renamed from
18010 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18011 * math/Makefile (tests): Add test-snan.
18012 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18013 test-powerpc-snan.
18014
777b0332
TS
18015 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18016 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18017 functions.
18018 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18019 __builtin_nan family of functions.
18020 * math/libm-test.inc (initialize): Initialize qnan_value with
18021 __builtin_nan family of functions.
18022 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18023 Remove variables.
18024 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18025 Remove functions.
18026 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18027 storage class. Initialize qNaN_var and sNaN_var with
18028 __builtin_nan and __builtin_nans families of functions,
18029 respectively.
18030
64d063b8
TS
18031 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18032 (sqrt_test): Remove duplicate test with qNaN input.
18033 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18034 (round_test, signbit_test, significand_test): Note missing +/-Inf
18035 as well as qNaN tests.
18036
67e971f1
TS
18037 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18038 qNaN_var. Fix a few strings, too.
18039 * math/libm-test.inc (nan_value): Rename to qnan_value.
18040 * math/gen-libm-test.pl (%beautify): Adjust to that.
18041 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18042 * math/test-misc.c (main): Likewise.
18043 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18044 to __qnan_bytes, and __qnan_union, respectively.
18045 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18046 Likewise.
18047 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18048 and lqnanval, respectively.
18049 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18050 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18051 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18052 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18053
64487e12
TS
18054 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18055 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18056 doubles.
18057
e015e27b
TS
18058 * math/test-misc.c (main): Fix copy'n'pastos.
18059 * misc/tst-efgcvt.c (special): Likewise.
18060
a57da955
TS
18061 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18062 Remove declarations.
18063
1e380345
SP
180642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18065
18066 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18067 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18068 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18069 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18070
ef26eece
AZ
180712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18072
18073 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18074 macro to return vdso values correctly in IFUNC implementations.
18075 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18076 Optimization by using IFUNC.
18077
8cfdb7e0
SP
180782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18079 Richard Henderson <rth@redhat.com>
18080 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18081
18082 * Makefile.in (bench): New target.
18083 * NEWS: Mention the benchmark framework.
18084 * Rules (bench): Likewise.
18085 (binaries-bench): Generate binaries for functions to
18086 benchmark.
18087 * benchtests/Makefile: New makefile for benchmark tests.
18088 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18089 programs.
18090 * benchtests/exp-inputs: New input file for EXP function.
18091 * benchtests/pow-inputs: New input file for POW function.
18092 * scripts/bench.pl: New script to generate source files for
18093 benchmark programs.
18094
bcda9880
SP
180952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18096
d22ca8cd
SP
18097 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18098 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18099 computations on mantissa. Use macros for rounding and
18100 division.
18101 (denorm): Likewise.
18102 (__dbl_mp): Likewise.
18103 (add_magnitudes): Likewise.
18104 (sub_magnitudes): Likewise.
18105 (__mul): Likewise.
18106 (__sqr): Likewise.
18107 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18108 powers of two in terms of TWOPOW macro.
18109 (mp_no): Make type of mantissa as MANTISSA_T.
18110 [!RADIXI]: Define RADIXI.
18111 [!TWO52]: Define TWO52.
18112 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18113
bcda9880
SP
18114 * manual/nptl.texi (cindex): Modify threads to pthreads.
18115
06d5adfb
JM
181162013-03-15 Joseph Myers <joseph@codesourcery.com>
18117
18118 * sysdeps/x86_64/preconfigure: Regenerated.
18119
41c7328e
JM
181202013-03-14 Joseph Myers <joseph@codesourcery.com>
18121
18122 [BZ #14155]
18123 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18124 0x1p28 and above.
18125 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18126 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18127 0x1p28 and above.
18128 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18129 * math/libm-test.inc (j0_test): Do not allow one spurious
18130 underflow exception.
18131 (y1_test): Likewise.
18132
e25cfa60
SP
181332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18134
0409959c
SP
18135 * manual/Makefile (chapters): Add nptl.
18136 * manual/debug.texi (Debugging Support): Add link to Threads
18137 chapter.
18138 * manual/nptl.texi: New file.
18139
e25cfa60
SP
18140 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18141
58a1335e
PB
181422013-03-14 Petr Baudis <pasky@ucw.cz>
18143
18144 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18145 for non-NULL pointer before the memory validity test. Pointed
18146 out by Holger Brunck <holger.brunck@keymile.com>.
18147
9dc7c64f
AS
181482013-03-13 Andreas Schwab <schwab@suse.de>
18149
18150 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18151 instead of .os.
18152
54206aa6
JM
181532013-03-13 Joseph Myers <joseph@codesourcery.com>
18154
18155 * timezone/zic.c: Update from tzcode 2013b.
18156
e98cdb38
CD
181572013-03-12 Carlos O'Donell <carlos@redhat.com>
18158
18159 * manual/install.texi (Configuring and compiling):
18160 Mention i686 and i586.
18161 * INSTALL: Regenerate.
18162
9967e003
RM
181632013-03-12 Roland McGrath <roland@hack.frob.com>
18164
18165 * sysdeps/init_array/elf-init.c: New file.
18166 * csu/elf-init.c
18167 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18168 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18169
18170 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18171 __gmon_start__ as global, but as static with a .preinit_array pointer.
18172 * sysdeps/init_array/gmon-start.c: New file. Use that.
18173 * sysdeps/init_array/crti.S: New file, empty except for comments.
18174 * sysdeps/init_array/crtn.S: Likewise.
18175
e6b5a293 181762013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18177
18178 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18179 definining bcopy.
80f844c9
OB
18180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18181 Remove Prefer_SSE_for_memop.
18182 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18183 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18184 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18186 memset-x86-64.
80f844c9 18187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18188 Remove bzero, memset ifunc support.
80f844c9
OB
18189 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18190 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18191 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18192 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18193
fb6b0fcb
AS
181942013-03-11 Andreas Schwab <schwab@suse.de>
18195
18196 [BZ #15234]
18197 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18198 by SHLIB_COMPAT.
18199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18200 (GLIBC_2.16): Remove pthread_atfork.
18201
3e6bd4b1
PP
182022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18203
18204 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18205 (ptestcases.h): Likewise.
18206
222d7f00
RM
182072013-03-08 Roland McGrath <roland@hack.frob.com>
18208
18209 * Makeconfig ($(common-objpfx)config.status): Depend on
18210 sysdeps/*/preconfigure{,.in} too.
18211
1ba4f030
JM
182122013-03-08 Joseph Myers <joseph@codesourcery.com>
18213
a222d91a
JM
18214 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18215 (__free_hook): Use void * instead of __malloc_ptr_t.
18216 (__malloc_hook): Likewise.
18217 (__realloc_hook): Likewise.
18218 (__memalign_hook): Likewise.
18219 (__after_morecore_hook): Likewise.
18220 * malloc/arena.c (save_malloc_hook): Likewise.
18221 (save_free_hook): Likewise.
18222 * malloc/hooks.c (malloc_hook_ini): Likewise.
18223 (realloc_hook_ini): Likewise.
18224 (memalign_hook_ini): Likewise.
18225 * malloc/malloc.c (malloc_hook_ini): Likewise.
18226 (realloc_hook_ini): Likewise.
18227 (memalign_hook_ini): Likewise.
18228 (__free_hook): Likewise.
18229 (__malloc_hook): Likewise.
18230 (__realloc_hook): Likewise.
18231 (__memalign_hook): Likewise.
18232 (__libc_malloc): Likewise.
18233 (__libc_free): Likewise.
18234 (__libc_realloc): Likewise.
18235 (__libc_memalign): Likewise.
18236 (__libc_valloc): Likewise.
18237 (__libc_pvalloc): Likewise.
18238 (__libc_calloc): Likewise.
18239 (__posix_memalign): Likewise.
18240 * malloc/morecore.c (__sbrk): Likewise.
18241 (__default_morecore): Likewise.
18242
5cc45e10
JM
18243 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18244
dd54b864
JM
18245 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18246 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18247 __malloc_ptrdiff_t.
18248
1ba4f030
JM
18249 * malloc/malloc.h (__malloc_size_t): Remove macro.
18250 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18251 __malloc_size_t.
18252 (old_memalign_hook): Likewise.
18253 (old_realloc_hook): Likewise.
18254 (struct hdr): Likewise.
18255 (flood): Likewise.
18256 (mallochook): Likewise.
18257 (memalignhook): Likewise.
18258 (reallochook): Likewise.
18259 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18260 (tr_old_realloc_hook): Likewise.
18261 (tr_old_memalign_hook): Likewise.
18262 (tr_mallochook): Likewise.
18263 (tr_reallochook): Likewise.
18264 (tr_memalignhook): Likewise.
18265
edf66e57
AZ
182662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18267
18268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18269 default_ldbl_pack and using as default implementation.
18270 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18271 implementation.
18272 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18273 redundant definition.
18274 (ldbl_insert_mantissa): Likewise.
18275 (ldbl_canonicalize): Likewise.
18276 (ldbl_nearbyint): Likewise.
18277 (ldbl_pack): Rename to ldbl_pack_ppc.
18278 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18279 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18280 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18281
6d9145d8
SP
182822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18283
18284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18285 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18286 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18287 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18289 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18290 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18291 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18292
4dd4e157
AJ
182932013-03-07 Andreas Jaeger <aj@suse.de>
18294
18295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18296 bits/mman-linux.h.
18297
adbb8027
SP
182982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18299
ce544b5b
SP
18300 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18301 Include mpa.h and declare __MPEXP.
18302 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18303 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18304 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18305 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18306 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18307 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18308 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18309
4cc149fd
SP
18310 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18311 (__slowpow): Use long double EXPL and LOGL functions to
18312 compute POW.
18313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18314 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18315 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18317 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18318 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18319
e6ebd4a7
SP
18320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18321 intermediate variable to calculate exponent.
18322 (__sqr): Likewise.
18323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18324 Likewise.
18325 (__sqr): Likewise.
18326
82a9811d
SP
18327 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18328 [!NO__SQR]: Define __sqr.
18329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18330 and NO__SQR. Remove all code except __mul and __sqr. Include
18331 sysdeps/ieee754/dbl-64/mpa.c.
18332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18333
adbb8027
SP
18334 [BZ #12723]
18335 * posix/Makefile (tests): Add tst-pathconf.
18336 * posix/tst-pathconf.c: New test case.
18337 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18338 _PC_PIPE_BUF.
18339 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18340
39120df9
PF
183412013-03-06 Patsy Franklin <pfrankli@redhat.com>
18342
18343 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18344
67525cb8
AJ
183452013-03-06 Andreas Jaeger <aj@suse.de>
18346
664a9ce4
AJ
18347 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18348 definition via __MAP_ANONYMOUS.
18349
8e39047d
AJ
18350 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18351 it's not part of Linux headers.
18352
67525cb8
AJ
18353 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18354 (MAP_HUGE_MASK): Define.
18355
18356 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18357 Define.
18358 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18359 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18360 Define.
18361 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18362 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18363 Define.
18364 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18366 Define.
18367 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18368
18369 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18370 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18371 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18372 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18373 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18374 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18375
18376 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18377 Handle f2fs.
18378
18379 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18380 Handle f2fs and efivarfs.
18381
18382 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18383 f2fs.
18384
18385 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18386 (EFIVARFS_MAGIC): Add.
18387 (F2FS_LINK_MAX): Add.
18388
e1b42695
PP
183892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18390
18391 * stdio-common/vfprintf.c: Replace __builtin_expect with
18392 __glibc_unlikely.
18393
2d67d91a
JM
183942013-03-06 Joseph Myers <joseph@codesourcery.com>
18395
18396 [BZ #13550]
18397 * sysdeps/generic/bp-sym.h: Remove file.
18398 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18399 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18400 <bp-sym.h> and <bp-asm.h>.
18401 (__longjmp): Don't use BP_SYM.
18402 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18403 and <bp-asm.h>.
18404 (memcpy): Don't use BP_SYM.
18405 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18406 <bp-sym.h> and <bp-asm.h>.
18407 (memcpy): Don't use BP_SYM.
18408 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18409 <bp-asm.h>.
18410 (memcpy): Don't use BP_SYM.
18411 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18412 <bp-asm.h>.
18413 (memset): Don't use BP_SYM.
18414 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18415 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18416 (__bzero): Don't use BP_SYM.
18417 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18418 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18419 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18420 <bp-sym.h> and <bp-asm.h>.
18421 (memcmp): Don't use BP_SYM. Remove comment about bounded
18422 pointers.
18423 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18424 <bp-sym.h> and <bp-asm.h>.
18425 (memcpy): Don't use BP_SYM.
18426 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18427 <bp-sym.h> and <bp-asm.h>.
18428 (memset): Don't use BP_SYM.
18429 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18430 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18431 (__bzero): Don't use BP_SYM.
18432 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18433 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18434 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18435 <bp-sym.h> and <bp-asm.h>.
18436 (strncmp): Don't use BP_SYM. Remove comment about bounded
18437 pointers.
18438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18439 <bp-sym.h> and <bp-asm.h>.
18440 (memcpy): Don't use BP_SYM.
18441 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18442 <bp-sym.h> and <bp-asm.h>.
18443 (memset): Don't use BP_SYM.
18444 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18445 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18446 (__bzero): Don't use BP_SYM.
18447 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18448 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18450 <bp-sym.h> and <bp-asm.h>.
18451 (__memchr): Don't use BP_SYM.
18452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18453 <bp-sym.h> and <bp-asm.h>.
18454 (memcmp): Don't use BP_SYM. Remove comment about bounded
18455 pointers.
18456 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18457 <bp-sym.h> and <bp-asm.h>.
18458 (memcpy): Don't use BP_SYM.
18459 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18460 <bp-sym.h> and <bp-asm.h>.
18461 (__mempcpy): Don't use BP_SYM.
18462 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18463 <bp-sym.h> and <bp-asm.h>.
18464 (__memrchr): Don't use BP_SYM.
18465 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18466 <bp-sym.h> and <bp-asm.h>.
18467 (memset): Don't use BP_SYM.
18468 (__bzero): Likewise.
18469 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18470 <bp-sym.h> and <bp-asm.h>.
18471 (__rawmemchr): Don't use BP_SYM.
18472 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18473 <bp-sym.h> and <bp-asm.h>.
18474 (__STRCMP): Don't use BP_SYM.
18475 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18476 <bp-sym.h> and <bp-asm.h>.
18477 (strchr): Don't use BP_SYM.
18478 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18479 <bp-sym.h> and <bp-asm.h>.
18480 (__strchrnul): Don't use BP_SYM.
18481 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18482 <bp-sym.h> and <bp-asm.h>.
18483 (strlen): Don't use BP_SYM.
18484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18485 <bp-sym.h> and <bp-asm.h>.
18486 (strncmp): Don't use BP_SYM. Remove comment about bounded
18487 pointers.
18488 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18489 <bp-sym.h> and <bp-asm.h>.
18490 (__strnlen): Don't use BP_SYM.
18491 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18492 <bp-sym.h> and <bp-asm.h>.
18493 (__GI__setjmp): Don't use BP_SYM.
18494 (_setjmp): Likewise.
18495 (__sigsetjmp): Likewise.
18496 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18497 (L(start_addresses)): Don't use BP_SYM.
18498 (_start): Likewise.
18499 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18500 <bp-asm.h>.
18501 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18502 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18503 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18504 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18505 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18506 <bp-asm.h>.
18507 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18508 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18509 about bounded pointers.
18510 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18511 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18512 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18513 <bp-asm.h>.
18514 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18515 about bounded pointers. Remove GKM FIXME comments.
18516 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18517 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18518 <bp-asm.h>.
18519 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18520 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18521 Remove GKM FIXME comments.
18522 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18523 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18524 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18525 <bp-asm.h>.
18526 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18527 about bounded pointers. Remove GKM FIXME comment.
18528 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18529 and <bp-asm.h>.
18530 (strncmp): Don't use BP_SYM. Remove comment about bounded
18531 pointers.
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18533 <bp-sym.h> and <bp-asm.h>.
18534 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18536 <bp-sym.h> and <bp-asm.h>.
18537 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18538 comment.
18539
cdcf361f
PP
185402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18541
18542 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18543 call free(NULL).
18544
3c4a2b15
DM
185452013-03-05 David S. Miller <davem@davemloft.net>
18546
18547 * po/es.po: Update from translation team.
18548
cdcf361f 185492013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
18550
18551 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18552 <bits/mman-linux.h>.
18553 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18554 is fine.
18555 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18556 <bits/mman-linux.h> to end of file.
18557 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18558 is fine.
18559 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18560 <bits/mman-linux.h> to end of file.
18561 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18562 is fine.
18563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18564 <bits/mman-linux.h> to end of file.
18565
18566 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18567 (MCL_CURRENT, MCL_FUTURE): Define here.
18568
5f67c04f
AK
185692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18570
8a4473cc 18571 [BZ #15232]
5f67c04f
AK
18572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18573 attribute_hidden.
18574 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18575
c3e94a95
AK
185762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18577
18578 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18579 fourth parameter needed for rt_sigprocmask syscall.
18580 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18581 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18582 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18583 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18584 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18585 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18586
cfb6382a
JM
185872013-03-04 Joseph Myers <joseph@codesourcery.com>
18588
18589 [BZ #13550]
18590 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18591 comment about bounded pointers.
18592 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18593 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18594
539d8e01
AJ
185952013-03-04 Andreas Jaeger <aj@suse.de>
18596
18597 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18598 common definitions.
18599
18600 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18601 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18602 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18603 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18604 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18606
2e167a70 186072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18608
18609 [BZ #15055]
18610 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18611 __ieee754_sqrl instead of __sqrl.
18612
68508633
JM
186132013-03-01 Joseph Myers <joseph@codesourcery.com>
18614
18615 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18616 * sysdeps/powerpc/fpu_control.h: ... here.
18617 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18618 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18619 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18620 * sysdeps/powerpc/bits/mathinline.h: ... here.
18621
7775448e
RM
186222013-03-01 Roland McGrath <roland@hack.frob.com>
18623
18624 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18625 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18626 to just [NEED_DL_SYSINFO_DSO].
18627 * elf/dl-support.c: Likewise.
18628 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18629 * elf/rtld.c (dl_main): Likewise.
18630 * elf/setup-vdso.h (setup_vdso): Likewise.
18631 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18632 * sysdeps/unix/sysv/linux/dl-sysdep.c
18633 (_dl_discover_osversion): Likewise.
18634
4e9b5995
CD
186352013-03-01 Carlos O'Donell <carlos@redhat.com>
18636
18637 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18638 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18639
e23872c8
SP
186402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18641
e5c74c63
SP
18642 * NEWS: Mention libm performance improvements and non-x86 PI
18643 futex support.
18644
e23872c8
SP
18645 * csu/libc-start.c (__pthread_initialize_minimal): Change
18646 function arguments.
18647 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18648
b5510883
JM
186492013-02-28 Joseph Myers <joseph@codesourcery.com>
18650
18651 [BZ #13550]
18652 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18653 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18654 <bp-sym.h> and <bp-asm.h>.
18655 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18657 and <bp-asm.h>.
18658 (memcpy): Don't use BP_SYM.
18659 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18660 <bp-asm.h>.
18661 (__mpn_add_n): Don't use BP_SYM.
18662 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18663 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18664 and <bp-asm.h>.
18665 (__mpn_addmul_1): Don't use BP_SYM.
18666 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18667 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18668 <bp-sym.h>.
18669 (_setjmp): Don't use BP_SYM.
18670 (__novmx_setjmp): Likewise.
18671 (__GI__setjmp): Likewise.
18672 (__vmx_setjmp): Likewise.
18673 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18674 <bp-sym.h>.
18675 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18676 (__bzero): Don't use BP_SYM.
18677 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18678 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18679 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18680 <bp-sym.h> and <bp-asm.h>.
18681 (memcpy): Don't use BP_SYM.
18682 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18683 <bp-sym.h> and <bp-asm.h>.
18684 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18685 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18686 <bp-sym.h> and <bp-asm.h>.
18687 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18688 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18689 <bp-asm.h>.
18690 (__mpn_lshift): Don't use BP_SYM.
18691 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18692 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18693 <bp-asm.h>.
18694 (memset): Don't use BP_SYM.
18695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18697 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18698 <bp-asm.h>.
18699 (__mpn_mul_1): Don't use BP_SYM.
18700 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18701 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18702 <bp-sym.h> and <bp-asm.h>.
18703 (memcmp): Don't use BP_SYM.
18704 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18705 <bp-sym.h> and <bp-asm.h>.
18706 (memcpy): Don't use BP_SYM.
18707 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18708 <bp-sym.h> and <bp-asm.h>.
18709 (memset): Don't use BP_SYM.
18710 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18711 <bp-sym.h> and <bp-asm.h>.
18712 (strncmp): Don't use BP_SYM.
18713 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18714 <bp-sym.h> and <bp-asm.h>.
18715 (memcpy): Don't use BP_SYM.
18716 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18717 <bp-sym.h> and <bp-asm.h>.
18718 (memset): Don't use BP_SYM.
18719 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18720 <bp-sym.h> and <bp-asm.h>.
18721 (__memchr): Don't use BP_SYM.
18722 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18723 <bp-sym.h> and <bp-asm.h>.
18724 (memcmp): Don't use BP_SYM.
18725 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18726 <bp-sym.h> and <bp-asm.h>.
18727 (memcpy): Don't use BP_SYM.
18728 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18729 <bp-sym.h> and <bp-asm.h>.
18730 (__mempcpy): Don't use BP_SYM.
18731 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18732 <bp-sym.h> and <bp-asm.h>.
18733 (__memrchr): Don't use BP_SYM.
18734 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18735 <bp-sym.h> and <bp-asm.h>.
18736 (memset): Don't use BP_SYM.
18737 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18738 <bp-sym.h> and <bp-asm.h>.
18739 (__rawmemchr): Don't use BP_SYM.
18740 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18741 <bp-sym.h> and <bp-asm.h>.
18742 (__STRCMP): Don't use BP_SYM.
18743 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18744 <bp-sym.h> and <bp-asm.h>.
18745 (strchr): Don't use BP_SYM.
18746 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18747 <bp-sym.h> and <bp-asm.h>.
18748 (__strchrnul): Don't use BP_SYM.
18749 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18750 <bp-sym.h> and <bp-asm.h>.
18751 (strlen): Don't use BP_SYM.
18752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18753 <bp-sym.h> and <bp-asm.h>.
18754 (strncmp): Don't use BP_SYM.
18755 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18756 <bp-sym.h> and <bp-asm.h>.
18757 (__strnlen): Don't use BP_SYM.
18758 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18759 <bp-asm.h>.
18760 (__mpn_rshift): Don't use BP_SYM.
18761 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18762 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18763 <bp-sym.h> and <bp-asm.h>.
18764 (__sigsetjmp): Don't use BP_SYM.
18765 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18766 (L(start_addresses)): Don't use BP_SYM.
18767 (_start): Likewise.
18768 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18769 <bp-asm.h>.
18770 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18771 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18772 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18773 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18774 <bp-asm.h>.
18775 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18776 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18777 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18778 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18779 <bp-asm.h>.
18780 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18781 comments.
18782 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18783 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18784 <bp-asm.h>.
18785 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18786 FIXME comments.
18787 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18788 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18789 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18790 <bp-asm.h>.
18791 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18792 comment.
18793 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18794 and <bp-asm.h>.
18795 (strncmp): Don't use BP_SYM,
18796 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18797 <bp-asm.h>.
18798 (__mpn_sub_n): Don't use BP_SYM.
18799 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18800 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18801 and <bp-asm.h>.
18802 (__mpn_submul_1): Don't use BP_SYM.
18803 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18805 <bp-sym.h> and <bp-asm.h>.
18806 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18808 <bp-sym.h> and <bp-asm.h>.
18809 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18810 comment.
18811
8d19fe64
SP
188122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18813
18814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18815 Use ZK to minimize writes to Z.
18816 (sub_magnitudes): Simplify code a bit.
18817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18818 Use ZK to minimize writes to Z.
18819 (sub_magnitudes): Simplify code a bit.
18820
85bd816a
RM
188212013-02-27 Roland McGrath <roland@hack.frob.com>
18822
18823 * csu/gmon-start.c: Add special exception to license text.
18824
b5977bf2
RH
188252013-02-27 Richard Henderson <rth@redhat.com>
18826
18827 * scripts/config.guess: Update from config.git.
18828 * scripts/config.sub: Likewise.
18829
11d6e2f2
SP
188302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18831
09c14ed2
SP
18832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18833
a688864e
SP
18834 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18835
6295157a
SP
18836 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18837
b8de2202
SP
18838 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18839
11d6e2f2
SP
18840 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18841
7e80ddb8
RM
188422013-02-26 Roland McGrath <roland@hack.frob.com>
18843
18844 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18845 [$(build-shared = yes].
7e80ddb8 18846
7da6d9ed
SP
188472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18848
45f05884
SP
18849 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18850 (__mul): Reduce iterations for calculating mantissa.
18851
2236d359
SP
18852 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18853 MPTWO.
18854 (__mpranred): Likewise.
18855
7da6d9ed
SP
18856 [BZ #15160]
18857 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18858 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18859
b7688c42
PE
188602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18861
18862 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18863 Define __attribute__.
18864
53a5c423
SP
188652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18866
18867 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18868 unused.
18869 * posix/regex_internal.h (__attribute): Remove.
18870 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18871 (re_string_context_at): Likewise.
18872 (bitset_not): Use __attribute__ and mark function as possibly
18873 unused.
18874 (bitset_merge): Likewise.
18875 (bitset_mask): Likewise.
18876 (re_string_char_size_at): Likewise.
18877 (re_string_wchar_at): Likewise.
18878 (re_string_elem_size_at): Likewise.
18879
60f5a8b5
SP
188802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18881
2a983a2e
SP
18882 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18883 code.
18884 (cc32): Likewise.
18885
e69804d1
SP
18886 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18887 (__acr): Likewise.
18888 (__cpy): Likewise.
18889 (norm): Likewise.
18890 (denorm): Likewise.
18891 (__dbl_mp): Likewise.
18892 (add_magnitudes): Likewise.
18893 (sub_magnitudes): Likewise.
18894 (__mul): Likewise.
18895 (__inv): Likewise.
18896
2f22a1e8
SP
18897 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18898 style.
18899
8930ddc7
SP
18900 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18901 style.
18902
dc60cb11
SP
18903 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18904 code.
18905
60f5a8b5
SP
18906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18907 up changes with default code.
18908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18909 Likewise.
18910
b4d1fd33
AM
189112013-02-24 Allan McRae <allan@archlinux.org>
18912
faf6f8bc
AM
18913 * manual/socket.texi (The Internet Namespace): Order menu items
18914 to match that in the file.
18915
b4d1fd33
AM
18916 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18917 node listing of the info page menu.
18918
2366713d
JM
189192013-02-21 Joseph Myers <joseph@codesourcery.com>
18920
18921 [BZ #13550]
18922 * sysdeps/i386/bp-asm.h: Remove file.
18923 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18924 (PARMS): Do not use macros from bp-asm.h.
18925 (S1): Likewise.
18926 (S2): Likewise.
18927 (SIZE): Likewise.
18928 (__mpn_add_n): Do not use BP_SYM
18929 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18930 "bp-asm.h".
18931 (PARMS): Do not use macros from bp-asm.h.
18932 (S1): Likewise.
18933 (SIZE): Likewise.
18934 (__mpn_addmul_1): Do not use BP_SYM
18935 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18936 "bp-asm.h".
18937 (PARMS): Do not use macros from bp-asm.h.
18938 (SIGMSK): Likewise.
18939 (_setjmp): Likewise. Do not use BP_SYM.
18940 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18941 "bp-asm.h".
18942 (PARMS): Do not use macros from bp-asm.h.
18943 (SIGMSK): Likewise.
18944 (setjmp): Likewise. Do not use BP_SYM.
18945 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18946 "bp-asm.h".
18947 (PARMS): Do not use macros from bp-asm.h.
18948 (__frexp): Do not use BP_SYM.
18949 (frexp): Likewise.
18950 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18951 "bp-asm.h".
18952 (PARMS): Do not use macros from bp-asm.h.
18953 (__frexpf): Do not use BP_SYM.
18954 (frexpf): Likewise.
18955 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18956 "bp-asm.h".
18957 (PARMS): Do not use macros from bp-asm.h.
18958 (__frexpl): Do not use BP_SYM.
18959 (frexpl): Likewise.
18960 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18961 "bp-asm.h".
18962 (PARMS): Do not use macros from bp-asm.h.
18963 (__remquo): Do not use BP_SYM.
18964 (remquo): Likewise.
18965 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18966 "bp-asm.h".
18967 (PARMS): Do not use macros from bp-asm.h.
18968 (__remquof): Do not use BP_SYM.
18969 (remquof): Likewise.
18970 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18971 "bp-asm.h".
18972 (PARMS): Do not use macros from bp-asm.h.
18973 (__remquol): Do not use BP_SYM.
18974 (remquol): Likewise.
18975 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18976 "bp-asm.h".
18977 (PARMS): Do not use macros from bp-asm.h.
18978 (DEST): Likewise.
18979 (SRC): Likewise.
18980 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18981 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18982 "bp-asm.h".
18983 (PARMS): Do not use macros from bp-asm.h.
18984 (strlen): Do not use BP_SYM.
18985 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18986 "bp-asm.h".
18987 (PARMS): Do not use macros from bp-asm.h.
18988 (S1): Likewise.
18989 (S2): Likewise.
18990 (SIZE): Likewise.
18991 (__mpn_add_n): Do not use BP_SYM.
18992 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18993 "bp-asm.h".
18994 (PARMS): Do not use macros from bp-asm.h.
18995 (S1): Likewise.
18996 (SIZE): Likewise.
18997 (__mpn_addmul_1): Do not use BP_SYM.
18998 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18999 weak_alias.
19000 (bzero): Likewise.
19001 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19002 "bp-asm.h".
19003 (PARMS): Do not use macros from bp-asm.h.
19004 (S): Likewise.
19005 (SIZE): Likewise.
19006 (__mpn_lshift): Do not use BP_SYM.
19007 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19008 "bp-asm.h".
19009 (PARMS): Do not use macros from bp-asm.h.
19010 (DEST): Likewise.
19011 (SRC): Likewise.
19012 (LEN): Likewise.
19013 (memcpy): Likewise. Do not use BP_SYM.
19014 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19015 libc_hidden_def and weak_alias.
19016 (mempcpy): Do not use BP_SYM in weak_alias.
19017 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19018 "bp-asm.h".
19019 (PARMS): Do not use macros from bp-asm.h.
19020 (DEST): Likewise.
19021 (LEN): Likewise.
19022 [!BZERO_P] (CHR): Likewise.
19023 (memset): Likewise. Do not use BP_SYM.
19024 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19025 "bp-asm.h".
19026 (PARMS): Do not use macros from bp-asm.h.
19027 (S1): Likewise.
19028 (SIZE): Likewise.
19029 (__mpn_mul_1): Do not use BP_SYM.
19030 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19031 "bp-asm.h".
19032 (PARMS): Do not use macros from bp-asm.h.
19033 (S): Likewise.
19034 (SIZE): Likewise.
19035 (__mpn_rshift): Do not use BP_SYM.
19036 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19037 "bp-asm.h".
19038 (PARMS): Do not use macros from bp-asm.h.
19039 (STR): Likewise.
19040 (CHR): Likewise.
19041 (strchr): Likewise. Do not use BP_SYM.
19042 (index): Do not use BP_SYM in weak_alias.
19043 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19044 "bp-asm.h".
19045 (PARMS): Do not use macros from bp-asm.h.
19046 (DEST): Likewise.
19047 (SRC): Likewise.
19048 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19049 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19050 "bp-asm.h".
19051 (PARMS): Do not use macros from bp-asm.h.
19052 (strlen): Do not use BP_SYM.
19053 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19054 "bp-asm.h".
19055 (PARMS): Do not use macros from bp-asm.h.
19056 (S1): Likewise.
19057 (S2): Likewise.
19058 (SIZE): Likewise.
19059 (__mpn_sub_n): Do not use BP_SYM.
19060 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19061 "bp-asm.h".
19062 (PARMS): Do not use macros from bp-asm.h.
19063 (S1): Likewise.
19064 (SIZE): Likewise.
19065 (__mpn_submul_1): Do not use BP_SYM.
19066 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19067 "bp-asm.h".
19068 (PARMS): Do not use macros from bp-asm.h.
19069 (S1): Likewise.
19070 (S2): Likewise.
19071 (SIZE): Likewise.
19072 (__mpn_add_n): Do not use BP_SYM.
19073 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19074 weak_alias.
19075 (bzero): Likewise.
19076 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19077 "bp-asm.h".
19078 (PARMS): Do not use macros from bp-asm.h.
19079 (BLK2): Likewise.
19080 (LEN): Likewise.
19081 (memcmp): Do not use BP_SYM.
19082 (bcmp): Do not use BP_SYM in weak_alias.
19083 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19084 "bp-asm.h".
19085 (PARMS): Do not use macros from bp-asm.h.
19086 (DEST): Likewise.
19087 (SRC): Likewise.
19088 (LEN): Likewise.
19089 (memcpy): Likewise. Do not use BP_SYM.
19090 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19091 "bp-asm.h".
19092 (PARMS): Do not use macros from bp-asm.h.
19093 (DEST): Likewise.
19094 (SRC): Likewise.
19095 (LEN): Likewise.
19096 (memmove): Likewise. Do not use BP_SYM.
19097 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19098 "bp-asm.h".
19099 (PARMS): Do not use macros from bp-asm.h.
19100 (DEST): Likewise.
19101 (SRC): Likewise.
19102 (LEN): Likewise.
19103 (__mempcpy): Likewise. Do not use BP_SYM.
19104 (mempcpy): Do not use BP_SYM in weak_alias.
19105 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19106 "bp-asm.h".
19107 (PARMS): Do not use macros from bp-asm.h.
19108 (DEST): Likewise.
19109 (LEN): Likewise.
19110 [!BZERO_P] (CHR): Likewise.
19111 (memset): Likewise. Do not use BP_SYM.
19112 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19113 "bp-asm.h".
19114 (PARMS): Do not use macros from bp-asm.h.
19115 (STR2): Likewise.
19116 (strcmp): Do not use BP_SYM.
19117 * sysdeps/i386/i686/strtok.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 (DELIM): Likewise.
19122 [USE_AS_STRTOK_R] (SAVE): Likewise.
19123 (FUNCTION): Likewise. Do not use BP_SYM.
19124 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19125 aliases.
19126 (strtok_r): Likewise.
19127 (__GI___strtok_r): Likewise.
19128 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19129 (PARMS): Do not use macros from bp-asm.h.
19130 (S): Likewise.
19131 (SIZE): Likewise.
19132 (__mpn_lshift): Do not use BP_SYM.
19133 * sysdeps/i386/memchr.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 (CHR): Likewise.
19137 (__memchr): Do not use BP_SYM.
19138 (memchr): Do not use BP_SYM in weak_alias.
19139 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19140 (PARMS): Do not use macros from bp-asm.h.
19141 (BLK2): Likewise.
19142 (LEN): Likewise.
19143 (memcmp): Do not use BP_SYM.
19144 (bcmp): Do not use BP_SYM in weak_alias.
19145 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19146 (PARMS): Do not use macros from bp-asm.h.
19147 (S1): Likewise.
19148 (SIZE): Likewise.
19149 (__mpn_mul_1): Do not use BP_SYM.
19150 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19151 "bp-asm.h".
19152 (PARMS): Do not use macros from bp-asm.h.
19153 (STR): Likewise.
19154 (CHR): Likewise.
19155 (__rawmemchr): Do not use BP_SYM.
19156 (rawmemchr): Do not use BP_SYM in weak_alias.
19157 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19158 (PARMS): Do not use macros from bp-asm.h.
19159 (S): Likewise.
19160 (SIZE): Likewise.
19161 (__mpn_rshift): Do not use BP_SYM.
19162 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19163 (PARMS): Do not use macros from bp-asm.h.
19164 (SIGMSK): Likewise.
19165 (__sigsetjmp): Likewise. Do not use BP_SYM.
19166 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19167 (_start): Do not use BP_SYM.
19168 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19169 (PARMS): Do not use macros from bp-asm.h.
19170 (DEST): Likewise.
19171 (SRC): Likewise.
19172 (__stpcpy): Likewise. Do not use BP_SYM.
19173 (stpcpy): Do not use BP_SYM in weak_alias.
19174 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19175 "bp-asm.h".
19176 (PARMS): Do not use macros from bp-asm.h.
19177 (DEST): Likewise.
19178 (SRC): Likewise.
19179 (LEN): Likewise.
19180 (__stpncpy): Likewise. Do not use BP_SYM.
19181 (stpncpy): Do not use BP_SYM in weak_alias.
19182 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19183 (PARMS): Do not use macros from bp-asm.h.
19184 (STR): Likewise.
19185 (CHR): Likewise.
19186 (strchr): Likewise. Do not use BP_SYM.
19187 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19188 "bp-asm.h".
19189 (PARMS): Do not use macros from bp-asm.h.
19190 (STR): Likewise.
19191 (CHR): Likewise.
19192 (__strchrnul): Likewise. Do not use BP_SYM.
19193 (strchrnul): Do not use BP_SYM in weak_alias.
19194 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19195 "bp-asm.h".
19196 (PARMS): Do not use macros from bp-asm.h.
19197 (STOP): Likewise.
19198 (strcspn): Do not use BP_SYM.
19199 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19200 "bp-asm.h".
19201 (PARMS): Do not use macros from bp-asm.h.
19202 (STR): Likewise.
19203 (STOP): Likewise.
19204 (strpbrk): Likewise. Do not use BP_SYM.
19205 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19206 "bp-asm.h".
19207 (PARMS): Do not use macros from bp-asm.h.
19208 (STR): Likewise.
19209 (CHR): Likewise.
19210 (strrchr): Likewise. Do not use BP_SYM.
19211 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19212 (PARMS): Do not use macros from bp-asm.h.
19213 (SKIP): Likewise.
19214 (strspn): Do not use BP_SYM.
19215 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19216 (PARMS): Do not use macros from bp-asm.h.
19217 (STR): Likewise.
19218 (DELIM): Likewise.
19219 (SAVE): Likewise.
19220 (FUNCTION): Likewise. Do not use BP_SYM.
19221 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19222 aliases.
19223 (strtok_r): Likewise.
19224 (__GI___strtok_r): Likewise.
19225 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19226 (PARMS): Do not use macros from bp-asm.h.
19227 (S1): Likewise.
19228 (S2): Likewise.
19229 (SIZE): Likewise.
19230 (__mpn_sub_n): Do not use BP_SYM.
19231 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19232 "bp-asm.h".
19233 (PARMS): Do not use macros from bp-asm.h.
19234 (S1): Likewise.
19235 (SIZE): Likewise.
19236 (__mpn_submul_1): Do not use BP_SYM.
19237 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19238 <bp-sym.h>.
19239 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19240 and <bp-asm.h>.
19241 (PARMS): Do not use macros from bp-asm.h.
19242 (FLAGS): Likewise.
19243 (PTID): Likewise.
19244 (TLS): Likewise.
19245 (CTID): Likewise.
19246 (__clone): Do not use BP_SYM.
19247 (clone): Do not use BP_SYM in weak_alias.
19248 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19249 and <bp-asm.h>.
19250 (PARMS): Do not use macros from bp-asm.h.
19251 (LEN): Likewise.
19252 (__mmap64): Do not use BP_SYM.
19253 (mmap64): Do not use BP_SYM in weak_alias.
19254 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19255 <bp-sym.h> and <bp-asm.h>.
19256 (PARMS): Do not use macros from bp-asm.h.
19257 (__posix_fadvise64_l64): Do not use BP_SYM.
19258 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19259 (PARMS): Do not use macros from bp-asm.h.
19260 (NSOPS): Likewise.
19261 (semtimedop): Do not use BP_SYM.
19262 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19263 and <bp-asm.h>.
19264
582a3cff
AM
192652013-02-21 Allan McRae <allan@archlinux.org>
19266
19267 * manual/message.texi (Charset conversion in gettext):
19268 Move @end statement to beginning of line.
19269
bab8a695
SP
192702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19271
80945231
SP
19272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19273 static.
19274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19275 Likewise.
19276
bab8a695
SP
19277 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19278 (denorm): Likewise.
19279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19281
e21d7aa7
AK
192822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19283
19284 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19285 tail-call to the resolved function if pltexit isn't needed.
19286
4c7a4263
SP
192872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19288
19289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19290 or Y being zero as being unlikely.
19291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19292 Likewise.
19293
41f49342
CD
192942013-02-20 Carlos O'Donell <carlos@redhat.com>
19295
19296 * manual/nss.texi (System Databases and Name Service Switch):
19297 Remove frobnicate @pxref.
19298
50022a93
TS
192992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19300
19301 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19302 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19303
08cbd996
PM
193042013-02-20 Petr Machata <pmachata@redhat.com>
19305
19306 * elf/elf.h (R_ARM_TARGET1): New macro.
19307 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19308 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19309 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19310 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19311 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19312 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19313 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19314 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19315 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19316 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19317 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19318 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19319 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19320 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19321 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19322 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19323 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19324 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19325 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19326 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19327 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19328 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19329 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19330 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19331 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19332 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19333 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19334 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19335 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19336 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19337 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19338 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19339 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19340 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19341 (R_ARM_THM_GOT_BREL12): Likewise.
19342 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19343 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19344 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19345 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19346 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19347 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19348 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19349 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19350 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19351
c7b275d6
TS
193522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19353
19354 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19355 __attribute_used__ to __attribute__ ((unused)).
19356
20cd7fb3
SP
193572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19358
19359 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19360 powerpc mpa.c.
19361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19362 comment formatting.
19363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19364
92945b52
JM
193652013-02-19 Joseph Myers <joseph@codesourcery.com>
19366
19367 [BZ #13550]
19368 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19369 Remove macro.
19370 (ENTER): Remove both macro definitions.
19371 (LEAVE): Likewise.
19372 (CHECK_BOUNDS_LOW): Likewise.
19373 (CHECK_BOUNDS_HIGH): Likewise.
19374 (CHECK_BOUNDS_BOTH): Likewise.
19375 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19376 (RETURN_BOUNDED_POINTER): Likewise.
19377 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19378 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19379 (POP_ERRNO_LOCATION_RETURN): Likewise.
19380 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19381 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19382 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19383 macros.
19384 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19385 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19386 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19387 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19388 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19389 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19390 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19391 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19392 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19393 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19394 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19395 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19396 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19397 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19398 removed macros.
19399 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19400 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19401 macros.
19402 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19403 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19404 * sysdeps/i386/i586/memset.S (memset): Likewise.
19405 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19406 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19407 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19408 macros.
19409 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19410 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19411 Change uses of L(2) to L(out).
19412 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19413 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19414 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19415 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19416 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19417 removed macros.
19418 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19419 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19420 macros.
19421 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19422 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19423 (RETURN): Do not use macro LEAVE.
19424 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19425 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19426 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19427 * sysdeps/i386/i686/memset.S (memset): Likewise.
19428 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19429 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19430 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19431 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19432 Likewise.
19433 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19434 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19435 L(1_2) and L(1_3) into L(1).
19436 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19437 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19438 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19439 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19440 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19441 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19442 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19443 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19444 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19445 macros.
19446 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19447 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19448 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19449 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19450 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19451 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19452 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19453 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19454 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19455 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19456 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19457 * sysdeps/i386/strspn.S (strspn): Likewise.
19458 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19459 conditional code.
19460 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19461 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19462 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19463 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19464 L(1_3) into L(1_1).
19465 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19466 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19467 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19468 macros.
19469 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19470
2389741a
JJ
194712013-02-19 Jakub Jelinek <jakub@redhat.com>
19472
19473 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19474 macro.
19475
2016b3cd
SP
194762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19477
e4f22324
SP
19478 * math/atest-exp.c (exp_mpn): Remove ROUND.
19479 * math/atest-exp2.c (exp_mpn): Likewise.
19480 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19481
2016b3cd
SP
19482 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19483 * stdlib/tst-tls-atexit-lib.c: Likewise.
19484 * stdlib/tst-tls-atexit.c: Likewise.
19485
4be9b544
MF
194862013-02-18 Mike Frysinger <vapier@gentoo.org>
19487
19488 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19489 and __attribute_alloc_size__.
19490
2f62b9ee
MF
194912013-02-18 Mike Frysinger <vapier@gentoo.org>
19492
19493 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19494 __attribute_alloc_size__.
19495 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19496 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19497
6ff444c4
MF
194982013-02-18 Mike Frysinger <vapier@gentoo.org>
19499
19500 * include/programs/xmalloc.h: New file.
19501 * catgets/gencat.c: Include it.
19502 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19503 * elf/pldd.c: Likewise.
19504 * iconv/iconv_charmap.c: Likewise.
19505 * iconv/iconvconfig.c: Likewise.
19506 * iconv/strtab.c: Likewise.
19507 * locale/programs/locale.c: Likewise.
19508 * locale/programs/localedef.h: Likewise.
19509 * locale/programs/simple-hash.c: Likewise.
19510 * nscd/nscd.h: Likewise.
19511 * nss/makedb.c: Likewise.
19512 * sysdeps/generic/ldconfig.h: Likewise.
19513
be179c8a
SP
195142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19515
ba384f6e
SP
19516 * Versions.def: Add GLIBC_2.18.
19517 * include/link.h (struct link_map): New member l_tls_dtor_count.
19518 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19519 (__call_tls_dtors): Likewise.
19520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19521 __cxa_thread_atexit_impl.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19523 Likewise.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19525 Likewise.
19526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19527 Likewise.
19528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19529 Likewise.
19530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19532 Likewise.
19533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19534 Likewise.
19535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19537 Likewise.
19538 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19539 (tests): Add test case tst-tls-atexit.
19540 (modules-names): Add shared library for tst-tls-atexit.
85891aca 19541 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
19542 (GLIBC_PRIVATE): Add __call_tls_dtors.
19543 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19544 for libstdc++.
19545 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19546 * stdlib/tst-tls-atexit.c: New test case.
19547 * stdlib/tst-tls-atexit-lib.c: New test case.
19548
ffaa74cf 19549 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 19550
be179c8a
SP
19551 * elf/Versions (ld): Add _dl_find_dso_for_object.
19552 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19553 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19554 (dl_open_worker): Use _dl_find_dso_for_object.
19555 * elf/dl-sym.c (do_sym): Likewise.
19556 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19557
f78b5caa
AK
195582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19559
19560 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19561 Syntactic changes only.
19562 (_dl_runtime_profile): Do a tail-call to the resolved function.
19563
29691210
JM
195642013-02-17 Joseph Myers <joseph@codesourcery.com>
19565
19566 [BZ #13550]
19567 * sysdeps/x86_64/bp-asm.h: Remove file.
19568 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19569 <bp-sym.h> and <bp-asm.h>.
19570 (__clone): Do not use BP_SYM.
19571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19572 <bp-sym.h> and <bp-asm.h>.
19573 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19574 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19575 "bp-asm.h".
19576 (_setjmp): Do not use BP_SYM.
19577 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19578 "bp-asm.h".
19579 (setjmp): Do not use BP_SYM.
19580 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19581 libc_hidden_def.
19582 (mempcpy): Do not use BP_SYM in weak_alias.
19583 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19584 "bp-asm.h".
19585 (strchr): Do not use BP_SYM.
19586 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19587 "bp-asm.h".
19588 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19589 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19590 (_start): Do not use BP_SYM.
19591 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19592 "bp-asm.h".
19593 (strcat): Do not use BP_SYM.
19594 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19595 "bp-asm.h".
19596 (STRCMP): Do not use BP_SYM.
19597 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19598 "bp-asm.h".
19599 (STRCPY): Do not use BP_SYM.
19600 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19601 "bp-asm.h".
19602 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19603 "bp-asm.h".
19604 (FUNCTION): Do not use BP_SYM.
19605 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19606 weak_alias.
19607 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19608
f238fd19
AJ
196092013-02-17 Andreas Jaeger <aj@suse.de>
19610
19611 * time/Versions: Sort entries.
19612 * string/Versions: Likewise.
19613 * resolv/Versions: Likewise.
19614 * posix/Versions: Likewise.
19615 * iconv/Versions: Likewise.
19616 * elf/Versions: Likewise.
19617 * wcsmbs/Versions: Likewise.
19618
bd07f23c 196192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19620
22af19f9
SP
19621 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19622 loop termination condition.
19623
4709fe76
SP
19624 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19625 variable to calculate EZ.
19626 (__sqr): Likewise.
2d0e0f29
SP
19627
19628 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19629 the lower precision input.
19630
daaa7713
JM
196312013-02-15 Joseph Myers <joseph@codesourcery.com>
19632
19633 [BZ #13550]
19634 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19635 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19636 (run-via-rtld-prefix): Do not handle %-bp tests.
19637 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19638 (all-object-suffixes): Remove .ob.
19639 (bppfx): Remove variable.
19640 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19641 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19642 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19643 [$(build-bounded) = yes] (libtype.ob): Likewise.
19644 * Makerules (elide-routines.ob): Remove variable.
19645 (do-tests-clean): Do not handle *-bp.out.
19646 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19647 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19648 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19649 (tests): Do not include $(tests-bp.out).
19650 (xtests): Do not include $(xtests-bp.out).
19651 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19652 [$(build-bounded) = yes] ($(addprefix
19653 $(objpfx),$(binaries-bounded))): Remove rule.
19654 ($(objpfx)%-bp.out): Remove rule.
19655 * config.make.in (build-bounded): Remove variable.
19656 * crypt/Makefile [$(build-bounded) = yes]
19657 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19658 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19659 append to variable.
19660 [$(build-bounded) = yes] (install-lib): Likewise.
19661 [$(build-bounded) = yes] (generated): Likewise.
19662 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19663 Remove rule.
19664 * intl/Makefile [$(build-bounded) = yes]
19665 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19666 * math/Makefile [$(build-bounded) = yes]
19667 ($(tests:%=$(objpfx)%-bp): Likewise.
19668 * misc/Makefile [$(build-bounded) = yes]
19669 ($(objpfx)tst-tsearch-bp): Likewise.
19670 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19671 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19672 Remove dependency.
19673 * string/Makefile (o-objects.ob): Remove variable.
19674 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19675 (CFLAGS-.ob): Remove variable.
19676 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19677 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19678 both definitions of variable.
19679 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19680 (ASFLAGS-.ob): Remove variable.
19681
e97ed6dd
JM
196822013-02-14 Joseph Myers <joseph@codesourcery.com>
19683
2bdd4ca6
JM
19684 [BZ #13550]
19685 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19686 Remove __BOUNDED_POINTERS__ from condition.
19687 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19688 * string/bits/string2.h [!__NO_STRING_INLINES &&
19689 !__BOUNDED_POINTERS__]: Likewise.
19690 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19691 Likewise.
19692 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19693 Remove conditional code.
19694 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19695 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19696 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19697 condition.
19698
e97ed6dd
JM
19699 [BZ #13550]
19700 * csu/libc-start.c: Do not include <bp-sym.h>.
19701 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19702 * elf/dl-open.c: Do not include <bp-sym.h>.
19703 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19704 * math/fegetenv.c: Do not include <bp-sym.h>.
19705 (fegetenv): Do not use BP_SYM in versioned symbols.
19706 * nptl/sysdeps/pthread/bits/libc-lockP.h
19707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19708 <bp-sym.h>.
19709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19710 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19712 (__pthread_mutex_destroy): Likewise.
19713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19714 (__pthread_mutex_lock): Likewise.
19715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19716 (__pthread_mutex_trylock): Likewise.
19717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19718 (__pthread_mutex_unlock): Likewise.
19719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19720 (__pthread_mutexattr_init): Likewise.
19721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19722 (__pthread_mutexattr_destroy): Likewise.
19723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19724 (__pthread_mutexattr_settype): Likewise.
19725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19726 (__pthread_rwlock_init): Likewise.
19727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19728 (__pthread_rwlock_destroy): Likewise.
19729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19730 (__pthread_rwlock_rdlock): Likewise.
19731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19732 (__pthread_rwlock_tryrdlock): Likewise.
19733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19734 (__pthread_rwlock_wrlock): Likewise.
19735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19736 (__pthread_rwlock_trywrlock): Likewise.
19737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19738 (__pthread_rwlock_unlock): Likewise.
19739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19740 (__pthread_key_create): Likewise.
19741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19742 (__pthread_setspecific): Likewise.
19743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19744 (__pthread_getspecific): Likewise.
19745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19746 Likewise.
19747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19748 (_pthread_cleanup_push_defer): Likewise.
19749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19750 (_pthread_cleanup_pop_restore): Likewise.
19751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19752 (pthread_setcancelstate): Likewise.
19753 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19754 <bp-sym.h>.
19755 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19756 (memchr): Do not use BP_SYM in weak_alias.
19757 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19758 (fegetenv): Do not use BP_SYM in versioned symbols.
19759 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19760 (fesetenv): Do not use BP_SYM in versioned symbols.
19761 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19762 (feupdateenv): Do not use BP_SYM in versioned symbols.
19763 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19764 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19765 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19766 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19767 (open64): Do not use BP_SYM in weak_alias.
19768 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19769 (fegetenv): Do not use BP_SYM in versioned symbols.
19770 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19771 (fesetenv): Do not use BP_SYM in versioned symbols.
19772 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19773 (feupdateenv): Do not use BP_SYM in versioned symbols.
19774 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19775 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19776 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19777 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19778 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19779 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19780 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19781 <bp-sym.h>.
19782 (__libc_start_main): Do not use BP_SYM.
19783
d6752ccd
SP
197842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19785
cb57ce60
SP
19786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19787 redundant return line.
19788 (norm): Likewise.
19789 (denorm): Likewise.
19790 (dbl_mp): Likewise.
19791 (sub_magnitudes): Likewise.
19792 (__add): Likewise.
19793 (__sub): Likewise.
19794 (__mul): Likewise.
19795 (__inv): Likewise.
19796 (__dvd): Likewise.
19797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19798 (norm): Likewise.
19799 (denorm): Likewise.
19800 (dbl_mp): Likewise.
19801 (sub_magnitudes): Likewise.
19802 (__add): Likewise.
19803 (__sub): Likewise.
19804 (__mul): Likewise.
19805 (__inv): Likewise.
19806 (__dvd): Likewise.
19807
f414520d
SP
19808 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19809 instead of __mul.
19810 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19811 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19812 (cc32): Likewise.
19813
d6752ccd
SP
19814 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19815 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19817 of __mul for squares.
19818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19819 function
19820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19821 Likewise.
19822 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19823 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19824
70d9946a
JM
198252013-02-13 Joseph Myers <joseph@codesourcery.com>
19826
19827 [BZ #13550]
19828 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19829 code.
19830 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19831 prototype or function definition. Rename ubp_* variables and
19832 parameters. Remove argv definitions conditional on
19833 [__BOUNDED_POINTERS__].
19834 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19835 * elf/dl-runtime.c (_dl_fixup): Likewise.
19836 * include/set-hooks.h (RUN_HOOK): Likewise.
19837 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19838 definition.
19839 * string/strcpy.c (strcpy): Do not use __unbounded.
19840 * sysdeps/generic/frame.h (struct layout): Likewise.
19841 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19842 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19843 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19844 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19845 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19846 (__backtrace): Likewise.
19847 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19848 use __ptrvalue.
19849 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19850 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19851 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19852 Likewise.
19853 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19854 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19855 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19856 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19857 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19858 Do not use __unbounded.
19859 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19860 Rename __unboundedrlimits parameter to rlimits in prototype.
19861 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19862 Do not use __unbounded.
19863 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19864 not use __ptrvalue.
19865 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19866 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19867 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19868 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19869 __ptrvalue or __unbounded.
19870 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19871 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19872 use __unbounded.
19873 (__new_msgctl): Do not use __ptrvalue.
19874 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19875 __unbounded.
19876 (__libc_msgrcv): Do not use __ptrvalue.
19877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19878 startup_info): Do not use __unbounded.
19879 (__libc_start_main): Likewise. Rename ubp_* variables and
19880 parameters. Remove argv definitions conditional on
19881 [__BOUNDED_POINTERS__].
19882 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19883 __ptrvalue.
19884 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19885 use __unbounded.
19886 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19887 or __ptrvalue.
19888 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19889 use __unbounded.
19890 (__new_shmctl): Do not use __ptrvalue.
19891 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19892 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19893 Likewise.
19894 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19896 (__libc_sigaction): Likewise.
19897 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19898 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19899 Likewise.
19900 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19901
cc7834d6
OB
199022013-02-13 Ondřej Bílka <neleai@seznam.cz>
19903
ffb1ec7b 19904 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19905
19906 * string/mempcpy.c: Implement by calling memcpy.
19907
bdf02814
SP
199082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19909
c2af38aa
SP
19910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19911
4e92d59e
SP
19912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19913 evaluation.
19914
909279a5
SP
19915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19916 values in the mantissa.
19917
bdf02814
SP
19918 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19919 minimize writes to Z.
19920 (sub_magnitudes): Simplify code a bit.
19921
cd525923
RM
199222013-02-12 Roland McGrath <roland@hack.frob.com>
19923
19924 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19925 from the message. The linker prefixes all warnings with that already.
19926
7e2f0d2d
AS
199272013-02-12 Andreas Schwab <schwab@suse.de>
19928
a445af0b
AS
19929 [BZ #15078]
19930 * posix/regexec.c (extend_buffers): Add parameter min_len.
19931 (check_matching): Pass minimum needed length.
19932 (clean_state_log_if_needed): Likewise.
19933 (get_subexp): Likewise.
19934 * posix/Makefile (tests): Add bug-regex34.
19935 (bug-regex34-ENV): Define.
19936 * posix/bug-regex34.c: New file.
19937
7e2f0d2d
AS
19938 [BZ #11561]
19939 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19940 elements compare against the byte sequence of it, not its name.
19941 * posix/Makefile (tests): Add bug-regex35.
19942 (bug-regex35-ENV): Define.
19943 * posix/bug-regex35.c: New file.
19944
a175b684
TV
199452013-02-11 Tom de Vries <tom@codesourcery.com>
19946
19947 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19948 comment.
19949 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19950 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19951 (CHECK_EOL): Add undef.
19952
310998fe 199532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19954
19955 * bits/stdlib-bsearch.h: New file.
19956 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19957 * stdlib/stdlib.h: Likewise.
41eda41d 19958
8ded91fb
RM
199592013-02-11 Roland McGrath <roland@hack.frob.com>
19960
19961 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19962 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19963 declaration.
19964 * manual/search.texi (Array Search Function): Add missing const in
19965 lfind prototype.
19966 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19967 declaration to use rlim_t.
19968 (Basic Scheduling Functions): Remove erroneous const from
19969 sched_getparam prototype. Remove erroneous * from
19970 sched_get_priority_max and sched_get_priority_min prototypes.
19971 (Resource Usage): Fix summary @comment on vtimes to refer to
19972 sys/vtimes.h rather than vtimes.h.
19973 Add missing *s in vtimes prototype.
19974 (Limits on Resources): Fix ulimit prototype to return long int.
19975 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19976 prototypes to use long int rather than double.
19977 (BSD Random): Fix initstate and setstate to use char *, not void *.
19978 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19979 prototype to make second argument 'struct aiocb64 *const[]'.
19980 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19981 (Status of AIO Operations): Remove erroneous const in aio_return and
19982 aio_return64 prototypes.
19983 (Synchronizing I/O): Fix sync prototype to return void.
19984 * manual/startup.texi (Suboptions): Remove an erroneous const in
19985 getsubopt prototype.
19986 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19987 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19988 use size_t rather than int.
19989 (Scanning All Users): Likewise for getpwent_r.
19990 (Setting Groups): Add missing const to setgroups prototype.
19991 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19992 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19993 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19994 'const void *' rather than 'const char *'.
19995 (Host Address Functions): Likewise for inet_ntop.
19996 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19997 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19998 ssize_t for return value.
19999 (Sending Data): Likewise for send, sendto, sendmsg.
20000 (Socket Option Functions): Add a missing const in setsockopt prototype.
20001 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20002 use wchar_t for the argument.
20003 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20004 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20005 take no arguments.
20006 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20007 double/float/long double for second argument.
20008 Fix return types of significand, significandf, significandl.
20009 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20010 argument in fchmod prototype.
20011 (File Owner): Use uid_t and gid_t in fchown prototype.
20012 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20013 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20014 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20015 use 'const struct dirent **' as argument types to CMP function pointer
20016 argument.
20017 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20018 (File Times): Fix summary magic @comment for struct utimbuf and utime
20019 to refer to utime.h, not time.h.
20020 * manual/string.texi (Argz Functions): Add missing const in
20021 argz_extract and argz_next prototypes.
20022 (Finding Tokens in a String): Likewise for basename.
20023 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20024 (Copying and Concatenation): Fix typo in wmemmove prototype.
20025 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20026 (Signal Stack): Remove erroneous const in sigstack prototype.
20027 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20028 prototype.
20029 (Simple Calendar Time): Likewise for stime.
20030 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20031 prototype.
20032 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20033 say sys/sysctl.h instead.
20034 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20035 and vsyslog prototypes.
20036
fe77fe6d
TV
200372013-02-11 Tom de Vries <tom@codesourcery.com>
20038
20039 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20040 Remove.
20041
3a09b620
RM
200422013-02-11 Roland McGrath <roland@hack.frob.com>
20043
20044 * misc/sys/mman.h: Fix typo in mremap comment.
20045
550a0b89
RM
200462013-02-08 Roland McGrath <roland@hack.frob.com>
20047
20048 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20049 the '\0' terminator.
20050
a2da1673
JM
200512013-02-08 Joseph Myers <joseph@codesourcery.com>
20052
20053 [BZ #13550]
20054 * debug/segfault.c: Don't include <bp-checks.h>.
20055 * sysdeps/generic/bp-checks.h: Remove file.
20056 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20057 (__GETDENTS): Don't use CHECK_N.
20058 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20059 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20060 (__getgroups): Don't use CHECK_N.
20061 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20062 (setgroups): Don't use CHECK_N.
20063 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20064 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20065 (__libc_msgrcv): Don't use CHECK_N.
20066 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20067 (__libc_msgsnd): Don't use CHECK_N.
20068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20069 <bp-checks.h>.
20070 (__libc_pread): Don't use CHECK_N.
20071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20072 include <bp-checks.h>.
20073 (__libc_pread64): Don't use CHECK_N.
20074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20075 include <bp-checks.h>.
20076 (__libc_pwrite): Don't use CHECK_N.
20077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20078 include <bp-checks.h>.
20079 (__libc_pwrite64): Don't use CHECK_N.
20080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20081 <bp-checks.h>.
20082 (__libc_pread): Don't use CHECK_N.
20083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20084 include <bp-checks.h>.
20085 (__libc_pread64): Don't use CHECK_N.
20086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20087 include <bp-checks.h>.
20088 (__libc_pwrite): Don't use CHECK_N.
20089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20090 include <bp-checks.h>.
20091 (__libc_pwrite64): Don't use CHECK_N.
20092 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20093 (do_pread): Don't use CHECK_N.
20094 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20095 (do_pread64): Don't use CHECK_N.
20096 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20097 (do_pwrite): Don't use CHECK_N.
20098 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20099 (do_pwrite64): Don't use CHECK_N.
20100 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20101 (__libc_readv): Don't use CHECK_N.
20102 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20103 (semop): Don't use CHECK_N.
20104 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20105 <bp-checks.h>.
20106 (semtimedop): Don't use CHECK_N.
20107 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20108 (__libc_pread): Don't use CHECK_N.
20109 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20110 <bp-checks.h>.
20111 (__libc_pread64): Don't use CHECK_N.
20112 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20113 <bp-checks.h>.
20114 (__libc_pwrite): Don't use CHECK_N.
20115 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20116 <bp-checks.h>.
20117 (__libc_pwrite64): Don't use CHECK_N.
20118 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20119 <bp-checks.h>.
20120 (__libc_msgrcv): Don't use CHECK_N.
20121 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20122 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20123 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20124 (__libc_writev): Don't use CHECK_N.
20125
b84660a8
RM
201262013-02-08 Roland McGrath <roland@hack.frob.com>
20127
7f3e75f8
RM
20128 * string/strcpy.c: Removed unused variable.
20129
b84660a8
RM
20130 * Makeconfig (+sysdep-includes): Define with := rather than =.
20131 Use an existing include/ subdir of each sysdeps dir before it.
20132
471514d3
CD
201332013-02-08 Carlos O'Donell <carlos@redhat.com>
20134
20135 * nscd/connection.c (register_traced_file): Comment function.
20136 [HAVE_INOTIFY] (union __inev): Define.
20137 [HAVE_INOTIFY] (inotify_check_files): New function.
20138 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20139 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20140 clear_db_cache.
20141 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20142
b2d3c3be
CD
201432013-02-08 Carlos O'Donell <carlos@redhat.com>
20144
20145 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20146 loaded if not already and that a failure is permanent.
20147
b39949d2
CD
201482013-02-08 Carlos O'Donell <carlos@redhat.com>
20149
ddacd1db 20150 [BZ #15006]
b39949d2
CD
20151 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20152 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20153
b2c9eff4
JM
201542013-02-08 Joseph Myers <joseph@codesourcery.com>
20155
f3aae3f3
JM
20156 [BZ #13550]
20157 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20158 (CHECK_1_NULL_OK): Likewise.
20159 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20160 (__fxstat): Do not use CHECK_1.
20161 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20162 <bp-checks.h>.
20163 (___fxstat64): Do not use CHECK_1.
20164 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20165 <bp-checks.h>.
20166 (__fxstatat): Do not use CHECK_1.
20167 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20168 <bp-checks.h>.
20169 (__fxstatat64): Do not use CHECK_1.
20170 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20171 <bp-checks.h>.
20172 (__fxstat): Do not use CHECK_1.
20173 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20174 <bp-checks.h>.
20175 (__fxstatat): Do not use CHECK_1.
20176 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20177 <bp-checks.h>.
20178 (__getresgid): Do not use CHECK_1.
20179 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20180 <bp-checks.h>.
20181 (__getresuid): Do not use CHECK_1.
20182 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20183 <bp-checks.h>.
20184 (__lxstat): Do not use CHECK_1.
20185 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20186 <bp-checks.h>.
20187 (__old_msgctl): Do not use CHECK_1.
20188 (__new_msgctl): Likewise.
20189 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20190 <bp-checks.h>.
20191 (__new_setrlimit): Do not use CHECK_1.
20192 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20193 <bp-checks.h>.
20194 (__old_shmctl): Do not use CHECK_1.
20195 (__new_shmctl): Likewise.
20196 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20197 <bp-checks.h>.
20198 (__xstat): Do not use CHECK_1.
20199 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20200 (__lxstat): Do not use CHECK_1.
20201 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20202 <bp-checks.h>.
20203 (___lxstat64): Do not use CHECK_1.
20204 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20205 (__old_msgctl): Do not use CHECK_1.
20206 (__new_msgctl): Likewise.
20207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20208 <bp-checks.h>.
20209 (__gettimeofday): Do not use CHECK_1.
20210 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20211 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20212 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20213 <bp-checks.h>.
20214 (__gettimeofday): Do not use CHECK_1.
20215 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20216 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20217 (__new_shmctl): Do not use CHECK_1.
20218 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20219 <bp-checks.h>.
20220 (do_sigtimedwait): Do not use CHECK_1.
20221 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20222 <bp-checks.h>.
20223 (do_sigwaitinfo): Do not use CHECK_1.
20224 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20225 <bp-checks.h>.
20226 (msgctl): Do not use CHECK_1.
20227 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20228 <bp-checks.h>.
20229 (shmctl): Do not use CHECK_1.
20230 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20231 (ustat): Do not use CHECK_1.
20232 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20233 <bp-checks.h>.
20234 (__fxstat): Do not use CHECK_1.
20235 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20236 <bp-checks.h>.
20237 (__fxstatat): Do not use CHECK_1.
20238 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20239 <bp-checks.h>.
20240 (__lxstat): Do not use CHECK_1.
20241 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20242 <bp-checks.h>.
20243 (__xstat): Do not use CHECK_1.
20244 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20245 (__xstat): Do not use CHECK_1.
20246 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20247 (___xstat64): Do not use CHECK_1.
20248
b2c9eff4
JM
20249 [BZ #13550]
20250 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20251 definitions.
20252 (CHECK_BOUNDS_HIGH): Likewise.
20253 * string/strcpy.c: Do not include <bp-checks.h>.
20254 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20255
f1d70dad
RM
202562013-02-07 Roland McGrath <roland@hack.frob.com>
20257
20258 * nscd/nscd-client.h (__nscd_drop_map_ref):
20259 Add __attribute__ ((unused)).
20260 * nis/nss-nisplus.h (niserr2nss): Likewise.
20261
20262 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20263 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20264
20265 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20266 Remove inline keyword.
20267 * include/rounding-mode.h (round_away): Likewise.
20268 * libio/wfileops.c (adjust_wide_data): Likewise.
20269 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20270 (__m128i_strloadu_tolower): Likewise.
20271 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20272 (__m128i_strloadu_tolower): Likewise.
20273 * time/mktime.c (ydhms_diff): Likewise.
20274 * locale/elem-hash.h (elem_hash): Likewise.
20275 * locale/setlocale.c (setdata): Likewise.
20276 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20277 (re_string_wchar_at): Likewise.
20278 (bitset_not, bitset_merge, bitset_mask): Likewise.
20279 [!(__GNUC__ > 3)] (inline): Remove macro.
20280 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20281 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20282 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20283 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20284 * string/memcmp.c (memcmp_bytes): Likewise.
20285 * locale/programs/locarchive.c (compute_hashval): Likewise.
20286 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20287 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20288 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20289 * nss/getent.c (print_rpc, print_protocols): Likewise.
20290 (print_passwd, print_group, print_aliases): Likewise.
20291 * nis/nss-nisplus.h (niserr2nss): Likewise.
20292 * nscd/connections.c (restart_p): Likewise.
20293 Change return type to bool.
20294
eab55bfb
RM
202952013-02-05 Roland McGrath <roland@hack.frob.com>
20296
7bd642f5
RM
20297 * Makeconfig (all-Depend-files): Add existing
20298 $(sorted-subdirs:=/Depend) files.
20299 (all-subdirs): Remove nss.
20300 * sysdeps/unix/inet/Subdirs: Add it here instead.
20301 * hesiod/Depend: New file.
20302
573c29b2
RM
20303 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20304 instead of calling alloca.
20305
b2e25af0
RM
20306 * io/lseek.c (__lseek): Rename to __libc_lseek.
20307 Define __lseek as an alias.
20308
eab55bfb
RM
20309 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20310
9a0d1941
CD
203112013-02-04 Carlos O'Donell <carlos@redhat.com>
20312
20313 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20314 else clause and remove check for non-standard endianness.
20315
b83bbec4
DM
203162013-02-04 David S. Miller <davem@davemloft.net>
20317
20318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20319
6277fdab
JM
203202013-02-04 Joseph Myers <joseph@codesourcery.com>
20321
20322 [BZ #13550]
20323 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20324 (__ubp_memchr): Remove prototype.
20325 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20326 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20327 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20328 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20329 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20330 Remove alias.
20331 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20332 (__ubp_memchr): Likewise.
20333 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20334 (__ubp_memchr): Likewise.
20335 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20336 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20337 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20338 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20339 CHECK_STRING.
20340 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20341 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20342 (__getcwd): Do not use CHECK_STRING.
20343 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20344 <bp-checks.h>.
20345 (__real_chown): Do not use CHECK_STRING.
20346 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20347 <bp-checks.h>.
20348 (fchownat): Do not use CHECK_STRING.
20349 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20350 CHECK_STRING.
20351 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20352 <bp-checks.h>.
20353 (__lchown): Do not use CHECK_STRING.
20354 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20355 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20356 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20357 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20359 include <bp-checks.h>.
20360 (truncate64): Do not use CHECK_STRING.
20361 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20362 <bp-checks.h>.
20363 (__real_chown): Do not use CHECK_STRING.
20364 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20365 <bp-checks.h>.
20366 (__lchown): Do not use CHECK_STRING.
20367 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20368 <bp-checks.h>.
20369 (__chown): Do not use CHECK_STRING.
20370 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20371 <bp-checks.h>.
20372 (truncate64): Do not use CHECK_STRING.
20373 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20374 Likewise.
20375 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20376 (__xmknod): Do not use CHECK_STRING.
20377 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20378 <bp-checks.h>.
20379 (__xmknodat): Do not use CHECK_STRING.
20380 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20381 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20382
903ae060
AS
203832013-02-04 Andreas Schwab <schwab@suse.de>
20384
20385 [BZ #14142]
20386 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20387 * include/netdb.h: Likewise for h_errno.
20388 * elf/tst-stackguard1.c: Include <tls.h>.
20389
542f9466
JK
203902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20391
20392 * elf/link.h (struct link_map): Extend the l_addr comment.
20393 * include/link.h (struct link_map): Likewise.
20394
e782a927
JM
203952013-02-01 Joseph Myers <joseph@codesourcery.com>
20396
20397 [BZ #13550]
20398 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20399 (BOUNDED_1): Remove macro.
20400 * debug/backtrace.c: Don't include <bp-checks.h>.
20401 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20402 (__backtrace): Likewise.
20403 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20404 <bp-checks.h>.
20405 (__backtrace): Don't use BOUNDED_1.
20406 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20407 <bp-checks.h>.
20408 (__backtrace): Don't use BOUNDED_1.
20409 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20410 (__backtrace): Don't use BOUNDED_1.
20411 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20412 (shmat): Don't use BOUNDED_N.
20413
8cf28c5e
JM
204142013-01-31 Joseph Myers <joseph@codesourcery.com>
20415
3a7ac8a0
JM
20416 [BZ #13550]
20417 * sysdeps/generic/bp-start.h: Remove file.
20418 * csu/libc-start.c: Don't include <bp-start.h>.
20419 (LIBC_START_MAIN): Set up __environ directly instead of using
20420 INIT_ARGV_and_ENVIRON.
20421 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20422 <bp-start.h>.
20423
f3499f95
JM
20424 [BZ #13550]
20425 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20426 definitions.
20427 (CHECK_FCNTL): Likewise.
20428 (CHECK_N_PAGES): Likewise.
20429
32a45bea
JM
20430 [BZ #13550]
20431 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20432 definitions.
20433 (CHECK_SIGSET_NULL_OK): Likewise.
20434 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20435 <bp-checks.h>.
20436 (sigpending): Don't use CHECK_SIGSET.
20437 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20438 <bp-checks.h>.
20439 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20440 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20441 <bp-checks.h>.
20442 (do_sigsuspend): Don't use CHECK_SIGSET.
20443 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20444 use CHECK_SIGSET.
20445 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20446 (do_sigwait): Don't use CHECK_SIGSET.
20447 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20448 use CHECK_SIGSET.
20449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20450 include <bp-checks.h>.
20451 (sigpending): Don't use CHECK_SIGSET.
20452 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20453 include <bp-checks.h>.
20454 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20455 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20456 <bp-checks.h>.
20457 (sigpending): Don't use CHECK_SIGSET.
20458 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20459 <bp-checks.h>.
20460 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20461
2e8a5c8c
JM
20462 [BZ #13550]
20463 * sysdeps/generic/bp-semctl.h: Remove file.
20464 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20465 <bp-checks.h> and <bp-semctl.h>.
20466 (__old_semctl): Don't use CHECK_SEMCTL.
20467 (__new_semctl): Likewise.
20468 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20469 and <bp-semctl.h>.
20470 (__old_semctl): Don't use CHECK_SEMCTL.
20471 (__new_semctl): Likewise.
20472 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20473 <bp-checks.h> and <bp-semctl.h>.
20474 (__old_semctl): Don't use CHECK_SEMCTL.
20475 (__new_semctl): Likewise.
20476 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20477 <bp-checks.h> and <bp-semctl.h>.
20478 (semctl): Don't use CHECK_SEMCTL.
20479
c2d54929
JM
20480 [BZ #13550]
20481 * Makerules (elide-bp-thunks): Remove variable.
20482 (elide-routines.oS): Don't use $(elide-bp-thunks).
20483 (elide-routines.os): Likewise.
20484 (elide-routines.o): Likewise.
20485 (elide-routines.op): Likewise.
20486 (elide-routines.og): Likewise.
20487 (objects): Don't use $(bp-thunks).
20488 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20489 include.
20490 (common-generated): Do not add s-proto-bp.d.
20491 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20492 (int): Likewise.
20493 (typ): Likewise.
20494 Do not generate makefile rules for bounded-pointer thunks.
20495 * sysdeps/generic/bp-thunks.h: Remove file.
20496 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20497 * sysdeps/unix/s-proto-bp.S: Likewise.
20498
8cf28c5e
JM
20499 [BZ #15062]
20500 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20501 parts of result separately when argument is not close to line from
20502 -i to i and one part of argument is small.
20503 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20504 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20505 * math/libm-test.inc (cacos_test): Add more tests.
20506 (casin_test): Likewise.
20507 (casinh_test): Likewise.
20508 * sysdeps/i386/fpu/libm-test-ulps: Update.
20509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20510
c4e33b8d
DM
205112013-01-31 David S. Miller <davem@davemloft.net>
20512
20513 * po/de.po: Update from translation team.
20514
3b60b421
MK
205152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20516
20517 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20518
bb931195
TS
205192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20520
b5a5da23
TS
20521 * configure.in (_AC_PROG_CC_C89): New definition.
20522 * configure: Regenerate.
20523
bb931195
TS
20524 * configure.in (AC_PROG_CPP): New definition.
20525 * configure: Regenerate.
20526
8c53a12c
JM
205272013-01-23 Joseph Myers <joseph@codesourcery.com>
20528
20529 * debug/tst-backtrace.h: New file.
20530 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20531 (ret): Remove variable.
20532 (x): Likewise.
20533 (FAIL): Remove macro.
20534 (NO_INLINE): Likewise.
20535 (fn1): Use match function instead of strstr.
20536 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20537 (ret): Remove variable.
20538 (x): Likewise.
20539 (FAIL): Remove macro.
20540 (NO_INLINE): Likewise.
20541 (fn): Use match function instead of strstr.
20542 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20543 (ret): Remove variable.
20544 (x): Likewise.
20545 (FAIL): Remove macro.
20546 (NO_INLINE): Likewise.
20547 (handle_signal): Use match function instead of strstr.
20548 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20549 (ret): Remove variable.
20550 (x): Likewise.
20551 (FAIL): Remove macro.
20552 (NO_INLINE): Likewise.
20553 (handle_signal): Use match function instead of strstr.
20554
4858fa2a
RM
205552013-01-23 Roland McGrath <roland@hack.frob.com>
20556
20557 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20558
bae8e7f5
DM
205592013-01-23 David S. Miller <davem@davemloft.net>
20560
20561 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20562 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20563 argument of CAS if possible.
20564 * sysdeps/sparc/sparc64/bits/atomic.h
20565 (__arch_compare_and_exchange_val_32_acq): Likewise.
20566 (__arch_compare_and_exchange_val_64_acq): Likewise.
20567
9cbbc4ae
PT
205682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20569
20570 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20571 * sysdeps/posix/ulimit.c: ... this.
92a601b8 20572 Include <limits.h>.
67b3f58c 20573 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20574
5655a0b5
AC
205752013-01-23 Adam Conrad <adconrad@0c3.net>
20576
20577 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20578 (LDFLAGS-tst-array5): Likewise.
20579
052aff95
JM
205802013-01-23 Joseph Myers <joseph@codesourcery.com>
20581
20582 [BZ #15036]
20583 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20584 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20585 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20586 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20587
7c1e01aa
DM
205882013-01-21 David S. Miller <davem@davemloft.net>
20589
20590 * sysdeps/sparc/backtrace.c: New file.
20591 * sysdeps/sparc/sparc32/backtrace.h: New file.
20592 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20593 * sysdeps/sparc/sparc64/backtrace.h: New file.
20594 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20595 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20596 -funwind-tables.
20597
ab087e0a
AS
205982013-01-21 Andreas Schwab <schwab@suse.de>
20599
20600 [BZ #15020]
20601 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20602 closed its stdout.
20603
ed689c2f
AS
206042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20605
20606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20607 "mpa2.h".
20608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20609
31d470ac
JM
206102013-01-18 Joseph Myers <joseph@codesourcery.com>
20611 Mark Mitchell <mark@codesourcery.com>
20612 Tom de Vries <tom@codesourcery.com>
20613 Paul Pluzhnikov <ppluzhnikov@google.com>
20614
20615 * debug/tst-backtrace2.c: New file.
20616 * debug/tst-backtrace3.c: Likewise.
20617 * debug/tst-backtrace4.c: Likewise.
20618 * debug/tst-backtrace5.c: Likewise.
20619 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20620 (CFLAGS-tst-backtrace3.c): Likewise.
20621 (CFLAGS-tst-backtrace4.c): Likewise.
20622 (CFLAGS-tst-backtrace5.c): Likewise.
20623 (LDFLAGS-tst-backtrace2): Likewise.
20624 (LDFLAGS-tst-backtrace3): Likewise.
20625 (LDFLAGS-tst-backtrace4): Likewise.
20626 (LDFLAGS-tst-backtrace5): Likewise.
20627 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20628 tst-backtrace4 and tst-backtrace5.
20629
90567f30 206302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20631 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20632
20633 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20634 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20635 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20636 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20638 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20639 "+r" and remove output regs list as redundant. Add explicit inline
20640 asm to specify register of return val to work around compiler codegen
20641 bug. Remove (int) cast on return value. Add return type parameter to
20642 use in macro so that this macro does not truncate return value for
20643 64-bit values.
20644 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20645 pass to INTERNAL_VSYSCALL_NCS.
20646 (INLINE_VSYSCALL): Add 'long int' as return type to
20647 INTERNAL_VSYSCALL_NCS macro invocation.
20648 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20649 INTERNAL_VSYSCALL_NCS macro invocation.
20650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20651
d3b9ea61
SP
206522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20653
0b57daeb
SP
20654 [BZ #14496]
20655 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20656 Fix application of SIMD FP exception mask.
20657
caa99d06
SP
20658 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20659 mp_no from a power of two.
20660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20661 __mpexp_twomm1. Use __pow_mp.
20662
d3b9ea61
SP
20663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20664 multiplication.
20665
1dbaee3c
DM
206662013-01-17 David S. Miller <davem@davemloft.net>
20667
20668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20669
728d7b43
JM
206702013-01-17 Joseph Myers <joseph@codesourcery.com>
20671
20672 [BZ #15023]
20673 * include/complex.h: Condition contents on [!_COMPLEX_H].
20674 (__kernel_casinhf): New prototype.
20675 (__kernel_casinh): Likewise.
20676 (__kernel_casinhl): Likewise.
20677 * math/Makefile (libm_calls): Add k_casinh.
20678 * math/k_casinh.c: New file.
20679 * math/k_casinhf.c: Likewise.
20680 * math/k_casinhl.c: Likewise.
20681 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20682 finite nonzero arguments.
20683 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20684 finite nonzero arguments.
20685 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20686 finite nonzero arguments.
20687 * math/s_casinh.c: Do not include <float.h>.
20688 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20689 * math/s_casinhf.c: Do not include <float.h>.
20690 (__casinhf): Move code for finite nonzero arguments to
20691 k_casinhf.c.
20692 * math/s_casinhl.c: Do not include <float.h>.
20693 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20694 redefine.
20695 (__casinhl): Move code for finite nonzero arguments to
20696 k_casinhl.c.
20697 * math/libm-test.inc (cacos_test): Add more tests.
20698 * sysdeps/i386/fpu/libm-test-ulps: Update.
20699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20700
2a26ef3a
PT
207012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20702
20703 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20704 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20705 [!HAVE_MREMAP]: Remove [defined linux] case.
20706 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20707
a897655d
SP
207082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20709
20710 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20711
881ebe89 207122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20713
20714 * elf/elf.h (R_386_SIZE32): New relocation.
20715 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20716 R_386_SIZE32.
20717 (elf_machine_rela): Likewise.
20718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20719 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20720
59981e9b
JM
207212013-01-17 Joseph Myers <joseph@codesourcery.com>
20722
20723 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20724 (FP_FAST_FMA): Do not define.
20725 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20726 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20727 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20728 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20729 !_SOFT_FLOAT]: Likewise.
20730 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20732 value.
20733 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20734 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20735 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20736 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20737 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20738 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20739 file.
20740
cfa8054f
AS
207412013-01-16 Andreas Schwab <schwab@suse.de>
20742
20743 [BZ #14327]
20744 * include/stdlib.h (__mktemp): Add declaration.
20745 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20746 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20747
dd930cc5
SP
207482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20749
881ebe89
SP
20750 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20751 definitions.
20752 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20753 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20754 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20755 definitions here.
20756 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20757 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20758 definitions.
20759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20760 and ONE.
20761 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20762 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20763 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20764 definitions.
20765 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20766 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20767 definitions.
20768 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20769
dd930cc5
SP
20770 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20771
c19a9f89
DM
207722013-01-15 David S. Miller <davem@davemloft.net>
20773
1aa61767
DM
20774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20775 trunc{,f} to libm-sysdep_routes.
20776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20778 file.
20779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20781 file.
20782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20783 file.
20784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20786 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20787 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20788 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20789 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20790 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20791 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20792
c42d5e98
DM
20793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20794 nearbyint{,f} to libm-sysdep_routes.
20795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20797 New file.
20798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20799 file.
20800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20801 New file.
20802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20803 file.
20804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20807 file.
20808 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20809 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20810 file.
20811 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20812 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20813 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20814
c19a9f89
DM
20815 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20816 libc_feholdexcept and libc_fesetenv.
20817
357679d2
MF
208182013-01-15 Mike Frysinger <vapier@gentoo.org>
20819
20820 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20821
65a82e3d
DM
208222013-01-14 David S. Miller <davem@davemloft.net>
20823
8b954ab9
DM
20824 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20825 (SPARC_ASM_VIS2_IFUNC): Likewise.
20826 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20828 use of 'siam' instruction.
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20830 Likewise.
20831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20832 Likewise.
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20834 Likewise.
20835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20838 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20840 file.
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20842 file.
20843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20844 file.
20845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20846 file.
20847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20852 new VIS2 routines.
20853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20856 Likewise.
20857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20862 routines to libm-sysdep_routines.
20863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20864
65a82e3d
DM
20865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20866 fdim/fdimf to libm-sysdep_routines.
20867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20868 file.
20869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20871 file.
20872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20875 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20876 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20877 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20878 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20879
e34ab705
SP
208802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20881
2a91b573
SP
20882 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20883 to optimize copies.
20884
1066a534
SP
20885 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20888
e34ab705
SP
20889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20890 local variable MPTWO.
20891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20892 Likewise.
20893
aba5e596
MF
208942013-01-13 Mike Frysinger <vapier@gentoo.org>
20895
20896 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20897 GLOB_NOESCAPE.
20898
e557e9e5
MF
208992013-01-13 Mike Frysinger <vapier@gentoo.org>
20900
20901 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20902
0428cec9
MF
209032013-01-13 Mike Frysinger <vapier@gentoo.org>
20904
20905 * manual/pattern.texi (glob_t): Document gl_flags.
20906 (glob64_t): Likewise.
20907
8794a964
DM
209082013-01-11 David S. Miller <davem@davemloft.net>
20909
66438c3f
RM
20910 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20911 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20912 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20913 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20914 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20915 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20916 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20917 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20918 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20919 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20920 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20921 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20922 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20923
4ae4244d
DM
20924 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20925 sparc V9 rather than using V8 code.
20926 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20927 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20928
8794a964
DM
20929 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20930 Move to...
20931 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20932 Here.
20933
6270516e
RM
209342013-01-11 Roland McGrath <roland@hack.frob.com>
20935
20936 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20937 not in the main loop.
20938 * configure: Regenerated.
20939
6a57d931
JM
209402013-01-11 Joseph Myers <joseph@codesourcery.com>
20941
20942 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20943 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20944 to just #else.
20945 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20946 [!__GLIBC_HAVE_LONG_LONG] case.
20947 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20948 condition to just #else.
20949 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20950 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20951 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20952 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20953 unconditional.
20954 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20955 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20956 #elif condition to just #else.
20957 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20958 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20959 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20960 #elif condition to just #else.
20961
0e8529e9
SE
209622013-01-11 Steve Ellcey <sellcey@mips.com>
20963
20964 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20965 (EF_MIPS_ARCH_64): Fix value.
20966 (EF_MIPS_ARCH_32R2): New.
20967 (EF_MIPS_ARCH_64R2): New.
20968
740b3dbe
L
209692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20970
20971 * Makeconfig (+link-pie-before-libc): New.
20972 (+link-pie-after-libc): Likewise.
20973 (+link-pie-tests): Likewise.
20974 (+link-pie): Rewritten.
20975 (link-before-libc): Remove $(config-LDFLAGS).
20976 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20977 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20978 (config-LDFLAGS): Renamed to ...
20979 (rtld-LDFLAGS): This.
20980 (rtld-tests-LDFLAGS): New macro.
20981 (link-libc-rpath-link): Likewise.
20982 (link-libc-tests-rpath-link): Likewise.
20983 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20984 (link-libc): Prepand $(link-libc-rpath-link).
20985 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20986 (test-program-prefix): New macro.
20987 (test-via-rtld-prefix): Likewise.
20988 (test-program-cmd): Likewise.
20989 (host-test-program-cmd): Likewise.
20990 * Makefile ($(common-objpfx)testrun.sh): Replace
20991 $(run-program-prefix) with $(test-program-prefix).
20992 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20993 $(rtld-LDFLAGS).
20994 ($(common-objpfx)shlib.lds): Likewise.
20995 (build-module-helper): Likewise.
20996 ($(common-objpfx)format.lds): Likewise.
20997 * Rules (binaries-pie-tests): New.
20998 (binaries-pie-notests): Likewise.
20999 (binaries-pie): Rewritten.
21000 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21001 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21002 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21003 (make-test-out): Replace $(host-built-program-cmd) with
21004 $(host-test-program-cmd).
21005 * config.make.in (build-hardcoded-path-in-tests): New variable.
21006 * configure.in (--enable-hardcoded-path-in-tests): New configure
21007 option.
21008 (hardcoded_path_in_tests): New AC_SUBST.
21009 * configure: Regenerated.
21010 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21011 $(built-program-cmd) with $(test-program-cmd).
21012 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21013 (test_program_cmd): This.
21014 * elf/Makefile ($(objpfx)order.out): Run test with
21015 $(test-program-prefix).
21016 ($(objpfx)order2.out): Likewise.
21017 ($(objpfx)tst-initorder.out): Likewise.
21018 ($(objpfx)tst-initorder2.out): Likewise.
21019 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21020 $(test-program-cmd).
21021 ($(objpfx)tst-array1-static.out): Likewise.
21022 ($(objpfx)tst-array2.out): Likewise.
21023 ($(objpfx)tst-array3.out): Likewise.
21024 ($(objpfx)tst-array4.out): Likewise.
21025 ($(objpfx)tst-array5.out): Likewise.
21026 ($(objpfx)tst-array5-static.out): Likewise.
21027 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21028 $(test-program-cmd).
21029 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21030 $(run-program-prefix) with $(test-program-prefix).
21031 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21032 (test_program_prefix): This.
21033 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21034 $(run-program-prefix) with $(test-program-prefix).
21035 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21036 (test_program_prefix): This.
21037 * iconvdata/tst-tables.sh: Likewise.
21038 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21039 $(run-program-prefix) with $(test-program-prefix).
21040 ($(objpfx)tst-translit.out): Likewise.
21041 ($(objpfx)tst-gettext2.out): Likewise.
21042 ($(objpfx)tst-gettext4.out): Likewise.
21043 ($(objpfx)tst-gettext6.out): Likewise.
21044 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21045 (test_program_prefix): This.
21046 * intl/tst-gettext2.sh: Likewise.
21047 * intl/tst-gettext4.sh Likewise.
21048 * intl/tst-gettext6.sh: Likewise.
21049 * intl/tst-translit.sh: Likewise.
21050 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21051 with $(test-program-cmd).
21052 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21053 $(run-program-prefix) with $(test-program-prefix).
21054 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21055 (test_program_prefix): This.
21056 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21057 $(run-program-prefix) with $(test-program-prefix).
21058 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21059 (test_program_prefix): This.
21060 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21061 * posix/Makefile ($(objpfx)globtest.out): Replace
21062 $(run-via-rtld-prefix) and $(test-wrapper) with
21063 $(test-program-prefix) and $(test-via-rtld-prefix).
21064 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21065 $(test-program-prefix).
21066 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21067 $(host-test-program-cmd).
21068 (tst-spawn-ARGS): Likewise.
21069 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21070 $(test-program-prefix).
21071 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21072 (test_via_rtld_prefix): This.
21073 (test_wrapper): Renamed to ...
21074 (test_program_prefix): This.
21075 (run_program_prefix): Replaced by test_program_prefix.
21076 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21077 (test_program_prefix): This.
21078 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21079 with $(host-test-program-cmd).
21080 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21081 $(run-program-prefix) with $(test-program-prefix).
21082 ($(objpfx)tst-printf.out): Likewise.
21083 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21084 $(test-program-cmd).
21085 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21086 (test_program_prefix): This.
21087 * stdio-common/tst-unbputc.sh: Likewise.
21088 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21089 $(run-program-prefix) with $(test-program-prefix).
21090 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21091 (test_program_prefix): This.
21092 * string/Makefile ($(objpfx)tst-svc.out): Replace
21093 $(built-program-cmd) with $(test-program-cmd).
21094
c6fe55cf
AJ
210952013-01-11 Andreas Jaeger <aj@suse.de>
21096
21097 [BZ #15003]
21098 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21099 value. Sync with Linux 3.7.
21100
9e6919c8
DM
211012013-01-10 David S. Miller <davem@davemloft.net>
21102
21103 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21104 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21105 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21106
1c9f1a02
RM
211072013-01-10 Roland McGrath <roland@hack.frob.com>
21108
21109 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21110 never set.
21111 * configure: Regenerated.
21112
b9de2dde
DM
211132013-01-10 David S. Miller <davem@davemloft.net>
21114
21115 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21116 sparc V9 rather than using V8 code.
21117 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21118 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21119
e7f68ef4
RM
211202013-01-10 Roland McGrath <roland@hack.frob.com>
21121
21122 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21123 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21124 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21125 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21126 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21127 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21128 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21129 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21130 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21131 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21132 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21133 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21134 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21135 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21136 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21137 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21138 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21139 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21140 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21141 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21142 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21143 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21144 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21145 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21146 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21147 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21148 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21149
5a47cc9c
DM
211502013-01-10 David S. Miller <davem@davemloft.net>
21151
21152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21153
4cf8f209
L
211542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21155
21156 * posix/Makefile (tests-static): New variable.
21157 (tests): Add $(tests-static).
21158 (tst-exec-static-ARGS): New variable.
21159 (tst-spawn-static-ARGS): Likewise.
21160 * posix/tst-exec-static.c: New file.
21161 * posix/tst-spawn-static.c: Likewise.
21162 * posix/tst-exec.c: Support run directly.
21163 * posix/tst-spawn.c: Likewise.
21164
fed0faa1
JM
211652013-01-10 Joseph Myers <joseph@codesourcery.com>
21166
828beb13
JM
21167 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21168 long.
21169 * math/bits/mathcalls.h (llrint): Likewise.
21170 (llround): Likewise.
21171 * stdlib/stdlib.h (struct drand48_data): Likewise.
21172 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21173 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21174 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21175 Likewise.
21176 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21177 Likewise.
21178 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21179 (elf_greg_t): Likewise.
21180 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21181 (__jmp_buf): Likewise.
21182 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21183 definitions.
21184 (llrint): Likewise, for all definitions.
21185 (llrintl): Likewise.
21186
fed0faa1
JM
21187 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21188 Remove [__GNUC__] condition.
21189 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21190 condition to just [__USE_ISOC99].
21191 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21192
1a20cb20
L
211932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21194
21195 [BZ #14200]
21196 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21197 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21198 defined.
21199 (_POSIX_V6_ILP32_OFF32): Likewise.
21200 (_XBS5_ILP32_OFF32): Likewise.
21201 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21202 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21203
751b85f7
SP
212042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21205
7490eb81
SP
21206 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21207
751b85f7
SP
21208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21209 doubles __mpexp_twomm1. Adjust usage.
21210 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21211 Remove.
21212
988197f0
AS
212132013-01-10 Andreas Schwab <schwab@suse.de>
21214
21215 [BZ #14964]
21216 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21217 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21218
e83d7298
DM
212192013-01-09 David S. Miller <davem@davemloft.net>
21220
034ed64b 21221 [BZ #15003]
57f41c40
AS
21222 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21223 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21224 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21225 (TCP_FASTOPEN): Define.
e83d7298
DM
21226 (tcp_repair_opt): New structure.
21227 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21228 enum values.
57f41c40
AS
21229 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21230 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21231 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21232 (tcp_cookie_transactions): New structure.
21233
d5e0b9bd
AB
212342013-01-09 Anton Blanchard <anton@samba.org>
21235
21236 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21237 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21239 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21240
0c07e3ea
JM
212412013-01-09 Joseph Myers <joseph@codesourcery.com>
21242
21243 * include/features.h (__USE_ANSI): Remove.
21244
232f7002
RM
212452013-01-09 Roland McGrath <roland@hack.frob.com>
21246
ad98e30c
RM
21247 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21248
232f7002
RM
21249 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21250
950c99ca
SP
212512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21252
b5792741
SP
21253 * sysdeps/s390/fpu/libm-test-ulps: Update.
21254
47cf2278
SP
21255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21256
950c99ca
SP
21257 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21258 (__acr): Likewise.
21259 (__cpy): Likewise.
21260 (norm): Likewise.
21261 (denorm): Likewise.
21262 (__mp_dbl): Likewise.
21263 (__dbl_mp): Likewise.
21264 (add_magnitudes): Likewise.
21265 (sub_magnitudes): Likewise.
21266 (__add): Likewise.
21267 (__sub): Likewise.
21268 (__mul): Likewise.
21269 (__inv): Likewise.
21270 (__dvd): Likewise.
21271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21272 (__acr): Likewise.
21273 (__cpy): Likewise.
21274 (norm): Likewise.
21275 (denorm): Likewise.
21276 (__mp_dbl): Likewise.
21277 (__dbl_mp): Likewise.
21278 (add_magnitudes): Likewise.
21279 (sub_magnitudes): Likewise.
21280 (__add): Likewise.
21281 (__sub): Likewise.
21282 (__mul): Likewise.
21283 (__inv): Likewise.
21284 (__dvd): Likewise.
21285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21286 (__acr): Likewise.
21287 (__cpy): Likewise.
21288 (norm): Likewise.
21289 (denorm): Likewise.
21290 (__mp_dbl): Likewise.
21291 (__dbl_mp): Likewise.
21292 (add_magnitudes): Likewise.
21293 (sub_magnitudes): Likewise.
21294 (__add): Likewise.
21295 (__sub): Likewise.
21296 (__mul): Likewise.
21297 (__inv): Likewise.
21298 (__dvd): Likewise.
21299
eede9df9
JM
213002013-01-08 Joseph Myers <joseph@codesourcery.com>
21301
21302 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21303 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21304 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21305 2 && __USE_EXTERN_INLINES]: Likewise.
21306
c40ea3d9
AJ
213072013-01-08 Andreas Jaeger <aj@suse.de>
21308
21309 [BZ# 14985]
21310 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21311 Remove.
21312 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21313 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21314
2ccdea26
AB
213152013-01-07 Anton Blanchard <anton@samba.org>
21316
21317 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21318 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21319 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21320 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21321 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21322 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21323 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21324 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21326 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21327 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21328 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21329 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21330 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21331 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21332 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21334 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21335 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21336 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21337 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21338 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21339 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21340 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21341 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21342 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21343 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21344 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21346 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21347 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21349 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21350 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21351 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21352 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21353 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21354 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21355 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21356 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21357 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21358 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21359 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21360
a9708fed
JM
213612013-01-07 Joseph Myers <joseph@codesourcery.com>
21362
375607b9
JM
21363 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21364 (__MALLOC_PMT): Likewise.
21365 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21366 [__GNUC__], only on [_LIBC].
21367 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21368 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21369 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21370 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21371 forward declaration.
21372 (realloc_hook_ini): Likewise.
21373 (memalign_hook_ini): Likewise.
21374 (__libc_memalign): Do not use __MALLOC_PMT in variable
21375 declaration.
21376 (__libc_valloc): Likewise.
21377 (__libc_pvalloc): Likewise.
21378 (__libc_calloc): Likewise.
21379 (__posix_memalign): Likewise.
21380
a9708fed
JM
21381 [BZ #14996]
21382 * math/s_casinh.c: Include <float.h>.
21383 (__casinh): Do not do computation with squaring and square root
21384 for large arguments.
21385 * math/s_casinhf.c: Include <float.h>.
21386 (__casinhf): Do not do computation with squaring and square root
21387 for large arguments.
21388 * math/s_casinhl.c: Include <float.h>.
21389 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21390 (__casinhl): Do not do computation with squaring and square root
21391 for large arguments.
21392 * math/libm-test.inc (casin_test): Add more tests.
21393 (casinh_test): Likewise.
21394 * sysdeps/i386/fpu/libm-test-ulps: Update.
21395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21396
afec409a
L
213972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21398
21399 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21400 (__x86_64_raw_data_cache_size): Likewise.
21401 (__x86_64_data_cache_size_half): Likewise.
21402 (__x86_64_raw_data_cache_size_half): Likewise.
21403 (__x86_64_shared_cache_size): Likewise.
21404 (__x86_64_raw_shared_cache_size): Likewise.
21405 (__x86_64_shared_cache_size_half): Likewise.
21406 (__x86_64_raw_shared_cache_size_half): Likewise.
21407 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21408 to ...
21409 (__x86_data_cache_size): This.
21410 (__x86_64_raw_data_cache_size): Renamed to ...
21411 (__x86_raw_data_cache_size): This.
21412 (__x86_64_data_cache_size_half): Renamed to ...
21413 (__x86_data_cache_size_half): This.
21414 (__x86_64_raw_data_cache_size_half): Renamed to ...
21415 (__x86_raw_data_cache_size_half): This.
21416 (__x86_64_shared_cache_size): Renamed to ...
21417 (__x86_shared_cache_size): This.
21418 (__x86_64_raw_shared_cache_size): Renamed to ...
21419 (__x86_raw_shared_cache_size): This.
21420 (__x86_64_shared_cache_size_half): Renamed to ...
21421 (__x86_shared_cache_size_half): This.
21422 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21423 (__x86_raw_shared_cache_size_half): This.
21424 * sysdeps/x86_64/memcpy.S: Updated.
21425 * sysdeps/x86_64/memset.S: Likewise.
21426 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21427 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21428 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21429
0b3986d0
DM
214302013-01-04 David S. Miller <davem@davemloft.net>
21431
21432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21433
e47686e9
AS
214342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21435
d643bac1
AS
21436 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21437 1 to avoid redefinition warning.
21438 (__USE_GNU): Don't define.
21439 (init_signaling_nan): Protoize.
21440
e47686e9
AS
21441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21442
b18decba
SP
214432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21444
fffb407f
SP
21445 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21447 (__cpymn): Likewise.
21448 (norm): Remove commented code.
21449 (denorm): Likewise.
21450 (__mp_dbl): Likewise.
21451 (__inv): Likewise.
21452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21453 (__cpymn): Likewise.
21454 (norm): Remove commented code.
21455 (denorm): Likewise.
21456 (__mp_dbl): Likewise.
21457 (__inv): Likewise.
21458
b18decba
SP
21459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21460 mp_no value for 1.0 and 2.0.
21461 (norm): Use RADIXI instead of radixi.d.
21462 (denorm): Likewise.
21463 (__mul): Use 0.0 instead of zero.d.
21464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21465 mp_no value for 1.0 and 2.0.
21466 (norm): Use RADIXI instead of radixi.d.
21467 (denorm): Likewise.
21468 (__mul): Use 0.0 instead of zero.d.
21469
cdc1c96f
JM
214702013-01-04 Joseph Myers <joseph@codesourcery.com>
21471
21472 [BZ #14994]
21473 * math/s_casinh.c (__casinh): Reduce finite argument to first
21474 quadrant then set signs of results at the end.
21475 * math/s_casinhf.c (__casinhf): Likewise.
21476 * math/s_casinhl.c (__casinhl): Likewise.
21477 * math/libm-test.inc (casin_test): Add more tests.
21478 (casinh_test): Likewise.
21479 * sysdeps/i386/fpu/libm-test-ulps: Update.
21480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21481
302913e1
SP
214822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21483
6420d207
SP
21484 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21485
a9e48ab4
SP
21486 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21487
b7837264
SP
21488 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21489 declarations.
21490 (denorm): Likewise.
21491 (__mp_dbl): Likewise.
21492 (__inv): Likewise.
21493
f8af25d2
SP
21494 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21495 and adjust the header comment.
21496
302913e1
SP
21497 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21498 variable name from declaration.
21499
5d7dd1ca
L
215002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21501
21502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21503 Initialize COMMON_CPUID_INDEX_7 element.
21504 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21505 (CPUID_RTM): Likewise.
21506 (HAS_RTM): Likewise.
21507 (COMMON_CPUID_INDEX_7): New enum.
21508
2f5f40f4
AS
215092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21510
21511 [BZ #14981]
21512 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21513 size is zero, record memory as freed.
21514
4056f4a0
AJ
215152013-01-03 Andreas Jaeger <aj@suse.de>
21516
21517 * po/ia.po: Add new Interlingua translation.
21518
ab15736f 215192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21520
21521 * locale/programs/localedef.c: Fix description of '--posix' flag.
21522
568035b7
JM
215232013-01-02 Joseph Myers <joseph@codesourcery.com>
21524
e6898b8d
JM
21525 * NEWS: Update dates in second copyright notice.
21526 * README: Update copyright dates in example.
21527 * manual/libc.texinfo: Update copyright dates.
21528 * scripts/test-installation.pl: Update copyright date in --version
21529 output.
21530
0e2f9562
JM
21531 * hurd/ctty-input.c: Fix copyright notice formatting.
21532 * hurd/ctty-output.c: Likewise.
21533 * hurd/dtable.c: Likewise.
21534 * hurd/hurd-raise.c: Likewise.
21535 * hurd/hurdprio.c: Likewise.
21536 * hurd/msgportdemux.c: Likewise.
21537 * misc/sys/file.h: Likewise.
21538 * misc/sys/ioctl.h: Likewise.
21539 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21540 * sysdeps/mach/hurd/chdir.c: Likewise.
21541 * sysdeps/mach/hurd/fchdir.c: Likewise.
21542 * sysdeps/mach/hurd/rename.c: Likewise.
21543 * sysdeps/mach/hurd/rmdir.c: Likewise.
21544 * sysdeps/mach/hurd/seekdir.c: Likewise.
21545 * sysdeps/mach/hurd/setsid.c: Likewise.
21546 * sysdeps/posix/wait3.c: Likewise.
21547
568035b7
JM
21548 * All files with FSF copyright notices: Update copyright dates
21549 using scripts/update-copyrights.
21550 * intl/plural.c: Regenerated.
21551 * locale/programs/charmap-kw.h: Likewise.
21552 * locale/programs/locfile-kw.h: Likewise.
21553
da08f647
SP
215542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21555
0f5477af
SP
21556 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21557 four values.
21558
44e0d4c2
SP
21559 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21560 calculation loop and add branch prediction.
21561
4d55b4e5
SP
21562 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21563 check access beyond bounds of m1np.
21564
da08f647
SP
21565 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21566 MPTWO.
21567 (__inv): Remove local variable MPTWO to use the global
21568 constant.
21569 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21570 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21571 variable MPTWO.
21572 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21573 MP3HALFS static const.
21574
8e051029
DM
215752013-01-01 David S. Miller <davem@davemloft.net>
21576
21577 * po/ca.po: Update from translation team.
21578
f4cf5f2d
JM
215792013-01-01 Joseph Myers <joseph@codesourcery.com>
21580
21581 * scripts/update-copyrights: New file.
21582 * Makeconfig: Reformat copyright notice.
21583 * ctype/ctype.h: Likewise.
21584 * debug/swprintf_chk.c: Likewise.
21585 * elf/dl-cache.c: Likewise.
21586 * elf/dl-debug.c: Likewise.
21587 * elf/dl-object.c: Likewise.
21588 * grp/initgroups.c: Likewise.
21589 * hurd/Makefile: Likewise.
21590 * hurd/hurd/signal.h: Likewise.
21591 * hurd/hurdfault.c: Likewise.
21592 * hurd/hurdioctl.c: Likewise.
21593 * hurd/hurdlookup.c: Likewise.
21594 * hurd/intr-msg.c: Likewise.
21595 * iconv/gconv_open.c: Likewise.
21596 * libio/swprintf.c: Likewise.
21597 * locale/lc-ctype.c: Likewise.
21598 * locale/nl_langinfo.c: Likewise.
21599 * mach/Machrules: Likewise.
21600 * mach/Makefile: Likewise.
21601 * malloc/obstack.h: Likewise.
21602 * manual/Makefile: Likewise.
21603 * manual/tsort.awk: Likewise.
21604 * misc/bits/stab.def: Likewise.
21605 * nis/nis_print_group_entry.c: Likewise.
21606 * nis/nis_table.c: Likewise.
21607 * nis/nss_compat/compat-pwd.c: Likewise.
21608 * nis/nss_compat/compat-spwd.c: Likewise.
21609 * po/Makefile: Likewise.
21610 * posix/fnmatch.c: Likewise.
21611 * posix/regex.h: Likewise.
21612 * resolv/Makefile: Likewise.
21613 * resolv/nss_dns/dns-network.c: Likewise.
21614 * resolv/res_hconf.c: Likewise.
21615 * scripts/gen-sorted.awk: Likewise.
21616 * soft-fp/soft-fp.h: Likewise.
21617 * stdio-common/printf.h: Likewise.
21618 * stdlib/monetary.h: Likewise.
21619 * stdlib/random.c: Likewise.
21620 * stdlib/random_r.c: Likewise.
21621 * sysdeps/generic/Makefile: Likewise.
21622 * sysdeps/gnu/Makefile: Likewise.
21623 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21625 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21627 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21630 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21633 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21634 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21635 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21636 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21637 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21638 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21639 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21641 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21643 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21646 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21647 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21649 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21650 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21651 * sysdeps/mach/hurd/errnos.awk: Likewise.
21652 * sysdeps/mach/hurd/fork.c: Likewise.
21653 * sysdeps/mach/hurd/getcwd.c: Likewise.
21654 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21655 * sysdeps/mach/hurd/mmap.c: Likewise.
21656 * sysdeps/mach/hurd/utimes.c: Likewise.
21657 * sysdeps/mach/hurd/xmknod.c: Likewise.
21658 * sysdeps/posix/profil.c: Likewise.
21659 * sysdeps/posix/readdir_r.c: Likewise.
21660 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21661 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21662 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21663 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21665 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21667 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21669 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21670 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21671 * sysdeps/pthread/lio_listio.c: Likewise.
21672 * sysdeps/sparc/dl-procinfo.h: Likewise.
21673 * sysdeps/unix/i386/sysdep.S: Likewise.
21674 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21675 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21676 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21677 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21679 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21680 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21681 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21682 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21683 * sysdeps/wordsize-32/divdi3.c: Likewise.
21684 * time/sys/time.h: Likewise.
21685 * wcsmbs/Makefile: Likewise.
21686
0549fbba
DM
216872013-01-01 David S. Miller <davem@davemloft.net>
21688
a141f1a7
DM
21689 * po/fr.po: Update from translation team.
21690
0549fbba
DM
21691 * catgets/gencat.c: Update copyright year.
21692 * csu/version.c: Likewise.
21693 * debug/catchsegv.sh: Likewise.
21694 * debug/pcprofiledump.c: Likewise.
21695 * debug/xtrace.sh: Likewise.
21696 * elf/ldconfig.c: Likewise.
21697 * elf/ldd.bash.in: Likewise.
21698 * elf/pldd.c: Likewise.
21699 * elf/sotruss.ksh: Likewise.
21700 * elf/sprof.c: Likewise.
21701 * iconv/iconv_prog.c: Likewise.
21702 * iconv/iconvconfig.c: Likewise.
21703 * locale/programs/locale.c: Likewise.
21704 * locale/programs/localedef.c: Likewise.
21705 * login/programs/pt_chown.c: Likewise.
21706 * malloc/memusage.sh: Likewise.
21707 * malloc/memusagestat.c: Likewise.
21708 * malloc/mtrace.pl: Likewise.
21709 * nscd/nscd.c: Likewise.
21710 * nss/getent.c: Likewise.
21711 * nss/makedb.c: Likewise.
21712 * posix/getconf.c: Likewise.
21713
18ea052c
SP
217142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21715
21716 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21717 numbers.
21718
9c89fca6
MF
217192012-12-30 Mike Frysinger <vapier@gentoo.org>
21720
21721 * math/bits/mathcalls.h (modf): Use __nonnull.
21722
085ec079
SP
217232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21724
21725 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21726 (split): Use macro CN instead of the bare value.
21727 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21728 could be used.
21729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21730 instead of the bare value.
21731 (power1): Likewise.
21732
6d9f97e1
SP
217332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21734
d63f73be
SP
21735 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21736 __ATAN_TWOM.
21737 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21738
6d9f97e1
SP
21739 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21740 their values.
21741 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21742 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21743 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21744 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21745
4c4febf5
AJ
217462012-12-28 Andreas Jaeger <aj@suse.de>
21747
af5843ef
AJ
21748 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21749 values are from Linux 3.7.
21750
4c4febf5
AJ
21751 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21752 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21753
99136f82
SP
217542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21755
2f216c3c 21756 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21757 TRUE case.
21758
99136f82
SP
21759 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21760 (norm): Likewise.
21761 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21762 variables with preprocessor constants.
21763 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21764 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21765 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21766
7fffbdff
BH
217672012-12-27 Bruno Haible <bruno@clisp.org>
21768
21769 [BZ #14317]
21770 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21771 only if needed.
21772
b76eb5f0
SP
217732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21774
31a7fe5c
SP
21775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21776 and use variable directly.
21777 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21778
b76eb5f0
SP
21779 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21780 MPONE.
21781 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21782 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21783 variable MPONE.
21784 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21786 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21787 include directive. Remove local variable MPONE.
21788 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21789 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21790 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21791
2c8bfe7d
DM
217922012-12-25 David S. Miller <davem@davemloft.net>
21793
21794 * version.h (RELEASE): Set to "development".
21795 (VERSION): Set to "2.17.90".
21796 * NEWS: Add 2.18 section.
21797
147d03b0
DM
217982012-12-21 David S. Miller <davem@davemloft.net>
21799
21800 * po/hr.po: Update from translation team.
21801
a8ebb2b9
AK
218022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21803
21804 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21805
95b4f1b6
SE
218062012-12-19 Steve Ellcey <sellcey@mips.com>
21807
b2d94007 21808 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21809
cedb2a90
MS
218102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21811
21812 * manual/contrib.texi (Contributors): Spelling correction.
21813
bbf527d6
DM
218142012-12-15 David S. Miller <davem@davemloft.net>
21815
21816 * po/ru.po: Update from translation team.
21817
bc38c906
DM
218182012-12-13 David S. Miller <davem@davemloft.net>
21819
85429b1a
DM
21820 * NEWS: Mention IFUNC testsuite enhancements.
21821
d283e353
DM
21822 * po/pl.po: Update from translation team.
21823 * po/bg.po: Likewise.
21824
bc38c906
DM
21825 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21826 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21827
a181b0d7
DM
218282012-12-11 David S. Miller <davem@davemloft.net>
21829
4641d57e
DM
21830 * po/sv.po: Update from translation team.
21831
f7bc6495
DM
21832 * po/vi.po: Update from translation team.
21833
6fc9048f
DM
21834 * po/cs.po: Update from translation team.
21835
a181b0d7
DM
21836 * po/de.po: Update from translation team.
21837 * po/eo.po: Likewise.
21838 * po/nl.po: Likewise.
21839
f70bfe80
SP
218402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21841
3c8b4190
SP
21842 [BZ #14246]
21843 * manual/argp.texi (Argp Helper Functions): Move node to follow
21844 Argp Parsing State.
21845
f70bfe80
SP
21846 [BZ #14872]
21847 * manual/conf.texi (Limits on File System Capacity): Mention if
21848 terminating null is included in the max size.
21849
188f0adf
AJ
218502012-12-10 Andreas Jaeger <aj@suse.de>
21851
21852 * po/cs.po: Update from translation team.
21853
56e7d3ad
SP
218542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21855
21856 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21857 void pointer and cast to uintptr_t.
21858 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21859 path.
21860 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21861 * sysdeps/s390/s390-64/memset.S: Likewise.
21862
76f2d2ea 218632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21864
21865 [BZ #14833]
21866 * menual/message.texi (Message Translation): Fix typos.
21867 (Helper programs for gettext): Likewise.
21868
67cbf9a2
AS
218692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21870
21871 [BZ #14898]
21872 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21873 Change to -1.
21874
682d0e9a
DM
218752012-12-07 David S. Miller <davem@davemloft.net>
21876
21877 * po/libc.pot: Update.
21878
573cd484
RH
218792012-12-07 Richard Henderson <rth@redhat.com>
21880
7e9da188 21881 [BZ #10114]
573cd484
RH
21882 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21883 normal/normal case to before the switch.
21884 (_FP_DIV): Likewise.
21885
e933a943
MF
218862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21887 Mike Frysinger <vapier@gentoo.org>
21888
21889 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21890 check for __NR_fadvise64_64.
21891
82123268
CM
218922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21893
21894 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21895 0, not just to plain "0" as a statement.
21896 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21897 with cw.
21898
d9814526
JM
218992012-12-06 Joseph Myers <joseph@codesourcery.com>
21900
21901 * NEWS: Use sourceware.org in Bugzilla URL.
21902
7728c574
SP
219032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21904
f16946dd
SP
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21906 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21907
5704bbcb
SP
21908 * stdio-common/tst-put-error.c (do_test): Add newline to the
21909 padded test to ensure flush.
21910
17aa0516
JL
219112012-12-05 Jeff Law <law@redhat.com>
21912
21913 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21914
363313b5
JM
219152012-12-05 Joseph Myers <joseph@codesourcery.com>
21916
effbd42a
JM
21917 * README: Don't refer to ports add-on as distributed separately.
21918 Mention AArch64 in list of systems supported in the ports add-on.
21919
87600365
JM
21920 * LICENSES: Add more non-FSF copyright and license notices.
21921
a0d7066a
JM
21922 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21923 ((unused)).
21924
66ca5a5b
JM
21925 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21926
363313b5
JM
21927 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21928 10000 as width of padded output.
21929
b37984ad
JM
219302012-12-04 Joseph Myers <joseph@codesourcery.com>
21931
9003570a
JM
21932 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21933
b37984ad
JM
21934 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21935 variable LX with __attribute__ ((unused)).
21936 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21937 Likewise.
21938 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21940 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21941 with __attribute__ ((unused)).
21942
c8df52ec
DM
219432012-12-04 David S. Miller <davem@abraco.davemloft.net>
21944
21945 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21946
b3b099af
JM
219472012-12-04 Joseph Myers <joseph@codesourcery.com>
21948
c33aa6e3
JM
21949 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21950 (CFLAGS-nldbl-acos.c): New variable.
21951 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21952 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21953 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21954 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21955 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21956 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21957 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21958 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21959 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21960 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21961 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21962 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21963 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21964 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21965 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21966 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21967 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21968 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21969 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21970 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21971 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21972 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21973 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21974 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21975 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21976 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21977 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21978 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21979 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21980 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21981 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21982 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21983 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21984 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21985 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21986 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21987 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21988 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21989 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21990 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21991 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21992 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21993 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21994 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21995 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21996 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21997 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21998 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21999 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22000 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22001 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22002 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22003 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22004 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22005 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22006 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22007 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22008 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22009 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22010 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22011 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22012 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22013 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22014 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22015 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22016 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22017 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22018 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22019 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22020 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22021 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22022 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22023 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22024 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22025 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22026 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22027 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22028 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22029 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22030 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22031 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22032 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22033 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22034 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22035 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22036 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22037 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22038 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22039 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22040 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22041 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22042 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22043 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22044 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22045 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22046 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22047 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22048
20f0018d
JM
22049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22050 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22051
b3b099af
JM
22052 [BZ #14914]
22053 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22054 whole low double instead of just low 47 bits when splitting values
22055 into two parts.
22056
029264d1
AM
220572012-12-03 Allan McRae <allan@archlinux.org>
22058
22059 * manual/stdio.texi (Predefined Printf Handlers): Remove
22060 @hsep and @vsep usage.
22061
c9d6789e
MF
220622012-12-03 Mike Frysinger <vapier@gentoo.org>
22063
22064 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22065 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22066
4b7634a5
JL
220672012-12-03 Jeff Law <law@redhat.com>
22068
22069 * time/sys/time.h (settimeofday): Do not mark TV argument
22070 as __nonnull.
22071
eb6cbd24
MF
220722012-12-01 Mike Frysinger <vapier@gentoo.org>
22073
22074 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22075 when currently writing and seek to current position when not.
22076 * libio/Makefile (tests): Remove bug-fclose1.
22077 * libio/bug-fclose1.c: Delete.
22078
f638872a
JM
220792012-12-01 Joseph Myers <joseph@codesourcery.com>
22080
22081 * manual/arith.texi (feenableexcept): Fix typo.
22082 (fedisableexcept): Likewise.
22083
48085d14
RM
220842012-11-30 Roland McGrath <roland@hack.frob.com>
22085
22086 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22087 second, differently-typed declaration, rather than a cast.
22088
1a538b9f
SP
220892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22090
22091 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22092 * include/rpc/svc.h: ... here.
22093
d07f2ff1 220942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22095
22096 [BZ #13013]
22097 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22098 depending n and resplen2 to catch cases where answer
22099 equals answerp2.
22100
c93ec1f0
CD
221012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22102
22103 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22104 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22105
37db69de
MF
221062012-11-29 Mike Frysinger <vapier@gentoo.org>
22107
22108 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22109
e10c4e4f
RM
221102012-11-29 Roland McGrath <roland@hack.frob.com>
22111
22112 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22113
2af1b328
JL
221142012-11-28 Jeff Law <law@redhat.com>
22115
22116 [BZ #13761]
22117 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22118 dataset_temporary. Track alloca usage into alloca_used.
22119 If dataset is large allocate and release it via malloc/free.
22120
111db5b1
FW
221212012-06-04 Florian Weimer <fweimer@redhat.com>
22122
f06cc227 22123 [BZ #14197]
111db5b1
FW
22124 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22125
dd694abd
DM
221262012-11-28 David S. Miller <davem@davemloft.net>
22127
22128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22129
9984dd01
JM
221302012-11-28 Joseph Myers <joseph@codesourcery.com>
22131
22132 [BZ #14803]
22133 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22134 of pi/2 rounded to nearest to 64 bits.
22135 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22136 nearest to 64 bits.
22137 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22138 bits.
22139
14bc93a9
JL
221402012-11-28 Jeff Law <law@redhat.com>
22141 Martin Osvald <mosvald@redhat.com>
22142
22143 [BZ #14889]
22144 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22145 * sunrpc/svc.c: Include time.h.
22146 (__svc_accept_failed): New function.
22147 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22148 any reason other than EINTR, call __svc_accept_failed.
22149 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22150 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22151
e3c6aa3a
AS
221522012-11-28 Andreas Schwab <schwab@suse.de>
22153
22154 * scripts/abilist.awk: Also handle indirect functions in .opd
22155 section.
22156
1bead169
JM
221572012-11-28 Joseph Myers <joseph@codesourcery.com>
22158
22159 [BZ #13881]
22160 * sysdeps/x86/fpu/powl_helper.c: New file.
22161 * sysdeps/x86/fpu/Makefile: Likewise.
22162 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22163 (p3): New object.
22164 (__ieee754_powl): Use __powl_helper for finite arguments except
22165 integer exponents below 8.
22166 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22167 (p3): New object.
22168 (__ieee754_powl): Use __powl_helper for finite arguments except
22169 integer exponents below 8.
22170 * math/libm-test.inc (pow_test): Add more tests and enable some
22171 previously disabled tests.
22172 * sysdeps/i386/fpu/libm-test-ulps: Update.
22173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22174
0817d63d
SP
221752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22176 Carlos O'Donell <carlos_odonell@mentor.com>
22177
22178 * nss/makedb.c (is_prime): Assert that input is odd and greater
22179 than 4. Note that fact in a comment too.
22180 (next_prime): Add 4 to input.
22181
de2fd463
SP
221822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22183
22184 [BZ #11741]
22185 * libio/Makefile (tests): Add test case tst-fwrite-error.
22186 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22187 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22188 * libio/tst-fwrite-error.c: New test case.
22189
c515fb51
L
221902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22191
22192 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22193 before casting to void *.
22194 * include/libc-internal.h (__pointer_type): New macro.
22195 (__integer_if_pointer_type_sub): Likewise.
22196 (__integer_if_pointer_type): Likewise.
22197 (cast_to_integer): Likewise.
22198 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22199 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22200 before casting to atomic64_t.
22201 (atomic_exchange_acq): Likewise.
22202 (__arch_exchange_and_add_body): Likewise.
22203 (__arch_add_body): Likewise.
22204 (atomic_add_negative): Likewise.
22205 (atomic_add_zero): Likewise.
22206
4cf77aa9
JM
222072012-11-26 Joseph Myers <joseph@codesourcery.com>
22208
22209 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22210 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22211 (add_fdes): Likewise.
22212 (linear_search_fdes): Likewise.
22213 (binary_search_unencoded_fdes): Likewise.
22214
d260b3b4
AS
222152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22216
22217 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22218
67060746
AC
222192012-11-24 Adam Conrad <adconrad@0c3.net>
22220
22221 * configure.in: Autodetect C++ header directories.
22222 * configure: Regenerated.
22223
800938a1
MF
222242012-11-23 Mike Frysinger <vapier@gentoo.org>
22225
22226 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22227
4e6e34e6
AS
222282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22229
22230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22231
7c7feb47
JM
222322012-11-22 Joseph Myers <joseph@codesourcery.com>
22233
7184dcdf
JM
22234 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22235 LDBL_MANT_DIG == 106]: Disable some tests.
22236 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22237 Likewise.
22238 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22239 Likewise.
22240
0a42601f
JM
22241 [BZ #14871]
22242 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22243 input for small inputs. Return +/- pi/2 for large inputs.
22244 * math/libm-test.inc (atan_test): Add more tests.
22245
79c9b9fe
JM
22246 * sysdeps/generic/unwind-dw2-fde-glibc.c
22247 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22248 __attribute__ ((unused)).
22249
c60d3bf2
JM
22250 [BZ #14645]
22251 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22252 x * y if x and y are nonzero and z is zero.
22253
ef1e0867
JM
22254 [BZ #14811]
22255 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22256 nonzero exponents with absolute value below 0x1p-117 to +/-
22257 0x1p-117.
22258
1468ded3
JM
22259 [BZ #14869]
22260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22261 up arguments below 2**-450, not just those below 2**-500.
22262 * math/libm-test.inc (hypot_test): Add another test.
22263
8e27e3cc
JM
22264 [BZ #14868]
22265 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22266 Return a+b for ratio over 2**120, not 2**60.
22267 * math/libm-test.inc (hypot_test): Add another test.
22268
c9c0279b
JM
22269 * math/libm-test.inc (clog_test): Use
22270 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22271 (clog10_test): Likewise.
22272
7c7feb47
JM
22273 [BZ #6778]
22274 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22275
fff1530e
AS
222762012-11-22 Andreas Schwab <schwab@suse.de>
22277
22278 * sysdeps/i386/fpu/libm-test-ulps: Update.
22279
94558d30
PT
222802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22281
22282 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22283 printf output with newline.
22284
7e1be741
L
222852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22286
6bfea974
L
22287 [BZ #14865]
22288 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22289 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22290 -z nodlopen, -z initfirst and -z execstack support.
22291 * configure: Regenerated.
22292
7e1be741
L
22293 * elf/elf.h (DF_1_NODIRECT): New macro.
22294 (DF_1_IGNMULDEF): Likewise.
22295 (DF_1_NOKSYMS): Likewise.
22296 (DF_1_NOHDR): Likewise.
22297 (DF_1_EDITED): Likewise.
22298 (DF_1_NORELOC): Likewise.
22299 (DF_1_SYMINTPOSE): Likewise.
22300 (DF_1_GLOBAUDIT): Likewise.
22301 (DF_1_SINGLETON): Likewise.
22302 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22303 DT_1_SUPPORTED_MASK bits.
22304 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22305
105ce2ce
CD
223062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22307
22308 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22309
123be9de
TS
223102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22311
d072f3f7
TS
22312 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22313 macro.
22314
123be9de
TS
22315 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22316 (sendmmsg): Move declarations...
22317 * socket/sys/socket.h: ... here.
22318 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22319 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22320 include it from...
22321 * socket/recvmmsg.c: ... this new file.
22322 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22323 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22324 definition of __sendmmsg hidden.
22325 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22326 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22327 Move ENOSYS stub into and include it from...
22328 * socket/sendmmsg.c: ... this new file.
22329 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22330 (sysdep_routines): Move recvmmsg and sendmmsg...
22331 * socket/Makefile (routines): ... here.
22332 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22333 (GLIBC_PRIVATE): Add __sendmmsg.
22334 * include/sys/socket.h (__sendmmsg): Add declarations.
22335 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22336 sendmmsg.
22337
cf9a5d18
JM
223382012-11-20 Joseph Myers <joseph@codesourcery.com>
22339
22340 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22341 variable I1 with __attribute__ ((unused)).
22342 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22343
ecd4caf9
JM
223442012-11-19 Joseph Myers <joseph@codesourcery.com>
22345
be14d48f
JM
22346 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22347 DUMMY variables with __attribute__ ((unused)).
22348
ecd4caf9
JM
22349 * bits/byteswap.h: Include <bits/types.h>.
22350 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22351
986cab95
PT
223522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22353
22354 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22355 string_t. Do not manually set errno.
22356 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22357 length with __strnlen. Make sure to both set errno and return it on
22358 failure.
22359
6d33cc9d
DM
223602012-11-19 David S. Miller <davem@davemloft.net>
22361
22362 With help from Joseph Myers.
22363 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22364 very large arguments properly.
22365 * math/libm-test.inc (atan_test): New tests.
22366 (atan2_test): New tests.
22367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22369
ee663277
JM
223702012-11-19 Joseph Myers <joseph@codesourcery.com>
22371
877f2d8e
JM
22372 [BZ #14856]
22373 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22374 Define to 3.
22375
116fc08a
JM
22376 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22377 [POSIX] (EADDRNOTAVAIL): Likewise.
22378 [POSIX] (EAFNOSUPPORT): Likewise.
22379 [POSIX] (EALREADY): Likewise.
22380 [POSIX] (ECONNABORTED): Likewise.
22381 [POSIX] (ECONNREFUSED): Likewise.
22382 [POSIX] (ECONNRESET): Likewise.
22383 [POSIX] (EDESTADDRREQ): Likewise.
22384 [POSIX] (EDQUOT): Likewise.
22385 [POSIX] (EHOSTUNREACH): Likewise.
22386 [POSIX] (EIDRM): Likewise.
22387 [POSIX] (EISCONN): Likewise.
22388 [POSIX] (ELOOP): Likewise.
22389 [POSIX] (EMULTIHOP): Likewise.
22390 [POSIX] (ENETDOWN): Likewise.
22391 [POSIX] (ENETUNREACH): Likewise.
22392 [POSIX] (ENOBUFS): Likewise.
22393 [POSIX] (ENODATA): Likewise.
22394 [POSIX] (ENOLINK): Likewise.
22395 [POSIX] (ENOMSG): Likewise.
22396 [POSIX] (ENOPROTOOPT): Likewise.
22397 [POSIX] (ENOSR): Likewise.
22398 [POSIX] (ENOSTR): Likewise.
22399 [POSIX] (ENOTCONN): Likewise.
22400 [POSIX] (ENOTSOCK): Likewise.
22401 [POSIX] (EOPNOTSUPP): Likewise.
22402 [POSIX] (EOVERFLOW): Likewise.
22403 [POSIX] (EPROTO): Likewise.
22404 [POSIX] (EPROTONOSUPPORT): Likewise.
22405 [POSIX] (EPROTOTYPE): Likewise.
22406 [POSIX] (ESTALE): Likewise.
22407 [POSIX] (ETIME): Likewise.
22408 [POSIX] (ETXTBSY): Likewise.
22409 [POSIX] (EWOULDBLOCK): Likewise.
22410 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22411 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22412 [POSIX] (SEEK_CUR): Likewise.
22413 [POSIX] (SEEK_END): Likewise.
22414 [POSIX || UNIX98] (mode_t): Do not require.
22415 [POSIX] (off_t): Likewise.
22416 [POSIX] (pid_t): Likewise.
22417 [POSIX] (sys/stat.h): Do not allow header.
22418 [POSIX] (unistd.h): Likewise.
22419 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22420 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22421 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22422 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22423 require.
22424 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22425 sigevent): Specify elements.
22426 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22427 entry.
22428 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22429 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22430
a483863f
JM
22431 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22432 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22433 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22434 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22435 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22436 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22437 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22438 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22439 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22440 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22441 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22442 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22443 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22444 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22445 Likewise.
22446 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22447 Likewise.
22448 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22449 Likewise.
22450 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22451 Likewise.
22452 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22453 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22454 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22455 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22456 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22457 Specify lower bound on value.
22458 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22459 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22460 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22461 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22462 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22463 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22464 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22465 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22466 value.
22467 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22468 as optional.
22469 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22470 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22471 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22472 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22473 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22474 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22475 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22476 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22477 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22478 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22479 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22480 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22481 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22482 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22483 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22484 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22485 entry.
22486 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22487 optional.
22488 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22489 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22490 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22491 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22493 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22494 Likewise.
22495 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22496 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22497 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22498 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22500 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22501 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22502 as optional.
22503 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22504 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22505 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22506 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22507 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22508 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22509 specify as optional.
22510 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22511 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22512 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22513 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22514 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22515 [XPG3] (NL_LANGMAX): Likewise.
22516 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22517 [POSIX || XPG3] (NL_NMAX): Likewise.
22518 [POSIX || XPG3] (NL_SETMAX): Likewise.
22519 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22520 [XPG3] (NZERO): Likewise.
22521 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22522 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22523 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22524 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22525 (REG_ERANGE): Expect.
22526 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22527 optional-constant.
22528 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22529 Use (void) in prototype.
22530 [POSIX] (*_t): Allow.
22531 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22532 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22533 (WRDE_BADVAL): Expect.
22534
5ba924e3
JM
22535 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22536 expect.
22537 [XPG3 || XPG4] (O_RSYNC): Likewise.
22538 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22539 Likewise.
22540 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22541 [XPG3 || XPG4] (sigqueue): Likewise.
22542 [XPG3 || XPG4] (sigtimedwait): Likewise.
22543 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22544 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22545 [XPG3 || XPG4] (vsnprintf): Likewise.
22546 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22547 Likewise.
22548 [XPG3 || XPG4] (blksize_t): Likewise.
22549 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22550 Likewise.
22551 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22552 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22553 [XPG3 || XPG4] (struct itimerspec): Likewise.
22554 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22555 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22556 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22557 [XPG3 || XPG4] (clockid_t): Likewise.
22558 [XPG3 || XPG4] (timer_t): Likewise.
22559 [XPG3 || XPG4] (clock_getres): Likewise.
22560 [XPG3 || XPG4] (clock_gettime): Likewise.
22561 [XPG3 || XPG4] (clock_settime): Likewise.
22562 [XPG3 || XPG4] (nanosleep): Likewise.
22563 [XPG3 || XPG4] (timer_create): Likewise.
22564 [XPG3 || XPG4] (timer_delete): Likewise.
22565 [XPG3 || XPG4] (timer_gettime): Likewise.
22566 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22567 [XPG3 || XPG4] (timer_settime): Likewise.
22568 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22569 [XPG3 || XPG4] (getlogin_r): Likewise.
22570 [XPG3 || XPG4] (pread): Likewise.
22571 [XPG3 || XPG4] (pthread_atfork): Likewise.
22572 [XPG3 || XPG4] (pwrite): Likewise.
22573
ee663277
JM
22574 [BZ #14835]
22575 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22576 <bits/siginfo.h>.
22577
942caa16
PT
225782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22579
e19af380
PT
22580 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22581 finalizing MALLSTREAM.
22582
942caa16
PT
22583 * sysdeps/mach/hurd/syncfs.c: New file.
22584
cfde9b46
SP
225852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22586
22587 [BZ #14719]
22588 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22589 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22591 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22592 (_nss_dns_gethostbyname4_r): Likewise.
22593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22594 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22595
f6da27e5
PH
225962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22597
22598 [BZ #13763]
22599 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22600
6665d4a2
SM
226012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22602
1f51ee92
SM
22603 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22604 * elf/cache.c (print_entry): Print ",AArch64" for
22605 FLAG_AARCH64_LIB64
22606
6665d4a2
SM
22607 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22608 * elf/cache.c (print_entry): Print ",hard-float" for
22609 FLAG_ARM_LIBHF.
22610
05b227bd
DM
226112012-11-18 David S. Miller <davem@davemloft.net>
22612
22613 With help from Joseph Myers.
22614 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22615 cutoff to 2**-13.
22616 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22617 cutoff to 2**-25.
22618 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22619 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22620 small.
22621 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22622 * math/libm-test.inc (y0_test): New tests.
22623 (y1_test): New tests.
22624 * sysdeps/i386/fpu/libm-test-ulps: Update.
22625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22627
786b0b67
AS
226282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22629
22630 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22631 64-bit targets.
22632 * configure: Regenerated.
22633
8e18b86d
DM
226342012-11-17 David S. Miller <davem@davemloft.net>
22635
22636 [BZ #14811]
22637 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22638 nonzero exponents with absolute value below 0x1p-128 to +/-
22639 0x1p-128.
22640
531f1ae0
JM
226412012-11-17 Joseph Myers <joseph@codesourcery.com>
22642
12df29e2
JM
22643 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22644
150dc1a0
JM
22645 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22646
531f1ae0
JM
22647 * posix/getconf-speclist.c: New file.
22648 * posix/posix-envs.def: Likewise.
22649 * posix/confstr.c (START_ENV_GROUP): New macro.
22650 (END_ENV_GROUP): Likewise.
22651 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22652 (KNOWN_PRESENT_ENV_STRING): Likewise.
22653 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22654 (UNKNOWN_ENVIRONMENT): Likewise.
22655 (confstr): Include posix-envs.def instead of handling
22656 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22657 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22658 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22659 (END_ENV_GROUP): Likewise.
22660 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22661 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22662 (UNKNOWN_ENVIRONMENT): Likewise.
22663 (__sysconf): Include posix-envs.def instead of handling associated
22664 cases directly here.
22665 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22666 preprocessing getconf-speclist.c rather than running getconf or
22667 generating empty file.
22668
a93f9cbc
PT
226692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22670
22671 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22672
d64d9f87
AL
226732012-11-16 Andrej Lajovic <natrij@gmail.com>
22674
22675 [BZ #14672]
22676 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22677
447885eb
DM
226782012-11-16 David S. Miller <davem@davemloft.net>
22679
22680 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22681 smaller than LDBL_EPSILON/2.0L, just return xm1.
22682
bcbf9830
L
226832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22684
22685 * elf/tst-array1.c (init): Set constructor priority to 1000.
22686 (fini): Set destructor priority to 1000.
22687 * elf/tst-array2dep.c: Likewise.
22688
2b766585
SP
226892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22690
22691 [BZ #11741]
22692 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22693 (_IO_new_file_xsputn): Also return EOF if none of the input
22694 data was written when overflow failed.
22695 * libio/iopadn.c (_IO_padn): Likewise.
22696 * libio/iowpadn.c (_IO_wpadn): Likewise.
22697 * stdio-common/tst-put-error.c: Add copyright notice.
22698 (do_test): Add case for printing padded string.
22699 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22700 _IO_padn returned error.
22701 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22702 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22703 return EOF.
22704
b1848fde
SP
227052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22706
22707 * libio/libioP.h: Add comment note that the references to C++
22708 bits are now obsolete.
22709
2fd89785
MS
227102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22711
22712 * math/libm-test.inc (check_complex): Use asprintf.
22713
e3ea5409
JM
227142012-11-14 Joseph Myers <joseph@codesourcery.com>
22715
22716 * debug/pcprofiledump.c (print_version): Update copyright year.
22717 * malloc/memusagestat.c (print_version): Likewise.
22718
2e64d265
L
227192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22720
22721 [BZ #14831]
22722 * elf/Makefile (tests): Add tst-audit8.
22723 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22724 ($(objpfx)tst-audit8.out): New target.
22725 (tst-audit8-ENV): New variable.
22726 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22727 audit if l_reloc_result is NULL.
22728 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22729 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22730 * elf/tst-audit8.c: New file.
22731
c485e4d2
MS
227322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22733
22734 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22735 * misc/Makefile (CFLAGS-select.c): Define.
22736 * posix/Makefile (CFLAGS-pause.c): Define.
22737
3a0d900a
DM
227382012-11-13 David S. Miller <davem@davemloft.net>
22739
22740 * crypt/Makefile: Move test targets after toplevel Rules
22741 inclusion. Grab any necessary sysdep routines when linking.
22742 * crypt/md5.c (md5_process_block): Remove define, we will always
22743 name it __md5_process_block.
22744 (md5_finish_ctx): Update md5_process_block call.
22745 (md5_stream): Likewise.
22746 (md5_process_bytes): Likewise.
22747 (md5_process_block): Rename to __md5_process_block and move to ...
22748 * crypt/md5-block.c: ... here.
22749 * crypt/sha256.c (sha256_process_block): Move to ...
22750 * crypt/sha256-block.c: ... here.
22751 * crypt/sha512.c (sha512_process_block): Move to ...
22752 * crypt/sha512-block.c: ... here.
22753 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22754 path.
22755 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22756 * sysdeps/sparc/sparc64/multiarch/Makefile
22757 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22758 crypt subdir.
22759 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22760 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22761 multiarch changes.
22762 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22763 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22764 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22765 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22766 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22767 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22768 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22769 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22770 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22771 file.
22772 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22773 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22774 file.
22775 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22776
8ca89318
JM
227772012-11-13 Joseph Myers <joseph@codesourcery.com>
22778
e27d476a
JM
22779 * timezone/tzselect.ksh: Update from tzcode git revision
22780 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22781 * timezone/zdump.c: Likewise.
22782 * timezone/zic.c: Likewise.
22783 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22784 in TZVERSION setting, not $(PKGVERSION).
22785 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22786 REPORT_BUGS_TO settings.
22787
8ca89318
JM
22788 [BZ #14838]
22789 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22790 macro.
22791
47594329
MS
227922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22793
22794 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22795 detection to immediately after _FP_ROUND().
22796 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22797 bits are 0.
22798
640ac3f1
DM
227992012-11-11 David S. Miller <davem@davemloft.net>
22800
22801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22802 inttypes.h
22803 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22804 __close rather than their public counterparts.
22805
3d2577bb
JM
228062012-11-10 Joseph Myers <joseph@codesourcery.com>
22807
22808 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22809 file.
22810 [UNIX98] (sem_timedwait): Do not expect.
22811 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22812 [XPG4 || UNIX98] (sockatmark): Do not expect.
22813 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22814 (clock_getcpuclockid): Do not expect.
22815 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22816 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22817 Do not expect.
22818 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22819 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22820 [UNIX98] (vwscanf): Likewise.
22821 [UNIX98] (vswscanf): Likewise.
22822
fb1ae1ee
JM
228232012-11-09 Joseph Myers <joseph@codesourcery.com>
22824
9ec6f8bd
JM
22825 * timezone/version.h: Remove file.
22826 * timezone/README: Do not refer to version.h.
22827 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22828 $(objpfx)version.h.
22829 ($(objpfx)zdump.o): Likewise.
c3f81911 22830 ($(objpfx)version.h): New target.
9ec6f8bd 22831
0aa8f8a1
JM
22832 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22833 2012i.
22834 * timezone/README: Don't mention modification to tzselect.ksh.
22835 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22836 work on unmodified tzselect.ksh. Substitute version numbers in
22837 tzselect.ksh.
22838
4e87147f
JM
22839 * Makefile (format-me): Remove.
22840 (INSTALL): Adjust indentation. Use commands directly instead of
22841 using $(format-me).
22842
8b748aed
JM
22843 * aclocal.m4 (ACX_PKGVERSION): New macro.
22844 (ACX_BUGURL): Likewise.
22845 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22846 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22847 (REPORT_BUGS_TO): Likewise.
22848 * configure: Regenerated.
22849 * config.h.in (PKGVERSION): New macro.
22850 (REPORT_BUGS_TO): Likewise.
22851 * config.make.in (PKGVERSION): New variable.
22852 (PKGVERSION_TEXI): Likewise.
22853 (REPORT_BUGS_TO): Likewise.
22854 (REPORT_BUGS_TEXI): Likewise.
22855 * Makefile (format-me): Use -I$(common-objpfx)manual.
22856 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22857 ($(common-objpfx)manual/%): New target.
22858 (manual/%): Remove target.
22859 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22860 (print_version): Use PKGVERSION.
22861 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22862 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22863 and REPORT_BUGS_TO.
22864 ($(objpfx)xtrace): Likewise.
22865 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22866 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22867 (print_version): Use PKGVERSION.
22868 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22869 (do_version): Use PKGVERSION.
22870 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22871 REPORT_BUGS_TO.
22872 (common-ldd-rewrite): Likewise.
22873 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22874 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22875 (print_version): Use PKGVERSION.
22876 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22877 * elf/pldd.c (argp_program_bug_address): Remove variable.
22878 (more_help): New function.
22879 (argp): Use more_help.
22880 (print_version): Use PKGVERSION.
22881 * elf/sln.c (main): Use PKGVERSION.
22882 (usage): Use REPORT_BUGS_TO.
22883 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22884 (top level): Use PKGVERSION.
22885 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22886 (print_version): Use PKGVERSION.
22887 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22888 (print_version): Use PKGVERSION.
22889 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22890 (print_version): Use PKGVERSION.
22891 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22892 (print_version): Use PKGVERSION.
22893 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22894 (print_version): Use PKGVERSION.
22895 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22896 (print_version): Use PKGVERSION.
22897 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22898 and BUGURL.
22899 ($(objpfx)memusage): Likewise.
22900 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22901 (do_version): Use PKGVERSION.
22902 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22903 (print_version): Use PKGVERSION.
22904 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22905 ($PKGVERSION): New variable.
22906 ($REPORT_BUGS_TO): Likewise.
22907 (usage): Use $REPORT_BUGS_TO.
22908 (top level): Use $PKGVERSION.
22909 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22910 ($(objpfx)pkgvers.texi): New rule.
22911 ($(objpfx)stamp-pkgvers): Likewise.
22912 * manual/install.texi: Include pkgvers.texi.
22913 (--with-pkgversion): Document new configure option.
22914 (--with-bugurl): Likewise.
22915 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22916 than necessarily for this particular distribution. Use
22917 REPORT_BUGS_TO for where to report bugs.
22918 * INSTALL: Regenerated.
22919 * manual/libc.texinfo: Include pkgvers.texi.
22920 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22921 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22922 (print_version): Use PKGVERSION.
22923 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22924 (print_version): Use PKGVERSION.
22925 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22926 (print_version): Use PKGVERSION.
22927 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22928 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22929 macro.
22930 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22931 (print_version): Use PKGVERSION.
22932 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22933 (print_version): Use PKGVERSION.
22934 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22935 and PKGVERSION.
22936
92e4b6a9
JM
22937 * timezone/checktab.awk: Update from tzcode 2012i.
22938 * timezone/ialloc.c: Likewise.
22939 * timezone/private.h: Likewise.
22940 * timezone/scheck.c: Likewise.
22941 * timezone/tzfile.h: Likewise.
22942 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22943 (TZVERSION): Hardcode tzcode version number.
22944 * timezone/zdump.c: Update from tzcode 2012i.
22945 * timezone/zic.c: Likewise.
22946 * timezone/version.h: New file.
22947 * timezone/README: Describe version.h. Update upstream location.
22948
9bde902c
JM
22949 [BZ #14824]
22950 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22951 (mktemp): Enable declaration.
22952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22953 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22954 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22956 Likewise.
22957 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22958 Likewise.
22959 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22960 Likewise.
22961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22962 Likewise.
22963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22964 Likewise.
22965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22966 Likewise.
22967
fb1ae1ee
JM
22968 [BZ #14821]
22969 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22970 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22971 for copies of such integer values.
22972 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22973 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22974
2c1adbcb
AJ
229752012-11-09 Andreas Jaeger <aj@suse.de>
22976
22977 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22978 definitions and declarations that are provided by
22979 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22980
d0f8457e
AK
229812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22982
3a235abb 22983 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22984 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22985 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22986 definition.
22987
57241e26
MS
229882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22989
22990 * elf/elf.h: Update comment before AArch64 relocations.
22991
60e8270d
DM
229922012-11-07 David S. Miller <davem@davemloft.net>
22993
22994 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22995 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22996 (__start_context): Declare.
22997 (__makecontext_ret): Delete.
22998 (__makecontext): Hook up __start_context instead of
22999 __makecontext_ret.
23000 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23001 (sysdep_routines): Add __start_context when in stdlib.
23002
0fbb0fbc
JM
230032012-11-07 Joseph Myers <joseph@codesourcery.com>
23004
23005 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23006 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23007 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23008 hardcoded "nm".
23009 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23010 (READELF): New variable. Use it instead of hardcoded "readelf".
23011
eb48db7e
L
230122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23013
23014 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23015 * sysdeps/x86/Makefile: Here.
23016 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23017 * sysdeps/x86/tst-xmmymm.sh: This.
23018
05bcf62a
JM
230192012-11-07 Joseph Myers <joseph@codesourcery.com>
23020
c4b6cf53
JM
23021 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23022 expectations.
23023 [UNIX98] (pthread_barrier_t): Do not expect.
23024 [UNIX98] (pthread_barrierattr_t): Likewise.
23025 [UNIX98] (pthread_spinlock_t): Likewise.
23026 [UNIX98] (pthread_barrier_destroy): Likewise.
23027 [UNIX98] (pthread_barrier_init): Likewise.
23028 [UNIX98] (pthread_barrier_wait): Likewise.
23029 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23030 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23031 [UNIX98] (pthread_barrierattr_init): Likewise.
23032 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23033 [UNIX98] (pthread_getcpuclockid): Likewise.
23034 [UNIX98] (pthread_mutex_timedlock): Likewise.
23035 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23036 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23037 [UNIX98] (pthread_sigmask): Likewise.
23038 [UNIX98] (pthread_spin_destroy): Likewise.
23039 [UNIX98] (pthread_spin_init): Likewise.
23040 [UNIX98] (pthread_spin_lock): Likewise.
23041 [UNIX98] (pthread_spin_trylock): Likewise.
23042 [UNIX98] (pthread_spin_unlock): Likewise.
23043 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23044 Do not expect.
23045 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23046 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23047 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23048 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23049 [XPG3 || XPG4] (pthread_key_t): Likewise.
23050 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23051 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23052 [XPG3 || XPG4] (pthread_once_t): Likewise.
23053 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23054 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23055 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23056 [XPG3 || XPG4] (pthread_t): Likewise.
23057
cbe6e120
JM
23058 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23059 not expect.
23060 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23061
1b126443
JM
23062 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23063 Change function return type to int.
23064
b961a573
JM
23065 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23066 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23067 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23068 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23069 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23070 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23071 [!POSIX] (posix_madvise): Likewise.
23072 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23073 && !UNIX98].
23074 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23075 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23076 (mode_t): Likewise.
23077 (posix_mem_offset): Likewise.
23078 (posix_typed_mem_get_info): Likewise.
23079 (posix_typed_mem_open): Likewise.
23080
9e188909
JM
23081 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23082 Change condition to [XOPEN2K8].
23083
05bcf62a
JM
23084 * conform/conformtest.pl: Preprocess allow-header data with -x c
23085 instead of from stdin.
23086 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23087 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23088 [C99-based standards] (cerfc): Likewise.
23089 [C99-based standards] (cexp2): Likewise.
23090 [C99-based standards] (cexpm1): Likewise.
23091 [C99-based standards] (clog10): Likewise.
23092 [C99-based standards] (clog1p): Likewise.
23093 [C99-based standards] (clog2): Likewise.
23094 [C99-based standards] (clgamma): Likewise.
23095 [C99-based standards] (ctgamma): Likewise.
23096 [C99-based standards] (cerff): Likewise.
23097 [C99-based standards] (cerfcf): Likewise.
23098 [C99-based standards] (cexp2f): Likewise.
23099 [C99-based standards] (cexpm1f): Likewise.
23100 [C99-based standards] (clog10f): Likewise.
23101 [C99-based standards] (clog1pf): Likewise.
23102 [C99-based standards] (clog2f): Likewise.
23103 [C99-based standards] (clgammaf): Likewise.
23104 [C99-based standards] (ctgammaf): Likewise.
23105 [C99-based standards] (cerfl): Likewise.
23106 [C99-based standards] (cerfcl): Likewise.
23107 [C99-based standards] (cexp2l): Likewise.
23108 [C99-based standards] (cexpm1l): Likewise.
23109 [C99-based standards] (clog10l): Likewise.
23110 [C99-based standards] (clog1pl): Likewise.
23111 [C99-based standards] (clog2l): Likewise.
23112 [C99-based standards] (clgammal): Likewise.
23113 [C99-based standards] (ctgammal): Likewise.
23114 * conform/data/inttypes.h-data [C99-based standards]: Include
23115 stdint.h-data. Remove all expectations for stdint.h contents.
23116 [C99-based standards] (PRI*): Do not allow.
23117 [C99-based standards] (SCN*): Likewise.
23118 [C99-based standards] (*_t): Likewise.
23119 [C99-based-standards] (PRId8): Expect macro.
23120 [C99-based-standards] (PRIi8): Likewise.
23121 [C99-based-standards] (PRIo8): Likewise.
23122 [C99-based-standards] (PRIu8): Likewise.
23123 [C99-based-standards] (PRIx8): Likewise.
23124 [C99-based-standards] (PRIX8): Likewise.
23125 [C99-based-standards] (SCNd8): Likewise.
23126 [C99-based-standards] (SCNi8): Likewise.
23127 [C99-based-standards] (SCNo8): Likewise.
23128 [C99-based-standards] (SCNu8): Likewise.
23129 [C99-based-standards] (SCNx8): Likewise.
23130 [C99-based-standards] (PRIdLEAST8): Likewise.
23131 [C99-based-standards] (PRIiLEAST8): Likewise.
23132 [C99-based-standards] (PRIoLEAST8): Likewise.
23133 [C99-based-standards] (PRIuLEAST8): Likewise.
23134 [C99-based-standards] (PRIxLEAST8): Likewise.
23135 [C99-based-standards] (PRIXLEAST8): Likewise.
23136 [C99-based-standards] (SCNdLEAST8): Likewise.
23137 [C99-based-standards] (SCNiLEAST8): Likewise.
23138 [C99-based-standards] (SCNoLEAST8): Likewise.
23139 [C99-based-standards] (SCNuLEAST8): Likewise.
23140 [C99-based-standards] (SCNxLEAST8): Likewise.
23141 [C99-based-standards] (PRIdFAST8): Likewise.
23142 [C99-based-standards] (PRIiFAST8): Likewise.
23143 [C99-based-standards] (PRIoFAST8): Likewise.
23144 [C99-based-standards] (PRIuFAST8): Likewise.
23145 [C99-based-standards] (PRIxFAST8): Likewise.
23146 [C99-based-standards] (PRIXFAST8): Likewise.
23147 [C99-based-standards] (SCNdFAST8): Likewise.
23148 [C99-based-standards] (SCNiFAST8): Likewise.
23149 [C99-based-standards] (SCNoFAST8): Likewise.
23150 [C99-based-standards] (SCNuFAST8): Likewise.
23151 [C99-based-standards] (SCNxFAST8): Likewise.
23152 [C99-based-standards] (PRId16): Likewise.
23153 [C99-based-standards] (PRIi16): Likewise.
23154 [C99-based-standards] (PRIo16): Likewise.
23155 [C99-based-standards] (PRIu16): Likewise.
23156 [C99-based-standards] (PRIx16): Likewise.
23157 [C99-based-standards] (PRIX16): Likewise.
23158 [C99-based-standards] (SCNd16): Likewise.
23159 [C99-based-standards] (SCNi16): Likewise.
23160 [C99-based-standards] (SCNo16): Likewise.
23161 [C99-based-standards] (SCNu16): Likewise.
23162 [C99-based-standards] (SCNx16): Likewise.
23163 [C99-based-standards] (PRIdLEAST16): Likewise.
23164 [C99-based-standards] (PRIiLEAST16): Likewise.
23165 [C99-based-standards] (PRIoLEAST16): Likewise.
23166 [C99-based-standards] (PRIuLEAST16): Likewise.
23167 [C99-based-standards] (PRIxLEAST16): Likewise.
23168 [C99-based-standards] (PRIXLEAST16): Likewise.
23169 [C99-based-standards] (SCNdLEAST16): Likewise.
23170 [C99-based-standards] (SCNiLEAST16): Likewise.
23171 [C99-based-standards] (SCNoLEAST16): Likewise.
23172 [C99-based-standards] (SCNuLEAST16): Likewise.
23173 [C99-based-standards] (SCNxLEAST16): Likewise.
23174 [C99-based-standards] (PRIdFAST16): Likewise.
23175 [C99-based-standards] (PRIiFAST16): Likewise.
23176 [C99-based-standards] (PRIoFAST16): Likewise.
23177 [C99-based-standards] (PRIuFAST16): Likewise.
23178 [C99-based-standards] (PRIxFAST16): Likewise.
23179 [C99-based-standards] (PRIXFAST16): Likewise.
23180 [C99-based-standards] (SCNdFAST16): Likewise.
23181 [C99-based-standards] (SCNiFAST16): Likewise.
23182 [C99-based-standards] (SCNoFAST16): Likewise.
23183 [C99-based-standards] (SCNuFAST16): Likewise.
23184 [C99-based-standards] (SCNxFAST16): Likewise.
23185 [C99-based-standards] (PRId32): Likewise.
23186 [C99-based-standards] (PRIi32): Likewise.
23187 [C99-based-standards] (PRIo32): Likewise.
23188 [C99-based-standards] (PRIu32): Likewise.
23189 [C99-based-standards] (PRIx32): Likewise.
23190 [C99-based-standards] (PRIX32): Likewise.
23191 [C99-based-standards] (SCNd32): Likewise.
23192 [C99-based-standards] (SCNi32): Likewise.
23193 [C99-based-standards] (SCNo32): Likewise.
23194 [C99-based-standards] (SCNu32): Likewise.
23195 [C99-based-standards] (SCNx32): Likewise.
23196 [C99-based-standards] (PRIdLEAST32): Likewise.
23197 [C99-based-standards] (PRIiLEAST32): Likewise.
23198 [C99-based-standards] (PRIoLEAST32): Likewise.
23199 [C99-based-standards] (PRIuLEAST32): Likewise.
23200 [C99-based-standards] (PRIxLEAST32): Likewise.
23201 [C99-based-standards] (PRIXLEAST32): Likewise.
23202 [C99-based-standards] (SCNdLEAST32): Likewise.
23203 [C99-based-standards] (SCNiLEAST32): Likewise.
23204 [C99-based-standards] (SCNoLEAST32): Likewise.
23205 [C99-based-standards] (SCNuLEAST32): Likewise.
23206 [C99-based-standards] (SCNxLEAST32): Likewise.
23207 [C99-based-standards] (PRIdFAST32): Likewise.
23208 [C99-based-standards] (PRIiFAST32): Likewise.
23209 [C99-based-standards] (PRIoFAST32): Likewise.
23210 [C99-based-standards] (PRIuFAST32): Likewise.
23211 [C99-based-standards] (PRIxFAST32): Likewise.
23212 [C99-based-standards] (PRIXFAST32): Likewise.
23213 [C99-based-standards] (SCNdFAST32): Likewise.
23214 [C99-based-standards] (SCNiFAST32): Likewise.
23215 [C99-based-standards] (SCNoFAST32): Likewise.
23216 [C99-based-standards] (SCNuFAST32): Likewise.
23217 [C99-based-standards] (SCNxFAST32): Likewise.
23218 [C99-based-standards] (PRId64): Likewise.
23219 [C99-based-standards] (PRIi64): Likewise.
23220 [C99-based-standards] (PRIo64): Likewise.
23221 [C99-based-standards] (PRIu64): Likewise.
23222 [C99-based-standards] (PRIx64): Likewise.
23223 [C99-based-standards] (PRIX64): Likewise.
23224 [C99-based-standards] (SCNd64): Likewise.
23225 [C99-based-standards] (SCNi64): Likewise.
23226 [C99-based-standards] (SCNo64): Likewise.
23227 [C99-based-standards] (SCNu64): Likewise.
23228 [C99-based-standards] (SCNx64): Likewise.
23229 [C99-based-standards] (PRIdLEAST64): Likewise.
23230 [C99-based-standards] (PRIiLEAST64): Likewise.
23231 [C99-based-standards] (PRIoLEAST64): Likewise.
23232 [C99-based-standards] (PRIuLEAST64): Likewise.
23233 [C99-based-standards] (PRIxLEAST64): Likewise.
23234 [C99-based-standards] (PRIXLEAST64): Likewise.
23235 [C99-based-standards] (SCNdLEAST64): Likewise.
23236 [C99-based-standards] (SCNiLEAST64): Likewise.
23237 [C99-based-standards] (SCNoLEAST64): Likewise.
23238 [C99-based-standards] (SCNuLEAST64): Likewise.
23239 [C99-based-standards] (SCNxLEAST64): Likewise.
23240 [C99-based-standards] (PRIdFAST64): Likewise.
23241 [C99-based-standards] (PRIiFAST64): Likewise.
23242 [C99-based-standards] (PRIoFAST64): Likewise.
23243 [C99-based-standards] (PRIuFAST64): Likewise.
23244 [C99-based-standards] (PRIxFAST64): Likewise.
23245 [C99-based-standards] (PRIXFAST64): Likewise.
23246 [C99-based-standards] (SCNdFAST64): Likewise.
23247 [C99-based-standards] (SCNiFAST64): Likewise.
23248 [C99-based-standards] (SCNoFAST64): Likewise.
23249 [C99-based-standards] (SCNuFAST64): Likewise.
23250 [C99-based-standards] (SCNxFAST64): Likewise.
23251 [C99-based-standards] (PRIdMAX): Likewise.
23252 [C99-based-standards] (PRIiMAX): Likewise.
23253 [C99-based-standards] (PRIoMAX): Likewise.
23254 [C99-based-standards] (PRIuMAX): Likewise.
23255 [C99-based-standards] (PRIxMAX): Likewise.
23256 [C99-based-standards] (PRIXMAX): Likewise.
23257 [C99-based-standards] (SCNdMAX): Likewise.
23258 [C99-based-standards] (SCNiMAX): Likewise.
23259 [C99-based-standards] (SCNoMAX): Likewise.
23260 [C99-based-standards] (SCNuMAX): Likewise.
23261 [C99-based-standards] (SCNxMAX): Likewise.
23262 [C99-based-standards] (PRIdPTR): Likewise.
23263 [C99-based-standards] (PRIiPTR): Likewise.
23264 [C99-based-standards] (PRIoPTR): Likewise.
23265 [C99-based-standards] (PRIuPTR): Likewise.
23266 [C99-based-standards] (PRIxPTR): Likewise.
23267 [C99-based-standards] (PRIXPTR): Likewise.
23268 [C99-based-standards] (SCNdPTR): Likewise.
23269 [C99-based-standards] (SCNiPTR): Likewise.
23270 [C99-based-standards] (SCNoPTR): Likewise.
23271 [C99-based-standards] (SCNuPTR): Likewise.
23272 [C99-based-standards] (SCNxPTR): Likewise.
23273 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23274 allow.
23275 * conform/data/stdint.h-data: Update comments to clarify
23276 requirements.
23277 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23278 type.
23279 [C99-based standards] (INT8_MAX): Likewise.
23280 [C99-based standards] (INT16_MIN): Likewise.
23281 [C99-based standards] (INT16_MAX): Likewise.
23282 [C99-based standards] (INT32_MIN): Likewise.
23283 [C99-based standards] (INT32_MAX): Likewise.
23284 [C99-based standards] (INT64_MIN): Likewise.
23285 [C99-based standards] (INT64_MAX): Likewise.
23286 [C99-based standards] (UINT8_MAX): Likewise.
23287 [C99-based standards] (UINT16_MAX): Likewise.
23288 [C99-based standards] (UINT32_MAX): Likewise.
23289 [C99-based standards] (UINT64_MAX): Likewise.
23290 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23291 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23292 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23293 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23294 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23295 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23296 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23297 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23298 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23299 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23300 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23301 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23302 [C99-based standards] (INT_FAST8_MIN): Likewise.
23303 [C99-based standards] (INT_FAST8_MAX): Likewise.
23304 [C99-based standards] (INT_FAST16_MIN): Likewise.
23305 [C99-based standards] (INT_FAST16_MAX): Likewise.
23306 [C99-based standards] (INT_FAST32_MIN): Likewise.
23307 [C99-based standards] (INT_FAST32_MAX): Likewise.
23308 [C99-based standards] (INT_FAST64_MIN): Likewise.
23309 [C99-based standards] (INT_FAST64_MAX): Likewise.
23310 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23311 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23312 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23313 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23314 [C99-based standards] (INTPTR_MIN): Likewise.
23315 [C99-based standards] (INTPTR_MAX): Likewise.
23316 [C99-based standards] (UINTPTR_MAX): Likewise.
23317 [C99-based standards] (INTMAX_MIN): Likewise.
23318 [C99-based standards] (INTMAX_MAX): Likewise.
23319 [C99-based standards] (UINTMAX_MAX): Likewise.
23320 [C99-based standards] (PTRDIFF_MIN): Likewise.
23321 [C99-based standards] (PTRDIFF_MAX): Likewise.
23322 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23323 [C99-based standards] (SIZE_MAX): Likewise.
23324 [C99-based standards] (WCHAR_MAX): Likewise.
23325 [C99-based standards] (WINT_MAX): Likewise.
23326 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23327 constraint on value.
23328 [C99-based standards] (WCHAR_MIN): Likewise.
23329 [C99-based standards] (WINT_MIN): Likewise.
23330 [C99-based standards] (*_t): Allow.
23331 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23332 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23333 Include math.h-data and complex.h-data. Remove all expectations
23334 of math.h and complex.h contents.
23335 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23336 at end of line.
23337 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23338 (struct tm): Expect tag.
23339 [C99-based-standards] (wcstof): Expect function.
23340 [C99-based-standards] (wcstold): Likewise.
23341 [C99-based-standards] (wcstoll): Likewise.
23342 [C99-based-standards] (wcstoull): Likewise.
23343 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23344 macro-int-constant. Specify type.
23345 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23346 constraint on value.
23347 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23348 Specify type.
23349 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23350 Specify value.
23351 [ISO C standards]: Do not allow headers.
23352 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23353 wcs[abcdefghijklmnopqrstuvwxyz]*.
23354 [ISO C standards] (*_t): Do not allow.
23355 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23356 Expect function.
23357 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23358 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23359 Specify type.
23360 [ISO C standards]: Do not allow headers.
23361 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23362 is[abcdefghijklmnopqrstuvwxyz]*.
23363 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23364 to[abcdefghijklmnopqrstuvwxyz]*.
23365 [ISO C standards] (*_t): Do not allow.
23366 * conform/data/stdalign.h-data: New file.
23367 * conform/data/stdbool.h-data: Likewise.
23368 * conform/data/stdnoreturn.h-data: Likewise.
23369
7514feb8
RM
233702012-11-07 Roland McGrath <roland@hack.frob.com>
23371
23372 [BZ #14815]
23373 * manual/filesys.texi (Directory Entries): Typo fix.
23374 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23375
19b2ecfc
MS
233762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23377
23378 * elf/elf.h (EM_AARCH64): New macro.
23379 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23380 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23381 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23382 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23383 (R_AARCH64_TLSDESC): Likewise.
23384 (NT_ARM_TLS): Likewise.
23385 (NT_ARM_HW_BREAK): Likewise.
23386 (NT_ARM_HW_WATCH): Likewise.
23387
60e235ee
JM
233882012-11-07 Joseph Myers <joseph@codesourcery.com>
23389
23390 [BZ #14811]
23391 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23392 (__ieee754_powl): Saturate nonzero exponents with absolute value
23393 below 0x1p-79 to +/- 0x1p-79.
23394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23395 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23396 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23397 nonzero exponents with absolute value below 0x1p-32 to +/-
23398 0x1p-32.
23399 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23400 (__ieee754_powl): Saturate nonzero exponents with absolute value
23401 below 0x1p-79 to +/- 0x1p-79.
23402 * math/libm-test.inc (pow_test): Add more tests.
23403
0ab234b7
AK
234042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23405
23406 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23407 _dl_s390_cap_flags with kernel. Increase string length.
23408 (_dl_s390_platforms): Add z196 and zEC12.
23409
45832f74
JM
234102012-11-07 Joseph Myers <joseph@codesourcery.com>
23411
23412 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23413 Change XOPEN21K to XOPEN2K.
23414
19218757
MK
234152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23416
23417 * string/memmove.c: Use memcpy when possible.
23418
c5f45721
AJ
234192012-11-06 Andreas Jaeger <aj@suse.de>
23420
23421 * po/eo.po: Update from translation team.
23422
82477c28
JM
234232012-11-06 Joseph Myers <joseph@codesourcery.com>
23424
23425 [BZ #14793]
23426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23427 exponent and small x and y exponents, scale x or y up. Increase
23428 by 2 the exponent used in scaling up.
23429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23430 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23431 * math/libm-test.inc (fma_test): Add more tests.
23432 (fma_test_towardzero): Likewise.
23433 (fma_test_downward): Likewise.
23434 (fma_test_upward): Likewise.
23435
99252c8c
JM
234362012-11-05 Joseph Myers <joseph@codesourcery.com>
23437
acfa885f
JM
23438 [BZ #14805]
23439 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23440 fenv_t *.
23441
99252c8c
JM
23442 [BZ #14801]
23443 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23444 namespace for names of struct fields.
23445 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23446 fenv_t fields.
23447 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23448 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23449
d6d98dea
ST
234502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23451
23452 [BZ #3665]
23453 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23454
e10bb107
TS
234552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23456
23457 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23458 PTR_DEMANGLE.
23459
23460 [BZ #5246]
23461 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23462 PTR_DEMANGLE.
23463
a0c2940d
JM
234642012-11-04 Joseph Myers <joseph@codesourcery.com>
23465
23466 [BZ #14797]
23467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23468 definitely overflow as x * y not x * y + z.
23469 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23471 * math/libm-test.inc (fma_test): Add more tests.
23472 (fma_test_towardzero): Likewise.
23473 (fma_test_downward): Likewise.
23474 (fma_test_upward): Likewise.
23475
b830319d
TS
234762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23477
23478 [BZ #157]
23479
23480 * include/stub-tag.h: Remove file.
23481 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23482 '#include' of it.
23483 * manual/maint.texi (Porting): Don't reference it.
23484 * Makerules ($(objpfx)stubs): Likewise.
23485 * dirent/closedir.c: Don't include <stub-tag.h>.
23486 * dirent/dirfd.c: Likewise.
23487 * dirent/fdopendir.c: Likewise.
23488 * dirent/getdents.c: Likewise.
23489 * dirent/getdents64.c: Likewise.
23490 * dirent/opendir.c: Likewise.
23491 * dirent/readdir.c: Likewise.
23492 * dirent/readdir64.c: Likewise.
23493 * dirent/readdir64_r.c: Likewise.
23494 * dirent/readdir_r.c: Likewise.
23495 * dirent/rewinddir.c: Likewise.
23496 * dirent/seekdir.c: Likewise.
23497 * dirent/telldir.c: Likewise.
23498 * gmon/profil.c: Likewise.
23499 * grp/setgroups.c: Likewise.
23500 * inet/if_index.c: Likewise.
23501 * io/access.c: Likewise.
23502 * io/chdir.c: Likewise.
23503 * io/chmod.c: Likewise.
23504 * io/chown.c: Likewise.
23505 * io/close.c: Likewise.
23506 * io/dup.c: Likewise.
23507 * io/dup2.c: Likewise.
23508 * io/dup3.c: Likewise.
23509 * io/euidaccess.c: Likewise.
23510 * io/faccessat.c: Likewise.
23511 * io/fchdir.c: Likewise.
23512 * io/fchmod.c: Likewise.
23513 * io/fchmodat.c: Likewise.
23514 * io/fchown.c: Likewise.
23515 * io/fchownat.c: Likewise.
23516 * io/fcntl.c: Likewise.
23517 * io/flock.c: Likewise.
23518 * io/fstatfs.c: Likewise.
23519 * io/fstatfs64.c: Likewise.
23520 * io/fstatvfs.c: Likewise.
23521 * io/fstatvfs64.c: Likewise.
23522 * io/futimens.c: Likewise.
23523 * io/fxstat.c: Likewise.
23524 * io/fxstat64.c: Likewise.
23525 * io/fxstatat.c: Likewise.
23526 * io/fxstatat64.c: Likewise.
23527 * io/getcwd.c: Likewise.
23528 * io/isatty.c: Likewise.
23529 * io/lchmod.c: Likewise.
23530 * io/lchown.c: Likewise.
23531 * io/link.c: Likewise.
23532 * io/linkat.c: Likewise.
23533 * io/lseek.c: Likewise.
23534 * io/lseek64.c: Likewise.
23535 * io/lxstat64.c: Likewise.
23536 * io/mkdir.c: Likewise.
23537 * io/mkdirat.c: Likewise.
23538 * io/mkfifo.c: Likewise.
23539 * io/mkfifoat.c: Likewise.
23540 * io/open.c: Likewise.
23541 * io/open64.c: Likewise.
23542 * io/openat.c: Likewise.
23543 * io/openat64.c: Likewise.
23544 * io/pipe.c: Likewise.
23545 * io/pipe2.c: Likewise.
23546 * io/poll.c: Likewise.
23547 * io/posix_fadvise.c: Likewise.
23548 * io/posix_fadvise64.c: Likewise.
23549 * io/posix_fallocate.c: Likewise.
23550 * io/posix_fallocate64.c: Likewise.
23551 * io/read.c: Likewise.
23552 * io/readlink.c: Likewise.
23553 * io/readlinkat.c: Likewise.
23554 * io/rmdir.c: Likewise.
23555 * io/sendfile.c: Likewise.
23556 * io/sendfile64.c: Likewise.
23557 * io/statfs.c: Likewise.
23558 * io/statfs64.c: Likewise.
23559 * io/statvfs.c: Likewise.
23560 * io/statvfs64.c: Likewise.
23561 * io/symlink.c: Likewise.
23562 * io/symlinkat.c: Likewise.
23563 * io/ttyname.c: Likewise.
23564 * io/ttyname_r.c: Likewise.
23565 * io/umask.c: Likewise.
23566 * io/unlink.c: Likewise.
23567 * io/unlinkat.c: Likewise.
23568 * io/utime.c: Likewise.
23569 * io/utimensat.c: Likewise.
23570 * io/write.c: Likewise.
23571 * io/xmknod.c: Likewise.
23572 * io/xmknodat.c: Likewise.
23573 * io/xstat.c: Likewise.
23574 * io/xstat64.c: Likewise.
23575 * login/getpt.c: Likewise.
23576 * login/grantpt.c: Likewise.
23577 * login/unlockpt.c: Likewise.
23578 * math/e_acoshl.c: Likewise.
23579 * math/e_acosl.c: Likewise.
23580 * math/e_asinl.c: Likewise.
23581 * math/e_atan2l.c: Likewise.
23582 * math/e_atanhl.c: Likewise.
23583 * math/e_coshl.c: Likewise.
23584 * math/e_expl.c: Likewise.
23585 * math/e_fmodl.c: Likewise.
23586 * math/e_gammal_r.c: Likewise.
23587 * math/e_hypotl.c: Likewise.
23588 * math/e_j0l.c: Likewise.
23589 * math/e_j1l.c: Likewise.
23590 * math/e_jnl.c: Likewise.
23591 * math/e_lgammal_r.c: Likewise.
23592 * math/e_log10l.c: Likewise.
23593 * math/e_log2l.c: Likewise.
23594 * math/e_logl.c: Likewise.
23595 * math/e_powl.c: Likewise.
23596 * math/e_rem_pio2l.c: Likewise.
23597 * math/e_sinhl.c: Likewise.
23598 * math/e_sqrtl.c: Likewise.
23599 * math/fclrexcpt.c: Likewise.
23600 * math/fedisblxcpt.c: Likewise.
23601 * math/feenablxcpt.c: Likewise.
23602 * math/fegetenv.c: Likewise.
23603 * math/fegetexcept.c: Likewise.
23604 * math/fegetround.c: Likewise.
23605 * math/feholdexcpt.c: Likewise.
23606 * math/fesetenv.c: Likewise.
23607 * math/fesetround.c: Likewise.
23608 * math/feupdateenv.c: Likewise.
23609 * math/fgetexcptflg.c: Likewise.
23610 * math/fraiseexcpt.c: Likewise.
23611 * math/fsetexcptflg.c: Likewise.
23612 * math/ftestexcept.c: Likewise.
23613 * math/k_cosl.c: Likewise.
23614 * math/k_rem_pio2l.c: Likewise.
23615 * math/k_sinl.c: Likewise.
23616 * math/k_tanl.c: Likewise.
23617 * math/s_asinhl.c: Likewise.
23618 * math/s_atanl.c: Likewise.
23619 * math/s_cbrtl.c: Likewise.
23620 * math/s_erfl.c: Likewise.
23621 * math/s_expm1l.c: Likewise.
23622 * math/s_log1pl.c: Likewise.
23623 * math/s_tanhl.c: Likewise.
23624 * misc/acct.c: Likewise.
23625 * misc/brk.c: Likewise.
23626 * misc/chflags.c: Likewise.
23627 * misc/chroot.c: Likewise.
23628 * misc/fchflags.c: Likewise.
23629 * misc/fgetxattr.c: Likewise.
23630 * misc/flistxattr.c: Likewise.
23631 * misc/fremovexattr.c: Likewise.
23632 * misc/fsetxattr.c: Likewise.
23633 * misc/fsync.c: Likewise.
23634 * misc/ftruncate.c: Likewise.
23635 * misc/futimes.c: Likewise.
23636 * misc/futimesat.c: Likewise.
23637 * misc/getdomain.c: Likewise.
23638 * misc/getdtsz.c: Likewise.
23639 * misc/gethostid.c: Likewise.
23640 * misc/gethostname.c: Likewise.
23641 * misc/getloadavg.c: Likewise.
23642 * misc/getpagesize.c: Likewise.
23643 * misc/getsysstats.c: Likewise.
23644 * misc/getxattr.c: Likewise.
23645 * misc/gtty.c: Likewise.
23646 * misc/ioctl.c: Likewise.
23647 * misc/lgetxattr.c: Likewise.
23648 * misc/listxattr.c: Likewise.
23649 * misc/llistxattr.c: Likewise.
23650 * misc/lremovexattr.c: Likewise.
23651 * misc/lsetxattr.c: Likewise.
23652 * misc/lutimes.c: Likewise.
23653 * misc/madvise.c: Likewise.
23654 * misc/mincore.c: Likewise.
23655 * misc/mlock.c: Likewise.
23656 * misc/mlockall.c: Likewise.
23657 * misc/mmap.c: Likewise.
23658 * misc/mprotect.c: Likewise.
23659 * misc/msync.c: Likewise.
23660 * misc/munlock.c: Likewise.
23661 * misc/munlockall.c: Likewise.
23662 * misc/munmap.c: Likewise.
23663 * misc/preadv.c: Likewise.
23664 * misc/preadv64.c: Likewise.
23665 * misc/ptrace.c: Likewise.
23666 * misc/pwritev.c: Likewise.
23667 * misc/pwritev64.c: Likewise.
23668 * misc/readv.c: Likewise.
23669 * misc/reboot.c: Likewise.
23670 * misc/remap_file_pages.c: Likewise.
23671 * misc/removexattr.c: Likewise.
23672 * misc/revoke.c: Likewise.
23673 * misc/select.c: Likewise.
23674 * misc/setdomain.c: Likewise.
23675 * misc/setegid.c: Likewise.
23676 * misc/seteuid.c: Likewise.
23677 * misc/sethostid.c: Likewise.
23678 * misc/sethostname.c: Likewise.
23679 * misc/setregid.c: Likewise.
23680 * misc/setreuid.c: Likewise.
23681 * misc/setxattr.c: Likewise.
23682 * misc/sstk.c: Likewise.
23683 * misc/stty.c: Likewise.
23684 * misc/swapoff.c: Likewise.
23685 * misc/swapon.c: Likewise.
23686 * misc/sync.c: Likewise.
23687 * misc/syncfs.c: Likewise.
23688 * misc/syscall.c: Likewise.
23689 * misc/truncate.c: Likewise.
23690 * misc/ualarm.c: Likewise.
23691 * misc/usleep.c: Likewise.
23692 * misc/ustat.c: Likewise.
23693 * misc/utimes.c: Likewise.
23694 * misc/vhangup.c: Likewise.
23695 * misc/writev.c: Likewise.
23696 * posix/_exit.c: Likewise.
23697 * posix/alarm.c: Likewise.
23698 * posix/execve.c: Likewise.
23699 * posix/fexecve.c: Likewise.
23700 * posix/fork.c: Likewise.
23701 * posix/fpathconf.c: Likewise.
23702 * posix/getaddrinfo.c: Likewise.
23703 * posix/getegid.c: Likewise.
23704 * posix/geteuid.c: Likewise.
23705 * posix/getgid.c: Likewise.
23706 * posix/getgroups.c: Likewise.
23707 * posix/getlogin.c: Likewise.
23708 * posix/getlogin_r.c: Likewise.
23709 * posix/getpgid.c: Likewise.
23710 * posix/getpid.c: Likewise.
23711 * posix/getppid.c: Likewise.
23712 * posix/getresgid.c: Likewise.
23713 * posix/getresuid.c: Likewise.
23714 * posix/getsid.c: Likewise.
23715 * posix/getuid.c: Likewise.
23716 * posix/glob64.c: Likewise.
23717 * posix/nanosleep.c: Likewise.
23718 * posix/pathconf.c: Likewise.
23719 * posix/pause.c: Likewise.
23720 * posix/posix_madvise.c: Likewise.
23721 * posix/pread.c: Likewise.
23722 * posix/pread64.c: Likewise.
23723 * posix/pwrite.c: Likewise.
23724 * posix/pwrite64.c: Likewise.
23725 * posix/sched_getaffinity.c: Likewise.
23726 * posix/sched_getp.c: Likewise.
23727 * posix/sched_gets.c: Likewise.
23728 * posix/sched_primax.c: Likewise.
23729 * posix/sched_primin.c: Likewise.
23730 * posix/sched_rr_gi.c: Likewise.
23731 * posix/sched_setaffinity.c: Likewise.
23732 * posix/sched_setp.c: Likewise.
23733 * posix/sched_sets.c: Likewise.
23734 * posix/sched_yield.c: Likewise.
23735 * posix/setgid.c: Likewise.
23736 * posix/setlogin.c: Likewise.
23737 * posix/setpgid.c: Likewise.
23738 * posix/setresgid.c: Likewise.
23739 * posix/setresuid.c: Likewise.
23740 * posix/setsid.c: Likewise.
23741 * posix/setuid.c: Likewise.
23742 * posix/sleep.c: Likewise.
23743 * posix/spawni.c: Likewise.
23744 * posix/sysconf.c: Likewise.
23745 * posix/times.c: Likewise.
23746 * posix/wait.c: Likewise.
23747 * posix/wait3.c: Likewise.
23748 * posix/wait4.c: Likewise.
23749 * posix/waitpid.c: Likewise.
23750 * resolv/gai_sigqueue.c: Likewise.
23751 * resource/getpriority.c: Likewise.
23752 * resource/getrlimit.c: Likewise.
23753 * resource/getrusage.c: Likewise.
23754 * resource/nice.c: Likewise.
23755 * resource/setpriority.c: Likewise.
23756 * resource/setrlimit.c: Likewise.
23757 * resource/ulimit.c: Likewise.
23758 * rt/aio_cancel.c: Likewise.
23759 * rt/aio_fsync.c: Likewise.
23760 * rt/aio_read.c: Likewise.
23761 * rt/aio_sigqueue.c: Likewise.
23762 * rt/aio_suspend.c: Likewise.
23763 * rt/aio_write.c: Likewise.
23764 * rt/clock_getres.c: Likewise.
23765 * rt/clock_gettime.c: Likewise.
23766 * rt/clock_nanosleep.c: Likewise.
23767 * rt/clock_settime.c: Likewise.
23768 * rt/lio_listio.c: Likewise.
23769 * rt/mq_close.c: Likewise.
23770 * rt/mq_getattr.c: Likewise.
23771 * rt/mq_notify.c: Likewise.
23772 * rt/mq_open.c: Likewise.
23773 * rt/mq_receive.c: Likewise.
23774 * rt/mq_send.c: Likewise.
23775 * rt/mq_setattr.c: Likewise.
23776 * rt/mq_timedreceive.c: Likewise.
23777 * rt/mq_timedsend.c: Likewise.
23778 * rt/mq_unlink.c: Likewise.
23779 * rt/shm_open.c: Likewise.
23780 * rt/shm_unlink.c: Likewise.
23781 * rt/timer_create.c: Likewise.
23782 * rt/timer_delete.c: Likewise.
23783 * rt/timer_getoverr.c: Likewise.
23784 * rt/timer_gettime.c: Likewise.
23785 * rt/timer_settime.c: Likewise.
23786 * setjmp/__longjmp.c: Likewise.
23787 * setjmp/setjmp.c: Likewise.
23788 * signal/kill.c: Likewise.
23789 * signal/killpg.c: Likewise.
23790 * signal/raise.c: Likewise.
23791 * signal/sigaction.c: Likewise.
23792 * signal/sigaltstack.c: Likewise.
23793 * signal/sigblock.c: Likewise.
23794 * signal/sigignore.c: Likewise.
23795 * signal/sigintr.c: Likewise.
23796 * signal/signal.c: Likewise.
23797 * signal/sigpause.c: Likewise.
23798 * signal/sigpending.c: Likewise.
23799 * signal/sigqueue.c: Likewise.
23800 * signal/sigreturn.c: Likewise.
23801 * signal/sigset.c: Likewise.
23802 * signal/sigsetmask.c: Likewise.
23803 * signal/sigstack.c: Likewise.
23804 * signal/sigsuspend.c: Likewise.
23805 * signal/sigtimedwait.c: Likewise.
23806 * signal/sigvec.c: Likewise.
23807 * signal/sigwait.c: Likewise.
23808 * signal/sigwaitinfo.c: Likewise.
23809 * signal/sysv_signal.c: Likewise.
23810 * socket/accept.c: Likewise.
23811 * socket/accept4.c: Likewise.
23812 * socket/bind.c: Likewise.
23813 * socket/connect.c: Likewise.
23814 * socket/getpeername.c: Likewise.
23815 * socket/getsockname.c: Likewise.
23816 * socket/getsockopt.c: Likewise.
23817 * socket/isfdtype.c: Likewise.
23818 * socket/listen.c: Likewise.
23819 * socket/recv.c: Likewise.
23820 * socket/recvfrom.c: Likewise.
23821 * socket/recvmsg.c: Likewise.
23822 * socket/send.c: Likewise.
23823 * socket/sendmsg.c: Likewise.
23824 * socket/sendto.c: Likewise.
23825 * socket/setsockopt.c: Likewise.
23826 * socket/shutdown.c: Likewise.
23827 * socket/sockatmark.c: Likewise.
23828 * socket/socket.c: Likewise.
23829 * socket/socketpair.c: Likewise.
23830 * stdio-common/ctermid.c: Likewise.
23831 * stdio-common/cuserid.c: Likewise.
23832 * stdio-common/remove.c: Likewise.
23833 * stdio-common/rename.c: Likewise.
23834 * stdio-common/renameat.c: Likewise.
23835 * stdio-common/tempname.c: Likewise.
23836 * stdlib/getcontext.c: Likewise.
23837 * stdlib/makecontext.c: Likewise.
23838 * stdlib/setcontext.c: Likewise.
23839 * stdlib/swapcontext.c: Likewise.
23840 * stdlib/system.c: Likewise.
23841 * streams/fattach.c: Likewise.
23842 * streams/fdetach.c: Likewise.
23843 * streams/getmsg.c: Likewise.
23844 * streams/getpmsg.c: Likewise.
23845 * streams/putmsg.c: Likewise.
23846 * streams/putpmsg.c: Likewise.
23847 * sysdeps/unix/bsd/getpt.c: Likewise.
23848 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23849 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23850 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23852 Likewise.
23853 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23854 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23855 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23856 * sysvipc/msgctl.c: Likewise.
23857 * sysvipc/msgget.c: Likewise.
23858 * sysvipc/msgrcv.c: Likewise.
23859 * sysvipc/msgsnd.c: Likewise.
23860 * sysvipc/semctl.c: Likewise.
23861 * sysvipc/semget.c: Likewise.
23862 * sysvipc/semop.c: Likewise.
23863 * sysvipc/semtimedop.c: Likewise.
23864 * sysvipc/shmat.c: Likewise.
23865 * sysvipc/shmctl.c: Likewise.
23866 * sysvipc/shmdt.c: Likewise.
23867 * sysvipc/shmget.c: Likewise.
23868 * termios/tcdrain.c: Likewise.
23869 * termios/tcflow.c: Likewise.
23870 * termios/tcflush.c: Likewise.
23871 * termios/tcgetattr.c: Likewise.
23872 * termios/tcgetpgrp.c: Likewise.
23873 * termios/tcsendbrk.c: Likewise.
23874 * termios/tcsetattr.c: Likewise.
23875 * termios/tcsetpgrp.c: Likewise.
23876 * time/adjtime.c: Likewise.
23877 * time/clock.c: Likewise.
23878 * time/getitimer.c: Likewise.
23879 * time/gettimeofday.c: Likewise.
23880 * time/setitimer.c: Likewise.
23881 * time/settimeofday.c: Likewise.
23882 * time/stime.c: Likewise.
23883 * time/time.c: Likewise.
23884
238852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23886
a20492cf
PT
23887 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23888 /usr/old/bin.
23889
72e182e3
PT
23890 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23891 instead of spaces.
23892 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23893
fbeafede
JM
238942012-11-03 Joseph Myers <joseph@codesourcery.com>
23895
5b5b04d6
JM
23896 [BZ #14796]
23897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23898 FE_TONEAREST before applying Dekker multiplication and Knuth
23899 addition. Clear inexact exceptions and check for exact zero
23900 results afterwards.
23901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23902 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23904 * math/libm-test.inc (fma_test): Add more tests.
23905 (fma_test_towardzero): Likewise.
23906 (fma_test_downward): Likewise.
23907 (fma_test_upward): Likewise.
23908 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23909 function.
23910 (libc_fesetround): New macro.
23911 (libc_fesetroundf): Likewise.
23912 (libc_fesetroundl): Likewise.
23913 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23914 function.
23915 (libc_fesetround_387): Likewise.
23916 (libc_fesetroundf): New macro.
23917 (libc_fesetround): Likewise.
23918 (libc_fesetroundl): Likewise.
23919 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23920 function.
23921 (libc_fesetroundf): New macro.
23922 (libc_fesetround): Likewise.
23923 (libc_fesetroundl): Likewise.
23924 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23925 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23926 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23927 libm_hidden_ver.
23928 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23929 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23930 libm_hidden_def.
23931 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23932 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23933 libm_hidden_ver.
23934 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23935 libm_hidden_def.
23936
fbeafede
JM
23937 [BZ #3439]
23938 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23939 integer constant usable in #if and use that to give value to enum
23940 constant.
23941 (FE_DIVBYZERO): Likewise.
23942 (FE_UNDERFLOW): Likewise.
23943 (FE_OVERFLOW): Likewise.
23944 (FE_INVALID): Likewise.
23945 (FE_INVALID_SNAN): Likewise.
23946 (FE_INVALID_ISI): Likewise.
23947 (FE_INVALID_IDI): Likewise.
23948 (FE_INVALID_ZDZ): Likewise.
23949 (FE_INVALID_IMZ): Likewise.
23950 (FE_INVALID_COMPARE): Likewise.
23951 (FE_INVALID_SOFTWARE): Likewise.
23952 (FE_INVALID_SQRT): Likewise.
23953 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23954 (FE_TONEAREST): Likewise.
23955 (FE_TOWARDZERO): Likewise.
23956 (FE_UPWARD): Likewise.
23957 (FE_DOWNWARD): Likewise.
23958 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23959 (FE_DIVBYZERO): Likewise.
23960 (FE_OVERFLOW): Likewise.
23961 (FE_UNDERFLOW): Likewise.
23962 (FE_INEXACT): Likewise.
23963 (FE_TONEAREST): Likewise.
23964 (FE_DOWNWARD): Likewise.
23965 (FE_UPWARD): Likewise.
23966 (FE_TOWARDZERO): Likewise.
23967 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23968 (FE_UNDERFLOW): Likewise.
23969 (FE_OVERFLOW): Likewise.
23970 (FE_DIVBYZERO): Likewise.
23971 (FE_INVALID): Likewise.
23972 (FE_TONEAREST): Likewise.
23973 (FE_TOWARDZERO): Likewise.
23974 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23975 (FE_OVERFLOW): Likewise.
23976 (FE_UNDERFLOW): Likewise.
23977 (FE_DIVBYZERO): Likewise.
23978 (FE_INEXACT): Likewise.
23979 (FE_TONEAREST): Likewise.
23980 (FE_TOWARDZERO): Likewise.
23981 (FE_UPWARD): Likewise.
23982 (FE_DOWNWARD): Likewise.
23983 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23984 (FE_DIVBYZERO): Likewise.
23985 (FE_OVERFLOW): Likewise.
23986 (FE_UNDERFLOW): Likewise.
23987 (FE_INEXACT): Likewise.
23988 (FE_TONEAREST): Likewise.
23989 (FE_DOWNWARD): Likewise.
23990 (FE_UPWARD): Likewise.
23991 (FE_TOWARDZERO): Likewise.
23992
105ca950
CM
239932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23994
23995 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23996
a542b389
AS
239972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23998
23999 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24000 commands. Quote $PWD.
24001 (blacklist_exports): Don't use remove_newlines. Replace "declare
24002 -x" by "export".
24003 (remove_newlines): Remove.
24004
f62c8abc
L
240052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24006
24007 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24008 * stdlib/stdlib.h (atof): Moved to ...
24009 * include/bits/stdlib-float.h: Here. New file.
24010 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24011 * stdlib/bits/stdlib-float.h: New file.
24012 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24013 -mno-sse -mno-mmx.
24014 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24015 <xmmintrin.h>.
24016
0155d5b2
JM
240172012-11-02 Joseph Myers <joseph@codesourcery.com>
24018
a68d0680
JM
24019 * conform/conformtest.pl (@headers): Add fenv.h.
24020 * conform/data/fenv.h-data: New file.
24021 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24022 include of <math/fenv.h>.
24023
caf7f573
JM
24024 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24025 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24026 && !UNIX98]. Enables tests for XOPEN2K8.
24027 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24028 POSIX2008]: Likewise.
24029
6c073ad6
JM
24030 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24031 (struct rusage): Do not expect type or its members.
24032
0155d5b2
JM
24033 [BZ #3439]
24034 * math/math.h (FP_NAN): Define macro to integer constant usable in
24035 #if and use that to give value to enum constant.
24036 (FP_INFINITE): Likewise.
24037 (FP_ZERO): Likewise.
24038 (FP_SUBNORMAL): Likewise.
24039 (FP_NORMAL): Likewise.
24040
b5dcacb4
AS
240412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24042
24043 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24044 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24045 arguments.
24046
f7934be8
RM
240472012-11-02 Roland McGrath <roland@hack.frob.com>
24048
24049 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24050 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24051 autoconf-time if not.
24052 * configure.in: Remove AC_PREREQ.
24053
d7d08bde
TMQMF
240542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24055
24056 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24057 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24058 of the internal implementation.
24059
dcdae19a
JM
240602012-11-02 Joseph Myers <joseph@codesourcery.com>
24061
24062 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24063 except include of <misc/sys/syslog.h>.
24064
d6cffd3e
AS
240652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24066
24067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24068 function returns with a NULL context exit with zero.
24069
b3563932
TMQMF
240702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24071
24072 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24073
b288a93d
L
240742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24075
24076 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24077 (run_program_cmd): This.
24078 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24079 (tst_langinfo): New variable. Use it.
24080
a2421a68
SAS
240812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24082
24083 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24084 floating point opcodes.
24085
6f796e1b
TS
240862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24087
7402596b
TS
24088 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24089 variable.
24090
d0d4f868
TS
24091 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24092
6f796e1b
TS
24093 * sysdeps/mach/hurd/powerpc: Remove directory.
24094 * sysdeps/mach/powerpc: Likewise.
24095
4da224a2
AS
240962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24097
24098 * scripts/check-local-headers.sh: Ignore c++ headers.
24099
341dd673
TS
241002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24101
24102 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24103 __libc_cleanup_region_start argument.
24104
473611b2
JM
241052012-11-01 Joseph Myers <joseph@codesourcery.com>
24106
24107 [BZ #14784]
24108 [BZ #14785]
24109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24110 x * y using scaling, not as x * y + z.
24111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24112 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24113 * math/libm-test.inc (fma_test): Add more tests.
24114 (fma_test_towardzero): Likewise.
24115 (fma_test_downward): Likewise.
24116 (fma_test_upward): Likewise.
24117
4078da3d
TS
241182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24119
24120 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24121
903252aa
JM
241222012-10-31 Joseph Myers <joseph@codesourcery.com>
24123
24124 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24125 New variable.
24126
cbc818d0
TS
241272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24128
24129 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24130
5a03cb1e
AS
241312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24132
24133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24134 Fix sort order.
24135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24136 Likewise.
24137
90aff2ff
TMQMF
241382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24139
24140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24141 Fix the order of the list for glibc 2.17.
24142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24143 Likewise.
24144
1818fcb7
AS
241452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24146
24147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24148
ef82f4da
JM
241492012-10-31 Joseph Myers <joseph@codesourcery.com>
24150
16a0e2ec
JM
24151 [BZ #14610]
24152 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24153 for low part of x being zero before using __atanl (y).
24154 * math/libm-test.inc (atan2_test): Add another test.
24155
0eb69512
JM
24156 * manual/install.texi (Configuring and compiling): Document
24157 general use of test-wrapper and test-wrapper-env.
24158 * INSTALL: Regenerated.
24159
ef82f4da
JM
24160 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24161 (__fma): Do not extract and scale down low bits on after-rounding
24162 systems when result rounded to normal precision would have normal
24163 exponent.
24164 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24165 (__fmal): Do not extract and scale down low bits on after-rounding
24166 systems when result rounded to normal precision would have normal
24167 exponent.
24168 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24169 (__fmal): Do not extract and scale down low bits on after-rounding
24170 systems when result rounded to normal precision would have normal
24171 exponent.
24172 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24173 macro.
24174 (fma_test): Add more tests.
24175 (fma_test_towardzero): Likewise.
24176 (fma_test_downward): Likewise.
24177 (fma_test_upward): Likewise.
24178
954ef0d9
L
241792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24180
24181 * sysdeps/i386/tininess.h: Renamed to ...
24182 * sysdeps/x86/tininess.h: This.
24183 * sysdeps/x86_64/tininess.h: Removed.
24184
df61ffb2
JM
241852012-10-30 Joseph Myers <joseph@codesourcery.com>
24186
24187 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24188 input. Use $(build-program-cmd).
24189 ($(objpfx)tst-array1-static.out): Likewise.
24190 ($(objpfx)tst-array2.out): Likewise.
24191 ($(objpfx)tst-array3.out): Likewise.
24192 ($(objpfx)tst-array4.out): Likewise.
24193 ($(objpfx)tst-array5.out): Likewise.
24194 ($(objpfx)tst-array5-static.out): Likewise.
24195
01767843
CM
241962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24197
47cc1490
CM
24198 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24199 if defined.
24200
01767843
CM
24201 * nss/nsswitch.h (nss_interface_function): Provide new
24202 macro for use with NSS functions.
24203 * grp/initgroups.c: Use new macro.
24204 * nss/getXXbyYY.c: Likewise.
24205 * nss/getXXbyYY_r.c: Likewise.
24206 * nss/getXXent.c: Likewise.
24207 * nss/getXXent_r.c: Likewise.
24208 * sysdeps/posix/getaddrinfo.c: Likewise.
24209
8321aa97
AJ
242102012-10-30 Andreas Jaeger <aj@suse.de>
24211
24212 * po/ru.po: Update Russion translation from translation project.
24213
2a27fd6d
JM
242142012-10-30 Joseph Myers <joseph@codesourcery.com>
24215
8627a232
JM
24216 [BZ #14152]
24217 [BZ #14783]
24218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24219 result and shift together with sticky bit instead of replicating
24220 round-to-nearest rounding.
24221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24222 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24223 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24224 missing underflow exceptions.
24225 (fma_test_towardzero): Add more tests.
24226 (fma_test_downward): Likewise.
24227 (fma_test_upward): Likewise.
24228
2a27fd6d
JM
24229 [BZ #14047]
24230 * sysdeps/generic/tininess.h: New file.
24231 * sysdeps/i386/tininess.h: Likewise.
24232 * sysdeps/sh/tininess.h: Likewise.
24233 * sysdeps/x86_64/tininess.h: Likewise.
24234 * stdlib/tst-strtod-underflow.c: Likewise.
24235 * stdlib/tst-tininess.c: Likewise.
24236 * stdlib/strtod_l.c: Include <tininess.h>.
24237 (round_and_return): Do not set errno for exact underflow cases.
24238 Force an underflow exception when setting errno for underflow.
24239 Determine underflow based on rounding to normal precision if
24240 TININESS_AFTER_ROUNDING.
24241 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24242 ERANGE for exact underflow cases.
24243 * stdlib/Makefile (tests): Add tst-tininess and
24244 tst-strtod-underflow.
24245 ($(objpfx)tst-tininess): Use $(link-libm).
24246 ($(objpfx)tst-strtod-underflow): Likewise.
24247
e7170363
AJ
242482012-10-30 Andreas Jaeger <aj@suse.de>
24249
e5088dc6
AJ
24250 [BZ#14767]
24251 * elf/Makefile (tests): Remove conditional for have-initfini-array
24252 since this is now always required and the variable does not exist
24253 anymore.
24254 (tests-static): Likewise.
24255 (modules-names): Likewise.
24256
e7170363 24257 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24258
24259 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24260 merged with constructor/destructor.
24261 (init_array): Likewise.
24262 * elf/tst-array2dep.c (fini_array): Likewise.
24263 (init_array): Likewise.
24264
60457d8a
MF
242652012-10-29 Mike Frysinger <vapier@gentoo.org>
24266
24267 * manual/message.texi: Delete @cartouche tags.
24268
8bece752
PT
242692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24270
94ce799f
PT
24271 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24272 EOPNOTSUPP.
24273 * sysdeps/mach/hurd/fsync.c: Likewise.
24274
8bece752
PT
24275 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24276 [_POSIX_REALTIME_SIGNALS]: Change condition to
24277 [_POSIX_REALTIME_SIGNALS > 0].
24278
86ebe6b1
AJ
242792012-10-27 Andreas Jaeger <aj@suse.de>
24280
24281 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24282 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24284 [__WORDSIZE != 64]: Likewise.
24285
54399c08
L
242862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24287
24288 * iconvdata/tst-table.sh: Remove ${SHELL}.
24289 * iconvdata/tst-tables.sh: Likewise.
24290
e2211bed
DM
242912012-10-25 David S. Miller <davem@davemloft.net>
24292
24293 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24294 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24295 of strtoull.
24296
f303f97c
DM
24297 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24298 ifunc-impl-list.c
24299 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24300 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24301 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24302 file.
24303
1e9d84cd
RM
243042012-10-25 Roland McGrath <roland@hack.frob.com>
24305
24306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24307 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24308 __getdirentries.
24309
df381762
JM
243102012-10-25 Joseph Myers <joseph@codesourcery.com>
24311 Jim Blandy <jimb@codesourcery.com>
24312
24313 * scripts/cross-test-ssh.sh: New file.
24314 * manual/install.texi (Configuring and compiling): Document use of
24315 cross-test-ssh.sh.
24316 * INSTALL: Regenerated.
24317
bff64913
PT
243182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24319
24320 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24321 EOPNOTSUPP.
24322
25fe8932
JM
243232012-10-25 Joseph Myers <joseph@codesourcery.com>
24324
24325 * Makeconfig (run-program-prefix): Fix comment.
24326
cc1290d0
JM
243272012-10-24 Joseph Myers <joseph@codesourcery.com>
24328 Jim Blandy <jimb@codesourcery.com>
24329
24330 * Makeconfig (test-wrapper): New variable,
24331 (test-wrapper-env): Likewise.
24332 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24333 (run-built-tests): Define to yes.
24334 (run-program-prefix): Use $(test-wrapper).
24335 (built-program-cmd): Likewise.
24336 * Rules (make-test-out): Use $(test-wrapper-env) and
24337 $(host-built-program-cmd).
24338 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24339 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24340 tst-pathopt.sh.
24341 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24342 $(test-wrapper-env) to tst-rtld-load-self.sh.
24343 ($(objpfx)order2.out): Use $(test-wrapper).
24344 ($(objpfx)tst-initorder.out): Likewise.
24345 ($(objpfx)tst-initorder2.out): Likewise.
24346 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24347 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24348 (test_wrapper_env): New variable. Use it to run ld.so.
24349 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24350 Use it to run ld.so.
24351 (test_wrapper_env): Likewise.
24352 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24353 $(test-wrapper) to run-iconv-test.sh.
24354 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24355 (ICONV): Use $test_wrapper.
24356 * posix/Makefile ($(objpfx)globtest.out): Pass
24357 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24358 globtest.sh, not $(run-program-prefix).
24359 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24360 (test_wrapper): Likewise.
24361 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24362 set together with run_via_rtld_prefix.
24363 (run_program_prefix): Define in terms of test_wrapper and
24364 run_via_rtld_prefix.
24365
6e6249d0
RM
243662012-10-24 Roland McGrath <roland@hack.frob.com>
24367
24368 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24369 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24370 Targets removed.
24371
24372 [BZ #14743]
24373 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24374 Declare __clock_getres, __clock_gettime, __clock_settime,
24375 __clock_nanosleep, and __clock_getcpuclockid.
24376 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24377 Remove librt_hidden_def (clock_gettime).
24378 * sysdeps/unix/clock_gettime.c: Likewise.
24379 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24380 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24381 * rt/clock_getres.c: Define __clock_getres as an alias.
24382 * sysdeps/posix/clock_getres.c: Likewise.
24383 * rt/clock_settime.c: Define __clock_settime as an alias.
24384 * sysdeps/unix/clock_settime.c: Likewise.
24385 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24386 * sysdeps/unix/clock_nanosleep.c: Likewise.
24387 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24388 * rt/clock-compat.c: New file.
24389 * rt/Makefile (librt-routines): Add clock-compat and move
24390 $(clock-routines) to ...
24391 (routines): ... here, new variable.
24392 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24393 Don't add get_clockfreq here.
24394 * rt/Versions (libc: GLIBC_2.17): New version set.
24395 Add clock_* symbols here.
24396 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24397 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24398 (GLIBC_2.17): Add clock_* symbols.
24399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24403 Likewise.
24404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24405 Likewise.
24406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24410 * NEWS: Mention the move.
24411
24412 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24413 Use __open, __read, __close rather than their public counterparts.
24414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24415 (__get_clockfreq_via_cpuinfo): Likewise.
24416 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24417 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24418
24419 * config.h.in (HAVE_IFUNC): New #undef.
24420 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24421 was successful.
24422 * configure: Regenerated.
24423
0cae3f4b
MF
244242012-10-24 Mike Frysinger <vapier@gentoo.org>
24425
24426 * configure.in: Move READELF check to start of file.
24427 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24428 libc_cv_asm_gnu_indirect_function in the process.
24429 * configure: Regenerated.
24430
8175a253
MF
244312012-10-24 Mike Frysinger <vapier@gentoo.org>
24432
24433 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24434 send the output to /dev/null.
24435 (libc_cv_cc_with_libunwind): Likewise.
24436 (libc_cv_as_noexecstack): Likewise.
24437 * configure: Regenerate.
24438
0708a7d1
JM
244392012-10-24 Joseph Myers <joseph@codesourcery.com>
24440
10b40d85
JM
24441 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24442
0708a7d1
JM
24443 * posix/globtest.sh (TMPDIR): Do not set.
24444 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24445 (testout): Likewise.
24446
9fddec1a
AJ
244472012-10-24 Andreas Jaeger <aj@suse.de>
24448
3a8db22f
AJ
24449 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24450 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24451 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24452 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24453 posix_fadvise64, posix_fallocate64.
24454
9fddec1a
AJ
24455 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24456 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24457 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24458 Likewise.
24459 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24460 Likewise.
24461 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24462
24463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24464 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24465 <bits/fcntl-linux.h>.
24466 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24467
24468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24469 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24470 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24471 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24472 [__WORDSIZE != 64]: Likewise.
24473
ebfd1bbd
JM
244742012-10-23 Joseph Myers <joseph@codesourcery.com>
24475
03ac099f
JM
24476 * Makeconfig (run-built-tests): New variable.
24477 * Rules [$(cross-compiling) = yes]: Change condition to
24478 [$(run-built-tests) = no].
24479 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24480 to [$(run-built-tests) = yes].
24481 * elf/Makefile [$(cross-compiling) = no]: Likewise
24482 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24483 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24484 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24485 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24486 * io/Makefile [$(cross-compiling) = no]: Likewise.
24487 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24488 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24489 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24490 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24491 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24492 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24493 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24494 * string/Makefile [$(cross-compiling) = no]: Likewise.
24495
ebfd1bbd
JM
24496 * posix/Makefile ($(objpfx)globtest.out): Pass
24497 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24498 $(rtld-installed-name).
24499 * posix/globtest.sh (elf_objpfx): Remove variable.
24500 (rtld_installed_name): Likewise.
24501 (library_path): Likewise.
24502 (run_program_prefix): New variable. Use for running globtest
24503 binary.
24504
166bca24
JB
245052012-10-23 Jim Blandy <jimb@codesourcery.com>
24506 Joseph Myers <joseph@codesourcery.com>
24507
24508 * Makeconfig (host-built-program-cmd): New variable.
24509 * elf/Makefile (tst-stackguard1-ARGS): Use
24510 $(host-built-program-cmd).
24511 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24512 (tst-spawn-ARGS): Likewise.
24513 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24514
88866099
JM
245152012-10-23 Joseph Myers <joseph@codesourcery.com>
24516 Jim Blandy <jimb@codesourcery.com>
24517
24518 * Makeconfig (run-via-rtld-prefix): New variable.
24519 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24520 (built-program-cmd): Likewise.
24521
b4b4c296
AJ
245222012-10-22 Andreas Jaeger <aj@suse.de>
24523
24524 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24525 __O_RSYNC if it exists, otherwise to O_SYNC.
24526
6fb54a22
JB
245272012-10-22 Jim Blandy <jimb@codesourcery.com>
24528 Joseph Myers <joseph@codesourcery.com>
24529
24530 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24531 /dev/null.
24532 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24533 from /dev/null
24534 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24535 /dev/null.
24536
481b90b9
AJ
245372012-10-22 Andreas Jaeger <aj@suse.de>
24538
2a0e2669
AJ
24539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24540 Define always.
24541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24542
76e38f9a
AJ
24543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24544 bits/fcntl-linux.h.
24545
7cd37b43
AJ
24546 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24547 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24548
481b90b9
AJ
24549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24550 to __O_LARGEFILE.
24551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24552 to __O_LARGEFILE.
24553
aba75984
JB
245542012-10-21 Jim Blandy <jimb@codesourcery.com>
24555 Joseph Myers <joseph@codesourcery.com>
24556
24557 * config.make.in (NM): New variable.
24558
88d4247f
AJ
245592012-10-21 Andreas Jaeger <aj@suse.de>
24560
24561 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24562 definitions and declarations that are provided by
24563 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24564
f2eed205
L
245652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24566
24567 [BZ #14683]
24568 * elf/Makefile (tests-static): Add tst-leaks1-static.
24569 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24570 ($(objpfx)tst-leaks1-static): New rule.
24571 ($(objpfx)tst-leaks1-static-mem): Likewise.
24572 (tst-leaks1-static-ENV): New macro.
24573 * elf/dl-open.c (dl_open_worker): Check the main application
24574 only if SHARED is defined.
24575 * elf/tst-leaks1-static.c: New file.
24576
335e6931
AJ
245772012-10-20 Andreas Jaeger <aj@suse.de>
24578
24579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24580 generic values for Linux.
24581 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24582 and declarations that are provided by <bits/fcntl-linux.h> and
24583 include <bits/fcntl-linux.h>.
24584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24586
ac5c94d3
RM
245872012-10-20 Roland McGrath <roland@hack.frob.com>
24588
24589 * io/fcntl.h: Move include of <bits/types.h> to the top and
24590 include it unconditionally.
24591
de54b33a
L
245922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24593
228cfb01
L
24594 * wcsmbs/Makefile (tests-ifunc): New variable.
24595 (tests): Add $(tests-ifunc).
24596 * wcsmbs/test-wcschr-ifunc.c: New file.
24597 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24598 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24599 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24600 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24601 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24602
69f07e5f
L
24603 * string/Makefile (tests-ifunc): New variable.
24604 (tests): Add $(tests-ifunc).
24605 * string/test-memccpy.c (TEST_NAME): New macro.
24606 * string/test-memchr.c (TEST_NAME): Likewise.
24607 * string/test-memcmp.c (TEST_NAME): Likewise.
24608 * string/test-memcpy.c (TEST_NAME): Likewise.
24609 * string/test-memmem.c (TEST_NAME): Likewise.
24610 * string/test-memmove.c (TEST_NAME): Likewise.
24611 * string/test-memset.c (TEST_NAME): Likewise.
24612 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24613 * string/test-stpcpy.c (TEST_NAME): Likewise.
24614 * string/test-stpncpy.c (TEST_NAME): Likewise.
24615 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24616 * string/test-strcasestr.c (TEST_NAME): Likewise.
24617 * string/test-strcat.c (TEST_NAME): Likewise.
24618 * string/test-strchr.c (TEST_NAME): Likewise.
24619 * string/test-strcmp.c(TEST_NAME): Likewise.
24620 * string/test-strcpy.c (TEST_NAME): Likewise.
24621 * string/test-strcspn.c (TEST_NAME): Likewise.
24622 * string/test-strlen.c (TEST_NAME): Likewise.
24623 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24624 * string/test-strncmp.c (TEST_NAME): Likewise.
24625 * string/test-strncpy.c (TEST_NAME): Likewise.
24626 * string/test-strnlen.c (TEST_NAME): Likewise.
24627 * string/test-strpbrk.c (TEST_NAME): Likewise.
24628 * string/test-strrchr.c (TEST_NAME): Likewise.
24629 * string/test-strspn.c (TEST_NAME): Likewise.
24630 * string/test-strstr.c (TEST_NAME): Likewise.
24631 * string/test-bcopy-ifunc.c: New file.
24632 * string/test-bzero-ifunc.c: Likewise.
24633 * string/test-memccpy-ifunc.c: Likewise.
24634 * string/test-memchr-ifunc.c: Likewise.
24635 * string/test-memcmp-ifunc.c: Likewise.
24636 * string/test-memcpy-ifunc.c: Likewise.
24637 * string/test-memmem-ifunc.c: Likewise.
24638 * string/test-memmove-ifunc.c: Likewise.
24639 * string/test-mempcpy-ifunc.c: Likewise.
24640 * string/test-memset-ifunc.c: Likewise.
24641 * string/test-rawmemchr-ifunc.c: Likewise.
24642 * string/test-stpcpy-ifunc.c: Likewise.
24643 * string/test-stpncpy-ifunc.c: Likewise.
24644 * string/test-strcasecmp-ifunc.c: Likewise.
24645 * string/test-strcasestr-ifunc.c: Likewise.
24646 * string/test-strcat-ifunc.c: Likewise.
24647 * string/test-strchr-ifunc.c: Likewise.
24648 * string/test-strchrnul-ifunc.c: Likewise.
24649 * string/test-strcmp-ifunc.c: Likewise.
24650 * string/test-strcpy-ifunc.c: Likewise.
24651 * string/test-strcspn-ifunc.c: Likewise.
24652 * string/test-strlen-ifunc.c: Likewise.
24653 * string/test-strncasecmp-ifunc.c: Likewise.
24654 * string/test-strncat-ifunc.c: Likewise.
24655 * string/test-strncmp-ifunc.c: Likewise.
24656 * string/test-strncpy-ifunc.c: Likewise.
24657 * string/test-strnlen-ifunc.c: Likewise.
24658 * string/test-strpbrk-ifunc.c: Likewise.
24659 * string/test-strrchr-ifunc.c: Likewise.
24660 * string/test-strspn-ifunc.c: Likewise.
24661 * string/test-strstr-ifunc.c: Likewise.
24662
de54b33a
L
24663 * debug/Makefile (tests-ifunc): New variable.
24664 (tests): Add $(tests-ifunc).
24665 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24666 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24667 * debug/test-stpcpy_chk-ifunc.c: New file.
24668 * debug/test-strcpy_chk-ifunc.c: Likewise.
24669
88481c16
SP
246702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24671
24672 [BZ #13601]
24673 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24674 header is not read in.
24675
135948bd
JM
246762012-10-19 Joseph Myers <joseph@codesourcery.com>
24677
89f1c388
JM
24678 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24679 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24680 directly. Pass built executable to script as
24681 $(built-program-cmd).
24682 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24683 $testprogram without using LD_LIBRARY_PATH and $ldso.
24684
e40a0d21
JM
24685 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24686 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24687 $(rtld-installed-name).
24688 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24689 (rtld_installed_name): Likewise.
24690 (library_path): Likewise.
24691 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24692 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24693 $(run-program-prefix) to tst-tables.sh.
24694 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24695 it to run tst-table-from and tst-table-to.
24696 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24697 Pass it to tst-table.sh.
24698 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24699 $(run-program-prefix) to tst-gettext.sh.
24700 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24701 tst-translit.sh.
24702 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24703 tst-gettext2.sh.
24704 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24705 to run tst-gettext.
24706 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24707 to run tst-gettext2.
24708 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24709 to run tst-translit.
24710 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24711 $(run-program-prefix) to tst-mtrace.sh.
24712 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24713 to run tst-mtrace.
24714 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24715 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24716 $(rtld-installed-name).
24717 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24718 (rtld_installed_name): Likewise.
24719 (run_program_prefix): New variable. Use it to run wordexp-test.
24720
728e272a
JM
24721 * Makeconfig (ARCH): Remove all definitions.
24722 (machine): Likewise.
24723 [ARCH]: Remove conditional code.
24724 [!objdir]: Give error.
24725 [!objdir] (objpfx): Remove.
24726 [!objdir] (common-objpfx): Likewise.
24727 [!objdir] (common-objdir): Likewise.
24728 * configure.in (config_makefile): Remove. Hardcode Makefile in
24729 AC_CONFIG_FILES call.
24730 * configure: Regenerated.
24731
d528cdcf
JM
24732 [BZ #13888]
24733 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24734 or TMPDIR.
24735 (testout): Likewise.
24736
135948bd
JM
24737 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24738 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24739 $(rtld-installed-name).
24740 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24741 (rtld_installed_name): Likwise.
24742 (runit): Remove function.
24743 (run_getconf): New variable, Use it for running getconf binary.
24744
38c78296
L
247452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24746
24747 [BZ #14716]
24748 * string/test-memmem.c (check_result): New function.
24749 (do_one_test): Use it.
24750 (check1): New function.
24751 (test_main): Use it.
24752
d077f65f
MT
247532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24754
24755 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24756
ced52c71
JM
247572012-10-18 Joseph Myers <joseph@codesourcery.com>
24758
24759 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24760 (_G_LSEEK64): Likewise.
24761 (_G_MMAP64): Likewise.
24762 (_G_FSTAT64): Likewise.
24763 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24764 (_G_LSEEK64): Likewise.
24765 (_G_MMAP64): Likewise.
24766 (_G_FSTAT64): Likewise.
24767 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24768 unconditional. Call __mmap64 directly.
24769 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24770 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24771 __lseek64 directly.
24772 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24773 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24774 __mmap64 directly.
24775 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24776 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24777 __lseek64 directly.
24778 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24779 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24780 __lseek64 directly.
24781 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24782 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24783 __lseek64 directly.
24784 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24785 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24786 __fxstat64 directly.
24787 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24788 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24789 unconditional.
24790 (freopen64) [!_G_OPEN64]: Remove conditional code.
24791 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24792 unconditional.
24793 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24794 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24795 unconditional.
24796 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24797 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24798 unconditional.
24799 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24800 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24801 unconditional.
24802 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24803 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24804 unconditional.
24805 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24806 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24807 unconditional.
24808 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24809 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24810 unconditional.
24811 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24812
b741de23
SP
248132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24814
24815 [BZ #12140]
24816 * manual/memory.texi (Malloc Tunable Parameters): Add note
24817 about free list pointers overwriting some perturb bytes.
24818 Wording suggested by Roland McGrath.
24819
f9b9d9c9
JM
248202012-10-17 Joseph Myers <joseph@codesourcery.com>
24821
24822 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24823 (lgamma_test): Likewise.
24824 (tgamma_test): Likewise.
24825
172a631a
FW
248262012-10-16 Florian Weimer <fweimer@redhat.com>
24827
24828 [BZ #14700]
24829 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24830 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24831
e9f37252
MK
248322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24833
24834 * NEWS: Mention BZ #14716.
24835 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24836 when removing AVAILABLE1_USES_J macro.
24837
d394eb74
L
248382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24839
24840 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24841 (__bswap_64): __uint64_t for unsigned 64-bit int.
24842
ca38dc17
AS
248432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24844
24845 * include/string.h (memmem): Declare libc hidden alias.
24846 * string/memmem.c (memmem): Define libc hidden alias.
24847 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24848 __read, __close instead of open, read, close.
24849
9a387d1f
L
248502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24851
ac49ecaf
L
24852 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24853 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24854 global and hidden.
24855 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24856 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24857 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24858 Likewise.
24859 (__rawmemchr_sse2): Likewise.
24860 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24861 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24862 (__strchr_sse2): Likewise.
24863 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24864 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24865 (__strcasecmp_sse2): Likewise.
24866 (__strncasecmp_sse2): Likewise.
24867 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24868 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24869 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24870 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24871 (__strrchr_sse2): Likewise.
24872 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24873 ifunc-impl-list.c.
24874 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24875 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24876 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24877 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24878 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24879 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24880 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24881 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24882 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24883 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24884 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24885 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24886 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24887 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24888 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24889 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24890 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24891 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24892 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24893 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24894 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24895 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24896 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24897 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24898 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24899 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24900 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24901 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24902 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24903 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24904
b090e8ea
L
24905 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24906 global and hidden.
24907 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24908 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24909 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24910 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24911 Likewise.
24912 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24913 Likewise.
24914 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24915 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24916 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24917 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24918 ifunc-impl-list.c.
24919 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24920 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24921 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24928 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24929 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24930 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24931 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24932 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24933 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24935 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24936 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24937 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24938 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24939 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24940 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24941 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24942 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24943 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24944 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24945 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24946 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24947 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24948 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24949 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24950 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24951 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24952 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24953 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24954 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24955 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24956 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24957 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24958 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24959 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24960
11dd4af6
L
24961 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24962 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24963 * include/ifunc-impl-list.h: New file.
24964 * misc/ifunc-impl-list.c: Likewise.
24965 * misc/Makefile (routines): Add ifunc-impl-list.
24966 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24967 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24968 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24969 TEST_NAME]: New variables.
11dd4af6
L
24970 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24971 are defined.
24972 (test_init): Call __libc_ifunc_impl_list to initialize
24973 func_list if TEST_IFUNC and TEST_NAME are defined.
24974
9a387d1f
L
24975 * string/Makefile (strop-tests): Add bcopy and bzero.
24976 * string/test-bcopy.c: New file.
24977 * string/test-bzero.c: Likewise.
24978 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24979 defined.
24980 * string/test-memset.c: Support bzero test if TEST_BZERO is
24981 defined.
24982 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24983 __libc_memmove.
24984 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24985 __libc_memset.
24986 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24987 of memset.
24988
472371b9
JM
249892012-10-10 Joseph Myers <joseph@codesourcery.com>
24990
1e4a9536
JM
24991 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24992 * configure: Regenerated.
24993
d173d12e
JM
24994 * Makeconfig (+link-static-before-libc): Don't include
24995 $(link-static-libc).
24996
472371b9
JM
24997 * libio/libio.h (_IO_pos_t): Remove.
24998
89a3ad0b
AO
249992012-10-10 Alexandre Oliva <aoliva@redhat.com>
25000
25001 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25002 McGrath.
25003
e7451425
AO
250042012-10-10 Alexandre Oliva <aoliva@redhat.com>
25005
25006 * crypt/crypt-entry.c: Include fips-private.h.
25007 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25008 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25009 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25010 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25011
4ba74a35
AO
250122012-10-10 Alexandre Oliva <aoliva@redhat.com>
25013
25014 * crypt/crypt-private.h: Include stdbool.h.
25015 (_ufc_setup_salt_r): Return bool.
25016 * crypt/crypt-entry.c: Include errno.h.
25017 (__crypt_r): Return NULL with EINVAL for bad salt.
25018 * crypt/crypt_util.c (bad_for_salt): New.
25019 (_ufc_setup_salt_r): Check that salt is long enough and within
25020 the specified alphabet.
25021 * crypt/badsalttest.c: New file.
25022 * crypt/Makefile (tests): Add it.
25023 ($(objpfx)badsalttest): New.
25024
f96f1242
MK
250252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25026
25027 * NEWS: Add entry for BZ #14602.
25028
0e8e0c1c
JM
250292012-10-09 Joseph Myers <joseph@codesourcery.com>
25030
25031 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25032 type-generic.
25033 * math/libm-test.inc: Update comment listing what functions and
25034 macros are tested.
25035 (isgreater_test): New function.
25036 (isgreaterequal_test): Likewise.
25037 (isless_test): Likewise.
25038 (islessequal_test): Likewise.
25039 (islessgreater_test): Likewise.
25040 (isunordered_test): Likewise.
25041 (main): Call the new functions.
25042
273edc5e
RM
250432012-10-09 Roland McGrath <roland@hack.frob.com>
25044
b8493de0
RM
25045 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25046 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25047 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25048 * sysdeps/i386/configure: Regenerated.
25049 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25050 * sysdeps/mach/configure: Regenerated.
25051 * sysdeps/mach/hurd/configure: Regenerated.
25052 * sysdeps/powerpc/configure: Regenerated.
25053 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25054 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25055 * sysdeps/s390/s390-32/configure: Regenerated.
25056 * sysdeps/s390/s390-64/configure: Regenerated.
25057 * sysdeps/sh/configure: Regenerated.
25058 * sysdeps/sparc/configure: Regenerated.
25059 * sysdeps/unix/sysv/linux/configure: Regenerated.
25060 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25061 * sysdeps/x86_64/configure: Regenerated.
25062
273edc5e
RM
25063 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25064 defined. Don't check if MAP is NULL.
25065
c8450f70
JM
250662012-10-09 Joseph Myers <joseph@codesourcery.com>
25067
25068 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25069 (_G_stat64): Likewise.
25070 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25071 (_G_stat64): Likewise.
25072 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25073 instead of struct _G_stat64.
25074 * libio/fileops.c (mmap_remap_check): Likewise.
25075 (decide_maybe_mmap): Likewise.
25076 (_IO_new_file_seekoff): Likewise.
25077 (_IO_file_stat): Likewise.
25078 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25079 _G_off64_t.
25080 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25081 instead of struct _G_stat64.
25082 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25083
57e605ba
MK
250842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25085
25086 [BZ #14602]
25087 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25088 Replace with ...
25089 (CHECK_EOL): New macro.
25090 (two_way_short_needle): Check beginning of haystack for EOL. Use
25091 CHECK_EOL.
25092 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25093 Replace with CHECK_EOL.
25094 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25095 Replace with CHECK_EOL.
25096
ef1bb361
JM
250972012-10-08 Joseph Myers <joseph@codesourcery.com>
25098
25099 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25100 type-generic.
25101 * math/libm-test.inc: Update comment listing what functions and
25102 macros are tested.
25103 (finite_test): New function.
25104 (isinf_test): Likewise.
25105 (isnan_test): Likewise.
25106 (fpclassify_test): Test subnormal input.
25107 (isfinite_test): Likewise.
25108 (isnormal_test): Likewise.
25109 (main): Call the new functions.
25110
55f11534
JN
251112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25112
25113 [BZ #14660]
25114 * Makerules (%.dynsym): Force C locale when running
25115 $(OBJDUMP) --dynamic-syms.
25116
1ab29350
AS
251172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25118
25119 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25120 <stdint.h>.
25121
f1ecb7ef
DM
251222012-10-06 David S. Miller <davem@davemloft.net>
25123
25124 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25125 upper 32-bits of the length value in %o2 since we use branch-on-register
25126 tests which consider the entire 64-bit register.
25127
5d41d91a
L
251282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25129
25130 * string/test-strstr.c (check2): Add a test for page boundary.
25131
3baddb72
DM
251322012-10-05 David S. Miller <davem@davemloft.net>
25133
25134 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25135 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25136 file.
25137 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25138 sysdep_routines.
25139 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25140 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25141 and bzero when HWCAP_SPARC_CRYPTO is present.
25142
9cee5585
L
251432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25144
d7e0dab9
L
25145 [BZ #14602]
25146 * string/test-strstr.c (check2): New function.
25147 (test_main): Call check2.
25148
03759f47
L
25149 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25150 and bug-strchr1.
25151 * string/bug-strcasestr1.c (do_test): Moved to ...
25152 * string/test-strcasestr.c (check1): Here. New function.
25153 (do_one_test): Break out result checking code into ...
25154 (check_result): This. New function.
25155 (do_one_test): Call check_result.
25156 (test_main): Call check1.
25157 * string/bug-strchr1.c (do_test): Moved to ...
25158 * string/test-strchr.c (check1): Here. New function.
25159 (do_one_test): Break out result checking code into ...
25160 (check_result): This. New function.
25161 (do_one_test): Call check_result.
25162 (test_main): Call check1.
25163 * string/bug-strstr1.c (main): Moved to ...
046f153e 25164 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25165 (do_one_test): Break out result checking code into ...
25166 (check_result): This. New function.
25167 (do_one_test): Call check_result.
25168 (test_main): Call check1.
25169 * string/bug-strcasestr1.c: Removed.
25170 * string/bug-strchr1.c: Likewise.
25171 * string/bug-strstr1.c: Likewise.
25172
53cea63e
L
25173 * elf/Makefile (dl-routines): Add hwcaps.
25174 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25175 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25176 (_dl_important_hwcaps): Moved to ...
25177 * elf/dl-hwcaps.c: Here. New file.
25178 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25179
9cee5585 25180 [BZ #14557]
bb859b06
L
25181 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25182 if IS_IN_rtld isn't defined.
25183
9cee5585
L
25184 * elf/dl-support.c (_dl_sysinfo_map): New.
25185 Include "get-dynamic-info.h" and "setup-vdso.h".
25186 (_dl_non_dynamic_init): Call setup_vdso.
25187 * elf/dynamic-link.h: Don't include <assert.h>.
25188 (elf_get_dynamic_info): Moved to ...
25189 * elf/get-dynamic-info.h: Here. New file.
25190 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25191 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25192 * elf/setup-vdso.h: Here. New file.
25193 * elf/rtld.c: Include "setup-vdso.h".
25194 (dl_main): Call setup_vdso.
25195
23c31b76
JM
251962012-10-05 Joseph Myers <joseph@codesourcery.com>
25197
28234b07
JM
25198 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25199 creal in comment listing functions tested. List finite, isinf,
25200 isnan, isless, islessequal, isgreater, isgreaterequal,
25201 islessgreater, isunordered, lgamma_r and pow10 as functions and
25202 macros not tested. Mention which functions not tested are aliases
25203 for other functions. Fix typo. Note that signs of NaNs are not
25204 tested.
25205
23c31b76
JM
25206 * scripts/config.guess: Update from config.git.
25207 * scripts/config.sub: Likewise.
25208
9043e228
RM
252092012-10-04 Roland McGrath <roland@hack.frob.com>
25210
25211 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25212 * misc/madvise.c (madvise): Renamed to __madvise.
25213 Make madvise a weak alias.
25214 * include/sys/mman.h: Declare __madvise.
25215 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25216 * sysdeps/unix/syscalls.list
25217 (madvise): Make __madvise the strong name, and madvise a weak alias.
25218 * sysdeps/unix/sysv/linux/syscalls.list
25219 (madvise, mmap): Remove redundant entries.
25220 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25221 * malloc/malloc.c (mtrim): Likewise.
25222 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25223
f57f8055
RM
252242012-10-03 Roland McGrath <roland@hack.frob.com>
25225
25226 * sysdeps/mach/hurd/dl-cache.c: File removed.
25227 * config.h.in (USE_LDCONFIG): New #undef.
25228 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25229 * configure: Regenerated.
25230 * elf/Makefile (dl-routines): Add dl-cache only under
25231 [$(use-ldconfig) = yes].
25232 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25233 cache on [USE_LDCONFIG].
25234 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25235 [USE_LDCONFIG].
25236 * elf/rtld.c (dl_main): Likewise.
25237
5bb0c10a
PT
252382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25239
25240 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25241 _SC_LEVEL4_CACHE_LINESIZE.
25242
010188c6
RM
252432012-10-03 Roland McGrath <roland@hack.frob.com>
25244
25245 * sysdeps/unix/bsd/confstr.h: File removed.
25246
b6c5ec07
AO
252472012-10-02 Alexandre Oliva <aoliva@redhat.com>
25248
25249 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25250 sys/sdt-config.h.
25251
408223d4
RM
252522012-10-02 Roland McGrath <roland@hack.frob.com>
25253
25254 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25255 Make 'mapoff' field ElfW(Off) rather than off_t.
25256
bb9510dc
DL
252572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25258
fc997c6e
DL
25259 * nscd/Makefile: Remove nscd-cflags and all its users.
25260 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25261 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25262
bb9510dc
DL
25263 [BZ #10631]
25264 * malloc.c (malloc_printerr): Clarify error message.
25265
05699367
L
252662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25267
25268 [BZ #14648]
25269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25270 Set bit_FMA_Usable if FMA is supported.
25271 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25272 macro.
25273 (bit_FMA4_Usable): Updated.
25274 (index_FMA_Usable): New macro.
25275 (CPUID_FMA): Likewise
25276 (HAS_FMA): Defined with bit_FMA_Usable.
25277
51367701
RM
252782012-10-01 Roland McGrath <roland@hack.frob.com>
25279
25280 * bits/types.h (__swblk_t): Type removed.
25281 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25282 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25284 (__SWBLK_T_TYPE): Likewise.
25285 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25286 (__SWBLK_T_TYPE): Likewise.
25287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25288 (__SWBLK_T_TYPE): Likewise.
25289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25290 (__SWBLK_T_TYPE): Likewise.
25291
4d57bf63 252922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25293 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25294
25295 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25296 (xdr_mapname): Use YPMAXMAP as maxsize.
25297 (xdr_peername): Use YPMAXPEER as maxsize.
25298 (xdr_keydat): Use YPAXRECORD as maxsize.
25299 (xdr_valdat): Use YPMAXRECORD as maxsize.
25300
93c65d43
RM
253012012-10-01 Roland McGrath <roland@hack.frob.com>
25302
497a03d6
RM
25303 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25304
93c65d43
RM
25305 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25306 * csu/init-first.c: ... here.
25307 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25308 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25309 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25310 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25311 * sysdeps/i386/init-first.c: File removed.
25312 * sysdeps/sh/init-first.c: File removed.
25313
bec749fd
JM
253142012-10-01 Joseph Myers <joseph@codesourcery.com>
25315
25316 [BZ #14645]
25317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25318 if x * y might underflow to zero and z is zero.
25319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25321 * math/libm-test.inc (min_subnorm_value): New variable.
25322 (fma_test): Add more tests.
25323 (fma_test_towardzero): Likewise.
25324 (fma_test_downward): Likewise
25325 (fma_test_upward): Likewise.
25326 (initialize): Set min_subnorm_value.
25327
8ec5b013
JM
253282012-09-29 Joseph Myers <joseph@codesourcery.com>
25329
25330 [BZ #14638]
25331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25332 0 + 0.
25333 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25334 mode for addition resulting in exact zero.
25335 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25337 exact 0 + 0.
25338 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25340 * math/libm-test.inc (fma_test): Add more tests.
25341 (fma_test_towardzero): New function.
25342 (fma_test_downward): Likewise.
25343 (fma_test_upward): Likewise.
25344 (main): Call the new functions.
25345
b1fa802e
DM
253462012-09-28 David S. Miller <davem@davemloft.net>
25347
25348 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25349
d3b9fd9e
RM
253502012-09-28 Roland McGrath <roland@hack.frob.com>
25351
ea4d37b3
RM
25352 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25353 instead of SIGALRM.
25354
ac51c949
RM
25355 * sysdeps/gnu/_G_config.h: Moved to ...
25356 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25357 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25358 * sysdeps/generic/_G_config.h: ... here.
25359
28c195f7
RM
25360 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25361
848917f9
RM
25362 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25363
6bacf05b
RM
25364 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25365 Conditionalize target on [libnss_test1.so-version].
25366
91363dbb
RM
25367 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25368
cc87f7d8
RM
25369 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25370 (elfobjdir): Move out of conditionals.
25371
b1c608fe
RM
25372 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25373 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25374 (__nss_lookup_function): Conditionalize label remove_from_tree on
25375 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25376
1d9a6d96
DM
253772012-09-28 David S. Miller <davem@davemloft.net>
25378
25379 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25380 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25381 file.
25382 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25383 sysdep_routines.
25384 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25386 when HWCAP_SPARC_CRYPTO is present.
25387
72581615
PT
253882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25389
25390 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25391
715a900c
JL
253922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25393
25394 [BZ #6530]
25395 * stdio-common/vfprintf.c (process_string_arg): Revert
25396 2000-07-22 change.
25397
253982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25399
25400 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25401 for testcase.
25402 * stdio-common/tst-sprintf.c: Include <locale.h>
25403 (main): Test sprintf's handling of incomplete multibyte
25404 characters.
25405
9bac1d86
L
254062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25407
25408 * elf/dl-runtime.c (VERSYMIDX): Removed.
25409 * elf/dl-version.c (VERSYMIDX): Likewise.
25410 * elf/do-rel.h (VERSYMIDX): Likewise.
25411 (VALIDX): Likewise.
25412 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25413 * elf/rtld.c (VALIDX): Likewise.
25414 (ADDRIDX): Likewise.
9bac1d86
L
25415 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25416 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25417 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25418 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25419 (VALIDX): Likewise.
25420 (ADDRIDX): Likewise.
9bac1d86 25421
b31606c0
PT
254222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25423
25424 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25425
11541177
JL
254262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25427
25428 [BZ #11438]
25429 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25430 to global scope.
25431 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25432 addresses are in the same scope as 192.0.2/24.
25433 * posix/gai.conf: Document new scope table defaults.
25434
adb26fae
SP
254352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25436
25437 [BZ #5298]
25438 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25439 for ftell. Compute offsets from write pointers instead.
25440 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25441
4573c6b0
SP
254422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25443
25444 [BZ #14543]
25445 * libio/Makefile (tests): New test case tst-fseek.
25446 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25447 combination works in wide mode.
25448 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25449 state when the external buffer state changes.
25450
aa9bbfe6
DM
254512012-09-27 David S. Miller <davem@davemloft.net>
25452
25453 [BZ #14376]
25454 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25455 pass reloc->r_addend in as the 'high' argument to
25456 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25457
784421e7
DM
25458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25459
c39bc8b8
PT
254602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25461
25462 * rt/tst-aio2.c: Include <pthread.h>.
25463 * rt/tst-aio3.c: Likewise.
25464
1ccc2399
SE
254652012-09-27 Steve Ellcey <sellcey@mips.com>
25466
25467 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25468
31ed4153
L
254692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25470
25f5f885
L
25471 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25472 contents on [SHARED].
31ed4153 25473
b7bfe116
MP
254742012-09-26 Marek Polacek <polacek@redhat.com>
25475
25476 [BZ #14530]
25477 [BZ #13741]
25478 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25479 for C++ and GCC <4.3 as well as for non GCC compilers.
25480
43c4edba
MT
254812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25482
25483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25484
6a1bf82f
RM
254852012-09-25 Roland McGrath <roland@hack.frob.com>
25486
25487 * Makefile.in (all, install): Declare with .PHONY.
25488 Reported by Michael Hope <michael.hope@linaro.org>.
25489
8ad11b9a
TMQMF
254902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25491
25492 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25493 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25494 system header.
25495 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25496 Likewise.
25497 (sydep_routines): Add the new and the internal functions.
25498 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25499 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25501 (GLIBC_2.17): Add the new function.
25502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25503 (GLIBC_2.17): Likewise.
25504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25505 (GLIBC_2.17): Likewise.
25506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25507 (GLIBC_2.17): Likewise.
25508 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25509
7e2fca8d
AM
255102012-09-25 Alan Modra <amodra@gmail.com>
25511
25512 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25513 Add release barrier before setting once_control to say
25514 initialisation is done. Add hints on lwarx. Use macro in
25515 place of isync.
25516 (clear_once_control): Add release barrier.
25517
b87c4b24
JM
255182012-09-25 Joseph Myers <joseph@codesourcery.com>
25519
d032e0d2
JM
25520 [BZ #13629]
25521 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25522 specially.
25523 * math/s_clog10.c (__clog10): Likewise.
25524 * math/s_clog10f.c (__clog10f): Likewise.
25525 * math/s_clog10l.c (__clog10l): Likewise.
25526 * math/s_clogf.c (__clogf): Likewise.
25527 * math/s_clogl.c (__clogl): Likewise.
25528 * math/Makefile (libm-calls): Add x2y2m1.
25529 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25530 (__x2y2m1): Likewise.
25531 (__x2y2m1l): Likewise.
25532 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25533 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25536 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25537 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25538 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25539 * sysdeps/i386/fpu/libm-test-ulps: Update.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25541
b87c4b24
JM
25542 [BZ #14621]
25543 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25544 int as type of variable DEPTH.
25545 (glob): Use size_t instead of int as type of variables NEWCOUNT
25546 and OLD_PATHC.
25547
6d3bf199
LD
255482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25549
22bf5c17
LD
25550 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25551 Add s_sincosf-sse2.
25552 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25553 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25554 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25555 macros for using routine as __sincosf_ia32.
25556 Use macro for function declaration and weak_alias.
25557 * sysdeps/i386/fpu/libm-test-ulps: Update.
25558
25559 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25561
25562 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
25563 subnormal argument.
25564 * math/s_cexpf.c (__cexpf): Likewise.
25565 * math/s_csinf.c (__csinf): Likewise.
25566 * math/s_csinhf.c (__csinhf): Likewise.
25567 * math/s_ctanf.c (__ctanf): Likewise.
25568 * math/s_ctanhf.c (__ctanhf): Likewise.
25569 * math/s_ccosh.c (__ccoshf): Likewise.
25570 * math/s_cexp.c (__cexpl): Likewise.
25571 * math/s_csin.c (__csin): Likewise.
25572 * math/s_csinh.c (__csinh): Likewise.
25573 * math/s_ctan.c (__ctan): Likewise.
25574 * math/s_ctanh.c (ctanh): Likewise.
25575 * math/s_ccoshl.c (__ccoshl): Likewise.
25576 * math/s_cexpl.c (__cexpl): Likewise.
25577 * math/s_csinl.c (__csinl): Likewise.
25578 * math/s_csinhl.c (__csinhl): Likewise.
25579 * math/s_ctanl.c (__ctanl): Likewise.
25580 * math/s_ctanhl.c (__ctanhl): Likewise.
25581
203e5603
JM
255822012-09-25 Joseph Myers <joseph@codesourcery.com>
25583
25584 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25585 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25586 (_IO_off_t): Define to __off_t, not _G_off_t.
25587 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25588 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25589 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25590 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25591 type of __dummy and __dummy2 fields.
25592 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25593 (_G_ssize_t): Likewise.
25594 (_G_off_t): Likewise.
25595 (_G_pid_t): Likewise.
25596 (_G_uid_t): Likewise.
25597 (_G_wchar_t): Likewise.
25598 (_G_wint_t): Likewise.
25599 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25600 (_G_ssize_t): Likewise.
25601 (_G_off_t): Likewise.
25602 (_G_pid_t): Likewise.
25603 (_G_uid_t): Likewise.
25604 (_G_wchar_t): Likewise.
25605 (_G_wint_t): Likewise.
25606 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25607 (_G_ssize_t): Likewise.
25608 (_G_off_t): Likewise.
25609 (_G_pid_t): Likewise.
25610 (_G_uid_t): Likewise.
25611 (_G_wchar_t): Likewise.
25612 (_G_wint_t): Likewise.
25613
9fab36eb
SP
256142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25615
25616 * malloc/arena.c: Include malloc-sysdep.h.
25617 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25618 is sufficient to shrink the heap or an unmap is needed.
25619 * sysdeps/generic/malloc-sysdep.h: New file. Define
25620 new function check_may_shrink_heap.
25621 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25622 new function check_may_shrink_heap.
25623
2b4f00d1
SP
256242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25625
25626 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25627 comments.
25628
9a9028b1
DL
256292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25630
57c69bef
DL
25631 * catgets/test-gencat.sh: Add "set -e".
25632 * elf/tst-pathopt.sh: Likewise.
25633 * grp/tst_fgetgrent.sh: Likewise.
25634 * iconvdata/run-iconv-test.sh: Likewise.
25635 * intl/tst-gettext.sh: Likewise.
25636 * intl/tst-gettext2.sh: Likewise.
25637 * intl/tst-gettext4.sh: Likewise.
25638 * intl/tst-gettext6.sh: Likewise.
25639 * intl/tst-translit.sh: Likewise.
25640 * io/ftwtest-sh: Likewise.
25641 * libio/test-freopen.sh: Likewise.
25642 * malloc/tst-mtrace.sh: Likewise.
25643 * posix/globtest.sh: Likewise.
25644 * posix/tst-getconf.sh: Likewise.
25645 * posix/wordexp-tst.sh: Likewise.
25646 * stdio-common/tst-printf.sh: Likewise.
25647 * stdio-common/tst-unbputc.sh: Likewise.
25648 * stdlib/tst-fmtmsg.sh: Likewise.
25649 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25650 * catgets/Makefile: Do not specify -e option when running
25651 testsuite shell scripts.
25652 * elf/Makefile: Likewise.
25653 * grp/Makefile: Likewise.
25654 * iconvdata/Makefile: Likewise.
25655 * intl/Makefile: Likewise.
25656 * io/Makefile: Likewise.
25657 * libio/Makefile: Likewise.
25658 * malloc/Makefile: Likewise.
25659 * posix/Makefile: Likewise.
25660 * stdio-common/Makefile: Likewise.
25661 * stdlib/Makefile: Likewise.
25662 * sysdeps/x86_64/Makefile: Likewise.
25663
9a9028b1
DL
25664 * io/ftwtest-sh: Add copyright header.
25665 * posix/globtest.sh: Likewise.
25666 * posix/tst-getconf.sh: Likewise.
25667 * posix/wordexp-tst.sh: Likewise.
25668 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25669
ced6f16e
L
256702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25671
94b32c39
L
25672 [BZ #13679]
25673 * Makeconfig (+link): Defined as $(+link-static) if
25674 $(build-shared) isn't yes.
25675 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25676 isn't yes.
25677 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25678
189e935b
L
25679 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25680
ced6f16e
L
25681 [BZ #14562]
25682 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25683 new chunk size with MALLOC_ALIGN_MASK.
25684
a9f8e53a
JM
256852012-09-24 Joseph Myers <joseph@codesourcery.com>
25686
25687 [BZ #5044]
25688 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25689 <rounding-mode.h>.
25690 (__printf_fphex): Determine rounding using get_rounding_mode and
25691 round_away.
25692 * stdio-common/tst-printf-round.c (struct hex_test): New
25693 structure.
25694 (hex_tests): New variable.
25695 (test_hex_in_one_mode): New function.
25696 (do_test): Also run tests for hex float output.
25697
43153109
JM
256982012-09-21 Joseph Myers <joseph@codesourcery.com>
25699
25700 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25701 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25702 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25703 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25704 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25705 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25706 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25707 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25708
8a26625d
JM
257092012-09-20 Joseph Myers <joseph@codesourcery.com>
25710
25711 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25712 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25713 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25714 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25715
f3fd569c
DL
257162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25717
25718 [BZ #14579]
25719 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25720 mode only.
25721 * elf/tst-rtld-load-self.sh: New test.
25722 * elf/Makefile: Run it.
25723
63bbedd4
JM
257242012-09-18 Joseph Myers <joseph@codesourcery.com>
25725
25726 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25727 (tst-writev-ENV): Remove.
25728 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25729
626f8b6a
CM
257302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25731
25732 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25733
b7aaa4d6
JM
257342012-09-17 Joseph Myers <joseph@codesourcery.com>
25735
25736 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25737 unconditional.
25738 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25739 Likewise.
25740 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25741 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25742 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25743 Likewise.
25744
65513990
L
257452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25746
25747 [BZ #14587]
25748 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25749 * config.make.in (have-cpp-asm-debuginfo): Removed.
25750 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25751 * configure: Regenerated.
25752
784761be
JM
257532012-09-14 Joseph Myers <joseph@codesourcery.com>
25754
25755 [BZ #5044]
25756 * stdio-common/printf_fp.c: Include <stdbool.h> and
25757 <rounding-mode.h>.
25758 (___printf_fp): Determine rounding using get_rounding_mode and
25759 round_away.
25760 * stdio-common/tst-printf-round.c: New file.
25761 * stdio-common/Makefile (tests): Add tst-printf-round.
25762 (link-libm): New variable.
25763 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25764
9503345f
L
257652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25766
25767 [BZ #14576]
25768 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25769 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25770 Likewise.
25771 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25772 Likewise.
25773
ad35fc00
JM
257742012-09-13 Joseph Myers <joseph@codesourcery.com>
25775
25776 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25777 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25778 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25779 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25780
6c9b0f68
JM
257812012-09-12 Joseph Myers <joseph@codesourcery.com>
25782
25783 [BZ #14518]
25784 * include/rounding-mode.h: New file.
25785 * sysdeps/generic/get-rounding-mode.h: Likewise.
25786 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25787 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25788 (MAX_VALUE): New macro.
25789 (MIN_VALUE): Likewise.
25790 (overflow_value): New function.
25791 (underflow_value): Likewise.
25792 (round_and_return): Use overflow_value and underflow_value to
25793 determine return values in overflow and underflow cases. Use
25794 round_away to determine rounding depending on rounding mode.
25795 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25796 determine return values in overflow and underflow cases.
25797 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25798 (struct test_results): New structure.
25799 (struct test): Use struct test_results to store expected results
25800 for all rounding modes.
25801 (TEST): Include expected results for all rounding modes.
25802 (test_in_one_mode): New function.
25803 (do_test): Use test_in_one_mode to compute and check results.
25804 Check results for all rounding modes.
25805 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25806 $(link-libm).
25807
19fcedd5
AM
258082012-12-09 Allan McRae <allan@archlinux.org>
25809
1e9d84cd 25810 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25811
8bbfd2f1
JM
258122012-09-11 Joseph Myers <joseph@codesourcery.com>
25813
25814 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25815 (_G_int32_t): Likewise.
25816 (_G_uint16_t): Likewise.
25817 (_G_uint32_t): Likewise.
25818 (_G_HAVE_BOOL): Likewise.
25819 (_G_HAVE_ATEXIT): Likewise.
25820 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25821 (_G_HAVE_IO_FILE_OPEN): Likewise.
25822 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25823 (_G_int32_t): Likewise.
25824 (_G_uint16_t): Likewise.
25825 (_G_uint32_t): Likewise.
25826 (_G_HAVE_BOOL): Likewise.
25827 (_G_HAVE_ATEXIT): Likewise.
25828 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25829 (_G_HAVE_IO_FILE_OPEN): Likewise.
25830 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25831 (_G_int32_t): Likewise.
25832 (_G_uint16_t): Likewise.
25833 (_G_uint32_t): Likewise.
25834 (_G_HAVE_BOOL): Likewise.
25835 (_G_HAVE_ATEXIT): Likewise.
25836 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25837 (_G_HAVE_IO_FILE_OPEN): Likewise.
25838
b1dc5912
L
258392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25840
25841 * csu/libc-tls.c: Update copyright years.
25842
0e886ef9
JM
258432012-09-10 Joseph Myers <joseph@codesourcery.com>
25844
28361c5e
JM
25845 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25846 [!_G_USING_THUNKS]: Remove conditional code.
25847 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25848 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25849
0e886ef9
JM
25850 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25851 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25852 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25853 (_G_VTABLE_LABEL_PREFIX): Likewise.
25854 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25855 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25856 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25857 (_G_VTABLE_LABEL_PREFIX): Likewise.
25858 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25859 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25860 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25861 (_G_VTABLE_LABEL_PREFIX): Likewise.
25862 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25863
bcba7aa2
L
258642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25865
25866 * libio/Makefile: Include ../Makeconfig before tests.
25867 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25868 only if $(build-shared) is yes.
25869
06585ee8
L
25870 * iconv/gconv_db.c: Update copyright years.
25871
80ccd52c
LD
258722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25873
25874 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25875 unwind info if defined PIC. Fix special cases description.
25876 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25877
25878 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25879 DP_HI_MASK entry.
25880 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25881
691bc9c1
L
258822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25883
3d9b46b3
L
25884 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25885
de2139a9
L
25886 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25887 is NULL.
25888
5ca78dd0
L
25889 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25890 (LDLIBS-tst-chk4): This.
25891 (LDFLAGS-tst-chk5): Renamed to ...
25892 (LDLIBS-tst-chk5): This.
25893 (LDFLAGS-tst-chk6): Renamed to ...
25894 (LDLIBS-tst-chk6): This.
25895 (LDFLAGS-tst-lfschk4): Renamed to ...
25896 (LDLIBS-tst-lfschk4): This.
25897 (LDFLAGS-tst-lfschk5): Renamed to ...
25898 (LDLIBS-tst-lfschk5): This.
25899 (LDFLAGS-tst-lfschk6): Renamed to ...
25900 (LDLIBS-tst-lfschk6): This.
25901
691bc9c1
L
25902 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25903 on $(common-objpfx)soversions.mk.
25904
65cafb1c
JM
259052012-09-07 Joseph Myers <joseph@codesourcery.com>
25906
25907 [BZ #10014]
25908 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25909 example host name.
25910
c78ab094
SP
259112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25912
25913 * malloc/arena.c (arena_get_retry): New function that gets
25914 another arena for the caller to try its request on.
25915 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25916 current arena cannot fulfill the request.
25917 (__libc_memalign): Likewise.
25918 (__libc_memalign): Likewise.
25919 (__libc_pvalloc): Likewise.
25920 (__libc_calloc): Likewise.
25921
01f49f59
JT
259222012-09-05 John Tobey <john.tobey@gmail.com>
25923
25924 [BZ #13542]
25925 * manual/arith.texi (Operations on Complex): Fix description
25926 of carg branch cut.
25927
4c23fed5
JM
259282012-09-06 Joseph Myers <joseph@codesourcery.com>
25929
1d3c8572
JM
25930 [BZ #10014]
25931 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25932 host name.
25933
4c23fed5
JM
25934 [BZ #10038]
25935 * manual/memory.texi (Memory): Make order of menu items match
25936 order of sections.
25937
04570aaa
L
259382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25939
25940 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25941 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25942 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25943
b80af2f4
L
259442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25945
25946 * csu/libc-tls.c (static_dtv): Renamed to ...
25947 (_dl_static_dtv): This. Make it global.
25948 (_dl_initial_dtv): Removed.
25949 (__libc_setup_tls): Updated.
25950 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25951 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25952 DL_INITIAL_DTV.
25953
2abe9f15
PM
259542012-09-06 Petr Machata <pmachata@redhat.com>
25955
25956 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25957 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25958 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25959 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25960
0948c3af
L
259612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25962
25963 [BZ #14545]
25964 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25965 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25966 freeing dtv[-1].
25967
a5055ad1
L
259682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25969
25970 [BZ #14544]
25971 * Makeconfig (link-static-before-libc): Replace $(+prector)
25972 with $(+prectorT).
25973 (link-static-after-libc): Replace $(+postctor) with
25974 $(+postctorT).
25975 (link-bounded): Replace $(+prector)/$(+postctor) with
25976 $(+prectorT)/$(+postctorT).
25977 (+prectorT): New macro.
25978 (+postctorT): Likewise.
25979
ed8c2ecd
JM
259802012-09-06 Joseph Myers <joseph@codesourcery.com>
25981
25982 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25983 (round_str): Handle values above the maximum for IBM long double
25984 as inexact.
25985 * stdlib/tst-strtod-round.c (tests): Regenerated.
25986
14c996c8
AK
259872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25988
25989 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25990 assembler flag.
25991 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25992 zarch_nohighgprs around the zarch optimized routines.
25993 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25994 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25995 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25996 for zarch.
25997
430d6ce6
DM
259982012-09-05 David S. Miller <davem@davemloft.net>
25999
26000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26001
57f41c40
AS
26002 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26003 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26004 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26005 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26006 entries.
26007
24d4e01b
AO
260082012-09-05 Alexandre Oliva <aoliva@redhat.com>
26009
26010 * malloc/arena.c: Fold copyright years.
26011 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26012
61d58174
AO
260132012-09-05 Alexandre Oliva <aoliva@redhat.com>
26014
26015 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26016
20196a5e
AO
260172012-09-05 Alexandre Oliva <aoliva@redhat.com>
26018
26019 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26020
5c447383
AO
260212012-09-05 Alexandre Oliva <aoliva@redhat.com>
26022
26023 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26024 change internal state upon failure.
26025
fad64255
AO
260262012-09-05 Alexandre Oliva <aoliva@redhat.com>
26027
26028 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26029 * malloc/memusage.c (mmap): Likewise.
26030 (mmap64, mremap): Likewise. Adjust name in comment.
26031
1ffb8c90
SP
260322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26033
26034 * libio/fileops.c: Fix typos in comments.
26035 * libio/oldfileops.c: Likewise.
26036 * libio/wfileops.c: Likewise.
26037
6ef9cc37
SP
260382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26039
26040 [BZ #1349]
26041 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26042 (tst-malloc-usable-ENV): Set environment for test case.
26043 * malloc/hooks.c (malloc_check_get_size): New function to get
26044 requested size.
26045 * malloc/malloc.c (musable): Use malloc_check_get_size.
26046 * malloc/tst-malloc-usable.c: New test case.
26047
4d038ae3
AS
260482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26049
26050 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26051
c4e85184
AM
260522012-09-05 Allan McRae <allan@archlinux.org>
26053
b9dafc56 26054 [BZ #13966]
c4e85184
AM
26055 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26056 determine header location.
26057 * configure: Regenerated.
26058
e1343020
AS
260592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26060
26061 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26062 float format.
26063 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26064 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26065 format.
e1343020
AS
26066 (test): Regenerate.
26067
0a9f1987
DM
260682012-09-04 David S. Miller <davem@davemloft.net>
26069
26070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26072 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26073
29237804
FW
260742012-09-04 Florian Weimer <fweimer@redhat.com>
26075
26076 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26077 failures.
26078
edb3cb88
FW
26079 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26080
60160d83
JM
260812012-09-04 Joseph Myers <joseph@codesourcery.com>
26082
26083 [BZ #9914]
26084 * libio/iogetdelim.c: Include <limits.h>.
26085 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26086 + len + 1 would overflow.
26087
bcd6c8dc
AJ
260882012-09-03 Andreas Jaeger <aj@suse.de>
26089
26090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26091 * sysdeps/i386/fpu/libm-test-ulps: Update.
26092
4ffffbd2
LD
260932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26094
26095 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26096 Add s_sinf-sse2, s_conf-sse2.
26097
26098 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26099 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26100 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26101 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26102
26103 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26104 for using routine as __sinf_ia32.
26105 Use macro for function declaration and weak_alias.
26106 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26107 for using routine as __cosf_ia32.
26108 Use macro for function declaration and weak_alias.
26109
26110 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26111 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26112
26113 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26114 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26116
26117 * math/libm-test.inc (cos_test): Add more test cases.
26118 (sin_test): Likewise.
26119 (sincos_test): Likewise.
26120
511fa286
AK
261212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26122
26123 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26124 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26125 hidden.
26126 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26127
5f30cfec
L
261282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26129
26130 [BZ #14538]
26131 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26132 first element of the GOT.
26133 (elf_machine_load_address): Return the difference between
26134 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26135
0786794f
AM
261362012-09-01 Allan McRae <allan@archlinux.org>
26137
5f30cfec
L
26138 [BZ #13412]
26139 * configure.in (AWK): Require gawk version 3.0 or later.
26140 * configure: Regenerated.
0786794f 26141
26889eac
JM
261422012-09-01 Joseph Myers <joseph@codesourcery.com>
26143
26144 * sysdeps/unix/sysv/linux/kernel-features.h
26145 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26146 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26147 [__NR_clock_getres]: Make code unconditional.
26148 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26149 (clock_getcpuclockid): Remove code left unreachable by removal of
26150 conditionals.
26151 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26152 code unconditional.
26153 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26154 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26155 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26156 Make code unconditional.
26157 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26158 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26159 * sysdeps/unix/sysv/linux/clock_settime.c
26160 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26161 conditional code.
26162 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26163 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26164
d22e28b0
L
261652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26166
26167 [BZ #14476]
26168 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26169 scripts/test-installation.pl.
26170
26171 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26172 and $ld_so_version if it is set.
26173
050af9c4
SP
261742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26175
26176 [BZ #14516]
26177 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26178 failure if reading from procfs failed.
26179 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26180
ad845c0b
JM
261812012-08-27 Joseph Myers <joseph@codesourcery.com>
26182
26183 * sysdeps/unix/sysv/linux/kernel-features.h
26184 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26185 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26186 Remove conditional code.
26187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26188 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26189 Remove conditional code.
26190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26191 * sysdeps/unix/sysv/linux/i386/fxstat.c
26192 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26193 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26194 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26195 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26196 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26197 * sysdeps/unix/sysv/linux/i386/lxstat.c
26198 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26199 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26200 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26201 Remove conditional code.
26202 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26203 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26204 Remove conditional code.
26205 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26206 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26207 <kernel-features.h>.
26208 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26209 Remove.
26210 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26211 Remove conditional code.
26212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26213 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26214 Remove conditional.
26215
5dbf56af
MF
262162012-08-27 Mike Frysinger <vapier@gentoo.org>
26217
26218 [BZ #5400]
26219 * NEWS: Add fixed bug number.
26220
d6e70f43
JM
262212012-08-27 Joseph Myers <joseph@codesourcery.com>
26222
7efb4737
JM
26223 [BZ #14519]
26224 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26225 underflowing exponent in case of negative sign.
26226 * stdlib/tst-strtod-round-data: Add more tests.
26227 * stdlib/tst-strtod-round.c (tests): Regenerated.
26228
af92131a
JM
26229 [BZ #3479]
26230 * stdlib/strtod_l.c (NDIG): Remove.
26231 (HEXNDIG): Likewise.
26232 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26233 smallest representable value.
26234 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26235 lie within an exact representation of 1/2 ulp of the result.
26236 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26237 unconditionally.
26238 (TENS_P9_IDX): Define unconditionally.
26239 (TENS_P9_SIZE): Likewise.
26240 (TENS_P10_IDX): Likewise.
26241 (TENS_P10_SIZE): Likewise.
26242 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26243 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26244 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26245 entries for 10^2^13 and 10^2^14.
26246 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26247 (TENS_P13_IDX): Define.
26248 (TENS_P13_SIZE): Likewise.
26249 (TENS_P14_IDX): Likewise.
26250 (TENS_P14_SIZE): Likewise.
26251 (_fpioconst_pow10): Change array size to
26252 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26253 unconditional.
26254 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26255 1024]: Add entries for 10^2^13 and 10^2^14.
26256 [LAST_POW10 > _LAST_POW10]: Remove #error.
26257 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26258 (_fpioconst_pow10): Change array size to
26259 FPIOCONST_POW10_ARRAY_SIZE.
26260 * stdlib/gen-fpioconst.c: New file.
26261 * stdlib/gen-tst-strtod-round.c: Likewise.
26262 * stdlib/tst-strtod-round-data: Likewise.
26263 * stdlib/tst-strtod-round.c: Likewise.
26264 * stdlib/Makefile (tests): Add tst-strtod-round.
26265
d6e70f43
JM
26266 [BZ #14459]
26267 * stdlib/strtod_l.c: Include <stdint.h>.
26268 (NDEBUG): Do not define.
26269 (round_and_return): Change EXPONENT parameter to type intmax_t.
26270 Rearrange calculations to avoid internal overflow possibilities.
26271 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26272 Rearrange calculations to avoid internal overflow possibilities.
26273 Assert that number fits inside MPNSIZE limbs.
26274 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26275 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26276 calculations and add assertions to avoid internal overflow
26277 possibilities. Add casts to avoid signed/unsigned operations.
26278 * stdlib/tst-strtod-overflow.c: New file.
26279 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26280
1f529f7d
MP
262812012-08-25 Marek Polacek <polacek@redhat.com>
26282
26283 * time/time.h: Fix some typos in comments.
26284
59a629f1
RM
262852012-08-23 Roland McGrath <roland@hack.frob.com>
26286
26287 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26288 * posix/tst-rfc3484-2.c: Likewise.
26289 * posix/tst-rfc3484-3.c: Likewise.
26290
d3bafbc9
SM
262912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26292
26293 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26294 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26295
4efcc022
JM
262962012-08-23 Joseph Myers <joseph@codesourcery.com>
26297
26298 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26299 #include of fxstatat64.c.
26300
3cc3ef96
RM
263012012-08-22 Roland McGrath <roland@hack.frob.com>
26302
f04e2132
RM
26303 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26304 * shadow/getspent_r.c: Likewise.
26305 * shadow/getspnam.c: Likewise.
26306 * shadow/getspnam_r.c: Likewise.
26307 * gshadow/getsgent.c: Likewise.
26308 * gshadow/getsgent_r.c: Likewise.
26309 * gshadow/getsgnam.c: Likewise.
26310 * gshadow/getsgnam_r.c: Likewise.
26311 * inet/getnetbyad.c: Likewise.
26312 * inet/getnetbyad_r.c: Likewise.
26313 * inet/getnetbynm.c: Likewise.
26314 * inet/getnetbynm_r.c: Likewise.
26315 * inet/getnetent.c: Likewise.
26316 * inet/getnetent_r.c: Likewise.
26317 * inet/getproto.c: Likewise.
26318 * inet/getproto_r.c: Likewise.
26319 * inet/getprtent.c: Likewise.
26320 * inet/getprtent_r.c: Likewise.
26321 * inet/getprtname.c: Likewise.
26322 * inet/getprtname_r.c: Likewise.
26323 * inet/getrpcbyname.c: Likewise.
26324 * inet/getrpcbyname_r.c: Likewise.
26325 * inet/getrpcbynumber.c: Likewise.
26326 * inet/getrpcbynumber_r.c: Likewise.
26327 * inet/getrpcent.c: Likewise.
26328 * inet/getrpcent_r.c: Likewise.
26329 * inet/getaliasent.c: Likewise.
26330 * inet/getaliasent_r.c: Likewise.
26331 * inet/getaliasname.c: Likewise.
26332 * inet/getaliasname_r.c: Likewise.
26333 * nscd/getgrgid_r.c: Likewise.
26334 * nscd/getgrnam_r.c: Likewise.
26335 * nscd/gethstbyad_r.c: Likewise.
26336 * nscd/gethstbynm3_r.c: Likewise.
26337 * nscd/getpwnam_r.c: Likewise.
26338 * nscd/getpwuid_r.c: Likewise.
26339 * nscd/getsrvbynm_r.c: Likewise.
26340 * nscd/getsrvbypt_r.c: Likewise.
26341 * nscd/gai.c: Likewise.
26342
c53d909c
RM
26343 * configure.in (build_nscd): New substituted variable, set
26344 by --disable-build-nscd and defaults to $use_nscd.
26345 * configure: Regenerated.
26346 * config.make.in (build-nscd): New substituted variable.
26347 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26348 Change conditional to require [$(build-nscd) = yes] as well.
26349 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26350
3cc3ef96
RM
26351 [BZ# 13696]
26352 * configure.in (use_nscd): New substituted variable, set by
26353 --disable-nscd. If enabled, define USE_NSCD.
26354 * configure: Regenerated.
26355 * config.h.in: Add USE_NSCD.
26356 * config.make.in (use-nscd): New substituted variable.
26357 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26358 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26359 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26360 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26361 (CFLAGS-getgrnam_r.c): Likewise.
26362 (CFLAGS-initgroups.c): Likewise.
26363 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26364 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26365 Variables removed.
26366 * inet/getnetgrent_r.c
26367 (nscd_setnetgrent): New function, broken out of ...
26368 (setnetgrent): ... here. Call it.
26369 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26370 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26371 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26372 * nscd/Makefile (routines, aux): Move definitions after include of
26373 Makeconfig. Conditionalize on [$(use-nscd) != no].
26374 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26375 Conditionalize on [USE_NSCD].
26376 (is_nscd, nscd_init_cb): Likewise.
26377 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26378 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26379 * nss/nss_db/db-init.c: Likewise.
26380 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26381 [USE_NSCD].
26382 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26383 (make_request): Use it.
26384 (cache_valid_p): New function.
26385 (__check_pf): Use it.
26386 * NEWS: Add item for --disable-nscd.
26387
07e51550
DL
263882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26389
26390 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26391 to support sed >= 4.2.1-20-ga9bf076.
26392 * configure: Regenerated.
26393
35a5b08b
RM
263942012-08-22 Roland McGrath <roland@hack.frob.com>
26395
26396 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26397 Conditionalize whole body on [IREL].
26398
8479f23a
JL
263992012-08-22 Jeff Law <law@redhat.com>
26400
26401 [BZ #14505]
26402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26403 if the family is PF_UNSPEC.
26404
48da0b21
MF
264052012-08-22 Mike Frysinger <vapier@gentoo.org>
26406
26407 * Makerules (lib-version): Rename from V.
26408 (install-lib-nosubdir): Change V to lib-version.
26409
15d0da8c
WS
264102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26411
26412 [BZ #14252]
26413 * powerpc32/power6/wcschr.c: New file.
26414 * powerpc32/power6/wcscpy.c: New file.
26415 * powerpc32/power6/wcsrchr.c: New file.
26416 * powerpc64/power6/wcschr.c: New file.
26417 * powerpc64/power6/wcscpy.c: New file.
26418 * powerpc64/power6/wcsrchr.c: New file.
26419
bcca0895
MK
264202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26421
26422 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26423 (two_way_short_needle): Use it.
5a4aaa33
RM
26424 * string/strstr.c (AVAILABLE1_USES_J): Define.
26425 * string/strcasestr.c: Likewise.
99677e57
MK
26426
26427 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26428 array references.
26429 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26430
400726de
MK
26431 [BZ #11607]
26432 * NEWS: Add an entry.
26433 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26434 define their defaults.
26435 (two_way_short_needle): Detect end-of-string on-the-fly.
26436 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26437 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26438 * string/bug-strcasestr1.c: New test.
26439 * string/Makefile: Run it.
26440
20a71f2c
MK
264412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26442
26443 [BZ #11607]
26444 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26445 the first character.
26446
21ad0558
RM
264472012-08-21 Roland McGrath <roland@hack.frob.com>
26448
26449 * csu/elf-init.c (__libc_csu_irel): Function removed.
26450 * csu/libc-start.c (apply_irel): New function.
26451 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26452
0e1d9911
JM
264532012-08-21 Joseph Myers <joseph@codesourcery.com>
26454
26455 * sysdeps/unix/sysv/linux/kernel-features.h
26456 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26457 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26458 <kernel-features.h>.
26459 [__NR_fadvise64_64]: Make code unconditional.
26460 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26461 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26462 !__NR_fadvise64_64)]: Likewise.
26463 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26464 !__NR_fadvise64_64))]: Likewise.
26465 [__NR_fadvise64]: Make code unconditional.
26466 [!__NR_fadvise64]: Remove conditional code.
26467 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26468 <kernel-features.h>.
26469 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26470 unconditional.
26471 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26472 conditional code.
26473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26474 not include <kernel-features.h>.
26475 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26476 unconditional.
26477 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26478 conditional code.
26479 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26480 include <kernel-features.h>.
26481 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26482 unconditional.
26483 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26484 conditional code.
26485
14a50c9d
WS
264862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26487
26488 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26489 slight instruction rearrangements per scrollpipe analysis.
26490 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26491
c0f4faf0
RM
264922012-08-20 Roland McGrath <roland@hack.frob.com>
26493
696da859
RM
26494 * manual/syslog.texi (syslog; vsyslog, closelog):
26495 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26496 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26497
c0f4faf0
RM
26498 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26499 DSOCAPS to match condition on defining it.
26500
348363b2
JM
265012012-08-20 Joseph Myers <joseph@codesourcery.com>
26502
a35cbf28
JM
26503 * sysdeps/unix/sysv/linux/kernel-features.h
26504 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26506 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26507 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26509 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26510 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26512 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26513 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26514
445f7ecd
JM
26515 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26516 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26517
348363b2
JM
26518 * sysdeps/unix/sysv/linux/kernel-features.h
26519 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26520 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26521 unconditional.
26522 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26523 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26524 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26525 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26526 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26527 Make code unconditional.
26528 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26529 (__mmap64) [!__NR_mmap2]: Likewise.
26530 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26531 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26532 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26533 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26534 [__NR_mmap2]: Make code unconditional.
26535 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26536 (__mmap64) [!__NR_mmap2]: Likewise.
26537
bc5bc0e5
AK
265382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26539
26540 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26541
88d506de
AJ
265422012-08-18 Andreas Jaeger <aj@suse.de>
26543
26544 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26545
493387d2
MF
265462012-08-18 Mike Frysinger <vapier@gentoo.org>
26547
26548 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26549 * include/unistd.h (__have_sock_cloexec): Likewise.
26550 (__have_pipe2): Likewise.
26551 (__have_dup3): Likewise.
26552
a277af22
MF
265532012-08-18 Mike Frysinger <vapier@gentoo.org>
26554
26555 [BZ #9685]
26556 * include/unistd.h (__have_pipe2): Change define into an extern int.
26557 (__have_dup3): Likewise.
26558 * socket/have_sock_cloexec.c: Include fcntl.h.
26559 (__have_pipe2): New variable.
26560 (__have_dup3): Likewise.
26561
fdab8fd3
MF
265622012-08-17 Mike Frysinger <vapier@gentoo.org>
26563
26564 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26565
31035e80
MP
265662012-08-17 Marek Polacek <polacek@redhat.com>
26567
26568 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26569 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26570
3bd9e993
RM
265712012-08-17 Roland McGrath <roland@hack.frob.com>
26572
c91c505f
RM
26573 * configure.in: Add AC_SUBST for sysheaders.
26574 * configure: Regenerated.
26575 * config.make.in (sysheaders): New substituted variable.
26576
7c6f9d53
RM
26577 * sysdeps/unix/mkfifo.c: Moved ...
26578 * sysdeps/posix/mkfifo.c: ... here.
26579 * sysdeps/unix/mkfifoat.c: Moved ...
26580 * sysdeps/posix/mkfifoat.c: ... here.
26581
26582 * sysdeps/unix/utime.c: Moved ...
26583 * sysdeps/posix/utime.c: ... here.
26584
26585 * sysdeps/unix/time.c: Moved ...
26586 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26587 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26588 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26589
26590 * sysdeps/unix/nice.c: Moved ...
26591 * sysdeps/posix/nice.c: ... here.
26592
26593 * sysdeps/unix/alarm.c: Moved ...
26594 * sysdeps/posix/alarm.c: ... here.
26595
3bd9e993
RM
26596 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26597
d1f09384
JL
265982012-08-17 Jeff Law <law@redhat.com>
26599
26600 * intl/Makefile (codeset_mo): New variable.
26601 ($(codeset_mo)): New target.
26602 (tst-codeset.out): Depend on that. Remove explicit rule.
26603 (tst-gettext3.out, tst-gettext5.out): Likewise.
26604 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26605 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26606 * intl/tst-codeset.sh: Remove.
26607 * intl/tst-gettext3.sh: Likewise.
26608 * intl/tst-gettext5.sh: Likewise.
26609
2ae1ae5c
RM
266102012-08-17 Roland McGrath <roland@hack.frob.com>
26611
c31fdb83
RM
26612 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26613 * sysdeps/unix/syscalls.list: ... here.
26614
a0844057
RM
26615 * sysdeps/posix/getaddrinfo.c
26616 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26617 (gaiconf_init, gaiconf_reload): Use them.
26618 [!_STATBUF_ST_NSEC]
26619 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26620 Define using time_t rather than struct timespec.
26621
750c1f2a
RM
26622 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26623 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26624 Macros removed.
26625 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26626 [!NO_THREADS].
26627 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26628 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26629 Likewise.
26630
2ae1ae5c
RM
26631 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26632 __libc_cleanup_push argument.
26633
e66a42f5
RM
26634 * bits/param.h: New file.
26635 * misc/sys/param.h: New file.
26636 * include/sys/param.h: New file.
26637 * misc/Makefile (headers): Add bits/param.h.
26638 * sysdeps/generic/sys/param.h: File removed.
26639 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26640 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26641 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26642 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26643
b7c08a66
RM
26644 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26645 last change.
26646
b2e1c562
RM
26647 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26648 [_IO_MTSAFE_IO].
26649 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26650 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26651 New macros.
26652
c75ccd4c
RM
26653 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26654 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26655 rather than -D_IO_MTSAFE_IO conditionally.
26656 * stdio-common/Makefile (CPPFLAGS): Likewise.
26657 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26658 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26659 Use $(libio-mtsafe).
26660 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26661 of -D_IO_MTSAFE_IO.
26662 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26663 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26664 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26665 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26666 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26667 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26668 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26669 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26670 (CFLAGS-fread_u_chk.c): Likewise.
26671 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26672 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26673 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26674 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26675 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26676 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26677 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26678 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26679 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26680
26681 * libio/Makefile: Test [$(libc-reentrant) = yes]
26682 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26683
26684 * Makeconfig
26685 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26686 * sysdeps/pthread/configure: File removed.
26687 * sysdeps/pthread/Makeconfig: New file.
26688 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26689 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26690
d9195db8
GB
266912012-08-16 Gary Benson <gbenson@redhat.com>
26692
26693 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26694 unmapping the first object in a namespace.
26695
86466cd9
RM
266962012-08-16 Roland McGrath <roland@hack.frob.com>
26697
26698 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26699 (__internal_setnetgrent): ... this. Add internal_function to
26700 definition. Add libc_hidden_def.
26701 (setnetgrent): Update caller.
26702 (internal_endnetgrent): Renamed to ...
26703 (__internal_endnetgrent): ... this. Add internal_function to
26704 definition. Add libc_hidden_def.
26705 (endnetgrent): Update caller.
26706 (internal_getnetgrent_r): Renamed to ...
26707 (__internal_getnetgrent_r): ... this. Add internal_function to
26708 definition. Add libc_hidden_def.
26709 (__getnetgrent_r): Update caller.
26710 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26711
c3c8283c
JM
267122012-08-16 Joseph Myers <joseph@codesourcery.com>
26713
26714 * stdlib/longlong.h: Update from GCC.
26715
db1ee0a8
RM
267162012-08-16 Roland McGrath <roland@hack.frob.com>
26717
26718 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26719 on _QL, which is set by umul_ppmm but never used.
26720 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26721 variables, which are set by GMP macros but never used.
26722 * stdio-common/_itowa.c (_itowa): Likewise.
26723 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26724 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26725
30f69637
CD
267262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26727
26728 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26729 struct La_sh_regs is not constant.
26730 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26731 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26732 and struct La_sparc64_regs are not constant.
26733
93a78ac4
JM
267342012-08-16 Joseph Myers <joseph@codesourcery.com>
26735
26736 * sysdeps/unix/sysv/linux/kernel-features.h
26737 (__ASSUME_POSIX_TIMERS): Remove.
26738 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26739 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26740 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26741 Make code unconditional.
26742 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26743 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26744 Make code unconditional.
26745 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26746 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26747 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26748 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26749 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26750 Make code unconditional.
26751 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26752 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26753 (__libc_missing_posix_timers): Remove.
26754
dd924cd7
RM
267552012-08-15 Roland McGrath <roland@hack.frob.com>
26756
4b4f2771
RM
26757 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26758 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26759
601c888b
RM
26760 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26761
176790a7
RM
26762 * elf/dl-sym.c: Include <stdlib.h>.
26763
329bc018
RM
26764 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26765 constants, which avoids warnings in 32-bit builds.
26766
e04e272d
RM
26767 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26768 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26769
952bf94a
RM
26770 * misc/lseek.c: File moved to ...
26771 * io/lseek.c: ... here.
26772
7c99b50a
RM
26773 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26774
dd924cd7
RM
26775 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26776 shifting LEN more than 31 bits at once.
26777
b3f479a8
LD
267782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26779
26780 [BZ #14195]
8c4ae0d4
RM
26781 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26782 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26783 * string/test-strncasecmp.c (check1): Renamed to...
26784 (bz12205): ...this.
26785 (bz14195): Add new testcase for two empty input strings and N > 0.
26786 (test_main): Call new testcase, adapt for renamed function.
26787
9c55864e
AJ
267882012-08-15 Andreas Jaeger <aj@suse.de>
26789
26790 [BZ #14090]
26791 * crypt/md5test2.c: New test, based on test supplied by Serge
26792 Belyshev <belyshev@depni.sinp.msu.ru>.
26793 * crypt/Makefile (xtests): Add md5test-giant..
26794 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26795
02dcb6c5
PE
267962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26797
26798 [BZ #14090]
26799 * crypt/md5.c (md5_process_block): Don't assume the buffer
26800 length is less than 2**32.
26801 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26802 length is less than 2**64.
26803
a3f95dcc
RM
268042012-08-15 Roland McGrath <roland@hack.frob.com>
26805
be75d758
RM
26806 * string/str-two-way.h: Include <sys/param.h>.
26807 (MAX): Macro removed.
26808
7312ca90
RM
26809 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26810 Move #define and #undef of memmove to just before and after
26811 including <string.h>.
26812
9a0a5486
RM
26813 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26814 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26815 and after including <string.h>. Move declarations of
26816 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26817 to before #include "string/memmove.c".
26818
67cc348d
RM
26819 * include/dirent.h: Declare __getdirentries.
26820
a3f95dcc
RM
26821 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26822 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26823
ca98e171
MF
268242012-08-14 Mike Frysinger <vapier@gentoo.org>
26825
26826 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26827 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26828 * sysdeps/i386/configure: Regenerated.
26829 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26830 STABS_CURRENT_FILE, and STABS_FUN.
26831 (END): Remove call to STABS_FUN_END.
26832 (STABS_CURRENT_FILE1): Delete.
26833 (STABS_CURRENT_FILE): Likewise.
26834 (STABS_FUN): Likewise.
26835 (STABS_FUN_END): Likewise.
26836 (STABS_FUN2): Likewise.
26837 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26838 * sysdeps/x86_64/configure: Regenerated.
26839
5908bf46
RM
268402012-08-14 Roland McGrath <roland@hack.frob.com>
26841
26842 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26843 * elf/dl-lookup.c: Likewise.
5908bf46 26844
f2c05b9e
JM
268452012-08-14 Joseph Myers <joseph@codesourcery.com>
26846
26847 * sysdeps/unix/sysv/linux/kernel-features.h
26848 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26849 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26850 unconditionally.
26851 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26852 unconditionally.
26853 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26854 condition on __ASSUME_CLONE_THREAD_FLAGS.
26855
e11f5155
AJ
268562012-08-14 Andreas Jaeger <aj@suse.de>
26857
26858 * sysdeps/i386/fpu/libm-test-ulps: Update.
26859
51a9ba86
MK
268602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26861
2fdd4f78
AJ
26862 * include/atomic.h (atomic_exchange_and_add): Split into ...
26863 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26864 New atomic macros.
51a9ba86 26865
ba6cba9e
MT
268662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26867
26868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26869
42443a47
JL
268702012-08-13 Jeff Law <law@redhat.com>
26871
26872 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26873 null byte in the output string.
26874
121dce05
JM
268752012-08-10 Joseph Myers <joseph@codesourcery.com>
26876
26877 * sysdeps/unix/sysv/linux/kernel-features.h
26878 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26879 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26880 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26881 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26882 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26883 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26884 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26885
bf51f568
JL
268862012-08-09 Jeff Law <law@redhat.com>
26887
26888 [BZ #13939]
26889 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26890 When avoid_arena is set, don't retry in the that arena. Pick the
26891 next one, whatever it might be.
26892 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26893 (arena_lock): Pass in new parameter to arena_get2.
26894 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26895 arena_get2.
26896 (__libc_malloc): Unify retrying after main arena failure with
26897 __libc_memalign version.
26898 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26899
f85fa270
L
269002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26901
26902 [BZ #14166]
26903 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26904 to __redirect_strstr.
26905 (__strstr_sse42): Use typeof __redirect_strstr.
26906 (__strstr_ia32): Likewise.
26907 (__libc_strstr): New prototype.
26908 (strstr): Renamed to ...
26909 (__libc_strstr): This.
26910 (strstr): New strong alias of __libc_strstr.
26911 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26912 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26913 __redirect_time.
26914 Include <time.h>.
26915 (__libc_time): New prototype.
26916 (time_ifunc): Replace time with __libc_time.
26917 (time): New strong alias and hidden definition of __libc_time.
26918 (__GI_time): Remove strong alias.
26919 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26920 Include <stddef.h>.
26921 (memmove): Redefined to __redirect_memmove.
26922 (__memmove_sse2): Use typeof __redirect_memmove.
26923 (__memmove_ssse3): Likewise.
26924 (__memmove_ssse3_back): Likewise.
26925 (__libc_memmove): New prototype.
26926 (memmove): Renamed to ...
26927 (__libc_memmove): This.
26928 (memmove): New strong alias of __libc_memmove.
26929
33b4a91e
MS
269302012-08-08 Mark Salter <msalter@redhat.com>
26931
26932 * elf/elf.h
26933 (R_MN10300_TLS_GD): Define.
26934 (R_MN10300_TLS_LD): Likewise.
26935 (R_MN10300_TLS_LDO): Likewise.
26936 (R_MN10300_TLS_GOTIE): Likewise.
26937 (R_MN10300_TLS_IE): Likewise.
26938 (R_MN10300_TLS_LE): Likewise.
26939 (R_MN10300_TLS_DTPMOD): Likewise.
26940 (R_MN10300_TLS_DTPOFF): Likewise.
26941 (R_MN10300_TLS_TPOFF): Likewise.
26942 (R_MN10300_SYM_DIFF): Likewise.
26943 (R_MN10300_ALIGN): Likewise.
26944 (R_MN10300_NUM): Update.
26945
b36137f1
JM
269462012-08-08 Joseph Myers <joseph@codesourcery.com>
26947
26948 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26949 Remove.
26950
cdd915fd
RM
269512012-08-08 Roland McGrath <roland@hack.frob.com>
26952
a2433aac
RM
26953 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26954
cdd915fd
RM
26955 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26956 sysdeps/unix -> sysdeps/posix move.
26957 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26958
bf9b740a
AM
269592012-08-07 Allan McRae <allan@archlinux.org>
26960
26961 [BZ #14303]
26962 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26963 (SUNOS_CPP): Likewise.
26964 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26965 not found.
26966 (open_input): Call CPP using execvp.
26967
93df14ee
JM
269682012-08-07 Joseph Myers <joseph@codesourcery.com>
26969
26970 * sysdeps/unix/sysv/linux/kernel-features.h
26971 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26972 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26973 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26974 (__ASSUME_WAITID_SYSCALL): Likewise.
26975 * sysdeps/unix/sysv/linux/dl-execstack.c
26976 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26977 code unconditional.
26978 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26979 conditional code.
26980 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26981 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26982 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26983 code.
26984 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26985 unconditional.
26986 [__ASSUME_WAITID_SYSCALL]: Likewise.
26987 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26988
d34689de
RM
269892012-08-07 Roland McGrath <roland@hack.frob.com>
26990
a281decc
RM
26991 * sysdeps/unix/closedir.c: Renamed to ...
26992 * sysdeps/posix/closedir.c: ... here.
26993 * sysdeps/unix/dirfd.c: Renamed to ...
26994 * sysdeps/posix/dirfd.c: ... here.
26995 * sysdeps/unix/dirstream.h: Renamed to ...
26996 * sysdeps/posix/dirstream.h: ... here.
26997 * sysdeps/unix/fdopendir.c: Renamed to ...
26998 * sysdeps/posix/fdopendir.c: ... here.
26999 * sysdeps/unix/opendir.c: Renamed to ...
27000 * sysdeps/posix/opendir.c: ... here.
27001 * sysdeps/unix/readdir.c: Renamed to ...
27002 * sysdeps/posix/readdir.c: ... here.
27003 * sysdeps/unix/readdir_r.c: Renamed to ...
27004 * sysdeps/posix/readdir_r.c: ... here.
27005 * sysdeps/unix/rewinddir.c: Renamed to ...
27006 * sysdeps/posix/rewinddir.c: ... here.
27007 * sysdeps/unix/seekdir.c: Renamed to ...
27008 * sysdeps/posix/seekdir.c: ... here.
27009 * sysdeps/unix/telldir.c: Renamed to ...
27010 * sysdeps/posix/telldir.c: ... here.
27011 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27012 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27013 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27014 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27015
22895b47
RM
27016 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27017 * bits/fcntl.h: ... here.
27018
707a53b6
RM
27019 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27020 not 0.
27021 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27022 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27023 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27024 (struct flock): Move l_start, l_len to the beginning.
27025 Use __pid_t for l_pid.
27026 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27027 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27028 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27029 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27030 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27031 [__USE_LARGEFILE64] (struct flock64): New type.
27032 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27033
f0bd3e25
RM
27034 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27035 * bits/dirent.h: ... here.
27036
d34689de
RM
27037 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27038 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27039
6dad2c06
JM
270402012-08-07 Joseph Myers <joseph@codesourcery.com>
27041
27042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27043 Change from 2.6.0 to 2.6.16.
27044 * sysdeps/unix/sysv/linux/configure: Regenerated.
27045 * sysdeps/unix/sysv/linux/kernel-features.h
27046 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27047 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27048 version.
27049 (__ASSUME_UTIMES): Likewise.
27050 (__ASSUME_CLONE_STOPPED): Remove.
27051 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27052 architectures, not kernel version.
27053 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27054 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27055 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27056 (__ASSUME_WAITID_SYSCALL): Likewise.
27057 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27058 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27059 * README: State 2.6.16 as minimum Linux kernel version. Do not
27060 refer to older versions.
27061
03af9520
RM
270622012-08-06 Roland McGrath <roland@hack.frob.com>
27063
8e49df1d
RM
27064 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27065 Define alphasort64 as an alias.
27066 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27067 Define versionsort64 as an alias.
27068 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27069 Define scandir64 as an alias.
27070 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27071 Define scandirat64 as an alias.
27072 * dirent/alphasort64.c (alphasort64):
27073 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27074 * dirent/versionsort64.c: Likewise.
27075 * dirent/scandir64.c: Likewise.
27076 * dirent/scandirat64.c: Likewise.
27077 * sysdeps/wordsize-64/alphasort.c: File removed.
27078 * sysdeps/wordsize-64/alphasort64.c: File removed.
27079 * sysdeps/wordsize-64/scandir.c: File removed.
27080 * sysdeps/wordsize-64/scandir64.c: File removed.
27081 * sysdeps/wordsize-64/scandirat.c: File removed.
27082 * sysdeps/wordsize-64/scandirat64.c: File removed.
27083 * sysdeps/wordsize-64/versionsort.c: File removed.
27084 * sysdeps/wordsize-64/versionsort64.c: File removed.
27085 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27086 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27087 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27088 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27089 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27090 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27091 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27092 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27093
27094 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27096 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27097 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27098 [defined __arch64__ || defined __sparcv9]
27099 (__INO_T_MATCHES_INO64_T): New macro.
27100 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27101 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27102 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27103 * sysdeps/unix/sysv/linux/bits/dirent.h
27104 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27105 (_DIRENT_MATCHES_DIRENT64): New macro.
27106
03af9520
RM
27107 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27108 Define lockf64 as an alias.
27109 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27110 Define fseeko64 as an alias.
27111 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27112 Define ftello64 as an alias.
27113 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27114 Define _IO_fgetpos64 and fgetpos64 as aliases.
27115 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27116 Define _IO_fsetpos64 and fsetpos64 as aliases.
27117 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27118 Conditionalize body on this.
27119 * libio/fseeko64.c: Likewise.
27120 * libio/ftello64.c: Likewise.
27121 * libio/iofgetpos64.c: Likewise.
27122 * libio/iofsetpos64.c: Likewise.
27123 * sysdeps/wordsize-64/lockf.c: File removed.
27124 * sysdeps/wordsize-64/lockf64.c: File removed.
27125 * sysdeps/wordsize-64/fseeko.c: File removed.
27126 * sysdeps/wordsize-64/fseeko64.c: File removed.
27127 * sysdeps/wordsize-64/ftello.c: File removed.
27128 * sysdeps/wordsize-64/ftello64.c: File removed.
27129 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27130 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27131 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27132 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27133 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27134 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27135 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27136 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27137 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27138 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27139 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27141 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27142 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27143
27144 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27146 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27148 [defined __arch64__ || defined __sparcv9]
27149 (__OFF_T_MATCHES_OFF64_T): New macro.
27150 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27151 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27152 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27153 (__OFF_T_MATCHES_OFF64_T): New macro.
27154
c5757acd
L
271552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27156
27157 * stdlib/secure-getenv.c (__secure_getenv): Replace
27158 GLIBC_2_16 with GLIBC_2_17.
27159
3a31811e
L
271602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27161
27162 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27163 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27164
faa2bccb
DM
271652012-08-03 David S. Miller <davem@davemloft.net>
27166
27167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27168
85fe1997
JM
271692012-08-03 Joseph Myers <joseph@codesourcery.com>
27170
27171 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27172 Remove.
27173 (__ASSUME_CORRECT_SI_PID): Likewise.
27174 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27175 (__ASSUME_TMPFS_NAME): Likewise.
27176 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27177 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27178 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27179 (HAVE_AUX_SECURE): Make definition unconditional.
27180 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27181 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27182
4f75b7a0
RM
271832012-08-03 Roland McGrath <roland@hack.frob.com>
27184
27185 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27186 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27187 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27188 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27189 __eloop_threshold instead of SYMLOOP_MAX.
27190
27191 * sysdeps/generic/eloop-threshold.h: New file.
27192 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27193 of MAXSYMLINKS.
27194 * elf/chroot_canon.c (chroot_canon): Likewise.
27195
7aab07e4
JM
271962012-08-03 Joseph Myers <joseph@codesourcery.com>
27197
27198 [BZ #13717]
27199 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27200 Change to 2.6.0 everywhere.
27201 * sysdeps/unix/sysv/linux/configure: Regenerated.
27202 * sysdeps/unix/sysv/linux/kernel-features.h
27203 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27204 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27205 kernel versions.
27206 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27207 (__ASSUME_FUTEX_REQUEUE): Remove.
27208 (__ASSUME_STATFS64): Define unconditionally.
27209 (__ASSUME_AT_SECURE): Likewise.
27210 (__ASSUME_CORRECT_SI_PID): Likewise.
27211 (__ASSUME_TGKILL): Define without depending on kernel version for
27212 i386.
27213 (__ASSUME_UTIMES): Likewise.
27214 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27215 kernel version.
27216 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27217 (__ASSUME_TMPFS_NAME): Likewise.
27218 * README: Update reference to Linux kernel versions.
27219
b67e9372
MP
272202012-08-02 Marek Polacek <polacek@redhat.com>
27221
1f529f7d 27222 [BZ# 14150]
b67e9372
MP
27223 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27224 libc_cv_asm_type_prefix with %.
27225 * configure: Regenerated.
d2441631
RM
27226 * include/libc-symbols.h: Remove comment about
27227 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27228 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27229 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27230 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27231 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27232 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27233 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27234 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27235 * elf/tst-unique2mod1.c: Likewise.
27236 * elf/tst-unique1mod2.c: Likewise.
27237 * elf/tst-unique1mod1.c: Likewise.
27238 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27239 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27240 Replace ASM_TYPE_DIRECTIVE with .type.
27241 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27242 * sysdeps/i386/sysdep.h: Likewise.
27243 * sysdeps/x86_64/sysdep.h: Likewise.
27244 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27246 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27247 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27248 * sysdeps/powerpc/powerpc32/sysdep.h:
27249 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27250 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27251 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27252 * sysdeps/i386/fpu/e_powf.S: Likewise.
27253 * sysdeps/i386/fpu/e_expl.S: Likewise.
27254 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27255 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27256 * sysdeps/i386/fpu/e_pow.S: Likewise.
27257 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27258 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27259 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27260 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27261 * sysdeps/i386/fpu/e_log2.S: Likewise.
27262 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27263 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27264 * sysdeps/i386/fpu/e_powl.S: Likewise.
27265 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27266 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27267 * sysdeps/i386/fpu/e_logl.S: Likewise.
27268 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27269 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27270 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27271 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27272 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27273 * sysdeps/i386/fpu/e_log.S: Likewise.
27274 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27275 * sysdeps/i386/fpu/e_logf.S: Likewise.
27276 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27277 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27278 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27279 * sysdeps/i386/fpu/e_log10.S: Likewise.
27280 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27281 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27282 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27283 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27284 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27285 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27286 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27287 * sysdeps/i386/i686/strtok.S: Likewise.
27288 * sysdeps/i386/i386-mcount.S: Likewise.
27289 * sysdeps/i386/strtok.S: Likewise.
27290 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27291 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27292 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27293 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27294 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27295 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27296 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27297 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27298 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27299 * sysdeps/x86_64/_mcount.S: Likewise.
27300 * sysdeps/x86_64/strtok.S: Likewise.
27301 * sysdeps/sh/_mcount.S: Likewise.
27302
2747bf9a
RM
273032012-08-01 Roland McGrath <roland@hack.frob.com>
27304
27305 * libio/iofopen.c: Include <fcntl.h>.
27306 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27307 (_IO_fopen64, fopen64): Define as aliases.
27308 * libio/iofopen64.c: Include <fcntl.h>.
27309 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27310 Conditionalize body on this.
27311 * sysdeps/wordsize-64/iofopen.c: File removed.
27312 * sysdeps/wordsize-64/iofopen64.c: File removed.
27313
3fb791b8
MP
273142012-08-01 Marek Polacek <polacek@redhat.com>
27315
27316 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27317 Use dlfcn directly instead of a variable.
27318 (binfmt-subdir): Do not define.
27319 (dlfcn): Likewise.
27320
a9f1039f
JM
273212012-08-01 Joseph Myers <joseph@codesourcery.com>
27322
23bddc06
JM
27323 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27324 Remove all definitions.
27325 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27326 <kernel-features.h>.
27327 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27328 (miss_F_GETOWN_EX): Remove all definitions.
27329 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27330 macro definition.
27331 [!__ASSUME_FCNTL64]: Remove conditional code.
27332 [__ASSUME_FCNTL64]: Make code unconditional.
27333 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27334 <kernel-features.h>.
27335 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27336 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27337 (lockf64) [__NR_fcntl64]: Make code unconditional.
27338 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27339
a9f1039f
JM
27340 * sysdeps/unix/sysv/linux/kernel-features.h
27341 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27342 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27343 Make code unconditional.
27344 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27345 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27347 [__NR_vfork]: Make code unconditional.
27348 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27349 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27351 [__NR_vfork]: Make code unconditional.
27352 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27353 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27354
09c0ee5f
RM
273552012-08-01 Roland McGrath <roland@hack.frob.com>
27356
48aec5b9
RM
27357 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27358 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27359
cd97c966
RM
27360 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27361 Define mkstemp64 as an alias.
3f55550c
RM
27362 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27363 Define mkstemps64 as an alias.
cd97c966
RM
27364 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27365 Define mkostemp64 as an alias.
b8625cfc
RM
27366 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27367 Define mkostemps64 as an alias.
cd97c966
RM
27368 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27369 Conditionalize body on this.
27370 * misc/mkostemp64.c: Likewise.
b8625cfc 27371 * misc/mkostemps64.c: Likewise.
3f55550c 27372 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27373 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27374 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27375 * sysdeps/wordsize-64/mkostemp.c: File removed.
27376 * sysdeps/wordsize-64/mkstemp.c: File removed.
27377 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27378 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27379 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27380 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27381
09c0ee5f
RM
27382 [BZ #14138]
27383 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27384 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27385 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27386 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27387
27388 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27389 compat_symbol macros from <shlib-compat.h> rather than the underlying
27390 default_symbol_version and symbol_version macros, so that DEFAULT
27391 lines in shlib-versions are respected.
27392 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27393
7e66ee51
FW
273942012-08-01 Florian Weimer <fweimer@redhat.com>
27395
27396 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27397 Declare with warn_unused_result.
27398 (setgid, setregid, setegid, setresgid): Likewise.
27399 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27400 Likewise.
27401 * WUR-REPORT: Remove set*id functions.
27402
d2a54255
PT
274032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27404
27405 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27406
7ecdb005
RM
274072012-07-31 Roland McGrath <roland@hack.frob.com>
27408
b4180a5e 27409 [BZ #10191]
789bd351
RM
27410 * include/sys/socket.h (__libc_accept, __libc_accept4):
27411 Add attribute_hidden.
27412 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27413
40ce302d
RM
27414 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27415 use of PTR_MANGLE.
27416 * inet/getnetgrent_r.c (setup): Likewise.
27417
7ecdb005
RM
27418 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27419
e2eabb2c
DM
274202012-07-31 David S. Miller <davem@davemloft.net>
27421
27422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27423
d0419dbf
JM
274242012-07-31 Joseph Myers <joseph@codesourcery.com>
27425
27426 [BZ #13629]
27427 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27428 value between 1.0 and 2.0 and smaller part has absolute value less
27429 than 1.0.
27430 * math/s_clog10.c (__clog10): Likewise.
27431 * math/s_clog10f.c (__clog10f): Likewise.
27432 * math/s_clog10l.c (__clog10l): Likewise.
27433 * math/s_clogf.c (__clogf): Likewise.
27434 * math/s_clogl.c (__clogl): Likewise.
27435 * math/libm-test.inc (clog_test): Add more tests.
27436 (clog10_test): Likewise.
27437 * sysdeps/i386/fpu/libm-test-ulps: Update.
27438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27439
2bc13872
FW
274402012-07-31 Florian Weimer <fweimer@redhat.com>
27441
27442 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27443 Exit with zero in case no suitable GID is found, and write a
27444 message to standard error.
27445
bea9b193
RM
274462012-07-30 Roland McGrath <roland@hack.frob.com>
27447
27448 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27449 rather than to 1.
27450 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27451 (MAXPATHLEN): Removed.
27452 (NOGROUP, NODEV): New macros.
27453 (setbit, clrbit, isset, isclr): New macros.
27454 (howmany, roundup, powerof2): New macros.
27455 (DEV_BSIZE): New macro.
27456
27457 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27458 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27459
27460 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27461 definition on [!__NO_LONG_DOUBLE_MATH].
27462
27463 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27464 PTR_MANGLE and PTR_DEMANGLE.
27465
27466 * socket/accept4.c (accept4): Rename to __libc_accept4.
27467 Define accept4 as a weak alias.
27468
27469 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27470 on [_DIRENT_HAVE_D_TYPE].
27471 * io/ftw.c (ftw_dir): Likewise.
27472
27473 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27474
27475 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27476
27477 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27478 Use the BSD numbers rather than the arbitrary ones we had.
27479 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27480 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27481 (SIGXCPU, SIGXFSZ): New macros.
27482 (_NSIG): Now 32.
27483
27484 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27485 initializer on [_LIBC_REENTRANT].
27486
27487 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27488 definitions inside [_POSIX_MAPPED_FILES].
27489
27490 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27491
27492 * dirent/opendir.c: Include <fcntl.h>.
27493
27494 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27495 (__libc_getspecific): Likewise.
27496 (__libc_key_create): Likewise.
27497
27498 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27499 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27500 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27501 (tmpfile64): Define as alias.
27502 * sysdeps/wordsize-64/tmpfile.c: File removed.
27503 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27504 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27505 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27506
27507 * stdio-common/vfscanf.c: Include <stdbool.h>.
27508 * nss/makedb.c: Likewise.
27509 * stdio-common/_i18n_number.h: Likewise.
27510 * argp/argp-help.c: Likewise.
27511 * posix/wordexp.c: Likewise.
27512 * sysdeps/posix/spawni.c: Likewise.
27513 * nss/nss_files/files-initgroups.c: Likewise.
27514 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27515 * nss/nss_files/files-initgroups.c: Likewise.
27516 * nss/nss_db/db-netgrp.c: Likewise.
27517 * nss/nss_db/db-initgroups.c: Likewise.
27518 * io/fchmodat.c: Include <sys/stat.h>.
27519
27520 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27521 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27522
27523 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27524 [HAVE_MMAP].
27525
27526 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27527 Add multiple inclusion protection.
27528
e5abc686
DM
275292012-07-27 David S. Miller <davem@davemloft.net>
27530
27531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27532
815e6fa3
GB
275332012-07-27 Gary Benson <gbenson@redhat.com>
27534
27535 [BZ #14298]
27536 * elf/rtld.c: Include <stap-probe.h>.
27537 (dl_main): Added static probes "init_start" and "init_complete".
27538 * elf/dl-load.c: Include <stap-probe.h>.
27539 (lose): Take new parameter "nsid".
27540 Added static probe "map_failed".
27541 (_dl_map_object_from_fd): Pass namespace id to lose.
27542 Added static probe "map_start".
27543 (open_verify): Pass namespace id to lose.
27544 * elf/dl-open.c: Include <stap-probe.h>.
27545 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27546 and "reloc_complete".
27547 * elf/dl-close.c: Include <stap-probe.h>.
27548 (_dl_close_worker): Added static probes "unmap_start" and
27549 "unmap_complete".
27550 * elf/rtld-debugger-interface.txt: New file documenting the above.
27551
9f98c16c
RM
275522012-07-26 Roland McGrath <roland@hack.frob.com>
27553
27554 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27555 rather than a string variable.
27556 * sunrpc/rpc_main.c (h_output): Likewise.
27557 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27558
f3c22df3
PT
275592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27560
27561 * inet/check_native.c: New file.
27562
3129cfc6
JM
275632012-07-26 Joseph Myers <joseph@codesourcery.com>
27564
da865e95
JM
27565 [BZ #13629]
27566 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27567 if larger part has absolute value 1.0.
27568 * math/s_clog10.c (__clog10): Likewise.
27569 * math/s_clog10f.c (__clog10f): Likewise.
27570 * math/s_clog10l.c (__clog10l): Likewise.
27571 * math/s_clogf.c (__clogf): Likewise.
27572 * math/s_clogl.c (__clogl): Likewise.
27573 * math/libm-test.inc (clog_test): Add more tests.
27574 (clog10_test): Likewise.
27575 * sysdeps/i386/fpu/libm-test-ulps: Update.
27576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27577
3129cfc6
JM
27578 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27579 (pltexit): Likewise.
27580 (La_regs): Likewise.
27581 (La_retval): Likewise.
27582 (int_retval): Likewise.
27583 Update #error for removed macros to refer only to definitions in
27584 tst-audit.h.
27585 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27586 macro.
27587 (pltexit): Likewise.
27588 (La_regs): Likewise.
27589 (La_retval): Likewise.
27590 (int_retval): Likewise.
27591 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27592 macro.
27593 (pltexit): Likewise.
27594 (La_regs): Likewise.
27595 (La_retval): Likewise.
27596 (int_retval): Likewise.
27597 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27598 macro.
27599 (pltexit): Likewise.
27600 (La_regs): Likewise.
27601 (La_retval): Likewise.
27602 (int_retval): Likewise.
27603 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27604 macro.
27605 (pltexit): Likewise.
27606 (La_regs): Likewise.
27607 (La_retval): Likewise.
27608 (int_retval): Likewise.
27609 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27610 macro.
27611 (pltexit): Likewise.
27612 (La_regs): Likewise.
27613 (La_retval): Likewise.
27614 (int_retval): Likewise.
27615 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27616 macro.
27617 (pltexit): Likewise.
27618 (La_regs): Likewise.
27619 (La_retval): Likewise.
27620 (int_retval): Likewise.
27621 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27622 macro definitions in tst-audit.h.
27623 * sysdeps/i386/tst-audit.h: New file.
27624 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27625 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27626 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27627 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27628 * sysdeps/sh/tst-audit.h: Likewise.
27629 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27630 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27631 * sysdeps/x86_64/tst-audit.h: Likewise.
27632
bfc07087
AJ
276332012-07-26 Andreas Jaeger <aj@suse.de>
27634
b1b2aaf8
AJ
27635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27636 ptrace.
27637
27638 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27639 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27640 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27641 PTRACE_O_MASK.
27642 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27643 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27644 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27645
bfc07087
AJ
27646 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27647 value.
27648
27649 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27650 _sigsys.
27651 (si_call_addr, si_syscall, si_arch): Define new macro.
27652 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27653 _sigsys.
27654 (si_call_addr, si_syscall, si_arch): Define new marcro.
27655 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27656 _sigsys.
27657 (si_call_addr, si_syscall, si_arch): Define new macro.
27658 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27659 _sigsys.
27660 (si_call_addr, si_syscall, si_arch): Define new macro.
27661
89b4b02f
JM
276622012-07-25 Joseph Myers <joseph@codesourcery.com>
27663
27664 [BZ #13717]
27665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27666 Change to 2.4.21 where previously 2.4.1.
27667 * sysdeps/unix/sysv/linux/configure: Regenerated.
27668 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27669 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27670 Linux kernel version.
27671 (__ASSUME_STD_AUXV): Remove.
27672 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27673 kernel version.
27674 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27675 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27676 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27677 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27678 (__ASSUME_NETLINK_SUPPORT): Likewise.
27679 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27680 (__no_netlink_support): Remove conditional definition.
27681 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27682 Remove.
27683 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27684 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27685 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27686 (if_nameindex_ioctl): Remove.
27687 (if_nameindex_netlink): Do not handle __no_netlink_support.
27688 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27689 code.
27690 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27691 Remove conditional code.
27692 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27693 code.
27694 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27695 unconditional.
27696 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27697 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27698 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27699 Remove.
27700 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27701 [!__ASSUME_STD_AUXV]: Remove conditional code.
27702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27703 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27704 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27706 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27707 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27708 code.
27709 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27711 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27712 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27713 conditional code.
27714 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27716 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27717 code.
27718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27719 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27720 conditional code.
27721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27722 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27723 code unconditional.
27724 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27725 conditional code.
27726 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27727 unconditional.
27728 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27729 conditional code.
27730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27731 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27732 unconditional.
27733 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27734 conditional code.
27735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27736 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27737 code unconditional.
27738 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27739 conditional code.
27740 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27741 unconditional.
27742 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27743 conditional code.
27744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27745 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27746 code unconditional.
27747 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27748 conditional code.
27749 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27750 unconditional.
27751 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27752 conditional code.
27753
842a39cd
AS
277542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27755
27756 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27757 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27758 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27759 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27760 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27761 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27762 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27763 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27764 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27765 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27766 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27767 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27768 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27769 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27771 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27772 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27773 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27774 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27776 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27777 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27778 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27779
84b3fd84
FW
277802012-07-25 Florian Weimer <fweimer@redhat.com>
27781
27782 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27783 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27784 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27785 Introduce __libc_secure_getenv.
0c7936d5
FW
27786 * stdlib/Versions (2.17): Add secure_getenv
27787 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27788 * stdlib/secure-getenv.c: Rename __secure_getenv to
27789 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27790 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27791 * stdlib/tst-secure-getenv.c: New.
27792 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27793 * manual/startup.texi (Environment Access): Document
27794 secure_getenv.
84b3fd84
FW
27795 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27796 __libc_secure_getenv.
27797 * inet/ruserpass.c (ruserpass): Likewise.
27798 * malloc/mtrace.c (mtrace): Likewise.
27799 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27800 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27801 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27802 * sysdeps/posix/tempname.c: Likewise. Evaluate
27803 HAVE_SECURE_GETENV.
27804 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27805 __secure_getenv to __libc_secure_getenv.
84b3fd84 27806 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27808 Likewise.
27809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27810 Likewise.
27811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27818
56e49b71
JM
278192012-07-25 Joseph Myers <joseph@codesourcery.com>
27820
27821 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27822 (struct La_i86_retval): Likewise.
27823 (struct La_x86_64_regs): Likewise.
27824 (struct La_x86_64_retval): Likewise.
27825 (struct La_x32_regs): Likewise.
27826 (struct La_x32_retval): Likewise.
27827 (struct La_ppc32_regs): Likewise.
27828 (struct La_ppc32_retval): Likewise.
27829 (struct La_ppc64_regs): Likewise.
27830 (struct La_ppc64_retval): Likewise.
27831 (struct La_sh_regs): Likewise.
27832 (struct La_sh_retval): Likewise.
27833 (struct La_s390_32_regs): Likewise.
27834 (struct La_s390_32_retval): Likewise.
27835 (struct La_s390_64_regs): Likewise.
27836 (struct La_s390_64_retval): Likewise.
27837 (struct La_sparc32_regs): Likewise.
27838 (struct La_sparc32_retval): Likewise.
27839 (struct La_sparc64_regs): Likewise.
27840 (struct La_sparc64_retval): Likewise.
27841 (struct audit_ifaces): Remove architecture-specific pltenter and
27842 pltexit members.
27843 * sysdeps/i386/ldsodefs.h: New file.
27844 * sysdeps/powerpc/ldsodefs.h: Likewise.
27845 * sysdeps/s390/ldsodefs.h: Likewise.
27846 * sysdeps/sh/ldsodefs.h: Likewise.
27847 * sysdeps/sparc/ldsodefs.h: Likewise.
27848 * sysdeps/x86_64/ldsodefs.h: Likewise.
27849
354691b7
MP
278502012-07-25 Marek Polacek <polacek@redhat.com>
27851
27852 [BZ #6808]
27853 * math/libm-test.inc (yn_test): Add another test.
27854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27855 to ERANGE when the result is +-Inf.
27856 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27857 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27858 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27859 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27860
bf9e2071
JM
278612012-07-24 Joseph Myers <joseph@codesourcery.com>
27862
27863 * conform/data/time.h-data (NULL): Use macro-constant. Require
27864 equal to 0.
27865 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27866 clock_t.
27867 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27868
57633811
TS
278692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27870
27871 * configure.in <sysdeps resolving>: Correct printing
27872 Implies_before.
27873 * configure: Regenerate.
27874
c23c33b0
TS
278752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27876
27877 * math/w_ilogb.c: Include <limits.h>.
27878 * math/w_ilogbl.c: Likewise.
27879
b5982523
JM
278802012-07-20 Joseph Myers <joseph@codesourcery.com>
27881
27882 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27883 va_copy. Document allowing for unavailable va_copy only as
27884 pre-C99 compatibility.
27885 * manual/string.texi (Copying and Concatenation): Use va_copy
27886 instead of __va_copy in concat example.
27887
ac4ea442
PT
278882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27889
27890 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27891 (__sendto): Use create_address_port. Initialize APORT and deallocate
27892 it if not null.
27893
f98eafbd
PT
27894 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27895 with O_NOLINK passed to __file_name_lookup.
27896
898c7aab
PT
27897 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27898 with O_NOLINK passed to __file_name_lookup.
27899
0ced335a
PT
27900 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27901 negative N or less than NGIDS.
27902
b3404dbd
PT
27903 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27904 type to string_t. Set ERANGE as errno and return it if NAME is not big
27905 enough. Use memcpy instead of strncpy.
27906
0f48659e
JM
279072012-07-20 Joseph Myers <joseph@codesourcery.com>
27908
27909 * elf/Makefile (check-data): Remove.
27910 (localplt.data): New vpath directive.
27911 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27912 instead of $(check-data).
27913 * scripts/data/localplt-generic.data: Move to ...
27914 * sysdeps/generic/localplt.data: ... here.
27915 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27916 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27917 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27919 ... here.
27920 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27922 ... here.
27923 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27925 ... here.
27926 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27928 ... here.
27929 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27931 ... here.
27932 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27934 ... here.
27935
d37cbdaa
AZ
279362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27937
27938 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27939 PPC32 and PPC64 files.
27940 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27941 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27942
46f85fc2
AK
279432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27944
27945 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27946 __makecontext_ret to ...
27947 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27948 ... here and call exit if uc_link is NULL. New file.
27949 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27950 __makecontext_ret.S.
27951 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27952 __makecontext_ret to ...
27953 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27954 ... here and call exit if uc_link is NULL. New file.
27955 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27956 __makecontext_ret.S.
27957
08f43f9b
AK
279582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27959
27960 * elf/elf.h (R_390_IRELATIVE): New definition.
27961 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27962 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27963 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27964 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27965 (elf_machine_lazy_rel): Likewise.
27966 * sysdeps/s390/dl-irel.h: New file.
27967 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27968 * sysdeps/s390/s390-64/memset.S: New asm code.
27969 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27970 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27971 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27972 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27973 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27974 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27975 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27976 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27977 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27978 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27979 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27980 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27981 * sysdeps/s390/s390-32/memset.S: New asm code.
27982 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27983
3b05db33
MP
279842012-07-17 Marek Polacek <polacek@redhat.com>
27985
27986 [BZ #14349]
27987 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27988 * sysdeps/s390/s390-64/configure.in: Likewise.
27989 * sysdeps/sparc/configure.in: Likewise.
27990 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27991 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27992 * sysdeps/i386/configure.in: Likewise.
27993 * sysdeps/x86_64/configure.in: Likewise.
27994 * sysdeps/sh/configure.in: Likewise.
27995 * sysdeps/s390/s390-32/configure: Regenerated.
27996 * sysdeps/s390/s390-64/configure: Likewise.
27997 * sysdeps/x86_64/configure: Likewise.
27998 * sysdeps/sh/configure: Likewise.
27999 * sysdeps/powerpc/powerpc64/configure: Likewise.
28000 * sysdeps/powerpc/powerpc32/configure: Likewise.
28001 * sysdeps/sparc/configure: Likwise.
28002 * sysdeps/i386/configure: Likewise.
28003
a66877c6
MP
28004 * elf/dl-open.c: Comment fixes.
28005
cfc82fd8
JM
280062012-07-17 Joseph Myers <joseph@codesourcery.com>
28007
bd29910a
JM
28008 * Makefile [CXX] (check-data): Remove.
28009 [CXX] (c++-types.data): New vpath directive.
28010 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28011 vpath. Do not allow for C++ type data being missing.
28012 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28013 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28014 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28015 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28016 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28017 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28018 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28020 ... here.
28021 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28023 ... here.
28024 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28026 ... here.
28027 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28029 ... here.
28030 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28032 ... here.
28033 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28035 ... here.
28036 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28038 ... here.
28039 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28041
cfc82fd8
JM
28042 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28043 definitions to architecture-specific files.
28044 (TLS_IE): Likewise.
28045 (TLS_LD): Likewise.
28046 (TLS_GD): Likewise.
28047 * sysdeps/i386/tls-macros.h: New file.
28048 * sysdeps/powerpc/tls-macros.h: Likewise.
28049 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28050 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28051 * sysdeps/sh/tls-macros.h: Likewise.
28052 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28053 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28054 * sysdeps/x86_64/tls-macros.h: Likewise.
28055
f7db3170
TS
280562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28057
07cbfc23
TS
28058 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28059 zero value for regular exit case.
28060
f7db3170
TS
28061 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28062 (__start_context): Preserve zero value for regular exit case.
28063
dc97c227
TS
280642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28065 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28066
28067 * manual/setjmp.texi (setcontext): Clarify normal process
28068 termination when uc_link is the null pointer.
28069 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28070 exit call.
28071
d0cd7d02
AS
280722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28073
28074 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28075 preprocessor. Test for each exception mask separately.
28076
dd318934
AJ
280772012-07-16 Andreas Jaeger <aj@suse.de>
28078
28079 * po/ru.po: Update from translation team.
28080
8048311a
JM
280812012-07-15 Joseph Myers <joseph@codesourcery.com>
28082
28083 * conform/data/string.h-data (NULL): Use macro-constant. Require
28084 equal to 0.
28085 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28086 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28087 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28088 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28090
b637d46e
AJ
280912012-07-13 Andreas Jaeger <aj@suse.de>
28092
28093 * po/fr.po: Update from translation team.
28094
541428fe
MP
280952012-07-12 Marek Polacek <polacek@redhat.com>
28096
28097 [BZ #14173]
28098 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28099 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28100 loop condition.
28101
ec332e94
JM
281022012-07-12 Joseph Myers <joseph@codesourcery.com>
28103
28104 [BZ #13717]
28105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28106 Change to 2.4.1 where previously 2.4.0.
28107 * sysdeps/unix/sysv/linux/configure: Regenerated.
28108 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28109 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28110 version.
28111 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28112 (__ASSUME_AT_CLKTCK): Remove.
28113 (__ASSUME_AT_PAGESIZE): Likewise.
28114 (__ASSUME_AT_XID): Likewise.
28115 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28116 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28117 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28118 unconditionally.
28119 (HAVE_AUX_PAGESIZE): Likewise.
28120 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28121 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28122 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28123
7b6e99be
JB
281242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28125
28126 [BZ #14307]
28127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28128 the temporary buffer used to invoke __gethostbyname2_r,
28129 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28130 host_data / struct gaih_addrtuple.
28131 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28132 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28133 header file nss/nsswitch.h.
28134 * nss/nsswitch.h (global scope): Add definition of implementation
28135 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28136 resolv/nss_dns/dns-host.c).
28137
608404eb
AJ
281382012-07-11 Andreas Jaeger <aj@suse.de>
28139
28140 * po/fr.po: Update from translation team.
28141
71220aca
AJ
28142 * po/sv.po: Update from translation team
28143 * po/fr.po: Another update from translation team.
28144
28cfe843
AZ
281452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28146
28147 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28148 for subnormals or multiply small sinh result by itself.
28149 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28151
6b90f981
DM
281522012-07-11 David S. Miller <davem@davemloft.net>
28153
28154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28155
c6825772
AS
281562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28157
28158 [BZ #14347]
28159 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28160 (INTERNAL_MARK): Shift it here.
28161
7b8e0d49
MP
281622012-07-10 Marek Polacek <polacek@redhat.com>
28163
28164 [BZ #14151]
28165 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28166 libc_cv_asm_global_directive with .globl.
28167 * configure: Regenerated.
28168 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28169 with .globl.
28170 * sysdeps/i386/configure: Regenerated.
28171 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28172 with .globl.
28173 * sysdeps/x86_64/configure: Regenerated.
28174 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28175 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28176 * elf/tst-unique2mod2.c: Likewise.
28177 * elf/tst-unique2mod1.c: Likewise.
28178 * elf/tst-unique1mod2.c: Likewise.
28179 * elf/tst-unique1mod1.c: Likewise.
28180 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28181 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28182 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28183 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28184 * sysdeps/mach/sysdep.h: Likewise.
28185 * sysdeps/i386/sysdep.h: Likewise.
28186 * sysdeps/i386/i386-mcount.S: Likewise.
28187 * sysdeps/x86_64/_mcount.S: Likewise.
28188 * sysdeps/x86_64/sysdep.h: Likewise.
28189 * sysdeps/sh/_mcount.S: Likewise.
28190 * sysdeps/sh/sysdep.h: Likewise.
28191 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28192 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28193 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28194 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28195 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28196 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28197 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28198 * locale/localeinfo.h: Likewise.
28199 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28200 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28201
6c55cda3
RM
282022012-07-09 Roland McGrath <roland@hack.frob.com>
28203
28204 [BZ #14336]
28205 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28206 system".
28207 * manual/message.texi (The Uniforum approach): Likewise.
28208 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28209 (glibc iconv Implementation): Likewise.
28210
638a572e
JM
282112012-07-09 Joseph Myers <joseph@codesourcery.com>
28212
28213 [BZ #14337]
28214 * math/s_clog.c (__clog): Avoid scaling a value down where that
28215 could result in underflow.
28216 * math/s_clog10.c (__clog10): Likewise.
28217 * math/s_clog10f.c (__clog10f): Likewise.
28218 * math/s_clog10l.c (__clog10l): Likewise.
28219 * math/s_clogf.c (__clogf): Likewise.
28220 * math/s_clogl.c (__clogl): Likewise.
28221 * math/libm-test.inc (clog_test): Add more tests.
28222 (clog10_test): Likewise.
28223 * sysdeps/i386/fpu/libm-test-ulps: Update.
28224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28225
261f4859
AS
282262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28227
0abaf3e4
AS
28228 [BZ #14283]
28229 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28230 by 7 not 8 to examine high bit of fractional part.
28231
261f4859
AS
28232 [BZ #14042]
28233 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28234 for call to __mcount_internal.
28235 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28236 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28237 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28238
f17ac40d
JM
282392012-07-06 Joseph Myers <joseph@codesourcery.com>
28240
9ad63c23
JM
28241 [BZ #14154]
28242 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28243 approximation for values within 0x1p-13f of an odd multiple of
28244 pi/4.
28245 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28246 exception. Add more tests.
28247 * sysdeps/i386/fpu/libm-test-ulps: Update.
28248
f17ac40d
JM
28249 [BZ #6778]
28250 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28251 inputs and return -1 for them. Do not check for +Inf in case not
28252 reachable for +Inf.
28253 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28254 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28255 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28256 and return -1 for them. Do not check for +Inf in case not
28257 reachable for +Inf.
28258 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28259 define.
28260 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28261 and return -1 for them. Do not check for +Inf in case not
28262 reachable for +Inf.
28263 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28264 spurious underflow.
28265 * sysdeps/i386/fpu/libm-test-ulps: Update.
28266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28267
fb21f89b
MF
282682012-07-06 Mike Frysinger <vapier@gentoo.org>
28269
28270 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28271
cdfe2c5e
JM
282722012-07-05 Joseph Myers <joseph@codesourcery.com>
28273
28274 [BZ #14157]
28275 [BZ #14331]
28276 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28277 could result in spurious underflow. Scale down values above
28278 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28279 * math/s_csqrtf.c (__csqrtf): Likewise.
28280 * math/s_csqrtl.c (__csqrtl): Likewise.
28281 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28282 spurious underflow.
28283 * sysdeps/i386/fpu/libm-test-ulps: Update.
28284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28285
70d35b67
AS
282862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28287
704bc459
AS
28288 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28289 xopen-msg.sed.
28290 * catgets/xopen-msg.awk: New file.
28291 * catgets/xopen-msg.sed: Removed.
28292
70d35b67
AS
28293 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28294 po2text.sed.
28295 * intl/po2test.awk: New file.
28296 * intl/po2test.sed: Removed.
28297
ca61cf32
JM
282982012-07-04 Joseph Myers <joseph@codesourcery.com>
28299
28300 [BZ #14328]
28301 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28302 or multiply small sinh result by itself.
28303 * math/s_ctanf.c (__ctanf): Likewise.
28304 * math/s_ctanh.c (__ctanh): Likewise.
28305 * math/s_ctanhf.c (__ctanhf): Likewise.
28306 * math/s_ctanhl.c (__ctanhl): Likewise.
28307 * math/s_ctanl.c (__ctanl): Likewise.
28308 * math/libm-test.inc (ctan_test_tonearest): New function.
28309 (ctan_test_towardzero): Likewise.
28310 (ctan_test_downward): Likewise.
28311 (ctan_test_upward): Likewise.
28312 (ctanh_test_tonearest): Likewise.
28313 (ctanh_test_towardzero): Likewise.
28314 (ctanh_test_downward): Likewise.
28315 (ctanh_test_upward): Likewise.
28316 (main): Call these new functions.
28317 * sysdeps/i386/fpu/libm-test-ulps: Update.
28318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28319
ca48a46a
MF
283202012-07-03 Mike Frysinger <vapier@gentoo.org>
28321
28322 * .gitignore: Delete /ports entry.
28323
9d63d37d
AJ
283242012-07-03 Andreas Jaeger <aj@suse.de>
28325
28326 * po/bg.po: Update from translation team.
28327 * po/cs.po: Likewise.
28328 * po/de.po: Likewise.
28329 * po/hr.po: Likewise.
28330 * po/nl.pl: Likewise.
28331 * po/pl.po: Likewise.
28332 * po/vi.po: Likewise.
28333
370ca3d2
JM
283342012-07-03 Joseph Myers <joseph@codesourcery.com>
28335
95f5a9a8
JM
28336 * Makeconfig [!+link] (+link-before-libc): New variable.
28337 [!+link] (+link-after-libc): Likewise.
28338 [!+link] (+link-tests): Likewise.
28339 [!+link] (+link): Define in terms of $(+link-before-libc) and
28340 $(+link-after-libc).
28341 [!+link-static] (+link-static-before-libc): New variable.
28342 [!+link-static] (+link-static-after-libc): Likewise.
28343 [!+link-static] (+link-static-tests): Likewise.
28344 [!+link-static] (+link-static): Define in terms of
28345 $(+link-static-before-libc) and $(+link-static-after-libc).
28346 [build-shared] (link-libc-before-gnulib): New variable.
28347 [build-shared] (link-libc-tests): Likewise.
28348 [build-shared] (link-libc): Define in terms of
28349 $(link-libc-before-gnulib).
28350 [!build-shared] (link-libc-tests): New variable.
28351 (link-libc-static-tests): New variable.
28352 [!gnulib] (gnulib-arch): New variable.
28353 [!gnulib] (gnulib-tests): Likewise.
28354 [!gnulib] (static-gnulib-arch): Likewise.
28355 [!gnulib] (static-gnulib-tests): Likewise.
28356 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28357 Define with "=" instead of ":=".
28358 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28359 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28360 * Rules (binaries-all-notests): New variable.
28361 (binaries-all-tests): Likewise.
28362 (binaries-static-notests): Likewise.
28363 (binaries-static-tests): Likewise.
28364 (binaries-all): Define using $(binaries-all-notests) and
28365 $(binaries-all-tests).
28366 (binaries-static): Define using $(binaries-static-notests) and
28367 $(binaries-static-tests).
28368 (binaries-shared-tests): New variable.
28369 (binaries-shared-notests): Likewise.
28370 (binaries-shared): Remove variable.
28371 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28372 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28373 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28374 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28375 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28376 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28377 * elf/Makefile (sln-modules): New variable.
28378 (extra-objs): Add $(sln-modules:=.o).
28379 (ldconfig-modules): Add static-stubs.
28380 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28381 * elf/static-stubs.c: New file.
28382
7a845b2c
JM
28383 [BZ #14283]
28384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28385 by 7 not 8 to examine high bit of fractional part. Use volatile
28386 variables when splitting into final array of floats if
28387 __FLT_EVAL_METHOD__ != 0.
28388 * math/libm-test.inc (cos_test): Add another test.
28389 (sin_test): Likewise.
28390 * sysdeps/i386/fpu/libm-test-ulps: Update.
28391
e2283f38
JM
28392 [BZ #14273]
28393 * math/libm-test.inc (cosh_test): Add more tests.
28394
370ca3d2
JM
28395 * version.h (RELEASE): Set to "development".
28396 (VERSION): Set to "2.16.90".
28397
ee9247c3
CD
283982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28399
28400 * NEWS: Update copyright. Remove last-updated date.
28401 Mention math library bug fixes and timezone data changes.
28402 * README: Mention GNU/Hurd, x32, and HPPA support status.
28403
4648c381
TS
284042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28405
28406 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28407
aac78a43
AJ
284082012-06-27 Andreas Jaeger <aj@suse.de>
28409
28410 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28411
ed3dbfad
AJ
284122012-06-25 Andreas Jaeger <aj@suse.de>
28413
28414 * sysdeps/s390/fpu/libm-test-ulps: Update.
28415
4d0ee855
AS
284162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28417 Thomas Schwinge <thomas@codesourcery.com>
28418
28419 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28420 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28422 fanotify_mark.
28423
af1bce34
TS
284242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28425
a9fa33ba
TS
28426 * sysdeps/mach/start.c: Remove file.
28427 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28428 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28429 * sysdeps/sh/init-first.c: Likewise.
28430
58f902b8
TS
28431 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28432 registers for frame unwinding purposes, add CFI directives.
28433 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28434 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28435 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28436 Likewise.
28437
1518f58b
TS
28438 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28439 __fortify_fail returning.
28440 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28441
db9b5059
TS
28442 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28443 sysdeps/sh/____longjmp_chk.S.
28444 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28445 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28446 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28447 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28448
967705fe
TS
28449 * sysdeps/sh/abort-instr.h: New file.
28450 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28451 process in case exit returns.
28452
a9def8c4
TS
28453 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28454 initialize the GOT register before use.
28455
2a649725
TS
28456 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28457 calculation of ARGC > 4.
28458
af1bce34
TS
28459 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28460 meaningful names to some local labels.
28461
d230f50a
KK
284622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28463 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28464
28465 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28466 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28467 (__arch_compare_and_exchange_val_16_acq): Likewise.
28468 (__arch_compare_and_exchange_val_32_acq): Likewise.
28469 (atomic_exchange_and_add): Fix gUSA sequence.
28470 (atomic_add): Likewise.
28471 (atomic_add_negative): Likewise.
28472 (atomic_add_zero): Likewise.
28473 (atomic_bit_test_set): Likewise.
28474
0479b305
AS
284752012-06-22 Andreas Schwab <schwab@redhat.com>
28476
28477 [BZ #13579]
28478 * include/link.h (struct link_map): Add l_free_initfini.
28479 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28480 l_initfini.
28481 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28482 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28483 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28484 set.
28485
0e3933b9
CD
284862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28487
28488 * configure.in: Use AC_LANG_SOURCE.
28489 * configure: Regenerate.
28490
4248b1b1
RM
284912012-06-22 Roland McGrath <roland@hack.frob.com>
28492
28493 * configure.in (libc_cv_localstatedir): New substituted variable.
28494 * configure: Regenerated.
28495 * config.make.in (localstatedir): New variable, substituted from
28496 libc_cv_localstatedir.
28497 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28498 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28499 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28500 * sysdeps/gnu/configure: Regenerated.
28501
006dd861
JL
285022012-06-21 Jeff Law <law@redhat.com>
28503
28504 [BZ #14277]
28505 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28506 free. Simplify list management for _LIBC case.
28507
79662d42
JM
285082012-06-21 Joseph Myers <joseph@codesourcery.com>
28509
b7abb4bf
JM
28510 [BZ #14273]
28511 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28512 Clear sign bit of 64-bit integer value before comparing against
28513 overflow value.
28514
79662d42
JM
28515 * sysdeps/mach/configure: Regenerated.
28516
1f150908
L
285172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28518
28519 [BZ #14278]
28520 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28521
28363bbf
JL
285222012-06-21 Jeff Law <law@redhat.com>
28523
28524 [BZ #13882]
28525 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28526 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28527 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28528 * elf/dl-open.c (dl_open_worker): Likewise.
28529
09615db4
CD
285302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28531
28532 * scripts/list-sources.sh: Scan PORTS for translations.
28533 * po/libc.pot: Regenerated.
28534
2174c6dd
AJ
285352012-06-21 Andreas Jaeger <aj@suse.de>
28536
28537 [BZ #12194]
28538 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28539 warning.
28540 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28541 * bits/byteswap-16.h (__bswap_16): Likewise.
28542 * bits/byteswap.h (__bswap_constant_16): Likewise.
28543
3ee947b1
L
285442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28545
28546 [BZ #14117]
a2f34833
L
28547 * sysdeps/i386/fpu_control.h: Removed.
28548 * sysdeps/x86_64/fpu_control.h: Moved to ...
28549 * sysdeps/x86/fpu_control.h: Here.
28550
3ee947b1
L
28551 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28552 (_FPU_SETCW): Likewise.
28553
ed1825f8
L
285542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28555
25f1282a
L
28556 [BZ #14117]
28557 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28558 * sysdeps/x86/fpu/bits/mathinline.h: This.
28559 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28560
ed1825f8
L
28561 [BZ #14050]
28562 [BZ #14117]
28563 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28564 functions if __x86_64__ is defined.
28565
36d54b74
CLT
285662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28567
28568 * string/endian.h: Add !__ASSEMBLER__ condition for including
28569 conversion interfaces.
28570
10285c21
JM
285712012-06-15 Joseph Myers <joseph@codesourcery.com>
28572
28573 [BZ #14241]
28574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28575 of ABS(x) in calculating zero to negative powers other than odd
28576 integers.
28577 * math/libm-test.inc (pow_test): Add more tests.
28578
06c5abbd
AJ
285792012-06-15 Andreas Jaeger <aj@suse.de>
28580
28581 * manual/contrib.texi (Contributors): Update entry of Liubov
28582 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28583 Machado Filho.
28584
a3aeac40
CH
285852012-06-15 Cyril Hrubis <metan@ucw.cz>
28586
28587 * string/string.h: Add __wur to GNU version of strerror_r.
28588
49bdf4c1
L
285892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28590
28591 [BZ #14229]
28592 * string/Makefile (tests): Add tst-strtok_r.
28593 * string/tst-strtok_r.c: New file.
28594 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28595 RAX_LP/RDX_LP on SAVE_PTR.
28596
834f9b8d
RM
285972012-06-14 Roland McGrath <roland@hack.frob.com>
28598
28599 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28600
75fa1921
JM
286012012-06-14 Joseph Myers <joseph@codesourcery.com>
28602
28603 * libm_test.inc (csqrt_test): Allow more spurious underflow
28604 exceptions.
28605 (j0_test): Likewise.
28606 (j1_test): Likewise.
28607 (y0_test): Likewise.
28608 (y1_test): Likewise.
28609
771766df
CD
286102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28611
28612 * po/Makefile (libc.pot): Use UTF-8 charset.
28613
ceb9e56b
PP
286142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28615
28616 [BZ #14210]
28617 Suppress sign-conversion warning from FD_SET.
28618 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28619 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28620 not unsigned long int.
28621 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28622
ddb28975
L
286232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28624
28625 [BZ #14050]
28626 [BZ #14117]
28627 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28628 __extern_always_inline instead of __extern_inline.
28629 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28630 (__signbit): Likewise.
28631 (__signbitl): Support C++ namespace.
28632 (lrintf): New inline function.
28633 (lrint): Likewise.
28634 (llrintf): Likewise.
28635 (llrint): Likewise.
28636 (fmaxf): Likewise.
28637 (fmax): Likewise.
28638 (fminf): Likewise.
28639 (fmin): Likewise.
28640 (rint): Likewise.
28641 (rintf): Likewise.
28642 (ceil): Likewise.
28643 (ceilf): Likewise.
28644 (floor): Likewise.
28645 (floorf): Likewise.
28646 (nearbyint): Likewise.
28647 (nearbyintf): Likewise.
28648
d7b4fb26
TS
286492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28650
28651 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28652 non-default versions.
28653
eb55f5c2
RM
286542012-06-11 Roland McGrath <roland@hack.frob.com>
28655
28656 [BZ #14218]
28657 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28658
366af02c
TS
286592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28660
99ff6e5c
TS
28661 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28662 (FE_UPWARD, FE_DOWNWARD): Don't define.
28663 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28664 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28665
366af02c
TS
28666 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28667 reading it.
28668 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28669 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28670
793ea851
KK
286712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28672
28673 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28675 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28676 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28677
a728a38f
L
286782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28679
28680 [BZ #14117]
c08010c7
L
28681 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28682 * sysdeps/i386/fpu/Implies: New file.
28683 * sysdeps/x86_64/fpu/Implies: Likewise.
28684 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28685 * sysdeps/x86/fpu/bits/fenv.h: This.
28686
a728a38f
L
28687 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28688 __SSE_MATH__.
28689
6e230d11
SP
286902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28691
28692 [BZ #14134]
28693 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28694 character 0xffff that matches the last element of the
28695 conversion table.
28696
1b671feb
AZ
286972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28698
28699 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28700 fmodl commit.
28701
6043738b
AZ
287022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28703
28704 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28705 values higher than 25.6283.
28706
34ae0b32
AZ
287072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28708
28709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28710 subnormal exponent extraction and add some __builtin_expect.
28711 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28712 Fix for subnormal mantissa calculation.
28713
1214ec8f
MF
287142012-06-04 Mike Frysinger <vapier@gentoo.org>
28715
28716 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28717 cpu2 is -1 and errno is not ENOSYS.
28718
f3d1f93c
L
287192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28720
28721 [BZ #14117]
0e4a3cd7
L
28722 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28723 * sysdeps/x86/bits/string.h: This.
28724 * sysdeps/x86_64/bits/string.h: Removed.
28725
6704c645
L
28726 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28727 if not compiling for x86-64, but compiling for >= i486.
28728
48495318
L
28729 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28730 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28731
14adcbfc
L
28732 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28733 New macro from Linux kernel 3.4.0.
28734 (FP_XSTATE_MAGIC2): Likewise.
28735 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28736 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28737 (struct _fpx_sw_bytes): New struct.
28738 (struct _xsave_hdr): Likewise.
28739 (struct _ymmh_state): Likewise.
28740 (struct _xstate): Likewise.
28741
68e408ab
L
28742 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28743 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28744 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28745 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28746 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28747 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28748
f3d1f93c
L
28749 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28750 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28751 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28752 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28753 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28754 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28755
d9dc34cd
TMQMF
287562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28757
28758 [BZ #13743]
28759 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28760 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28761 (sysdep_headers): Include sys/platform/ppc.h.
28762 * sysdeps/powerpc/test-gettimebase.c: Test for
28763 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28764 * manual/Makefile (appendices): Include platform.texi.
28765 * manual/contrib.texi (Contributors): Update @node pointers.
28766 * manual/maint.texi (Maintenance): Likewise.
28767 (Platform): New node.
28768 * manual/platform.texi: New file. Document the new features.
28769
4af3879c
SP
287702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28771 Jakub Jelinek <jakub@redhat.com>
28772
28773 [BZ #14188]
28774 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28775 where __builtin_expect is unavailable.
28776
2fd6ff13
DM
287772012-06-03 David S. Miller <davem@davemloft.net>
28778
28779 * stdlib/longlong.h: Updated from GCC.
28780
173f7220
AS
287812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28782
28783 [BZ #14042]
28784 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28785 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28786 __mcount_internal.
28787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28788 (GLIBC_2.16): Likewise.
28789
f34a1c6f
L
287902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28791
28792 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28793
88a4576f
JM
287942012-06-01 Joseph Myers <joseph@codesourcery.com>
28795
ea32bcdd
JM
28796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28797 (default-abi): New variable.
28798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28799 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28800 variable.
28801 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28802 Likewise.
28803 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28804 Likewise.
28805 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28806 Likewise.
28807
88a4576f
JM
28808 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28809 definition. Document in comment.
28810
402fe938
DM
288112012-06-01 David S. Miller <davem@davemloft.net>
28812
28813 * stdlib/longlong.h: Updated from GCC.
28814
3553723f
L
288152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28816
28817 [BZ #14117]
3bd872c4
L
28818 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28819 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28820 sys/debugreg.h sys/io.h here.
28821 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28822 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28823 sys/io.h.
28824 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28825 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28826 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28827 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28828 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28829 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28830
3553723f
L
28831 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28832 Define only if __x86_64__ is defined.
28833
4842e4fe
JM
288342012-06-01 Joseph Myers <joseph@codesourcery.com>
28835
c5bfe3d5
JM
28836 [BZ #14048]
28837 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28838 Use int64_t for variable i.
28839 * math/libm-test.inc (fmod_test): Add more tests.
28840
4842e4fe
JM
28841 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28842 z computation is not scheduled after fetestexcept.
28843 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28844 Use math_force_eval instead of asm to ensure calculation scheduled
28845 before exception test.
28846 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28847 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28848
efb73488
AJ
288492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28850
28851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28852 computation is not scheduled after fetestexcept.
28853
29bcce7c
L
288542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28855
28856 [BZ #14117]
28857 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28858 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28859
73a68f94
AZ
288602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28861
28862 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28863 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28864
67b6df78
L
288652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28866
edf2933a 28867 [BZ #14117]
ebc64a18
L
28868 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28869 <bits/wordsize.h>.
28870 (__WCHAR_MIN): Support __WORDSIZE == 64.
28871 (__WCHAR_MAX): Likewise.
28872
edf2933a
L
28873 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28874 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28875
57c6cf40
L
28876 [BZ #14183]
28877 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28878 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28879
67b6df78 28880 [BZ #14117]
8eb6281e
L
28881 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28882 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28883
aac639f4
L
28884 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28885 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28886
67b6df78
L
28887 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28888 Defined to 1 if __x86_64__ isn't defined.
28889 (_STAT_VER_LINUX_OLD): New.
28890 (st_atime): Remove duplicate.
28891 (st_mtime): Likewise.
28892 (st_ctime): Likewise.
28893
1c2cfe81
DM
288942012-05-31 David S. Miller <davem@davemloft.net>
28895
28896 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28897 entries.
28898
5be8418c
AS
288992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28900
e7725326
AS
28901 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28902 gen-libm-test.pl.
28903
5be8418c
AS
28904 [BZ #14132]
28905 * elf/dl-reloc.c: Include <_itoa.h>.
28906 (_dl_reloc_bad_type): Remove use of INTUSE.
28907 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28908 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28909 * stdio-common/psiginfo.c (psiginfo): Likewise.
28910 * stdio-common/psignal.c (psignal): Likewise.
28911 * string/strsignal.c (strsignal): Likewise.
28912 * include/signal.h (_sys_siglist): Declare hidden proto.
28913 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28914 INTVARDEF with libc_hidden_data_def.
28915 * stdio-common/itoa-udigits.c: Likewise.
28916 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28917 (_itoa_lower_digits_internal): Remove declaration.
28918 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28919 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28920 (_sys_sigabbrev_internal): Remove aliases.
28921 (_sys_siglist): Define hidden alias.
28922
507352f1
MT
289232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28924
28925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28926 bits/sysctl.h.
28927
42bbb1c3
L
289282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28929
28930 [BZ #14117]
6bd784b6
L
28931 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28932 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28933
8bca20f0
L
28934 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28935 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28936 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28937 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28938 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28939 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28940
f9e890a9
L
28941 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28942 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28943 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28944
471101a1
L
28945 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28946 with __addr.
28947 (insw): Likewise.
28948 (insl): Likewise.
28949 (outsb): Likewise.
28950 (outsw): Likewise.
28951 (outsl): Likewise.
28952
6451c862
L
28953 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28954 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28955 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28956
a254b8c9
L
28957 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28958 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28959 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28960 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28961 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28962 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28963
b8dfdd92
L
28964 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28965 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28966
578cd270
L
28967 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28968 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28969
de662f5f
L
28970 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28971 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28972 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28973
25653439
L
28974 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28975 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28976 to ...
28977 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28978
6bad24a0
L
28979 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28980 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28981 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28982
42bbb1c3
L
28983 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28984 for x86-64.
28985 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28986
2d10d547
JM
289872012-05-31 Joseph Myers <joseph@codesourcery.com>
28988
28989 * math/math.h (M_El): Use two more decimal places.
28990 (M_LOG2El): Likewise.
28991 (M_LOG10El): Likewise.
28992 (M_LN2l): Likewise.
28993 (M_LN10l): Likewise.
28994 (M_PIl): Likewise.
28995 (M_PI_2l): Likewise.
28996 (M_PI_4l): Likewise.
28997 (M_1_PIl): Likewise.
28998 (M_2_PIl): Likewise.
28999 (M_2_SQRTPIl): Likewise.
29000 (M_SQRT2l): Likewise.
29001 (M_SQRT1_2l): Likewise.
29002
f230c29b
DM
290032012-05-31 David S. Miller <davem@davemloft.net>
29004
29005 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29006 values between float registers.
29007 * sysdeps/sparc/sparc64/memset.S: Likewise.
29008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29009
fed806c3
MF
290102012-05-31 Mike Frysinger <vapier@gentoo.org>
29011
29012 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29013 -D_FORTIFY_SOURCE=1.
29014 (CPPFLAGS-tst-longjmp_chk.c): Define.
29015 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29016 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29017 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29018 CFLAGS-tst-wchar-h.c.
29019
30917259
MP
290202012-05-31 Marek Polacek <polacek@redhat.com>
29021
29022 [BZ #14132]
29023 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29024 __endmntent_internal): Remove declaration.
29025 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29026 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29027 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29028
1c58d5dc
DM
290292012-05-30 David S. Miller <davem@davemloft.net>
29030
29031 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29032 (___Q_simulate_exceptions): Use real FP ops rather than writing
29033 into the %fsr.
29034 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29035 Likewise.
29036
7dc00e0d
L
290372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29038
29039 [BZ #14117]
0bd53985
L
29040 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29041 * sysdeps/x86/bits/xtitypes.h: This.
29042
3a257e66
L
29043 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29044 * sysdeps/x86/bits/wordsize.h: This.
29045
62f62904
L
29046 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29047 * sysdeps/x86/bits/huge_vall.h: This.
29048
404fe9d9
L
29049 * sysdeps/i386/bits/select.h: Removed.
29050 * sysdeps/x86_64/bits/select.h: Renamed to ...
29051 * sysdeps/x86/bits/select.h: This.
29052
d48d0446
L
29053 * sysdeps/i386/bits/setjmp.h: Removed.
29054 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29055 * sysdeps/x86/bits/setjmp.h: This.
29056
7dc00e0d
L
29057 * sysdeps/i386/bits/mathdef.h: Removed.
29058 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29059 * sysdeps/x86/bits/mathdef.h: This.
29060
03277f8f
AS
290612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29062
29063 [BZ #14132]
29064 * include/sys/socket.h (__connect_internal)
29065 (__libc_sa_len_internal): Remove declaration.
29066 (__connect, __libc_sa_len): Declare hidden_proto.
29067 (SA_LEN): Remove use of INTUSE.
29068 * socket/connect.c: Add libc_hidden_def.
29069 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29070 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29071 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29072 alias.
29073 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29074 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29075 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29076 of adding _internal alias.
29077
13764867
L
290782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29079
29080 [BZ #14117]
6bd97696
L
29081 * sysdeps/i386/bits/link.h: Removed.
29082 * sysdeps/i386/bits/linkmap.h: Likewise.
29083 * sysdeps/x86_64/bits/link.h: Renamed to ...
29084 * sysdeps/x86/bits/link.h: This.
29085 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29086 * sysdeps/x86/bits/linkmap.h: This.
29087
f726f0bb
L
29088 * sysdeps/i386/bits/endian.h: Removed.
29089 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29090 * sysdeps/x86/bits/endian.h: This.
29091
13764867
L
29092 * sysdeps/i386/bits/byteswap.h: Removed.
29093 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29094 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29095 * sysdeps/x86/bits/byteswap.h: This.
29096 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29097 * sysdeps/x86/bits/byteswap-16.h: This.
29098 * sysdeps/i386/Implies: Add x86.
29099 * sysdeps/x86_64/Implies: Likewise.
29100
ae251b0b
DM
291012012-05-30 David S. Miller <davem@davemloft.net>
29102
29103 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29104 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29105 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29106 (FP_TRAPPING_EXCEPTIONS): Define.
29107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29108 (FP_TRAPPING_EXCEPTIONS): Define.
29109 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29110 subnormals only when inexact has been signalled or underflow
29111 exceptions are enabled.
29112 (_FP_PACK_CANONICAL): Likewise.
29113
d5c90867
L
291142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29115
29116 [BZ #14183]
29117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29118 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29119
63f1549e
RH
291202012-05-30 Richard Henderson <rth@twiddle.net>
29121
8d8f2279
RH
29122 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29123 with #ifndef NOT_IN_libc.
29124
63f1549e
RH
29125 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29126 marked to avoid plt entry.
29127
0ab0291b
L
291282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29129
29130 [BZ #14112]
29131 * Makeconfig (default-abi): New macro.
29132 (abi-includes): Likewise.
29133 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29134 $(abi-$(default-abi)-lib-soname) for soname if defined.
29135 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29136 abi-variants.
29137 * Makefile (installed-stubs): Likewise.
29138 * include/stubs-biarch.h: Removed.
29139 * scripts/lib-names.awk: Only handle one library at a time.
29140 * scripts/soversions.awk: Remove WORDSIZE support.
29141 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29142 entries.
29143 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29144 Removed.
29145 (syscall-list-default-condition): Likewise.
29146 (syscall-list-default-condition): Likewise.
29147 (syscall-list-includes): Likewise.
29148 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29149 syscall-list-* with abi-*. Handle undefined abi-variants.
29150 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29151 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29152 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29153 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29154 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29155 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29156 Removed.
29157 (syscall-list-32-options): Likewise.
29158 (syscall-list-32-condition): Likewise.
29159 (syscall-list-64-options): Likewise.
29160 (syscall-list-64-condition): Likewise.
29161 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29162 macro.
29163 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29164 Renamed to ...
29165 (abi-*): This.
29166 (abi-64-ld-soname): New macro.
29167 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29168 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29169 Renamed to ...
29170 (abi-*): This.
29171 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29172 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29173
4da0431d
JM
291742012-05-30 Joseph Myers <joseph@codesourcery.com>
29175
3a85279c
JM
29176 * sysdeps/unix/sysv/linux/kernel-features.h
29177 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29178 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29179 include <kernel-features.h>.
29180 [!__NR_ftruncate64]: Remove conditional code.
29181 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29182 [__NR_ftruncate64]: Make code unconditional.
29183 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29184 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29185 include <kernel-features.h>.
29186 [!__NR_ftruncate64]: Remove conditional code.
29187 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29188 [__NR_ftruncate64]: Make code unconditional.
29189 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29191 include <kernel-features.h>.
29192 [!__NR_ftruncate64]: Remove conditional code.
29193 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29194 [__NR_ftruncate64]: Make code unconditional.
29195 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29197 include <kernel-features.h>.
29198 [!__NR_ftruncate64]: Remove conditional code.
29199 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29200 [__NR_ftruncate64]: Make code unconditional.
29201 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29202
4da0431d
JM
29203 * configure.in (libc_cv_fpie): Weaken to a compile test using
29204 LIBC_TRY_CC_OPTION.
29205 * configure: Regenerated.
29206
11ef492c
AK
292072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29208
29209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29213 Refreshed.
29214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29220 Refreshed.
29221
d66ef399
DM
292222012-05-27 David S. Miller <davem@davemloft.net>
29223
29224 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29225 (___Q_zero): New.
29226 (__Q_simulate_exceptions): Return void. Change to simulate
29227 exceptions by writing into the %fsr.
29228 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29229 (__Qp_handle_exceptions): Likewise.
29230 (numbers): Delete.
29231 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29232 __Qp_handle_exceptions.
29233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29234 __Qp_handle_exceptions.
29235 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29236 as unused and give dummy FP_RND_NEAREST initializer.
29237 (FP_INHIBIT_RESULTS): Define.
29238 (___Q_simulate_exceptions): Update declaration.
29239 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29240 formatting.
29241 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29242 as unused and give dummy FP_RND_NEAREST initializer.
29243 (__Qp_handle_exceptions): Update declaration.
29244 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29245 formatting.
29246
04fb54b5
TS
292472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29248
29249 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29250 the temporary FPU control word.
29251 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29252 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29253 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29254 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29255 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29256 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29257 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29258 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29259 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29260 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29261 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29262
3f99608f
KK
292632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29264
29265 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29266 fields.
29267
65a4de4e
CLT
292682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29269
29270 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29271 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29272 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29273 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29274 Likewise.
29275 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29276 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29277 Likewise.
29278
15749d40
UD
292792012-05-27 Ulrich Drepper <drepper@gmail.com>
29280
29281 * po/h.po: Update from translation team.
29282
25dbcb27
AS
292832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29284
3d3f8e55
AS
29285 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29286
25dbcb27
AS
29287 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29288 handling of denormals.
29289 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29290 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29291 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29292 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29293 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29296 Likewise.
29297
7ad47a80 292982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29299
29300 [BZ #14152]
29301 * math/libm-test.inc (fma_test): Don't always expect underflow
29302 exception.
29303
9c6ea9fa
SP
293042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29305
29306 [BZ #12416]
29307 * elf/tst-execstack.c: Include stackinfo.h.
29308 (do_test): Adjust test case to ensure that pthread_getattr_np
29309 behaviour remains the same after marking stack executable.
29310
a8239222
JM
293112012-05-25 Joseph Myers <joseph@codesourcery.com>
29312
29313 * sysdeps/unix/sysv/linux/kernel-features.h
29314 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29315 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29316 kernel-features.h.
29317 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29318 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29319 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29320 kernel-features.h.
29321 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29322 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29323
918b5606
L
293242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29325
29326 * configure.in: Define the default includes to being none.
29327 * configure: Regenerated.
29328
3a097cc7
RM
293292012-05-25 Roland McGrath <roland@hack.frob.com>
29330
8422c9a5
RM
29331 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29332 * sysdeps/x86_64/setjmp.S: Likewise.
29333 * sysdeps/i386/bsd-setjmp.S: Likewise.
29334 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29335 * sysdeps/i386/setjmp.S: Likewise.
29336 * sysdeps/i386/__longjmp.S: Likewise.
29337 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29338 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29339
3a097cc7
RM
29340 * include/stap-probe.h: New file.
29341 * configure.in: Handle --enable-systemtap.
29342 * configure: Regenerated.
29343 * config.h.in (USE_STAP_PROBE): New #undef.
29344 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29345 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29346 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29347
21708942
JM
293482012-05-25 Joseph Myers <joseph@codesourcery.com>
29349
29350 [BZ #13717]
29351 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29352 to 2.4.0 where earlier.
29353 * sysdeps/unix/sysv/linux/configure: Regenerated.
29354 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29355 <kernel-features.h>.
29356 [__ASSUME_32BITUIDS]: Make code unconditional.
29357 [!__ASSUME_32BITUIDS]: Remove conditional code.
29358 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29359 <kernel-features.h>.
29360 [__ASSUME_32BITUIDS]: Make code unconditional.
29361 [!__ASSUME_32BITUIDS]: Remove conditional code.
29362 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29363 [__ASSUME_32BITUIDS]: Make code unconditional.
29364 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29365 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/i386/getgid.c: Do not include
29374 <kernel-features.h>.
29375 [__ASSUME_32BITUIDS]: Make code unconditional.
29376 [!__ASSUME_32BITUIDS]: Remove conditional code.
29377 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29378 <kernel-features.h>.
29379 [__ASSUME_32BITUIDS]: Make code unconditional.
29380 [!__ASSUME_32BITUIDS]: Remove conditional code.
29381 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29382 <kernel-features.h>.
29383 [__ASSUME_32BITUIDS]: Make code unconditional.
29384 [!__ASSUME_32BITUIDS]: Remove conditional code.
29385 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29386 <kernel-features.h>.
29387 [__ASSUME_32BITUIDS]: Make code unconditional.
29388 [!__ASSUME_32BITUIDS]: Remove conditional code.
29389 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29390 <kernel-features.h>.
29391 [__ASSUME_32BITUIDS]: Make code unconditional.
29392 [!__ASSUME_32BITUIDS]: Remove conditional code.
29393 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29394 <kernel-features.h>.
29395 [__ASSUME_32BITUIDS]: Make code unconditional.
29396 [!__ASSUME_32BITUIDS]: Remove conditional code.
29397 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29398 <kernel-features.h>.
29399 [__ASSUME_32BITUIDS]: Make code unconditional.
29400 [!__ASSUME_32BITUIDS]: Remove conditional code.
29401 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29402 <kernel-features.h>.
29403 [__ASSUME_32BITUIDS]: Make code unconditional.
29404 [!__ASSUME_32BITUIDS]: Remove conditional code.
29405 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29406 <kernel-features.h>.
29407 [__NR_setresgid] (__setresgid): Do not declare.
29408 [__ASSUME_32BITUIDS]: Make code unconditional.
29409 [!__ASSUME_32BITUIDS]: Remove conditional code.
29410 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29411 <kernel-features.h>.
29412 [__NR_setresuid] (__setresuid): Do not declare.
29413 [__ASSUME_32BITUIDS]: Make code unconditional.
29414 [!__ASSUME_32BITUIDS]: Remove conditional code.
29415 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29416 <kernel-features.h>.
29417 [__ASSUME_32BITUIDS]: Make code unconditional.
29418 [!__ASSUME_32BITUIDS]: Remove conditional code.
29419 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29420 <kernel-features.h>.
29421 [__ASSUME_32BITUIDS]: Make code unconditional.
29422 [!__ASSUME_32BITUIDS]: Remove conditional code.
29423 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29424 <kernel-features.h>.
29425 [__ASSUME_32BITUIDS]: Make code unconditional.
29426 [!__ASSUME_32BITUIDS]: Remove conditional code.
29427 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29428 <kernel-features.h>.
29429 [__ASSUME_32BITUIDS]: Make code unconditional.
29430 [!__ASSUME_32BITUIDS]: Remove conditional code.
29431 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29432 <kernel-features.h>.
29433 [__ASSUME_32BITUIDS]: Make code unconditional.
29434 [!__ASSUME_32BITUIDS]: Remove conditional code.
29435 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29436 <kernel-features.h>.
29437 [__ASSUME_32BITUIDS]: Make code unconditional.
29438 [!__ASSUME_32BITUIDS]: Remove conditional code.
29439 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29440 <kernel-features.h>.
29441 [__ASSUME_32BITUIDS]: Make code unconditional.
29442 [!__ASSUME_32BITUIDS]: Remove conditional code.
29443 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29444 <kernel-features.h>.
29445 [__ASSUME_32BITUIDS]: Make code unconditional.
29446 [!__ASSUME_32BITUIDS]: Remove conditional code.
29447 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29448 <kernel-features.h>.
29449 [__ASSUME_32BITUIDS]: Make code unconditional.
29450 [!__ASSUME_32BITUIDS]: Remove conditional code.
29451 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29452 <kernel-features.h>.
29453 [__ASSUME_32BITUIDS]: Make code unconditional.
29454 [!__ASSUME_32BITUIDS]: Remove conditional code.
29455 * sysdeps/unix/sysv/linux/kernel-features.h
29456 (__ASSUME_SETRESUID_SYSCALL): Remove.
29457 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29458 (__ASSUME_32BITUIDS): Likewise.
29459 (__ASSUME_LDT_WORKS): Likewise.
29460 (__ASSUME_O_DIRECTORY): Likewise.
29461 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29462 architecture but not kernel version.
29463 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29464 (__ASSUME_MMAP2_SYSCALL): Likewise.
29465 (__ASSUME_STAT64_SYSCALL): Likewise.
29466 (__ASSUME_IPC64): Likewise.
29467 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29468 <kernel-features.h>.
29469 [__ASSUME_32BITUIDS]: Make code unconditional.
29470 [!__ASSUME_32BITUIDS]: Remove conditional code.
29471 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29472 <kernel-features.h>.
29473 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29474 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29475 132096]: Remove conditional code.
29476 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29477 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29478 <kernel-features.h>.
29479 [__ASSUME_32BITUIDS]: Make code unconditional.
29480 [!__ASSUME_32BITUIDS]: Remove conditional code.
29481 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29482 <kernel-features.h>.
29483 [__ASSUME_32BITUIDS]: Make code unconditional.
29484 [!__ASSUME_32BITUIDS]: Remove conditional code.
29485 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29486 <kernel-features.h>.
29487 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29488 unconditional.
29489 (__setresgid): Do not declare.
29490 [__ASSUME_32BITUIDS]: Make code unconditional.
29491 [!__ASSUME_32BITUIDS]: Remove conditional code.
29492 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29493 <kernel-features.h>.
29494 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29495 unconditional.
29496 (__setresuid): Do not declare.
29497 [__ASSUME_32BITUIDS]: Make code unconditional.
29498 [!__ASSUME_32BITUIDS]: Remove conditional code.
29499 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29500 <kernel-features.h>.
29501 [__ASSUME_32BITUIDS]: Make code unconditional.
29502 [!__ASSUME_32BITUIDS]: Remove conditional code.
29503 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29504 <kernel-features.h>.
29505 [__ASSUME_32BITUIDS]: Make code unconditional.
29506 [!__ASSUME_32BITUIDS]: Remove conditional code.
29507
a386f1cc
RH
295082012-05-25 Richard Henderson <rth@twiddle.net>
29509
29510 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29511 dl_hwcap to ifunc resolver.
29512 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29513 elf_ifunc_invoke.
29514 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29515 dl_hwcap to ifunc resolver.
29516 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29517
b6550497
JM
295182012-05-24 Joseph Myers <joseph@codesourcery.com>
29519
29520 [BZ #14153]
29521 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29522 for |x| <= 2**-26, not 2**-57.
29523 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29524 exception.
29525
b0bc23a1
JL
295262012-05-24 Jeff Law <law@redhat.com>
29527
29528 * stdio-common/Makefile (tests): Add bug25.
29529 * stdio-common/bug25.c: New test.
29530
347c92e9
L
295312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29532
29533 [BZ #13576]
29534 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29535 multiple of MALLOC_ALIGNMENT in size.
29536 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29537
6bcc8b3f
JM
295382012-05-24 Joseph Myers <joseph@codesourcery.com>
29539
29540 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29541 Require >= 256.
29542 (FILENAME_MAX): Use macro-int-constant.
29543 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29544 (_IOFBF): Use macro-int-constant.
29545 (_IOLBF): Likewise.
29546 (_IONBF): Likewise.
29547 (SEEK_CUR): Likewise.
29548 (SEEK_END): Likewise.
29549 (SEEK_SET): Likewise.
29550 (TMP_MAX): Likewise.
29551 (EOF): Use macro-int-constant. Require < 0.
29552 (NULL): Use macro-constant. Require == 0.
29553 (stdin): Require type to be FILE *.
29554 (stdout): Likewise.
29555 (stderr): Likewise.
29556 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29557 macro-int-constant.
29558 (EXIT_SUCCESS): Likewise.
29559 (NULL): Use macro-constant. Require == 0.
29560 (RAND_MAX): Use macro-int-constant.
29561 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29562 [C99-based standards] (strtof): Require function.
29563 [C99-based standards] (strtold): Likewise.
29564 [C99-based standards] (strtoll): Likewise.
29565 [C99-based standards] (strtoull): Likewise.
29566 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29567 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29568 [ISO || ISO99 || ISO11] (math.h): Likewise.
29569 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29570 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29571 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29572
d18ea0c5
AS
295732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29574
29575 [BZ #14132]
56d25bb8
AS
29576 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29577 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29578 * intl/dgettext.c (DCGETTEXT): Likewise.
29579 * intl/gettext.c (DCGETTEXT): Likewise.
29580 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29581 * posix/regex_internal.h (gettext): Likewise.
29582 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29583 Remove declaration.
29584 * include/argz.h (__argz_count_internal)
29585 (__argz_stringify_internal): Remove declaration.
29586 (__argz_count, __argz_stringify): Declare hidden proto.
29587 * intl/dcgettext.c: Remove use of INTDEF.
29588 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29589 * string/argz-stringify.c: Likewise.
29590 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29591 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29592 Declare hidden proto.
d18ea0c5
AS
29593 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29594 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29595 Declare hidden proto.
29596 * include/stdio.h (__asprintf_internal): Don't declare.
29597 (__asprintf): Don't define as macro. Declare hidden proto.
29598 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29599 (__fsetlocking): Declare hidden proto.
29600 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29601 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29602 hidden proto.
29603 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29604 (_IO_setlinebuf): Remove use of INTUSE.
29605 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29606 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29607 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29608 Remove declaration.
29609 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29610 (_IO_do_flush): Remove use of INTUSE.
29611 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29612 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29613 (_IO_adjust_column, _IO_least_wmarker)
29614 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29615 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29616 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29617 (_IO_default_doallocate, _IO_wdefault_doallocate)
29618 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29619 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29620 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29621 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29622 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29623 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29624 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29625 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29626 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29627 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29628 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29629 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29630 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29631 proto.
29632 (_IO_flush_all_internal, _IO_adjust_column_internal)
29633 (_IO_default_uflow_internal, _IO_default_finish_internal)
29634 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29635 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29636 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29637 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29638 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29639 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29640 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29641 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29642 (_IO_file_close_internal, _IO_file_close_it_internal)
29643 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29644 (_IO_file_init_internal, _IO_file_attach_internal)
29645 (_IO_file_fopen_internal, _IO_file_read_internal)
29646 (_IO_file_sync_internal, _IO_file_seek_internal)
29647 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29648 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29649 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29650 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29651 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29652 (_IO_list_all_internal, _IO_link_in_internal)
29653 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29654 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29655 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29656 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29657 (_IO_do_write_internal, _IO_padn_internal)
29658 (_IO_getline_info_internal, _IO_getline_internal)
29659 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29660 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29661 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29662 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29663 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29664 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29665 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29666 with libc_hidden_ver, remove use of INTUSE.
29667 * libio/genops.c: Likewise.
29668 * libio/freopen.c: Likewise.
29669 * libio/freopen64.c: Likewise.
29670 * libio/iofclose.c: Likewise.
29671 * libio/iofdopen.c: Likewise.
29672 * libio/iofflush.c: Likewise.
29673 * libio/iofflush_u.c: Likewise.
29674 * libio/iofgets.c: Likewise.
29675 * libio/iofgets_u.c: Likewise.
29676 * libio/iofopen.c: Likewise.
29677 * libio/iofopncook.c: Likewise.
29678 * libio/iofread.c: Likewise.
29679 * libio/iofread_u.c: Likewise.
29680 * libio/ioftell.c: Likewise.
29681 * libio/iofwrite.c: Likewise.
29682 * libio/iogetline.c: Likewise.
29683 * libio/iogets.c: Likewise.
29684 * libio/iogetwline.c: Likewise.
29685 * libio/iopadn.c: Likewise.
29686 * libio/iopopen.c: Likewise.
29687 * libio/ioseekoff.c: Likewise.
29688 * libio/ioseekpos.c: Likewise.
29689 * libio/iosetbuffer.c: Likewise.
29690 * libio/iosetvbuf.c: Likewise.
29691 * libio/ioungetc.c: Likewise.
29692 * libio/ioungetwc.c: Likewise.
29693 * libio/iovdprintf.c: Likewise.
29694 * libio/iovsprintf.c: Likewise.
29695 * libio/iovsscanf.c: Likewise.
29696 * libio/memstream.c: Likewise.
29697 * libio/obprintf.c: Likewise.
29698 * libio/oldfileops.c: Likewise.
29699 * libio/oldiofclose.c: Likewise.
29700 * libio/oldiofdopen.c: Likewise.
29701 * libio/oldiofopen.c: Likewise.
29702 * libio/oldiopopen.c: Likewise.
29703 * libio/oldstdfiles.c: Likewise.
29704 * libio/putc.c: Likewise.
29705 * libio/setbuf.c: Likewise.
29706 * libio/setlinebuf.c: Likewise.
29707 * libio/stdfiles.c: Likewise.
29708 * libio/strops.c: Likewise.
29709 * libio/vasprintf.c: Likewise.
29710 * libio/vscanf.c: Likewise.
29711 * libio/vsnprintf.c: Likewise.
29712 * libio/vswprintf.c: Likewise.
29713 * libio/wfiledoalloc.c: Likewise.
29714 * libio/wfileops.c: Likewise.
29715 * libio/wgenops.c: Likewise.
29716 * libio/wmemstream.c: Likewise.
29717 * libio/wstrops.c: Likewise.
29718 * libio/__fpurge.c: Likewise.
29719 * libio/__fsetlocking.c: Likewise.
29720 * assert/assert.c: Likewise.
29721 * debug/fgets_chk.c: Likewise.
29722 * debug/fgets_u_chk.c: Likewise.
29723 * debug/fread_chk.c: Likewise.
29724 * debug/fread_u_chk.c: Likewise.
29725 * debug/gets_chk.c: Likewise.
29726 * debug/obprintf_chk.c: Likewise.
29727 * debug/vasprintf_chk.c: Likewise.
29728 * debug/vdprintf_chk.c: Likewise.
29729 * debug/vsnprintf_chk.c: Likewise.
29730 * debug/vsprintf_chk.c: Likewise.
29731 * malloc/mtrace.c: Likewise.
29732 * misc/error.c: Likewise.
29733 * misc/syslog.c: Likewise.
29734 * stdio-common/asprintf.c: Likewise.
29735 * stdio-common/fxprintf.c: Likewise.
29736 * stdio-common/getw.c: Likewise.
29737 * stdio-common/isoc99_fscanf.c: Likewise.
29738 * stdio-common/isoc99_scanf.c: Likewise.
29739 * stdio-common/isoc99_vfscanf.c: Likewise.
29740 * stdio-common/isoc99_vscanf.c: Likewise.
29741 * stdio-common/isoc99_vsscanf.c: Likewise.
29742 * stdio-common/printf-prs.c: Likewise.
29743 * stdio-common/printf_fp.c: Likewise.
29744 * stdio-common/printf_fphex.c: Likewise.
29745 * stdio-common/printf_size.c: Likewise.
29746 * stdio-common/putw.c: Likewise.
29747 * stdio-common/scanf.c: Likewise.
29748 * stdio-common/sprintf.c: Likewise.
29749 * stdio-common/tmpfile.c: Likewise.
29750 * stdio-common/vfprintf.c: Likewise.
29751 * stdio-common/vfscanf.c: Likewise.
29752 * stdlib/strfmon_l.c: Likewise.
29753 * sunrpc/openchild.c: Likewise.
29754 * sunrpc/xdr_stdio.c: Likewise.
29755 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29756 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29757
d6c33fda
RM
297582012-05-24 Roland McGrath <roland@hack.frob.com>
29759
c1487492
RM
29760 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29761
29762 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29763 in the third column, to generate for the shared library an IFUNC
29764 that uses _dl_vdso_vsym.
29765 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29766 * Makeconfig (object-suffixes-noshared): New variable.
29767
29768 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29769 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29770 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29771 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29772
d6c33fda
RM
29773 [BZ #14132]
29774 * include/sys/time.h (__gettimeofday): Remove macro.
29775 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29776 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29777 Remove INTDEF.
29778 (__gettimeofday): Add libc_hidden_def.
29779 (gettimeofday): Add libc_hidden_weak.
29780 * sysdeps/mach/gettimeofday.c: Likewise.
29781 * sysdeps/posix/gettimeofday.c: Likewise.
29782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29783 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29785 (__gettimeofday_internal): Remove strong_alias.
29786 (__gettimeofday): Add libc_hidden_def.
29787 (gettimeofday): Add libc_hidden_weak.
29788 * sysdeps/unix/syscalls.list (gettimeofday):
29789 Remove __gettimeofday_internal alias.
29790
b5a2bbe6
L
297912012-05-24 Daniel Jacobowitz <drow@false.org>
29792 H.J. Lu <hongjiu.lu@intel.com>
29793
29794 [BZ #12495]
29795 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29796 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29797 (largebin_index_32_big): New.
29798 (largebin_index): Use it for 16-byte alignment.
29799 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29800 correction with front_misalign.
29801
cfba4fda
L
298022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29803
7f907421
L
29804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29806 Likewise.
29807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29808 Likewise.
29809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29810 Likewise.
29811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29812 Likewise.
29813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29814 Likewise.
29815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29816 Likewise.
29817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29818 Likewise.
29819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29820 Likewise.
29821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29822 Likewise.
29823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29824 Likewise.
29825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29826 Likewise.
29827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29828 Likewise.
29829
cfba4fda
L
29830 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29831 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29832
80bad0cc
JM
298332012-05-24 Joseph Myers <joseph@codesourcery.com>
29834
7a25eb06
JM
29835 [BZ #10846]
29836 [BZ #14036]
29837 * math/libm-test.inc (exp_test): Add test from bug 14036.
29838 (pow_test): Add test from bug 10846.
29839
795405f9
JM
29840 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29841 and other flags.
29842 (special_function): Do not include flags in test name.
29843 (parse_args): Likewise.
29844 * sysdeps/i386/fpu/libm-test-ulps: Update.
29845 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29846 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29847 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29849
80bad0cc
JM
29850 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29851 exceptions.
29852 * math/libm-test.inc ("Philosophy"): Update comment about
29853 exception testing.
29854 (UNDERFLOW_EXCEPTION): New macro.
29855 (UNDERFLOW_EXCEPTION_OK): Likewise.
29856 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29857 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29858 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29859 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29860 (INVALID_EXCEPTION_OK): Update value.
29861 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29862 (OVERFLOW_EXCEPTION_OK): Likewise.
29863 (IGNORE_ZERO_INF_SIGN): Likewise.
29864 (test_exceptions): Handle underflow exceptions.
29865 (acos_test): Update for underflow exception expectations.
29866 (cexp_test): Likewise.
29867 (clog_test): Likewise.
29868 (clog10_test): Likewise.
29869 (csqrt_test): Likewise.
29870 (ctan_test): Likewise.
29871 (ctanh_test): Likewise.
29872 (exp_test): Likewise.
29873 (exp10_test): Likewise.
29874 (exp2_test): Likewise.
29875 (expm1_test): Likewise.
29876 (fma_test): Likewise.
29877 (j0_test): Likewise.
29878 (jn_test): Likewise.
29879 (nexttoward_test): Likewise.
29880 (pow_test): Likewise.
29881 (scalbn_test): Likewise.
29882 (scalbln_test): Likewise.
29883 (tan_test): Likewise.
29884 (y1_test): Likewise.
29885 * sysdeps/i386/fpu/libm-test-ulps: Update.
29886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29887
9e0e3d0b
DM
298882012-05-23 David S. Miller <davem@davemloft.net>
29889
29890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29891 (__libc_sigaction): Remove unused local variables.
29892
ccd0a08f
L
298932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29894
29895 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29896
62bdf9a6
PE
298972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29898
f8591f80
PE
29899 mktime: avoid signed integer overflow
29900 * time/mktime.c (__mktime_internal): Do not mishandle the case
29901 where diff == INT_MIN.
29902
94c7d826
PE
29903 mktime: simplify computation of average
29904 * time/mktime.c (ranged_convert): Use new time_t_avg function
29905 instead of rolling our own (probably-slower) code.
29906
ce73d683
PE
29907 mktime: do not assume signed right shift propagates sign bit
29908 * time/mktime.c (isdst_differ): New static function.
29909 (__mktime_internal): No need to normalize tm_isdst now.
29910 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29911 tm_isdst values.
29912
72a22e59
PE
29913 mktime: merge another wrapv change from gnulib
29914 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29915 from some compilers.
29916
68605433
PE
29917 mktime: remove incorrect attempt at unusual arithmetics
29918 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29919 The code didn't really work on such machines anyway.
29920 (TYPE_MINIMUM): Assume two's complement.
29921 (twos_complement_arithmetic): Verify that long_int and time_t
29922 are two's complement (or unsigned, in the latter case).
29923
03cf7fe3
PE
29924 mktime: check signed shifts on long_int and time_t, too
29925 * time/mktime.c (SHR): Check that shifts work as desired
29926 on the types long_int and time_t too, as SHR is used on
29927 such types.
29928
f04dfbc2
PE
29929 mktime: do not assume 'long' is wide enough
29930 * time/mktime.c (verify): Move decl up.
29931 (long_int): New type.
29932 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29933 to remove assumption in the code that 'long' is wide enough to
29934 store year values. This assumption is not true on x32 and on
29935 some non-glibc platforms.
29936
62bdf9a6
PE
29937 mktime: merge wrapv change from gnulib
29938 * time/mktime.c (WRAPV): New macro.
29939 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29940 (guess_time_tm, __mktime_internal): Do not assume that signed
29941 integer overflow wraps around; modern compilers generate code
29942 where this assumption is no longer valid.
29943
5e292e4f
L
299442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29945
29946 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29947 Replace "jmp L(pseudo_end)" with "ret".
29948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29949 Likewise.
29950
8caf8c87
AJ
299512012-05-23 Andreas Jaeger <aj@suse.de>
29952
29953 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29954 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29955
1a09dc56
AJ
299562012-05-23 Andreas Jaeger <aj@suse.de>
29957 Maximilian Attems <max@stro.at>
29958
29959 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29960 New macros.
29961
1c87aba0
L
299622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29963
29964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29965 code so that pseudo_end is just ret and the stack pointer is
29966 correct also for static library in error case.
29967
40e45bd5
JM
299682012-05-23 Joseph Myers <joseph@codesourcery.com>
29969
c2670533
JM
29970 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29971 move to syscalls.list.
29972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29976
40e45bd5
JM
29977 * manual/install.texi (Running make install): Do not mention Linux
29978 kernel version for which pt_chown is not needed.
29979 (Linux): Do not mention problems with nscd with 2.0 kernels.
29980 * INSTALL: Regenerated.
29981
be08eda5
AJ
299822012-05-23 Andreas Jaeger <aj@suse.de>
29983
29984 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29985 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29986 macro.
29987 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29989 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29990 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29991 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29992 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29993 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29994 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29995 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29996 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29997 * sysdeps/unix/sysv/linux/bits/in.h
29998 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29999
a6a056bb
RM
300002012-05-22 Roland McGrath <roland@hack.frob.com>
30001
30002 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30003 (PREPARE_VERSION): Just use assert instead, it will be elided
30004 under [NDEBUG] anyway.
30005
c9009328
L
300062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30007
30008 * sysdeps/unix/sysv/linux/Makefile: Include
30009 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30010 (sysdep_routines): Remove sysctl.
c9009328
L
30011 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30012 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30013 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30014 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30015 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30016
73338355
AJ
300172012-05-22 Andreas Jaeger <aj@suse.de>
30018
30019 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30020 that pseudo_end is just ret and the stack pointer is correct also
30021 for static library in error case.
30022
d44638b0
PP
300232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30024
30025 [BZ #14122]
30026 * nss/nsswitch.c (defconfig_entries): New variable.
30027 (__nss_database_lookup): Don't leak defconfig entries.
30028 (nss_parse_service_list): Don't leak on error paths.
30029 (free_database_entries): New function.
30030 (free_defconfig): New function.
30031 (free_mem): Move common code to free_database_entries.
30032
31a39bd8
L
300332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30034
da0331a8
L
30035 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30036 Add arch_prctl.
30037 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30038
31a39bd8
L
30039 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30040 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30042 New macro.
30043 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30044 (INTERNAL_SYSCALL_TYPES): Likewise.
30045 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30046 (LOAD_REGS_TYPES_[1-6]): Likewise.
30047 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30048 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30049
45470df3
AZ
300502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30051
30052 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30053 copysignl for GLIBC_2_0.
30054 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30055 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30057 logbl for GLIBC_2_0.
30058 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30059 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30060
98a61bcb
L
300612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30062
a4f6e481
L
30063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30064 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30065
f63d5db6
L
30066 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30067 Use "neg %eax".
30068
98a61bcb
L
30069 * time/mktime.c: Update copyright years.
30070
95770f14
PE
300712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30072
6226efbd
PE
30073 mktime: merge comment-quoting-style change from gnulib
30074 * time/mktime.c: Quote 'like this' in comments.
30075 The GNU coding standards suggest that we no longer quote `like this',
30076 as "`" and "'" are typically rendered asymmetrically nowadays.
30077 The typical gnulib style is to quote 'like this' when quoting
30078 code, and "like this" when quoting English.
30079
b99e4f78
PE
30080 * time/mktime.c (compile-command): Add "-I.".
30081
643e01e6
PE
30082 mktime: merge mktime-internal.h change from gnulib
30083 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30084
2554247d
PE
30085 mktime: merge time_r change from gnulib
30086 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30087
826dd0ab
PE
30088 mktime: merge DEBUG change from gnulib
30089 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30090 case system <time.h> has a #define.
30091
bd83aabe
PE
30092 mktime: merge <sys/types.h> change from gnulib
30093 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30094 since <time.t> is now guaranteed to define time_t.
30095
95770f14
PE
30096 mktime: merge HAVE_CONFIG_H change from gnulib
30097 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30098
5e1a27a9
L
300992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30100
0e44a77e
L
30101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30102 Use "neg %eax".
30103
5e1a27a9
L
30104 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30105 __rlim_t cast.
30106 (struct rusage): Use anonymous union to pad each field to
30107 __syscall_slong_t.
30108
46259bec
DM
301092012-05-21 David S. Miller <davem@davemloft.net>
30110
30111 * Makefules (o-iterator): Remove .s cases.
30112 (compile-command.s): Delete.
30113 (COMPILE.s): Delete.
30114 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30115
59f0c22e
JM
301162012-05-21 Joseph Myers <joseph@codesourcery.com>
30117
30118 * configure.in (libc_cv_predef_stack_protector): Only consider
30119 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30120 * configure: Regenerated.
30121
20c07380
L
301222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30123
bbb3154b
L
30124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30125 New macro. Use R*LP on int and pointer.
30126 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30127 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30128 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30129 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30130
20c07380
L
30131 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30132 [__WORDSIZE_TIME64_COMPAT32] instead of
30133 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30134 (struct utmp): Likewise.
30135 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30136 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30137 Renamed to ...
30138 (__WORDSIZE_TIME64_COMPAT32): This.
30139 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30140 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30141 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30142 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30143 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30144 (__WORDSIZE_TIME64_COMPAT32): New macro.
30145
d8d1017e
AJ
301462012-05-21 Andreas Jaeger <aj@suse.de>
30147
30148 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30149 only if [SHARED]. Add prototype for __wcschr_ia32.
30150
6c7fb145
RM
301512012-05-21 Roland McGrath <roland@hack.frob.com>
30152
30153 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30154 of %rbp unmolested in the jmp_buf while mangling the low bits.
30155 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30156 unmolested high bits of %rbp while demangling the low bits.
30157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30158
66274218
AJ
301592012-05-21 Andreas Jaeger <aj@suse.de>
30160
07c58f8f
AJ
30161 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30162 * sunrpc/svc_simple.c: Use it for registerrpc.
30163 * sunrpc/xcrypt.c: Use it for passwd2des.
30164
66274218
AJ
30165 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30166
61f65140
L
301672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30168
30169 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30170 Don't define if [__SYSCALL_WORDSIZE != 32].
30171 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30172 New macro.
30173
5fefb436
AJ
301742012-05-21 Bruno Haible <bruno@clisp.org>
30175 Andreas Jaeger <aj@suse.de>
30176
30177 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30178 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30179 inptr and inend for must_buffer_ch.
30180 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30181 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30182 * stdio-common/Makefile (tests): Remove bug15.
30183 (bug15-ENV): Remove macro.
30184 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30185 anymore.
30186
d8e272ab
AJ
301872012-05-19 Andreas Jaeger <aj@suse.de>
30188 Roland McGrath <roland@hack.frob.com>
30189
30190 * manual/contrib.texi: Completely rewritten. It contains now an
30191 alphabetical list of contributors and their contributions.
30192
4a56a162
RH
301932012-05-21 Richard Henderson <rth@twiddle.net>
30194
30195 * misc/getauxval.c (__getauxval): Use unsigned long int.
30196 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30197 (getauxval): Use unsigned long int.
30198
d024d23c
L
301992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30200
30201 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30202
cbc00a03
RM
302032012-05-21 Roland McGrath <roland@hack.frob.com>
30204
30205 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30206 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30207 __alignof__ (long double).
30208
478143fa
AZ
302092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30210
30211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30212
c7683a6d
RH
302132012-05-20 Richard Henderson <rth@twiddle.net>
30214
30215 * misc/getauxval.c: New file.
30216 * misc/sys/auxv.h: New file.
30217 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30218 (routines): Add getauxval.
30219 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30220 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30221 * elf/dl-sysdep.c (_dl_auxv): Remove.
30222 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30223 * elf/dl-support.c (_dl_auxv): New variable.
30224 (_dl_aux_init): Initialize it.
30225 * manual/startup.texi (Auxiliary Vector): New node.
30226 * sysdeps/generic/bits/hwcap.h: New file.
30227 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30228 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30229 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30230 * sysdeps/sparc/sysdep.h: ... here. Include it.
30231 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30232 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30234 Update.
c7683a6d
RH
30235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30243
a6f1845d
AZ
302442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30245
30246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30247
cbcbe830
DM
302482012-05-19 David S. Miller <davem@davemloft.net>
30249
30250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30251
e0b16cc2
JM
302522012-05-19 Joseph Myers <joseph@codesourcery.com>
30253
30254 [BZ #14123]
30255 * math/s_ccosh.c: Include <float.h>
30256 (__ccosh): Avoid internal overflow calculating sinh and cosh
30257 values before multiplying by sin and cos values.
30258 * math/s_ccoshf.c: Likewise.
30259 * math/s_ccoshl.c: Likewise.
30260 * math/s_csin.c: Likewise.
30261 * math/s_csinf.c: Likewise.
30262 * math/s_csinl.c: Likewise.
30263 * math/s_csinh.c: Likewise.
30264 * math/s_csinhf.c: Likewise.
30265 * math/s_csinhl.c: Likewise.
30266 * math/libm-test.inc (ccos_test): Add more tests.
30267 (ccosh_test): Likewise.
30268 (csin_test): Likewise.
30269 (csinh_test): Likewise.
30270 * sysdeps/i386/fpu/libm-test-ulps: Update.
30271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30272
6ad13e08
L
302732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30274
f66f0ce8
L
30275 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30276 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30277
6ad13e08
L
30278 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30279
b1d072a7
JM
302802012-05-19 Joseph Myers <joseph@codesourcery.com>
30281
30282 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30283 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30284 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30285 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30286 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30287 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30288 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30289 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30290 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30291 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30292 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30293 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30294 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30295 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30296 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30297 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30298 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30299 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30300 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30301 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30302 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30303 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30304 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30305 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30306 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30307 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30308 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30309 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30310 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30311 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30312 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30313
9eae47cb
AJ
303142012-05-18 Andreas Jaeger <aj@suse.de>
30315
30316 * csu/.gitignore: Delete.
30317
bb07f69f
L
303182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30319
30320 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30321 (timex): Use __syscall_slong_t.
30322
e6bdb741
AJ
303232012-05-18 Andreas Jaeger <aj@suse.de>
30324 Carlos O'Donell <carlos_odonell@mentor.com>
30325
30326 * manual/install.texi (Configuring and compiling): Update
30327 description about files modified in the source directory.
d6c33fda 30328 * INSTALL: Regenerated.
e6bdb741 30329
1b74487e
L
303302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30331
30332 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30333 value. Use "or" to set return value to -1.
30334 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30335 negate return value.
30336
a88b64b9
TMQMF
303372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30338
57f41c40
AS
30339 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30340 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30341 failure if the compiler has Graphite support disabled.
30342 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30343 Likewise.
57f41c40
AS
30344 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30345 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30346 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30347 Likewise.
30348
3707636e
L
303492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30350
610b8622
L
30351 * sysdeps/x86_64/x32/_itoa.h: New file.
30352
7cd195df
L
30353 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30354 getdents system call only if kernel and user dirents have the
30355 same d_ino and d_off.
30356
94b07d20
L
30357 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30358 LLONG_MAX != LONG_MAX.
30359 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30360 (_fitoa_word): Likewise.
30361
18298070
L
30362 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30363 years.
30364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30365 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30366 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30367
553c7ea4
L
30368 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30369 include <bits/wordsize.h>. Check __x86_64__ instead of
30370 __WORDSIZE.
30371 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30372 if __x86_64__ is defined. Use anonymous union on fpstate.
30373
3707636e
L
30374 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30375 anonymous union.
30376
b53ef01a
AS
303772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30378
37fb1dc0
AS
30379 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30380 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30381 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30382 Refer to _rtld_local_ro instead of _rtld_global_ro.
30383 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30384 Likewise.
30385 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30386 Likewise.
30387 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30388 Likewise.
30389 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30390 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30391 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30392
b53ef01a
AS
30393 * sysdeps/powerpc/powerpc32/dl-machine.c
30394 (__elf_machine_runtime_setup) [PROF]: Don't reference
30395 _dl_prof_resolve.
30396
7a185db2
AJ
303972012-05-18 Andreas Jaeger <aj@suse.de>
30398
30399 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30400 function only available for GCCs before 3.4 since GCC 3.4
30401 introduced a builtin.
30402 (lrint): Likewise.
30403 (llrintf): Likewise.
30404 (llrint): Likewise.
30405 (fmaxf): Likewise.
30406 (fmax): Likewise.
30407 (fminf): Likewise.
30408 (fmin): Likewise.
30409 (rint): Likewise.
30410 (rintf): Likewise.
30411 (nearbyint): Likewise.
30412 (nearbyintf): Likewise.
30413 (ceil): Likewise.
30414 (ceilf): Likewise.
30415 (floor): Likewise.
30416 (floorf): Likewise.
30417
3e5aef87
L
304182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30419
428bd707
L
30420 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30421 on both fields and cast pointer to __syscall_ulong_t.
30422
3e5aef87
L
30423 * bits/types.h (__fsword_t): New type.
30424 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30425 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30426 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30427 (__FSWORD_T_TYPE): Likewise.
30428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30429 (__FSWORD_T_TYPE): Likewise.
30430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30431 (__FSWORD_T_TYPE): Likewise.
30432 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30433 (__FSWORD_T_TYPE): Likewise.
30434 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30435 __SWORD_TYPE with __fsword_t.
30436 (statfs64): Likewise.
30437
1ba7c3dc
DM
304382012-05-17 David S. Miller <davem@davemloft.net>
30439
30440 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30441
59910343
AJ
304422012-05-17 Andreas Jaeger <aj@suse.de>
30443
30444 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30445 warning.
30446
2e4c1e9e
L
304472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30448
30449 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30450
de7f5ce7
AJ
304512012-05-17 Andreas Jaeger <aj@suse.de>
30452
30453 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30454 when it is used.
30455
286abc3d
CM
304562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30457
30458 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30459
477cc68e
L
304602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30461
30462 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30463 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30464
1a0994f5
CD
304652012-05-17 Andreas Jaeger <aj@suse.de>
30466 Carlos O'Donell <carlos_odonell@mentor.com>
30467
30468 [BZ #14059]
30469 * sysdeps/x86_64/multiarch/init-arch.h
30470 (bit_YMM_Usable): Rename to...
30471 (bit_AVX_Usable): ... this.
30472 (bit_FMA4_Usable): New macro.
30473 (bit_XMM_state): New macro.
30474 (bit_YMM_state): New macro.
30475 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30476 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30477 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30478 (CPUID_OSXSAVE): New macro.
30479 (CPUID_AVX): New macro.
30480 (CPUID_FMA4): New macro.
30481 (index_YMM_Usable): Rename to...
30482 (index_AVX_Usable): ... this.
30483 (HAS_AVX): Use HAS_ARCH_FEATURE.
30484 (HAS_FMA4): Likewise.
30485 (HAS_YMM_USABLE): Remove.
30486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30487 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30488 are present.
30489 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30490 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30491 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30492 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30493 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30494
0af797de
CM
304952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30496
30497 * math/libm-test.c: Support platforms without multiple rounding modes.
30498 * math/bug-nextafter.c: Support platforms without FP exceptions.
30499 * math/bug-nexttoward.c: Likewise.
30500 * math/test-fenv.c: Likewise.
30501 * math/test-misc.c: Likewise.
30502 * stdlib/bug-getcontext.c: Likewise.
30503
e39745ff
AJ
305042012-05-17 Andreas Jaeger <aj@suse.de>
30505
30506 * manual/examples/search.c (critter_cmp): Change signature to
30507 avoid warnings.
30508 * manual/string.texi (Collation Functions): Likewise.
30509
48970aba
L
305102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30511
30512 * bits/types.h: Fold copyright years.
30513 * bits/typesizes.h: Likewise.
30514 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30516 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30517 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30518 * time/time.h: Likewise.
30519
bedee953
PP
305202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30521
30522 [BZ #208]
30523 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30524 in instead of returning them. Return void.
30525 (__libc_mallinfo): Accumulate over all arenas.
30526 (__malloc_stats): Adjust for change in int_mallinfo interface.
30527
61653dfb
RM
305282012-05-16 Roland McGrath <roland@hack.frob.com>
30529
30b99d79
RM
30530 [BZ #10375]
30531 * configure.in (NM): Add AC_CHECK_TOOL for it.
30532 (libc_extra_cflags): New substituted variable.
30533 Check for -fstack-protector being used implicitly.
30534 * configure: Regenerated.
30535 * config.make.in (config-extra-cflags): New variable,
30536 gets @libc_extra_cflags@.
30537 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30538
61653dfb
RM
30539 [BZ #10375]
30540 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30541 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30542 * configure: Regenerated.
30543 * config.make.in (CPPUNDEFS): New substituted variable.
30544 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30545 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30546 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30547
661768bb
L
305482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30549
30550 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30551 (mq_attr): Use __syscall_slong_t.
30552
d4261567
L
305532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30554
30555 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30556 Check __x86_64__ instead of __WORDSIZE.
30557 (_STAT_VER_LINUX): Likewise.
30558 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30559 __syscall_ulong_t and __syscall_slong_t.
30560 (stat64): Likewise.
30561
cf3ff365
L
305622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30563
30564 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30565
76cf3e4d
L
305662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30567
30568 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30569
a637753a
L
305702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30571
30572 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30573 __syscall_ulong_t.
30574
d5e05119
L
30575 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30576 include <bits/wordsize.h>. Check __x86_64__ instead of
30577 __WORDSIZE.
30578 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30579 defined.
30580 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30581
f62ee380
L
30582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30583 include <bits/wordsize.h>. Check __x86_64__ instead of
30584 __WORDSIZE.
30585 (user_regs_struct): Use "__extension__ unsigned long long"
30586 instead of "unsigned long" if __x86_64__ is defined.
30587 (user): Likewise. Pad after pointer field if __ILP32__ is
30588 defined.
30589
4e124ced
JM
305902012-05-16 Joseph Myers <joseph@codesourcery.com>
30591
6a3951a0
JM
30592 * configure.in (makeinfo): Require version 4.5 or later. Allow
30593 versions 5 to 9.
30594 * configure: Regenerated.
30595 * manual/install.texi (texinfo): Increase version requirement to
30596 4.5 or later.
30597 * INSTALL: Regenerated.
30598
4e124ced
JM
30599 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30600
953ca31a
L
306012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30602
30603 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30604
617aca05
L
30605 * sysdeps/x86_64/x32/ffs.c: New file.
30606
5762f7ae
L
30607 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30608 __syscall_ulong_t.
30609 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30610 defined. Use __syscall_ulong_t.
30611 (shminfo): Use __syscall_ulong_t.
30612 (shm_info): Likewise.
30613
a26b6856
L
30614 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30615 __syscall_ulong_t.
30616
cb2b9ef7
L
30617 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30618 <bits/wordsize.h>.
30619 (msgqnum_t): Use __syscall_ulong_t.
30620 (msglen_t): Likewise.
30621 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30622 __syscall_ulong_t.
30623
34683bb0
L
30624 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30625 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30626
84a68786
L
30627 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30628
48baa5f1
L
30629 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30630 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30631
180be88b
L
30632 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30633 __syscall_slong_t.
30634
5e90c8ad
L
30635 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30636 include <bits/wordsize.h>. Check __x86_64__ instead of
30637 __WORDSIZE.
30638
23dfb58b
L
30639 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30640 "unsigned long long int" if __x86_64__ is defined.
30641 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30642
ce5d54b0
L
30643 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30644 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30645 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30646
13dc9eac
L
30647 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30648 <stdint.h>.
30649 (GET_PC): Cast to uintptr_t first.
30650 (GET_FRAME): Likewise.
30651 (GET_STACK): Likewise.
30652
a7895d15
L
30653 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30654 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30655 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30656 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30657 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30658 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30659 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30660 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30661 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30662 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30663 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30664 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30665 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30666 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30668 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30669 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30670 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30671 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30672 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30673 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30674 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30675 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30676 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30677 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30678 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30679 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30680 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30681 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30682
656416c9
AS
306832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30684
5bd66283
AS
30685 * Makerules (+depfiles): Also collect depfiles from .oS in
30686 $(extra-objs).
30687 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30688 .oS, $(libnldbl-routines)).
30689
656416c9
AS
30690 * Makerules (native-compile-mkdep-flags): Define.
30691 * sunrpc/Makefile (extra-objs): Add $(addprefix
30692 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30693 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30694 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30695 calling $(make-target-directory).
30696
a46f2169
L
306972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30698
30699 * bits/types.h (__snseconds_t): Removed.
30700 * time/time.h (struct timespec): Replace __snseconds_t with
30701 __syscall_slong_t.
30702 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30703 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30704 Likewise.
30705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30706 (__SNSECONDS_T_TYPE): Likewise.
30707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30708 (__SNSECONDS_T_TYPE): Likewise.
30709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30710 (__SNSECONDS_T_TYPE): Likewise.
30711
6af6528b
L
307122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30713
30714 * sysdeps/mach/hurd/bits/typesizes.h
30715 (__SYSCALL_SLONG_TYPE): New macro.
30716 (__SYSCALL_ULONG_TYPE): Likewise.
30717
de986b56
L
307182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30719
30720 * bits/types.h (__syscall_slong_t): New type.
30721 (__syscall_ulong_t): Likewise.
30722
30723 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30724 (__SYSCALL_ULONG_TYPE): Likewise.
30725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30726 (__SYSCALL_SLONG_TYPE): Likewise.
30727 (__SYSCALL_ULONG_TYPE): Likewise.
30728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30729 (__SYSCALL_SLONG_TYPE): Likewise.
30730 (__SYSCALL_ULONG_TYPE): Likewise.
30731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30732 (__SYSCALL_SLONG_TYPE): Likewise.
30733 (__SYSCALL_ULONG_TYPE): Likewise.
30734
85736dc7
L
307352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30736
30737 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30738 Add sigaltstack-offsets.sym.
30739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30740 <sigaltstack-offsets.h>.
30741 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30742 longjmp_msg pointer.
30743 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30744 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30745 signal stack.
30746 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30747
cc03b296
JM
307482012-05-15 Joseph Myers <joseph@codesourcery.com>
30749
a9538892
JM
30750 * elf/stackguard-macros.h: Remove file.
30751 * sysdeps/generic/stackguard-macros.h: New file.
30752 * sysdeps/i386/stackguard-macros.h: Likewise.
30753 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30754 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30755 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30756 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30757 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30758 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30759 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30760 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30761 <elf/stackguard-macros.h>.
30762
cc03b296
JM
30763 [BZ #14109]
30764 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30765 __aligned__ in attribute.
30766 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30767 (gregset_t): Likewise.
30768
93171016
L
307692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30770
30771 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30772 * sysdeps/x86_64/64/Implies-after: Here. New file.
30773 * sysdeps/x86_64/x32/Implies-after: New file.
30774
d86813a0
L
307752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30776
30777 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30778 and access return value for _dl_profile_fixup. Use R10_LP to
30779 load frame size.
30780
2953ec75
L
307812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30782
30783 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30784
3b550e9e
L
307852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30786
30787 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30788 * sysdeps/x86_64/x32/sysdep.h: New file.
30789
eda41706
L
307902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30791
30792 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30793 * sysdeps/x86_64/setjmp.S: Likewise.
30794
9ea01d93
AZ
307952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30796
30797 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30798 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30799 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30800 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30801 remove unused global constant.
30802
02a91938
CM
308032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30804
30805 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30806 include of <not-cancel.h>.
30807
6540185f
RM
308082012-05-15 Roland McGrath <roland@hack.frob.com>
30809
30810 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30811
509072a0
AJ
308122012-05-15 Jeff Law <law@redhat.com>
30813 Andreas Jaeger <aj@suse.de>
30814
30815 [BZ #13594]
30816 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30817 out from...
30818 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30819 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30820 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30821 code changing __hst_map_handle.map.
30822
ba75122d
RM
308232012-05-15 Roland McGrath <roland@hack.frob.com>
30824
30825 * configure.in (sysnames): Look for Implies-before and Implies-after
30826 files.
30827 * configure: Regenerated.
30828
890d8bd8
L
308292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30830
30831 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30832 8-byte data alignment with LP_SIZE alignment.
30833
f6ee6623
L
308342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30835
30836 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30837 into R10_LP.
30838
ea2626f6
L
308392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30840
30841 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30842
085f715e
L
308432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30844
30845 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30846 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30847 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30848 Likewise.
30849 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30850
be8498fc
L
308512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30852
30853 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30854 (stackinfo_sub_sp): Likewise.
30855
70bc83b9
L
308562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30857
30858 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30859 RAX_LP.
30860
9bc0b730
L
308612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30862
30863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30864 into R*_LP.
30865
6d2850e7
L
308662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30867
30868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30869 sizes into R*_LP.
30870
3cb84561
L
308712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30872
30873 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30874
54e2ed81
L
308752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30876
30877 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30878 into R11_LP and load __x86_64_shared_cache_size_half into
30879 R8_LP.
30880
8a17f349
L
308812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30882
30883 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30884 R8_LP.
30885
777b1eea
AZ
308862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30887
30888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30889 logb for POWER7.
30890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30891 logbf for POWER7.
30892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30893 logbl for POWER7.
30894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30895 powerpc32/power7/fpu/s_logb.c via #include.
30896 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30897 powerpc32/power7/fpu/s_logbf.c via #include.
30898 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30899 powerpc32/power7/fpu/s_logbl.c via #include.
30900
d20d4ac2
JM
309012012-05-15 Joseph Myers <joseph@codesourcery.com>
30902
30903 * README.libm: Remove file.
30904
6cdef1ab
L
309052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30906
30907 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30908 count for x32. Use R*_LP and omit operand-size suffix.
30909
0b254d8f
L
309102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30911
30912 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30913 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30914 * sysdeps/x86_64/x32/shlib-versions: New file.
30915
ceb809dc
RM
309162012-05-14 Roland McGrath <roland@hack.frob.com>
30917
30918 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30919 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30920 Use _dl_fatal_printf instead.
30921
37f1abd4
JM
309222012-05-14 Joseph Myers <joseph@codesourcery.com>
30923
30924 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30925 set if not set by the user. Do not allow for being unset.
30926 * sysdeps/unix/sysv/linux/configure: Regenerated.
30927
11de3a33
L
309282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30929
30930 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30931 the `q' suffix from lea and replace .quad with ASM_ADDR.
30932
e02f153a
L
309332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30934
30935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30936 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30937 instead of $17.
30938 (PTR_DEMANGLE): Likewise.
30939
520ae0fd
L
309402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30941
30942 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30943 (LP_OP): Likewise.
30944 (ASM_ADDR): Likewise.
30945 (RAX_LP): Likewise.
30946 (RBP_LP): Likewise.
30947 (RBX_LP): Likewise.
30948 (RCX_LP): Likewise.
30949 (RDI_LP): Likewise.
30950 (RSI_LP): Likewise.
30951 (RSP_LP): Likewise.
30952 (R8_LP): Likewise.
30953 (R9_LP): Likewise.
30954 (R10_LP): Likewise.
30955 (R10_LP): Likewise.
30956 (R11_LP): Likewise.
30957 (R12_LP): Likewise.
30958 (R13_LP): Likewise.
30959 (R14_LP): Likewise.
30960 (R15_LP): Likewise.
30961
b985be81
L
309622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30963
30964 * sysdeps/x86_64/x32/dl-machine.h: New file.
30965
6a4888ff
AJ
309662012-05-14 Andreas Jaeger <aj@suse.de>
30967
30968 * manual/Makefile (subdir): Remove export of subdir.
30969 (all): Remove target.
30970 (.PHONY): Remove all from list.
30971 (mkinstalldirs): Remove.
30972 (.PHONY): Remove installdirs from list.
30973 ($(inst_infodir)/libc.info): Use make-target-directory.
30974 (installdirs): Remove.
30975 (subdir_%): Remove.
30976 (glibc-targets): Remove.
30977 (lib): Remove.
30978 (stubs): Remove.
30979 ($(objpfx)stubs ../po/manual.pot): Remove.
30980 ($(objpfx)stamp%): Remove.
30981 (make-target-directory): Remove.
30982 (subdir_install): Remove.
30983 (routines): Remove.
30984 (aux): Remove.
30985 (sources): Remove.
30986 (objects): Remove.
30987 (headers): Remove.
30988
30989 [BZ #13750]
30990 * manual/.gitignore: Remove, it's not needed anymore.
30991 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30992 all files in it.
30993 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30994 directory.
30995 (texis): Renamed to $(objpfx)texis.
30996 (texis-path): New, contains path to generated files.
30997 (chapters.%): Use texis-path for complete path, add extra argument
30998 libc-texinfo.sh.
30999 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31000 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31001 (summary,texi, stamp-summary): Use complete path of
31002 files. Generate files in build dir.
31003 (dir-add.texi): Build in build dir.
31004 (libm-err.texi,stamp-libm-err): Likewise.
31005 (version.texi, stamp-version): Likewise.
31006 (.%c.texi): Likewise.
31007 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31008 (mostlyclean): Remove target.
31009 (realclean): Remove target.
31010 (generated): Add new variable with contents from mostlyclean and
31011 realclean, remove entries duplicated in common-mostlyclean, add
31012 stamp-libm-err and stamp-version.
31013 (generated-dirs): Add libc directory.
31014 ($(inst_infodir)/libc.info): Install files from build dir.
31015
31016 * manual/install.texi (Configuring and compiling): Adjust since
31017 the info files are not part of the tar ball anymore.
31018
7ac77294
AJ
310192012-05-14 Andreas Jaeger <aj@suse.de>
31020
31021 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31022 variable.
31023
ffb7875d
JM
310242012-05-14 Joseph Myers <joseph@codesourcery.com>
31025
31026 [BZ #13717]
31027 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31028 to 2.2.0 where earlier.
31029 * sysdeps/unix/sysv/linux/configure: Regenerated.
31030 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31031 Remove conditional code.
31032 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31033 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31034 Remove conditional code.
31035 [!__NR_lchown]: Likewise.
31036 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31037 [__NR_lchown]: Likewise.
31038 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31039 comment referencing __ASSUME_LCHOWN_SYSCALL.
31040 * sysdeps/unix/sysv/linux/i386/sigaction.c
31041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31043 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31044 Remove conditional code.
31045 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31046 (__protocol_available): Remove #if 0 code.
31047 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31048 conditional code.
31049 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31050 * sysdeps/unix/sysv/linux/kernel-features.h
31051 (__ASSUME_GETCWD_SYSCALL): Don't define.
31052 (__ASSUME_REALTIME_SIGNALS): Likewise.
31053 (__ASSUME_PREAD_SYSCALL): Likewise.
31054 (__ASSUME_PWRITE_SYSCALL): Likewise.
31055 (__ASSUME_POLL_SYSCALL): Likewise.
31056 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31057 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31058 non-SPARC.
31059 (__ASSUME_SIOCGIFNAME): Don't define.
31060 (__ASSUME_MSG_NOSIGNAL): Likewise.
31061 (__ASSUME_SENDFILE): Define unconditionally.
31062 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31063 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31064 conditional code.
31065 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31066 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31067 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31068 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31069 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31070 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31071 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31073 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31076 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31077 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31079 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31082 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31083 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31085 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31086 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31088 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31089 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31091 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31094 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31096 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31097 Remove conditional code.
31098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31099 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31100 Remove conditional code.
31101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31102 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31103 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31104 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31105 Remove conditional code.
31106 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31107 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31108 Remove conditional code.
31109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31110 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31111 Remove conditional code.
31112 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31113 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31114 Remove conditional code.
31115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31116 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31117 Remove conditional code.
31118 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31119 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31120 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31122 * sysdeps/unix/sysv/linux/sigaction.c
31123 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31124 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31125 * sysdeps/unix/sysv/linux/sigpending.c
31126 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31127 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31128 * sysdeps/unix/sysv/linux/sigprocmask.c
31129 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31130 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31131 * sysdeps/unix/sysv/linux/sigsuspend.c
31132 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31133 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31134 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31135 (__libc_missing_rt_sigs): Remove.
31136 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31137 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31138 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31139 Remove conditional code.
31140 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31141 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31142 return 1.
31143 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31144 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31145 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31146 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31147
1bfb7291
AJ
311482012-05-14 Andreas Jaeger <aj@suse.de>
31149
caae5a81
AJ
31150 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31151 it's not used in glibc.
31152 (__coshm1): Likewise.
31153 (__acosh1p): Likewise.
31154 (__sgn): Likewise.
31155
1bfb7291
AJ
31156 * manual/string.texi (Copying and Concatenation): Add missing
31157 variable in concat example.
31158 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31159
c044d724
L
311602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31161
144c5467 31162 [BZ #14103]
c044d724
L
31163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31164 __builtin_clzl with __builtin_clzll.
31165
2523c62b
L
311662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31167
31168 [BZ #14104]
31169 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31170 libc_freeres_ptr.
31171
d7bb4c42
LD
311722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31173
31174 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31175 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31176 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31177 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31178
9dc4e1fb
MF
311792012-05-14 Mike Frysinger <vapier@gentoo.org>
31180
31181 * NEWS: Update ia64 info.
31182
c7df0112
AS
311832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31184
31185 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31186 used as bcopy.
31187
dc70356c
TS
311882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31189
31190 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31191 * sysdeps/unix/syscalls.list (dup3): Likewise.
31192 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31193 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31194
9fb1a21f
L
311952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31196
31197 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31198 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31199
4822a2a5
L
312002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31201
31202 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31203 thread pointer.
31204 (TLS_IE): Use mov/add instead of movq/addq to load thread
31205 pointer.
31206 (TLS_GD_PREFIX): New.
31207 (TLS_GD): Use it.
31208
842b81d6
DM
312092012-05-11 David S. Miller <davem@davemloft.net>
31210
31211 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31212 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31213 (_FPU_SETCW): Likewise.
31214
1cf463cd
L
312152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31216
31217 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31218 is 32-byte aligned.
31219
60cc4a18
AS
312202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31221
31222 [BZ #11837]
31223 * iconvdata/gb18030.c: Update tables.
31224 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31225 characters specially.
31226 (BODY for TO_LOOP): Add encoding of missing ranges.
31227
febb44a4
TS
312282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31229
31230 [BZ #13673]
31231 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31232 * sysdeps/mach/hurd/dup3.c: Likewise.
31233 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31234 * sysdeps/powerpc/memmove.c:: Likewise.
31235
0a10fb9e
L
312362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31237
31238 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31239 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31240
df8a552f
L
312412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31242
31243 * elf/elf.h (R_X86_64_RELATIVE64): New.
31244 (R_X86_64_NUM): Updated.
31245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31246 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31247 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31248 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31249 tst-quad1pie tst-quad2pie
31250 (modules-names): Add tst-quadmod1 tst-quadmod2.
31251 ($(objpfx)tst-quad1): New dependency.
31252 ($(objpfx)tst-quad2): Likewise.
31253 ($(objpfx)tst-quad1pie): Likewise.
31254 ($(objpfx)tst-quad2pie): Likewise.
31255 * sysdeps/x86_64/tst-quad1.c: New file.
31256 * sysdeps/x86_64/tst-quad1pie.c: New file.
31257 * sysdeps/x86_64/tst-quad2.c: Likewise.
31258 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31259 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31260 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31261 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31262 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31263
f34d6f84
ST
312642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31265
f42d41d1
ST
31266 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31267 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31268 * streams/stropts.h (t_scalar_t): Define type.
31269
3c3571fc
ST
31270 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31271 (_PATH_PRESERVE): Set to "/var/lib".
31272 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31273
61f06bd3
ST
31274 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31275 instead of int.
31276
918d4d71
ST
31277 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31278 if __dir_mkfile succeeded.
31279
f34d6f84
ST
31280 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31281 checking for _hurd_dtablesize. Unlock it right after having
31282 finished _hurd_dtable allocation.
31283
10589b4a
TS
312842012-05-10 Thomas Schwinge <thomas@schwinge.name>
31285
674cdbc7
TS
31286 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31287 * sysdeps/mach/hurd/configure: Regenerated.
31288 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31289 special-casing to...
31290 * sysdeps/gnu/configure.in: ... this new file.
31291 * sysdeps/unix/sysv/linux/configure: Regenerated.
31292 * sysdeps/gnu/configure: New generated file.
31293
8e41b99f
TS
31294 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31295 for Linux: use nsec instead of usec, as well as:
31296 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31297 members of type struct timespec.
31298 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31299 New macros.
31300 (struct stat64): Likewise.
31301 (_STATBUF_ST_NSEC): New macro.
31302 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31303
10589b4a
TS
31304 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31305 __strtoul_internal rather than strtoul.
31306
63643c85
PT
313072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31308
31309 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31310 and reject them.
31311
3faebe6a
ST
313122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31313
31314 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31315 which preserves existing values.
31316 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31317
c6474b07
PT
313182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31319
31320 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31321 TIMEOUT values. Return EINVAL for NFDS values either negative or
31322 greater than FD_SETSIZE.
31323
1043890b
ST
313242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31325
31326 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31327 allocated, call __vm_protect to finish enabling the existing space, and
31328 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31329 allocate the remainder.
31330
37ed8b9b
PT
313312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31332
31333 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31334 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31335
db653660
ST
313362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31337
37ed8b9b
PT
31338 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31339 sysdeps/mach/hurd/readlink.c.
b29d4053 31340
db653660
ST
31341 * posix/tst-sysconf.c (posix_options): Only use
31342 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31343 _POSIX_SYNCHRONIZED_IO when they are defined
31344 * sysdeps/mach/hurd/bits/posix_opt.h:
31345 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31346 (_XOPEN_REALTIME): Undefine macro.
31347 (_XOPEN_REALTIME_THREADS): Undefine macro.
31348 (_XOPEN_SHM): Undefine macro.
31349 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31350 macro to -1.
31351 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31352 macro to -1.
31353 (_POSIX_ASYNC_IO): Undefine macro.
31354 (_POSIX_PRIORITIZED_IO): Undefine macro.
31355 (_POSIX_SPIN_LOCKS): Define macro to -1.
31356
ee16e894
ST
31357 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31358 SA_NODEFER, SA_RESETHAND.
31359 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31360 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31361 F_DUPFD_CLOEXEC.
31362
6103ae3b
TS
313632012-05-10 Thomas Schwinge <thomas@schwinge.name>
31364
31365 * elf/Makefile (pldd-modules): Define unconditionally.
31366
80b4e5f3
TS
313672012-05-10 Thomas Schwinge <thomas@schwinge.name>
31368
31369 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31370
edadcbd6
ST
313712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31372
31373 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31374 Return ENOENT when name is empty.
31375 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31376
80694780
TS
313772012-05-10 Thomas Schwinge <thomas@schwinge.name>
31378
1792c087
TS
31379 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31380
80694780
TS
31381 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31382
6b645f0d
ST
313832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31384
80694780
TS
31385 Fix mlock in all cases except non-readable pages.
31386 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31387 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31388
6b645f0d
ST
31389 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31390 (__mkdir): When path is `/', just fail with EEXIST.
31391 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31392
e468f8a3
TS
313932012-05-10 Thomas Schwinge <thomas@schwinge.name>
31394
31395 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31396 <sys/uio.h> (for writev).
31397 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31398 and <sys/param.h> (for MIN).
31399
a4186cff
PT
314002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31401
31402 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31403 REQUESTED_TIME. Properly set the remaining time and return EINTR
31404 if interrupted.
31405
510bbf14
TS
314062012-05-10 Thomas Schwinge <thomas@schwinge.name>
31407
31408 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31409 Depend on against $(link-rpcuserlibs).
31410
5d5722e8
ST
314112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31412
a4186cff
PT
31413 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31414 (__libc_stack_end): Do not use attribute_relro.
31415 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31416 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31417 to libthread-provided value.
a4186cff
PT
31418 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31419 attribute_relro.
5d5722e8 31420
37233df9
TS
314212012-05-10 Thomas Schwinge <thomas@schwinge.name>
31422
be971a2b
TS
31423 [BZ #3748]
31424 * bits/libc-lock.h (__libc_once_get): New macro.
31425 * sysdeps/mach/bits/libc-lock.h: Likewise.
31426 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31427 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31428 instead of using implementation details.
31429
37233df9
TS
31430 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31431 * libio/freopen.c: Likewise.
31432 * libio/freopen64.c: Likewise.
31433 * misc/syslog.c: Likewise.
31434 * nscd/connections.c: Likewise.
31435 * nscd/netgroupcache.c: Likewise.
31436 * sysdeps/posix/getcwd.c: Likewise.
31437
38de94a5
RM
314382012-05-10 Roland McGrath <roland@hack.frob.com>
31439
31440 * math/w_ilogbf.c: Add #include <limits.h>.
31441
67530489
ST
314422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31443
a4186cff 31444 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31445 path instead of returning without unlocking.
31446
67530489
ST
31447 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31448 immediate-write ioctls.
31449 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31450
5aa3a74a
TS
314512012-05-10 Thomas Schwinge <thomas@schwinge.name>
31452
18bad2ae
TS
31453 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31454 __builtin_frame_address instead of making assumptions about the
31455 location of the return address relative to DATA. Force early load of
31456 the return address.
31457 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31458 __builtin_frame_address.
31459
5aa3a74a
TS
31460 dup3 for GNU Hurd.
31461 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31462 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31463 implement dup3 and do some further code clean-ups.
31464 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31465 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31466
ecd0de9a
ST
314672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31468
cd9fa985
ST
31469 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31470
a4186cff
PT
31471 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31472 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31473 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31474 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31475 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31476 d->port.lock.
802ca5a5 31477
a4186cff
PT
31478 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31479 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31480 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31481
bcf55240
TS
314822012-05-10 Thomas Schwinge <thomas@schwinge.name>
31483
6960eb42
TS
31484 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31485 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31486 definitions.
31487
eb43375f
TS
31488 accept4 for GNU Hurd.
31489 * include/sys/socket.h (__libc_accept4): New prototype.
31490 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31491 to implement __libc_accept4.
31492 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31493 __libc_accept4.
31494 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31495
bcf55240
TS
31496 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31497 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31498 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31499 signal-defines.sym.
31500
6178c55b
ST
315012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31502
a4186cff 31503 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31504
6f080c2f
TS
315052012-05-10 Thomas Schwinge <thomas@schwinge.name>
31506
31507 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31508 assertion on O_CLOEXEC flag.
31509 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31510 * hurd/intern-fd.c: Likewise.
31511 * hurd/port2fd.c: Likewise.
31512
bcfe3a54
ST
315132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31514
31515 [BZ #3906]
31516 * bits/in.h (IPV6_PKTINFO): Define new macro.
31517 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31518
89c9aa49
AZ
315192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31520
31521 [BZ #13954]
31522 [BZ #13955]
31523 [BZ #13956]
31524 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31525 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31526 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31527 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31528 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31529 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31530 * math/libm-test.inc (logb_test) : Additional logb tests.
31531
021db4be
AJ
315322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31533 Andreas Jaeger <aj@suse.de>
31534
31535 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31536 * configure: Regenerated.
31537 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31538 * config.make.in (link-obsolete-rpc): New substituted variable.
31539 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31540 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31541 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31542 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31543 so that libc.a contains the symbols.
31544 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31545 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31546 * sunrpc/auth_none.c: Likewise.
31547 * sunrpc/auth_unix.c: Likewise.
31548 * sunrpc/authdes_prot.c: Likewise.
31549 * sunrpc/authuxprot.c: Likewise.
31550 * sunrpc/clnt_gen.c: Likewise.
31551 * sunrpc/clnt_perr.c: Likewise.
31552 * sunrpc/clnt_raw.c: Likewise.
31553 * sunrpc/clnt_simp.c: Likewise.
31554 * sunrpc/clnt_tcp.c: Likewise.
31555 * sunrpc/clnt_udp.c: Likewise.
31556 * sunrpc/clnt_unix.c: Likewise.
31557 * sunrpc/des_crypt.c: Likewise.
31558 * sunrpc/des_soft.c: Likewise.
31559 * sunrpc/get_myaddr.c: Likewise.
31560 * sunrpc/key_call.c: Likewise.
31561 * sunrpc/key_prot.c: Likewise.
31562 * sunrpc/netname.c: Likewise.
31563 * sunrpc/pm_getmaps.c: Likewise.
31564 * sunrpc/pm_getport.c: Likewise.
31565 * sunrpc/pmap_clnt.c: Likewise.
31566 * sunrpc/pmap_prot.c: Likewise.
31567 * sunrpc/pmap_prot2.c: Likewise.
31568 * sunrpc/pmap_rmt.c: Likewise.
31569 * sunrpc/publickey.c: Likewise.
31570 * sunrpc/rpc_cmsg.c: Likewise.
31571 * sunrpc/rpc_common.c: Likewise.
31572 * sunrpc/rpc_dtable.c: Likewise.
31573 * sunrpc/rpc_prot.c: Likewise.
31574 * sunrpc/rpc_thread.c: Likewise.
31575 * sunrpc/rtime.c: Likewise.
31576 * sunrpc/svc.c: Likewise.
31577 * sunrpc/svc_auth.c: Likewise.
31578 * sunrpc/svc_raw.c: Likewise.
31579 * sunrpc/svc_run.c: Likewise.
31580 * sunrpc/svc_tcp.c: Likewise.
31581 * sunrpc/svc_udp.c: Likewise.
31582 * sunrpc/svc_unix.c: Likewise.
31583 * sunrpc/svcauth_des.c: Likewise.
31584 * sunrpc/xcrypt.c: Likewise.
31585 * sunrpc/xdr.c: Likewise.
31586 * sunrpc/xdr_array.c: Likewise.
31587 * sunrpc/xdr_float.c: Likewise.
31588 * sunrpc/xdr_intXX_t.c: Likewise.
31589 * sunrpc/xdr_mem.c: Likewise.
31590 * sunrpc/xdr_rec.c: Likewise.
31591 * sunrpc/xdr_ref.c: Likewise.
31592 * sunrpc/xdr_sizeof.c: Likewise.
31593 * sunrpc/xdr_stdio.c: Likewise.
31594
b5c086a2
RM
315952012-05-10 Roland McGrath <roland@hack.frob.com>
31596
31597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31598 change. Update copyright years.
31599
6d74dd09
JM
316002012-05-10 Joseph Myers <joseph@codesourcery.com>
31601
31602 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31603
28e72501
MK
316042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31605 Joseph Myers <joseph@codesourcery.com>
31606 Paul Pluzhnikov <ppluzhnikov@google.com>
31607
31608 [BZ #14012]
31609 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31610 requiring rpcgen.
31611 [cross-compiling] (extra-libs): Likewise.
31612 [cross-compiling] (extra-libs-others): Likewise.
31613 [cross-compiling] (librpcsvc-routines): Likewise.
31614 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31615 [cross-compiling] (omit-deps): Likewise.
31616 (sunrpc-CPPFLAGS): New variable.
31617 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31618 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31619 (cross-rpcgen-objs): New variable.
31620 (extra-objs): Append $(cross-rpcgen-objs).
31621 ($(cross-rpcgen-objs)): New rule.
31622 ($(objpfx)cross-rpcgen): Likewise.
31623 (rpcgen-cmd): Define to use $(built-program-file). Expand
31624 comment.
31625 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31626 ($(objpfx)x%.stmp): Likewise.
31627 * sunrpc/proto.h [IS_IN_build] (_): Define.
31628 [IS_IN_build] (_libc_intl_domainname): Likewise.
31629
c8c59454
L
316302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31631
31632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31633 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31634 and R_X86_64_TPOFF64.
31635
6f27cd16
JM
316362012-05-10 Joseph Myers <joseph@codesourcery.com>
31637
31638 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31639 sysdeps/unix/sysv/syscalls.list.
31640 (stime): Likewise.
31641 (utime): Likewise.
31642 * sysdeps/unix/sysv/syscalls.list: Remove file.
31643
02467e1c
PE
316442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31645
31646 [BZ #3440]
31647 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31648 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31649 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31650 (__LC_IDENTIFICATION): Make these macros useful in #if
31651 expressions, as required by C99.
31652
da392631
AS
316532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31654
31655 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31656 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31657 after this.
31658
8115f29b
L
316592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31660
31661 * stdlib/longlong.h: Updated from GCC.
31662
bdd74070
AJ
316632012-05-09 Andreas Jaeger <aj@suse.de>
31664
edfe0dbe
AJ
31665 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31666 default is first entry.
31667 (run_mode): Set type.
31668 (main): Remove informal message about syslog.
31669 (options): Fix typo.
31670
bcfe3a54
ST
31671 [BZ #14053]
31672 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31673 to asm.
bcfe3a54
ST
31674 (lrint): Likewise.
31675 (llrintf): Likewise.
31676 (llrint): Likewise.
31677 (rint): Likewise.
31678 (rintf): Likewise.
31679 (nearbyint): Likewise.
31680 (nearbyintf): Likewise.
bdd74070 31681
91d8d69e
AJ
316822012-05-09 Andreas Jaeger <aj@suse.de>
31683 Pedro Alves <palves@redhat.com>
31684
31685 * nscd/nscd.c (run_mode): Use enum.
31686 (main): Cleanup coding style issue.
31687
bb90b80b
AJ
316882012-05-09 Alexandre Oliva <aoliva@redhat.com>
31689 Andreas Jaeger <aj@suse.de>
31690
bcfe3a54
ST
31691 * nscd/nscd.c (go_background): Replaced with...
31692 (run_mode): ... this.
bb90b80b 31693 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31694 (options): Add -F --foreground.
31695 (main): Implement it.
31696 (parse_opt): Parse it.
bb90b80b 31697
1a4b75a1
AJ
316982012-05-09 Andreas Jaeger <aj@suse.de>
31699
31700 [BZ #14083]
31701 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31702 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31703 -Wconversion warning.
31704 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31705 Likewise.
31706
b1cc2472
JM
317072012-05-09 Joseph Myers <joseph@codesourcery.com>
31708
31709 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31710 == 0.
31711 (LC_ALL): Use macro-int-constant.
31712 (LC_COLLATE): Likewise.
31713 (LC_CTYPE): Likewise.
31714 (LC_MESSAGES): Likewise.
31715 (LC_MONETARY): Likewise.
31716 (LC_NUMERIC): Likewise.
31717 (LC_TIME): Likewise.
31718 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31719 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31721 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31722 Specify type.
31723 [C99-based standards] (float_t): Expect type.
31724 [C99-based standards] (double_t): Expect type.
31725 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31726 type.
31727 [C99-based standards] (HUGE_VALL): Likewise.
31728 [C99-based standards] (INFINITY): Likewise.
31729 [C99-based standards] (NAN): Likewise.
31730 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31731 [C99-based standards] (FP_NAN): Likewise.
31732 [C99-based standards] (FP_NORMAL): Likewise.
31733 [C99-based standards] (FP_SUBNORMAL): Likewise.
31734 [C99-based standards] (FP_ZERO): Likewise.
31735 [C99-based standards] (FP_FAST_FMA): Use
31736 optional-macro-int-constant. Specify type. Require == 1.
31737 [C99-based standards] (FP_FAST_FMAF): Likewise.
31738 [C99-based standards] (FP_FAST_FMAL): Likewise.
31739 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31740 [C99-based standards] (FP_ILOGBNAN): Likewise.
31741 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31742 Specify type.
31743 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31744 [C99-based standards] (math_errhandling): Specify type.
31745 [ISO99 || ISO11] (signgam): Do not allow.
31746 [non-C99-based standards] (copysignf): Do not allow.
31747 [non-C99-based standards] (exp2f): Likewise.
31748 [non-C99-based standards] (log2f): Likewise.
31749 [non-C99-based standards] (modff): Allow.
31750 [non-C99-based standards] (erff): Do not allow.
31751 [non-C99-based standards] (erfcf): Likewise.
31752 [non-C99-based standards] (gammaf): Likewise.
31753 [non-C99-based standards] (hypotf): Likewise.
31754 [non-C99-based standards] (j0f): Likewise.
31755 [non-C99-based standards] (j1f): Likewise.
31756 [non-C99-based standards] (jnf): Likewise.
31757 [non-C99-based standards] (lgammaf): Likewise.
31758 [non-C99-based standards] (tgammaf): Likewise.
31759 [non-C99-based standards] (y0f): Likewise.
31760 [non-C99-based standards] (y1f): Likewise.
31761 [non-C99-based standards] (ynf): Likewise.
31762 [non-C99-based standards] (isnanf): Likewise.
31763 [non-C99-based standards] (acoshf): Likewise.
31764 [non-C99-based standards] (asinhf): Likewise.
31765 [non-C99-based standards] (atanhf): Likewise.
31766 [non-C99-based standards] (cbrtf): Likewise.
31767 [non-C99-based standards] (expm1f): Likewise.
31768 [non-C99-based standards] (ilogbf): Likewise.
31769 [non-C99-based standards] (log1pf): Likewise.
31770 [non-C99-based standards] (logbf): Likewise.
31771 [non-C99-based standards] (nextafterf): Likewise.
31772 [non-C99-based standards] (remainderf): Likewise.
31773 [non-C99-based standards] (rintf): Likewise.
31774 [non-C99-based standards] (scalbf): Likewise.
31775 [non-C99-based standards] (copysignl): Likewise.
31776 [non-C99-based standards] (exp2l): Likewise.
31777 [non-C99-based standards] (log2l): Likewise.
31778 [non-C99-based standards] (modfl): Allow.
31779 [non-C99-based standards] (erfl): Do not allow.
31780 [non-C99-based standards] (erfcl): Likewise.
31781 [non-C99-based standards] (gammal): Likewise.
31782 [non-C99-based standards] (hypotl): Likewise.
31783 [non-C99-based standards] (j0l): Likewise.
31784 [non-C99-based standards] (j1l): Likewise.
31785 [non-C99-based standards] (jnl): Likewise.
31786 [non-C99-based standards] (lgammal): Likewise.
31787 [non-C99-based standards] (tgammal): Likewise.
31788 [non-C99-based standards] (y0l): Likewise.
31789 [non-C99-based standards] (y1l): Likewise.
31790 [non-C99-based standards] (ynl): Likewise.
31791 [non-C99-based standards] (isnanl): Likewise.
31792 [non-C99-based standards] (acoshl): Likewise.
31793 [non-C99-based standards] (asinhl): Likewise.
31794 [non-C99-based standards] (atanhl): Likewise.
31795 [non-C99-based standards] (cbrtl): Likewise.
31796 [non-C99-based standards] (expm1l): Likewise.
31797 [non-C99-based standards] (ilogbl): Likewise.
31798 [non-C99-based standards] (log1pl): Likewise.
31799 [non-C99-based standards] (logbl): Likewise.
31800 [non-C99-based standards] (nextafterl): Likewise.
31801 [non-C99-based standards] (remainderl): Likewise.
31802 [non-C99-based standards] (rintl): Likewise.
31803 [non-C99-based standards] (scalbl): Likewise.
31804 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31805 [non-C99-based standards] (FP_*): Do not allow.
31806 [C99-based standards] (FP_*): Change to
31807 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31808 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31809 allow.
31810 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31811 (SIG_ERR): Likewise.
31812 [X/Open-based standards] (SIG_HOLD): Likewise.
31813 (SIG_IGN): Likewise.
31814 (SIGABRT): Use macro-int-constant. Specify type. Require
31815 positive value.
31816 (SIGFPE): Likewise.
31817 (SIGILL): Likewise.
31818 (SIGINT): Likewise.
31819 (SIGSEGV): Likewise.
31820 (SIGTER): Likewise.
31821 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31822 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31823 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31824 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31825 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31826 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31827 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31828 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31829 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31830 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31831 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31832 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31833 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31834 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31835 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31836 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31837 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31838 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31839 [X/Open-based standards] (SIGTRAP): Likewise.
31840 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31841 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31842 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31843 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31844 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31845 allow.
31846
b9f1922d
IW
318472012-05-08 Ian Wienand <ianw@vmware.com>
31848
31849 [BZ #14080]
31850 * time/tzset.c (__tzset_parse_tz): Update default rules for
31851 daylight time changes in the Energy Policy Act of 2005.
31852
1db86e88
AJ
318532012-05-09 Andreas Jaeger <aj@suse.de>
31854
31855 [BZ #13983]
31856 * elf/ldconfig.c (parse_conf): Change string to make clear that
31857 ldconfig only issued a warning if ld.so.conf does not exist.
31858
dee4a4e3
DM
318592012-05-08 David S. Miller <davem@davemloft.net>
31860
ee0db190
DM
31861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31862 movxtod instead of popping the value on the stack.
31863
dee4a4e3
DM
31864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31865
6a43ec98
CD
318662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31867
31868 * config.h.in: Add HAVE_ARM_PCS_VFP.
31869
05c2c961
RMG
318702012-05-08 Roland Mc Grath <roland@hack.frob.com>
31871
bcfe3a54
ST
31872 [BZ #13979]
31873 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31874 checking but the checks are disabled for any reason.
05c2c961 31875
4b30f61a
L
318762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31877
31878 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31879 and ELF64_R_TYPE with ELFW(R_TYPE).
31880
eee2bc67
JM
318812012-05-08 Joseph Myers <joseph@codesourcery.com>
31882
7ea5391a
JM
31883 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31884 (ulimit): Likewise.
31885
eee2bc67
JM
31886 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31887 (settimeofday): Likewise.
31888
abb66a67
MF
318892012-05-08 Mike Frysinger <vapier@gentoo.org>
31890
31891 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31892 a struct th_u2 inside the union, and move tu_block/tu_code into
31893 a new th_u3 union of tu_block/tu_code inside of that. Move
31894 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31895 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31896 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31897 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31898 (th_stuff): Change to th_u1.tu_stuff.
31899 (th_data): Define.
31900 (th_msg): Change to th_u1.th_u2.tu_data.
31901
7f18b530
DM
319022012-05-07 David S. Miller <davem@davemloft.net>
31903
05760585
DM
31904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31905
7f18b530
DM
31906 [BZ #14074]
31907 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31908 (SETUP_PIC_REG): Use it.
31909 (SETUP_PIC_REG_LEAF): Use it.
31910
495fd99f
JM
319112012-05-07 Joseph Myers <joseph@codesourcery.com>
31912
31913 [BZ #13885]
31914 [BZ #13923]
31915 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31916 USE_AS_EXPM1L.
31917 (EXPL_FINITE): Likewise.
31918 (FLDLOG): Likewise.
31919 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31920 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31921 e_expl.S.
31922 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31923 USE_AS_EXPM1L.
31924 (EXPL_FINITE): Likewise.
31925 (FLDLOG): Likewise.
31926 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31927 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31928 e_expl.S.
31929 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31930 test of -max_value argument for long double.
31931 * sysdeps/i386/fpu/libm-test-ulps: Update.
31932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31933
6693d694
DM
319342012-05-06 David S. Miller <davem@davemloft.net>
31935
31936 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31937 quad soft-float symbols whose references which are compiler
31938 generated.
31939 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31940
6c23e11c
JM
319412012-05-06 Joseph Myers <joseph@codesourcery.com>
31942
d8b82cad
JM
31943 [BZ #13884]
31944 [BZ #13914]
31945 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31946 USE_AS_EXP10L.
31947 (EXPL_FINITE): Likewise.
31948 (FLDLOG): Likewise.
31949 (c0): Likewise.
31950 (c1): Likewise.
31951 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31952 Adjust comments for base varying.
31953 (__expl_finite): Change alias to EXPL_FINITE.
31954 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31955 e_expl.S.
31956 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31957 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31958 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31959 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31960 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31961 USE_AS_EXP10L.
31962 (EXPL_FINITE): Likewise.
31963 (FLDLOG): Likewise.
31964 (c0): Likewise.
31965 (c1): Likewise.
31966 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31967 Adjust comments for base varying.
31968 (__expl_finite): Change alias to EXPL_FINITE.
31969 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31970 tests for bugs.
31971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31972
6c23e11c
JM
31973 [BZ #14064]
31974 * math/libm-test.inc (check_float_internal): Correct ulp
31975 calculation for subnormal expected results.
31976
29ba805c
AJ
319772012-05-06 Andreas Jaeger <aj@suse.de>
31978
31979 * Makeconfig (+math-flags): New, set to -frounding-math.
31980 (+cflags): Add +math-flags so that all of glibc gets compiled with
31981 it.
31982
31983 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31984
7b17aeda
JM
319852012-05-05 Joseph Myers <joseph@codesourcery.com>
31986
5779f134
JM
31987 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31988 Disable one test.
31989
41498f4d
JM
31990 [BZ #13787]
31991 [BZ #13922]
31992 [BZ #14036]
31993 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31994 (__ieee754_expl): Allow for and saturate large arguments.
31995 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31996 (u_threshold): Likewise.
31997 (__exp): Call __ieee754_exp before checking for overflow and
31998 underflow.
31999 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32000 (u_threshold): Likewise.
32001 (__expf): Call __ieee754_expf before checking for overflow and
32002 underflow.
32003 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32004 (u_threshold): Likewise.
32005 (__expl): Call __ieee754_expl before checking for overflow and
32006 underflow.
32007 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32008 (__ieee754_expl): Allow for and saturate large arguments.
32009 * math/libm-test.inc (exp_test): Add another test. Do not allow
32010 missing overflow exception on overflow.
32011 (expm1_test): Do not allow missing overflow exception on overflow.
32012
6698b8bf
JM
32013 * sysdeps/i386/fpu/e_expl.c: Move to ...
32014 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32015 rather than using inline asm.
32016 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32017 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32018 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32019
7b17aeda
JM
32020 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32021 (nice): Likewise.
32022 (poll): Likewise.
32023 (signal): Likewise.
32024 (time): Likewise.
32025 (times): Likewise.
32026
f7c85819
JM
320272012-05-04 Joseph Myers <joseph@codesourcery.com>
32028
32029 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32030 sysdeps/unix/common/syscalls.list.
32031 (fchmod): Likewise.
32032 (fchown): Likewise.
32033 (ftruncate): Likewise.
32034 (getrusage): Likewise.
32035 (gettimeofday): Likewise.
32036 (setpgid): Likewise.
32037 (setregid): Likewise.
32038 (setreuid): Likewise.
32039 (sigaction): Likewise.
32040 (truncate): Likewise.
32041 (vhangup): Likewise.
32042 * sysdeps/unix/common/syscalls.list: Remove file.
32043 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32044 * sysdeps/unix/sysv/linux/Implies: Likewise.
32045
336270d0
L
320462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32047
32048 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32050 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32051 Moved to ...
32052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32053 Here.
32054 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32055 to ...
32056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32057 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32058 to ...
32059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32060 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32061 to ...
32062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32063 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32064 to ...
32065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32066 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32067 to ...
32068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32069 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32070 to ...
32071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32072 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32073 to ...
32074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32075 Here.
32076 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32077 to ...
32078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32079 Here.
32080 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32081 to ...
32082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32083 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32084 Moved to ...
32085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32086 Here.
32087 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32088 to ...
32089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32090
d128e450
JM
320912012-05-04 Joseph Myers <joseph@codesourcery.com>
32092
fa8ee516
JM
32093 * sysdeps/unix/common/bits/dirent.h: Remove file.
32094 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32095
d128e450
JM
32096 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32097 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32098 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32099 * sysdeps/unix/bsd/isatty.c: Likewise.
32100 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32101 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32102 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32103
ff8faaf0 321042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32105
62881be4 32106 [BZ #13563]
31dc8730
AZ
32107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32108 long double comparison inaccuracies.
32109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32111
6fef930c
AS
321122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32113
32114 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32116
8f203e6c
JM
321172012-05-04 Joseph Myers <joseph@codesourcery.com>
32118
32119 [BZ #14049]
32120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32121 nonzero digits before rounding a hex value.
32122 * stdlib/tst-strtod.c (tests): Add another test.
32123
5197d9c2
AK
321242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32125
32126 * sysdeps/s390/fpu/libm-test-ulps: Update.
32127
f0c1dedf
AJ
321282012-05-03 Andreas Jaeger <aj@suse.de>
32129
32130 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32131 does not get optimized out.
32132 (malloc_opt_barrier): New.
32133
a65ef2ae 321342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32135 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32136
2b942cb7 32137 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32138 intermediate file deletion.
2b942cb7 32139 (generated): Add .symlist files.
a65ef2ae 32140
54b71e02
JM
321412012-05-03 Joseph Myers <joseph@codesourcery.com>
32142
32143 [BZ #13775]
32144 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32145 Redirect under this condition.
32146 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32147 [__USE_GNU] (__dprintf_chk): Not under this condition.
32148 [__USE_GNU] (__vdprintf_chk): Likewise.
32149 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32150 under this condition.
32151 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32152 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32153 [__USE_XOPEN2K8] (vdprintf): Likewise.
32154 [__USE_GNU] (__dprintf_chk): Not under this condition.
32155 [__USE_GNU] (__vdprintf_chk): Likewise.
32156 [__USE_GNU] (dprintf): Likewise.
32157 [__USE_GNU] (vdprintf): Likewise.
32158
d3dfcc41
RM
321592012-05-03 Roland McGrath <roland@hack.frob.com>
32160
32161 * elf/Makefile (common-generated): Set this instead of generated for
32162 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32163 $(all-built-dso)-derived lists.
32164
7ac30cc5
AJ
321652012-05-03 Andreas Jaeger <aj@suse.de>
32166
0c51e550
AJ
32167 * sysdeps/i386/fpu/libm-test-ulps: Update.
32168
7ac30cc5
AJ
32169 * FAQ: Removed.
32170 * FAQ.in: Likewise.
32171 * scripts/gen-FAQ.pl: Likewise.
32172 * manual/install.texi (Installation): Point to online location of
32173 FAQ.
32174 * Makefile (files-for-dist): Remove FAQ.
32175 (FAQ): Remove.
32176
d4c2917f
AM
321772012-05-02 Allan McRae <allan@archlinux.org>
32178
32179 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32180 (LDFLAGS-reldepmod5.so): Likewise.
32181 (LDFLAGS-reldep6mod1.so): Likewise.
32182 (LDFLAGS-reldep6mod4.so): Likewise.
32183 (LDFLAGS-reldep8mod3.so): Likewise.
32184 (LDFLAGS-unload4mod1.so): Likewise.
32185 (LDFLAGS-unload4mod2.so): Likewise.
32186 (LDFLAGS-tst-initorder): Likewise.
32187 (LDFLAGS-tst-initordera2.so): Likewise.
32188 (LDFLAGS-tst-initordera3.so): Likewise.
32189 (LDFLAGS-tst-initordera4.so): Likewise.
32190 (LDFLAGS-tst-initorderb2.so): Likewise.
32191 (LDFLAGS-noload): Likewise.
32192 (LDFLAGS-next): Likewise.
32193 (LDFLAGS-order2mod1.so): Likewise.
32194 (LDFLAGS-order2mod2.so): Likewise.
32195 (LDFLAGS-tst-initorder2): Likewise.
32196 (LDFLAGS-tst-initorder2a.so): Likewise.
32197 (LDFLAGS-tst-initorder2b.so): Likewise.
32198 (LDFLAGS-tst-initorder2c.so): Likewise.
32199 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32200
d77f993f
DM
322012012-05-02 David S. Miller <davem@davemloft.net>
32202
32203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32204
171a70b4
PP
322052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32206
32207 [BZ #14055]
32208 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32209
0be196ad
AJ
322102012-05-02 Andreas Jaeger <aj@suse.de>
32211
32212 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32213 since we manipulate rounding mode.
32214 (CPPFLAGS-test-idouble.c): Likewise.
32215 (CPPFLAGS-test-ifloat.c): Likewise.
32216 (CFLAGS-test-ldouble.c): Likewise.
32217 (CFLAGS-test-double.c): Likewise.
32218 (CFLAGS-test-float.c): Likewise.
32219 (CFLAGS-test-misc.c): Likewise.
32220 (CFLAGS-test-test-fenv.c): Likewise.
32221
4f9d04aa
AZ
322222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32223
2b942cb7
RM
32224 [BZ #2550]
32225 [BZ #2570]
32226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32227 comparisons to determine direction to adjust input.
4f9d04aa 32228
82a79e7d
RM
322292012-05-01 Roland McGrath <roland@hack.frob.com>
32230
f5a01ca9
RM
32231 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32232 output to the target.
32233
90fe4186
RM
32234 * scripts/localplt.awk: New file.
32235 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32236 (check-localplt-CFLAGS): Variable removed.
32237 ($(all-built-dso:=.jmprel)): New static pattern rule.
32238 (generated): Add those targets.
32239 (localplt-built-dso): New variable.
32240 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32241
32242 * elf/check-localplt.c: File removed.
32243
82397ed6
RM
32244 * scripts/check-execstack.awk: New file.
32245 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32246 (check-execstack-CFLAGS): Variable removed.
32247 ($(objpfx)check-execstack.h): Target removed.
32248 ($(objpfx)execstack-default): New target.
32249 (generated): Add that instead of check-execstack.h.
32250 ($(all-built-dso:=.phdr)): New static pattern rule.
32251 (generated): Add those targets.
32252 * elf/check-execstack.c: File removed.
32253
82a79e7d
RM
32254 * scripts/check-textrel.awk: New file.
32255 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32256 (check-textrel-CFLAGS): Variable removed.
32257 (all-built-dso): Use := to define.o
32258 ($(all-built-dso:=.dyn)): New static pattern rule.
32259 (generated): Add those targets.
32260 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32261 * config.make.in (READELF): New substituted variable.
32262 * elf/check-textrel.c: File removed.
32263
62fde54f 322642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32265
615605c9
JM
32266 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32267 allow.
32268 * conform/data/ctype.h-data [C99-based standards] (isblank):
32269 Expect function.
32270 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32271 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32272 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32273 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32274 Specify type. Require positive value.
32275 (EILSEQ): Likewise.
32276 (ERANGE): Likewise.
32277 [ISO || POSIX] (EILSEQ): Do not expect.
32278 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32279 Specify type. Require positive value.
32280 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32281 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32282 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32283 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32284 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32285 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32286 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32287 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32288 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32289 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32290 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32291 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32292 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32293 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32294 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32295 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32296 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32297 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32298 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32299 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32300 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32301 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32302 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32303 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32304 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32305 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32306 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32307 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32308 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32309 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32310 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32311 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32312 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32313 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32314 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32315 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32316 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32317 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32318 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32319 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32320 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32321 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32322 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32323 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32324 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32325 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32326 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32327 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32328 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32331 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32332 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32333 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32334 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32335 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32336 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32337 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32338 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32339 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32340 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32341 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32342 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32343 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32344 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32345 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32346 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32347 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32348 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32349 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32350 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32351 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32352 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32353 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32354 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32355 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32356 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32357 Require >= 2.
32358 (FLT_ROUNDS): Expect as macro, not constant.
32359 (FLT_MANT_DIG): Use macro-int-constant.
32360 (DBL_MANT_DIG): Likewise.
32361 (LDBL_MANT_DIG): Likewise.
32362 (FLT_DIG): Likewise.
32363 (DBL_DIG): Likewise.
32364 (LDBL_DIG): Likewise.
32365 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32366 (DBL_MIN_EXP): Likewise.
32367 (LDBL_MIN_EXP): Likewise.
32368 (FLT_MAX_EXP): Use macro-int-constant.
32369 (DBL_MAX_EXP): Likewise.
32370 (LDBL_MAX_EXP): Likewise.
32371 (FLT_MAX_10_EXP): Likewise.
32372 (DBL_MAX_10_EXP): Likewise.
32373 (LDBL_MAX_10_EXP): Likewise.
32374 (FLT_MAX): Use macro-constant.
32375 (DBL_MAX): Likewise.
32376 (LDBL_MAX): Likewise.
32377 (FLT_EPSILON): Use macro-constant. Give upper bound.
32378 (DBL_EPSILON): Likewise.
32379 (LDBL_EPSILON): Likewise.
32380 (FLT_MIN): Likewise.
32381 (DBL_MIN): Likewise.
32382 (LDBL_MIN): Likewise.
32383 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32384 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32385 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32386 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32387 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32388 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32389 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32390 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32391 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32392 [ISO11] (FLT_TRUE_MIN): Likewise.
32393 [ISO11] (LDBL_TRUE_MIN): Likewise.
32394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32395 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32396 (SCHAR_MIN): Use macro-int-constant. Specify type.
32397 (SCHAR_MAX): Likewise.
32398 (UCHAR_MAX): Likewise.
32399 (CHAR_MIN): Likewise.
32400 (CHAR_MAX): Likewise.
32401 (MB_LEN_MAX): Use macro-int-constant.
32402 (SHRT_MIN): Use macro-int-constant. Specify type.
32403 (SHRT_MAX): Likewise.
32404 (USHRT_MAX): Likewise.
32405 (INT_MAX): Likewise.
32406 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32407 bound negative.
32408 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32409 bound with "U".
32410 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32411 bound with "L".
32412 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32413 bound negative. Suffix upper bound with "L".
32414 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32415 bound with "UL".
32416 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32417 Specify type.
32418 [C99-based standards] (LLONG_MAX): Likewise.
32419 [C99-based standards] (ULLONG_MAX): Likewise.
32420 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32421 == 0.
32422 [ISO11] (max_align_t): Require type.
32423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32424
c9140a62
JM
32425 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32426 from $CFLAGS, without defining away __attribute__ calls.
32427 (checknamespace): Use $CFLAGS_namespace.
32428
9af0bf29
JM
32429 * conform/conformtest.pl (@keywords): Only include C99 keywords
32430 for standards based on C99 or C11.
32431
343222a2
JM
32432 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32433 Disable tests.
32434 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32435 UNIX98]: Likewise.
32436
661f8cf0
JM
32437 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32438 usability of symbols in #if.
32439
ee74b9cb
JM
32440 * conform/conformtest.pl: If macro or constant types start
32441 "promoted:", expect the symbol to be of the following type
32442 promoted by the integer promotions.
62fde54f 32443
aafc49b3
JM
32444 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32445 in one place. Also handle "macro-constant".
32446
fefdf574
JM
32447 * conform/conformtest.pl: Only accept expected macro values with
32448 "==". Parse all "macro" lines in one place.
32449 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32450
f2d922fe
JM
32451 * conform/conformtest.pl: Handle braced types on "constant" lines
32452 instead of handling "typed-constant".
32453 * conform/data/signal.h-data: Use "constant" instead of
32454 "typed-constant".
32455
d22956c9
JM
32456 * conform/conformtest.pl: Handle "optional-" at start of lines in
32457 one place rather than duplicating several cases. Handle each
32458 format of "macro" line with initial "optional-".
32459
028e2e38
JM
32460 * conform/conformtest.pl: Only accept expected constant or
32461 optional-constant values with "==". Parse all "constant" lines in
32462 one place. Parse all "optional-constant" lines in one place.
32463 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32464 * conform/data/fmtmsg.h-data: Likewise.
32465 * conform/data/netinet/in.h-data: Likewise.
32466 * conform/data/tar.h-data: Likewise.
32467 * conform/data/limits.h-data: Use "==" form on "constant" and
32468 "optional-constant" lines.
32469
1b8f2850
JM
32470 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32471 Use -std=c99 for XOPEN2K.
32472 (@knownproblems): Remove.
32473 (newtoken): Don't check %isknown.
32474
a05a144b
JM
32475 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32476 Do not expect macro.
32477 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32478 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32479 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32480 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32481 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32482 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32483 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32484 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32485 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32486 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32487 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32488 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32489 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32490 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32491 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32492 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32493 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32494 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32495 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32496 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32497 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32498 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32499 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32500 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32501 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32502 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32503 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32504 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32505 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32506 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32507 [XPG3] (acosh): Likewise.
32508 [XPG3] (asinh): Likewise.
32509 [XPG3] (atanh): Likewise.
32510 [XPG3] (cbrt): Likewise.
32511 [XPG3] (expm1): Likewise.
32512 [XPG3] (ilogb): Likewise.
32513 [XPG3] (log1p): Likewise.
32514 [XPG3] (logb): Likewise.
32515 [XPG3] (nextafter): Likewise.
32516 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32517 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32518 [XPG3] (remainder): Likewise.
32519 [XPG3] (rint): Likewise.
32520 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32521 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32522 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32523 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32524 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32525 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32526 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32527 [UNIX98 || XOPEN2K] (scalb): Expect.
32528 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32529 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32530 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32531 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32532 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32533 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32534 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32535 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32536 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32537 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32538 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32539 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32540 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32541 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32542 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32543 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32544 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32545 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32546 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32547 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32548 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32549 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32550 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32551 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32552 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32553 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32554 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32555 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32556 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32557 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32558 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32559 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32560 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32561 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32562 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32563 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32564 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32565 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32566 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32567 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32568 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32569 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32570 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32571 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32572 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32573 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32574 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32575 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32576 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32577 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32578 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32579 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32580 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32581 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32582 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32583 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32584 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32585 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32586 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32587 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32588 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32589 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32590 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32591 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32592 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32593 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32594 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32595 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32596 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32597 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32598 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32599 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32600 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32601 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32602 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32603 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32604 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32605 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32606 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32607 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32608 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32609 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32610 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32611 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32612 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32613 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32614 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32615 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32616 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32617 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32618 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32619 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32620 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32621 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32622 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32623 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32624 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32625 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32626 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32627 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32628 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32629 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32630 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32631 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32632 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32633 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32634 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32635 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32636 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32637 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32638 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32639 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32640 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32641 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32642 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32643 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32644 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32645 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32646 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32647 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32648 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32649 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32650 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32651 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32652 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32653 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32654 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32655 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32656 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32657 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32658 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32659 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32660 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32661 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32662 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32663 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32664 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32665
73c5ebe3
JM
32666 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32667 _XOPEN_SOURCE_EXTENDED for XPG4.
32668
39c33b6c
JM
32669 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32670
62fde54f
JM
32671 * Makeconfig (localtime): Remove variable.
32672 (inst_localtime-file): Likewise.
32673
0741d64c
AS
326742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32675
32676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32677 Update.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32679 Update.
32680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32681 Update.
32682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32683 Update.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32685 Update.
32686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32687 Update.
32688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32689 Update.
32690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32691 Update.
32692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32693 Update.
32694
7cb029ee
JM
326952012-05-01 Joseph Myers <joseph@codesourcery.com>
32696
32697 [BZ #2550]
32698 [BZ #2570]
32699 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32700 comparisons to determine direction to adjust input.
32701 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32702 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32703 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32704 Likewise.
32705 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32706 Likewise.
32707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32708 Likewise.
32709 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32710 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32711 Likewise.
32712 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32713 Likewise.
32714 * math/libm-test.inc (nexttoward_test): Add more tests.
32715
412bd966
AS
327162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32717
32718 [BZ #14040]
32719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32720 in version GLIBC_2.1, not GLIBC_2.0.
32721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32722 Likewise.
32723
9568c0c2
JM
327242012-04-30 Joseph Myers <joseph@codesourcery.com>
32725
adfbc8ac
JM
32726 [BZ #13942]
32727 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32728 (1 - x) * (1 + x).
32729 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32730 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32731 * math/libm-test.inc (acos_test): Add more tests.
32732 (asin_test): Likewise.
32733 * sysdeps/i386/fpu/libm-test-ulps: Update.
32734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32735
5ba3cc69
JM
32736 [BZ #14034]
32737 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32738 of square root.
32739 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32740 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32741 * math/libm-test.inc (acos_test_tonearest): New function.
32742 (acos_test_towardzero): Likewise.
32743 (acos_test_downward): Likewise.
32744 (acos_test_upward): Likewise.
32745 (asin_test_tonearest): Likewise.
32746 (asin_test_towardzero): Likewise.
32747 (asin_test_downward): Likewise.
32748 (asin_test_upward): Likewise.
32749 (main): Call the new functions.
32750 * sysdeps/i386/fpu/libm-test-ulps: Update.
32751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32752
9568c0c2
JM
32753 [BZ #13884]
32754 [BZ #13924]
32755 * math/e_exp10.c: Include <float.h>.
32756 (__ieee754_exp10): Handle underflow here rather than multiplying
32757 large negative argument by M_LN10.
32758 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32759 of __ieee754_expf.
32760 * math/e_exp10l.c: Include <float.h>.
32761 (__ieee754_exp10l): Handle underflow here rather than multiplying
32762 large negative argument by M_LN10l.
32763 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32764 spurious overflow exception on underflow.
32765
5ac3ea17
MP
327662012-04-29 Marek Polacek <polacek@redhat.com>
32767
32768 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32769 (__fortify_function): New macro.
32770 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32771 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32772 __extern_always_inline.
32773 * libio/bits/stdio2.h: Likewise.
32774 * libio/bits/stdio.h: Likewise.
32775 * string/string.h: Likewise.
32776 * string/bits/string3.h: Likewise.
32777 * include/stdio.h: Likewise.
32778 * stdlib/bits/stdlib.h: Likewise.
32779 * stdlib/stdlib.h: Likewise.
32780 * rt/bits/mqueue2.h: Likewise.
32781 * rt/mqueue.h: Likewise.
32782 * posix/bits/unistd.h: Likewise.
32783 * posix/unistd.h: Likewise.
32784 * io/bits/poll2.h: Likewise.
32785 * io/bits/fcntl2.h: Likewise.
32786 * io/fcntl.h: Likewise.
32787 * io/sys/poll.h: Likewise.
32788 * misc/bits/syslog.h: Likewise.
32789 * misc/bits/syslog-ldbl.h: Likewise.
32790 * misc/sys/syslog.h: Likewise.
32791 * socket/bits/socket2.h: Likewise.
32792 * socket/sys/socket.h: Likewise.
32793 * debug/tst-chk1.c: Likewise.
32794 * wcsmbs/bits/wchar2.h: Likewise.
32795 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32796 * wcsmbs/wchar.h: Likewise.
32797
ecf0ebfb
AJ
327982012-04-29 Andreas Jaeger <aj@suse.de>
32799
32800 * Makerules (tests): Remove enable-check-abi protection.
32801 (check-abi-warn): Remove.
32802 (check-abi-%): Remove check-abi-warn usage.
32803
32804 * configure.in: Remove check-abi configure option.
32805 * configure: Regenerated.
32806 * config.make.in (enable-check-abi): Remove.
32807
6d5c57fa
AS
328082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32809
24c5d07e 32810 [BZ #14033]
ded5180a
AS
32811 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32812 double functions to double *_finite functions.
32813
7e0d315d
AS
32814 [BZ #13941]
32815 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32816 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32817 LDBL_MIN_EXP.
32818 * stdio-common/Makefile (tests): Add tst-sprintf3.
32819 * stdio-common/tst-sprintf3.c: New file.
32820
6d5c57fa
AS
32821 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32822 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32823
0749ff8b
JM
328242012-04-28 Joseph Myers <joseph@codesourcery.com>
32825
32826 * conform/conformtest.pl: Remove duplicate typed-constant
32827 handling.
32828
8dbd5d7b
DM
328292012-04-28 David S. Miller <davem@davemloft.net>
32830
32831 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32832 (check-abi-%): Remove AWK script prerequisite and explicit
32833 abilist directory.
32834 (check-abi): Rewrite to just diff the symlist with the abilist.
32835 (config-tls, config-abi-config): Delete, no longer used.
32836 (update-abi-%): Remove AWK script and explicit abilist directory.
32837 (update-abi): Rewrite to simply compare and conditionally copy the
32838 symlist and the sysdep abilist file. Remove update-abi-config
32839 checks.
32840 * abilist/ld.abilist: Remove.
32841 * abilist/libBrokenLocale.abilist: Remove.
32842 * abilist/libanl.abilist: Remove.
32843 * abilist/libcrypt.abilist: Remove.
32844 * abilist/libdl.abilist: Remove.
32845 * abilist/librt.abilist: Remove.
32846 * abilist/libthread_db.abilist: Remove.
32847 * abilist/libutil.abilist: Remove.
32848 * scripts/extract-abilist.awk: Remove.
32849 * scripts/merge-abilist.awk: Remove.
32850 * sysdeps/generic/libcidn.abilist: New file.
32851 * sysdeps/generic/libnss_compat.abilist: New file.
32852 * sysdeps/generic/libnss_db.abilist: New file.
32853 * sysdeps/generic/libnss_dns.abilist: New file.
32854 * sysdeps/generic/libnss_files.abilist: New file.
32855 * sysdeps/generic/libnss_hesiod.abilist: New file.
32856 * sysdeps/generic/libnss_nis.abilist: New file.
32857 * sysdeps/generic/libnss_nisplus.abilist: New file.
32858 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32859 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32860 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32861 file.
32862 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32863 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32864 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32865 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32866 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32867 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32868 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32869 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32870 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32871 file.
32872 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32873 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32874 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32875 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32876 file.
32877 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32878 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32879 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32880 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32881 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32882 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32883 file.
32884 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32885 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32886 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32887 file.
32888 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32890 New file.
32891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32892 New file.
32893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32894 New file.
32895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32896 New file.
32897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32898 New file.
32899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32900 New file.
32901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32902 New file.
32903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32904 New file.
32905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32906 New file.
32907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32908 New file.
32909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32910 New file.
32911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32912 New file.
32913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32914 New file.
32915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32916 file.
32917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32918 New file.
32919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32920 New file.
32921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32922 file.
32923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32924 New file.
32925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32926 New file.
32927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32928 file.
32929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32930 New file.
32931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32932 New file.
32933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32934 New file.
32935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32936 New file.
32937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32938 New file.
32939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32940 New file.
32941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32943 file.
32944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32945 New file.
32946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32947 file.
32948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32949 file.
32950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32951 file.
32952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32953 file.
32954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32955 file.
32956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32957 New file.
32958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32959 file.
32960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32961 file.
32962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32963 New file.
32964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32965 file.
32966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32968 file.
32969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32970 New file.
32971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32972 file.
32973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32974 file.
32975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32976 file.
32977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32978 file.
32979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32980 file.
32981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32982 New file.
32983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32984 file.
32985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32986 file.
32987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32988 New file.
32989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32990 file.
32991 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32992 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32993 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32994 file.
32995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32996 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32997 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32998 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32999 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33000 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33001 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33002 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33003 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33004 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33007 file.
33008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33009 New file.
33010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33011 file.
33012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33013 file.
33014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33015 file.
33016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33017 file.
33018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33019 file.
33020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33021 New file.
33022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33023 New file.
33024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33025 file.
33026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33027 New file.
33028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33029 file.
33030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33032 file.
33033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33034 New file.
33035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33036 file.
33037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33038 file.
33039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33040 file.
33041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33042 file.
33043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33044 file.
33045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33046 New file.
33047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33048 New file.
33049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33050 file.
33051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33052 New file.
33053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33054 file.
33055
41d73a1b
JM
330562012-04-28 Joseph Myers <joseph@codesourcery.com>
33057
33058 * conform/conformtest.pl: Fix typo in handling typed-constant from
33059 allow-header.
33060
28aeeda4
JM
330612012-04-27 Joseph Myers <joseph@codesourcery.com>
33062
adae8f5e
JM
33063 * README: Cut down references to pre-2.6 Linux kernels and
33064 Linuxthreads. Update lists of configurations in libc and ports
33065 and sort alphabetically. Say "or newer" with Linux kernel version
33066 requirements.
33067
28aeeda4
JM
33068 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33069
a462cb63
RA
330702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33071
33072 [BZ #887]
33073 * math/libm-test.inc (logb_test_downward): New test to expose
33074 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33075 rounding mode.
33076
6ad3493e
JM
330772012-04-27 Joseph Myers <joseph@codesourcery.com>
33078
33079 [BZ #14027]
33080 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33081 to be done.
33082 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33083 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33084
2ce4f015
JM
330852012-04-26 Joseph Myers <joseph@codesourcery.com>
33086
5aeb141a
JM
33087 * sysdeps/unix/i386/brk.S: Remove file.
33088 * sysdeps/unix/i386/dl-brk.S: Likewise.
33089 * sysdeps/unix/i386/pipe.S: Likewise.
33090 * sysdeps/unix/i386/sigreturn.S: Likewise.
33091 * sysdeps/unix/i386/syscall.S: Likewise.
33092 * sysdeps/unix/i386/vfork.S: Likewise.
33093 * sysdeps/unix/i386/wait.S: Likewise.
33094
7143acae
JM
33095 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33096 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33097
2ce4f015
JM
33098 * configure.in (arm*-none*): Do not allow without
33099 --enable-hacker-mode.
33100 (netbsd*): Remove case setting base_os.
33101 (386bsd*): Likewise.
33102 (freebsd*): Likewise.
33103 (bsdi*): Likewise.
33104 (osf*): Likewise.
33105 (sunos*): Likewise.
33106 (ultrix*): Likewise.
33107 (newsos*): Likewise.
33108 (dynix*): Likewise.
33109 (*bsd*): Likewise.
33110 (sysv*): Likewise.
33111 (isc*): Likewise.
33112 (esix*): Likewise.
33113 (sco*): Likewise.
33114 (minix*): Likewise.
33115 (irix4*): Likewise.
33116 (irix6*): Likewise.
33117 (solaris[2-9]*): Likewise.
33118 (none): Likewise.
33119 * configure: Regenerated.
33120
0ac229c8
AZ
331212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33122
33123 [BZ #11521]
33124 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33125 overflow or cancellation in calculating denominator.
33126 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33127 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33128 down expression to avoid unexpected rounding in newer GCCs.
33129 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33130
33f244f4
DM
331312012-04-26 David S. Miller <davem@davemloft.net>
33132
33133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33134 long-double compat symbols.
33135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33148
cfa1f3e8
DM
331492012-04-25 David S. Miller <davem@davemloft.net>
33150
33151 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33152 HWCAP_* values only after the memory barriers have been defined.
33153 (atomic_full_barrier): Define.
33154 (atomic_read_barrier): Define.
33155 (atomic_write_barrier): Define.
33156
6e236b92
SP
331572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33158
33159 * shlib-versions: Add libgcc_s version information.
33160 * sysdeps/generic/libgcc_s.h: Remove.
33161 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33162 libgcc_s.h.
33163 * sysdeps/gnu/unwind-resume.c: Likewise.
33164 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33165
aab39a09
DM
331662012-04-25 David S. Miller <davem@davemloft.net>
33167
33168 * sysdeps/unix/sparc/brk.S: Delete.
33169 * sysdeps/unix/sparc/dl-brk.S: Delete.
33170 * sysdeps/unix/sparc/pipe.S: Delete.
33171 * sysdeps/unix/sparc/sysdep.S: Delete.
33172 * sysdeps/unix/sparc/sysdep.h: Delete.
33173 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33174 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33175 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33177 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33178 (JUMPTARGET): Remove.
33179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33180 sysdeps/unix/sparc/sysdep.h
33181 (ENTRY, END): Remove.
33182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33183
a3cc4f48
JM
331842012-04-25 Joseph Myers <joseph@codesourcery.com>
33185
2ed8cda2
JM
33186 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33187 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33188 -DIS_IN_build.
33189
35d76d59
JM
33190 * timezone/README: Update upstream location and email address for
33191 tzcode and tzdata.
33192 * timezone/zdump.c: Update from tzcode 2012b.
33193 * timezone/zic.c: Likewise.
33194
a3cc4f48
JM
33195 * configure.in (libc_cv_as_needed): Remove test.
33196 * configure: Regenerated.
33197 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33198 conditional definition.
33199 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33200 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33201 * config.make.in (have-as-needed): Remove variable.
33202
ceab42c3
SP
332032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33204 Paul Pluzhnikov <ppluzhnikov@google.com>
33205
33206 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33207 strings correctly.
33208
3ce2865f
CLT
332092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33210
33211 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33212 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33213 * sysdeps/sh/strlen.S: Likewise.
33214
f37e0d68
JM
332152012-04-24 Joseph Myers <joseph@codesourcery.com>
33216
ae186e9a
JM
33217 * sysdeps/unix/fork.S: Remove file.
33218 * sysdeps/unix/i386/fork.S: Likewise.
33219 * sysdeps/unix/sparc/fork.S: Likewise.
33220
b96914af
JM
33221 * sysdeps/unix/system.c: Remove file.
33222 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33223
f37e0d68
JM
33224 * sysdeps/unix/getegid.S: Remove file.
33225 * sysdeps/unix/geteuid.S: Likewise.
33226
87ef29ca
RM
332272012-04-24 Roland McGrath <roland@hack.frob.com>
33228
83bcd236
RM
33229 * scripts/check-localplt.awk: New file.
33230 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33231 of diff.
33232 * scripts/data/localplt-generic.data: Add a comment.
33233
87ef29ca
RM
33234 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33235 NODE when __dir_mkfile failed.
33236 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33237 Reported by Ludovic Courtès <ludo@gnu.org>.
33238
e5a6e567
AJ
332392012-04-24 Andreas Jaeger <aj@suse.de>
33240
33241 * Makerules (common-clean): Also remove gen-as-const-headers
33242 files.
33243
c1820385
JM
332442012-04-24 Joseph Myers <joseph@codesourcery.com>
33245
33246 * Makerules (native-compile): Do not change working directory for
33247 build. Use $(OUTPUT_OPTION) in command.
33248 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33249
94e02fc4
AZ
332502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33251
33252 [BZ #13886]
33253 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33254 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33255 * math/libm-test.inc (floor_test): Add more tests.
33256 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33257
3a533ca3
JM
332582012-04-24 Joseph Myers <joseph@codesourcery.com>
33259
940ab4b3
JM
33260 * sysdeps/unix/getdents.c: Remove file.
33261 * sysdeps/unix/sysv/getdents.c: Likewise.
33262 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33263
90e037bd
JM
33264 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33265 sysdeps/unix/mman/syscalls.list.
33266 (mmap): Likewise.
33267 (mprotect): Likewise.
33268 (msync): Likewise.
33269 (munmap): Likewise.
33270 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33271 * sysdeps/unix/mman/syscalls.list: Remove.
33272 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33273
3a533ca3
JM
33274 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33275 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33276 * configure: Regenerated.
33277 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33278 $(libgcc_s_suffix).
33279 * config.make.in (libgcc_s_suffix): Remove variable.
33280
1ad743de
JM
332812012-04-23 Joseph Myers <joseph@codesourcery.com>
33282
4ad451e2
JM
33283 * sysdeps/unix/sysv/gethostname.c: Move to ...
33284 * sysdeps/posix/gethostname.c: ... here.
33285
5e37ce39
JM
33286 * sysdeps/unix/execve.S: Remove file.
33287
1ad743de
JM
33288 * sysdeps/unix/_exit.S: Remove file.
33289
4e681b5b
AJ
332902012-04-23 Andreas Jaeger <aj@suse.de>
33291
33292 [BZ #13739]
33293 * manual/Makefile: Remove make dist support, there's no
33294 need for a stand-alone documentation tar ball.
33295 (TEXI2DVI): Define always, it's not in Makeconfig.
33296 (dist): Removed.
33297 (tar-it): Removed.
33298 (edition): Removed.
33299 (glibc-doc-$(edition).tar): Removed
33300 (%.Z): Removed.
33301 (%.gz): Removed.
33302 (%.uu): Removed.
33303 (ETAGS): Remove, it's in Makeconfig.
33304 (move-if-change): Remove, it's in Makeconfig.
33305
38686a03 333062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33307
33308 [BZ #13970]
33309 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33310 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33311 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33312 (strtod_l, strtof_l, strtold_l): Remove __wur.
33313 It is not necessarily an error to ignore strtol's return value.
33314 One can reliably look at the stored endptr to decide whether
33315 the number had valid syntax.
33316
7c0616fa
AJ
333172012-04-21 Andreas Jaeger <aj@suse.de>
33318
803cb6b7 33319 [BZ #13739]
7c0616fa
AJ
33320 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33321
b0fe253f
JM
333222012-04-21 Joseph Myers <joseph@codesourcery.com>
33323
33324 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33325 * sysdeps/unix/sysv/Versions: Remove file.
33326
8280f22d
MT
333272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33328
33329 [BZ #13927]
33330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33331
75ce411f 333322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33333
33334 [BZ #7064]
33335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33336 version from __vm86.
33337
097d59fa
JM
333382012-04-20 Joseph Myers <joseph@codesourcery.com>
33339
a90f3bcb
JM
33340 * sysdeps/unix/common/lxstat.c: Remove file.
33341 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33342
edc7ea78
JM
33343 * sysdeps/unix/sysv/Makefile: Remove file.
33344
cb78c221
JM
33345 * sysdeps/unix/sysv/direct.h: Remove file.
33346
efa6a45f
JM
33347 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33348 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33349 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33350 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33351 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33352 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33353 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33354
9c9f2d0c
JM
33355 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33356
4541c83b
JM
33357 * sysdeps/unix/xmknod.c: Remove file.
33358 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33359
f5d153a0
JM
33360 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33361
aa746595
JM
33362 * sysdeps/unix/sysv/i386/time.S: Remove file.
33363
cce5905e
JM
33364 * sysdeps/unix/fxstat.c: Remove file.
33365 * sysdeps/unix/xstat.c: Likewise.
33366 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33367
37fa3841
JM
33368 * sysdeps/unix/sysv/sigaction.c: Remove file.
33369
ff1962a3
JM
33370 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33371 (sysdep_headers): Remove variable.
33372 [termio.h not in sysdep_headers] (generated): Likewise.
33373 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33374 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33375 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33376 * sysdeps/unix/sysv/tcflow.c: Likewise.
33377 * sysdeps/unix/sysv/tcflush.c: Likewise.
33378 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33379 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33380 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33381 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33382 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33383
e7740d31
JM
33384 * sysdeps/unix/siglist.c: Remove file.
33385
ee06f18b
JM
33386 * sysdeps/unix/getppid.S: Remove file.
33387
097d59fa
JM
33388 * sysdeps/unix/mkdir.c: Remove file.
33389 * sysdeps/unix/rmdir.c: Likewise.
33390
ff3d51ec
AS
333912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33392
33393 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33394 ERR_MAX value.
33395 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33396 errlist-compat value.
33397
50f81fd7
DM
333982012-04-18 David S. Miller <davem@davemloft.net>
33399
33400 * sysdeps/generic/memcopy.h (reg_char): Delete.
33401 * debug/strcat_chk.c: Use char, not reg_char.
33402 * debug/strcpy_chk.c: Likewise.
33403 * debug/strncat_chk.c: Likewise.
33404 * debug/strncpy_chk.c: Likewise.
33405 * string/memchr.c: Likewise.
33406 * string/memrchr.c: Likewise.
33407 * string/rawmemchr.c: Likewise.
33408 * string/strcat.c: Likewise.
33409 * string/strchr.c: Likewise.
33410 * string/strchrnul.c: Likewise.
33411 * string/strcmp.c: Likewise.
33412 * string/strcpy.c: Likewise.
33413 * string/strncat.c: Likewise.
33414 * string/strncmp.c: Likewise.
33415 * string/strncpy.c: Likewise.
33416
8ff41c46
WS
334172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33418
33419 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33420 __builtin_memcopy is called when src and dest ranges are known to not
33421 overlap.
33422
6b652f46
WS
334232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33424
33425 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33426 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33427 fwd_align_merge macro call.
33428 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33429 bwd_align_merge macro call.
33430 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33431
b282631e
WS
334322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33433
33434 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33435 bwd_align_merge macros.
33436 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33437 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33438 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33439
95aa737c
DM
334402012-04-18 David S. Miller <davem@davemloft.net>
33441
33442 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33443
7a99a614
AJ
334442012-04-18 Andreas Jaeger <aj@suse.de>
33445
33446 [BZ# 6794]
33447 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33448 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33449 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33450
33451 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33452 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33453 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33454
33455 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33456 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33457 Adjust for changed ldbl-128 files.
33458
33459 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33460 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33461 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33462
e5270c23
DM
334632012-04-17 David S. Miller <davem@davemloft.net>
33464
33465 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33466
fb5e92c9
AS
334672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33468
33469 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33470 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33471 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33472 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33473 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33474 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33475
76da7265
AZ
334762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33477
33478 [BZ #6794]
33479 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33480 * math/libm-test.inc: Add ilogb errno and exception tests.
33481 * math/w_ilogb.c: New file: ilogb wrapper.
33482 * math/w_ilogbf.c: New file: ilogbf wrapper.
33483 * math/w_ilogbl.c: New file: ilogbl wrapper.
33484 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33485 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33486 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33487 exception being thrown with 0.0 as argument.
33488 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33489 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33490 exception being thrown with 0.0 as argument.
33491 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33492 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33493 exception being thrown with 0.0 as argument.
33494 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33495 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33496 exception being thrown with 0.0 as argument.
33497 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33498 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33499 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33500 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33501 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33502 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33503 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33504 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33505 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33506
0396e69d
PB
335072012-04-17 Petr Baudis <pasky@ucw.cz>
33508
33509 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33510 with altivec.
33511
750b5926
MP
335122012-04-16 Marek Polacek <polacek@redhat.com>
33513
33514 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33515
751728a1
MP
335162012-04-16 Marek Polacek <polacek@redhat.com>
33517
33518 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33519 operands of fdivp instruction.
33520
34a27407
L
335212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33522
33523 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33524 * elf/tst-auditmod3b.c: Likewise.
33525 * elf/tst-auditmod4b.c: Likewise.
33526 * elf/tst-auditmod5b.c: Likewise.
33527 * elf/tst-auditmod6b.c: Likewise.
33528 * elf/tst-auditmod6c.c: Likewise.
33529 * elf/tst-auditmod7b.c: Likewise.
33530 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33531 * sysdeps/x86_64/preconfigure.in: Likewise.
33532 * sysdeps/x86_64/preconfigure: Regenerated.
33533
7e73e17d
L
335342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33535
33536 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33537 __ILP32__.
33538
c7a6ab72
AB
335392012-04-13 Antoine Balestrat <merkil33@gmail.com>
33540
33541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33542 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33543
a9e8e0e0
CL
335442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33545
33546 [BZ #13973]
33547 * locale/iso-639.def: Fix gl language name. Spotted by
33548 Yaron Shahrabani.
33549
ec98af7d
RM
335502012-04-12 Roland McGrath <roland@hack.frob.com>
33551
33552 [BZ #2074]
33553 * libio/libio.h (__io_write_fn): Update comment.
33554
247c3ede
PB
335552012-04-12 Petr Baudis <pasky@ucw.cz>
33556
33557 [BZ #2074]
33558 * stdio.texi (Hook Functions): The user provided writer function
33559 is not allowed to return -1.
33560
55939d6d
DM
335612012-04-11 David S. Miller <davem@davemloft.net>
33562
33563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33564
90020f5a
MF
335652012-04-11 Mike Frysinger <vapier@gentoo.org>
33566
33567 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33568 Add a leading slash to rtkaio.
33569
288f9098
JM
335702012-04-11 Jim Meyering <meyering@redhat.com>
33571
90020f5a
MF
33572 [BZ #11959]
33573 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33574 It is not necessarily an error to ignore fwrite's return
33575 value. One can reliably use ferror to test for errors after
33576 the fact.
288f9098 33577
4be2b570
L
335782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33579
33580 * bits/types.h (__snseconds_t): New type.
33581 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33582
33583 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33585 (__SNSECONDS_T_TYPE): Likewise.
33586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33587 (__SNSECONDS_T_TYPE): Likewise.
33588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33589 (__SNSECONDS_T_TYPE): Likewise.
33590
288f9098 335912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33592
33593 [BZ #2636]
33594 * manual/time.texi (Processor Time): Return type of times is
33595 elapsed real time since an arbitrary point in the past.
33596 (CPU Time): Move CLK_TCK from here...
33597 (Processor Time): ...to here. Correct description.
33598 * manual/conf.texi (Constants for Sysconf): Correct description of
33599 _SC_CLK_TCK.
33600
d7dd4413
DM
336012012-04-10 David S. Miller <davem@davemloft.net>
33602
33603 [BZ #13967]
33604 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33605 where the is a gap between DT_REL(A) and DT_JMPREL.
33606
b46068fc
L
336072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33608
33609 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33610 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33611 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33612
73d65cc3
SP
336132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33614
33615 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33616 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33617 (dl_main): Handle --inhibit-cache.
33618 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33619 _dl_inhibit_cache.
33620 * elf/dl-load.c (_dl_map_object): Use it.
33621 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33622
bcc8d661
JM
336232012-04-09 Joseph Myers <joseph@codesourcery.com>
33624
8f9a2fae
JM
33625 [BZ #13872]
33626 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33627 (__ieee754_powl): Saturate large exponents rather than testing for
33628 overflow of y*log2(x).
33629 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33630 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33631 exceptions.
33632
bcc8d661
JM
33633 [BZ #11521]
33634 * math/s_ctan.c: Include <float.h>.
33635 (__ctan): Avoid internal overflow or cancellation in calculating
33636 denominator.
33637 * math/s_ctanf.c: Likewise.
33638 * math/s_ctanl.c: Likewise.
33639 * math/s_ctanh.c: Likewise.
33640 * math/s_ctanhf.c: Likewise.
33641 * math/s_ctanhl.c: Likewise.
33642 * math/libm-test.inc (ctan_test): Add more tests.
33643 (ctanh_test): Likewise.
33644 * sysdeps/i386/fpu/libm-test-ulps: Update.
33645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33646
823fbbb4
AJ
336472012-04-09 Andreas Jaeger <aj@suse.de>
33648
03879793
AJ
33649 [BZ #6894]
33650 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33651 is an optional BSD extension.
33652
823fbbb4
AJ
33653 [BZ #10254]
33654 * manual/stdio.texi (Opening Streams): Document additional fopen
33655 parameters.
33656
8de131cb
RM
336572012-04-09 Roland McGrath <roland@hack.frob.com>
33658
33659 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33660 %eax without telling the compiler.
33661
c0ed9d7d
CD
336622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33663
33664 [BZ # 13963]
33665 * manual/install.texi: Use sourceware.org.
33666
c483f6b4
JM
336672012-04-09 Joseph Myers <joseph@codesourcery.com>
33668
d7dd9453
JM
33669 [BZ #13873]
33670 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33671 (__ieee754_pow): Generate overflow and underflow using huge*huge
33672 and tiny*tiny rather than just returning constant infinity or zero
33673 for large exponents.
33674 * math/libm-test.inc (pow_test): Require overflow exceptions for
33675 applicable cases of large exponents.
33676
c483f6b4
JM
33677 [BZ #706]
33678 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33679 (__ieee754_pow): Use iterative multiplication algorithm only for
33680 integer exponents with absolute value below 1024. Check for odd
33681 integer exponents when using algorithm for real exponents.
33682 * math/libm-test.inc (pow_test): Add more tests.
33683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33684
d2de7579
JM
336852012-04-08 Joseph Myers <joseph@codesourcery.com>
33686
33687 [BZ #13705]
33688 * math/libm-test.inc (exp_test): Do not allow overflow exception
33689 on underflow test.
33690
f77f1232
AJ
336912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33692
33693 [BZ #13705]
33694 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33695 instead of __kernel_standard_f.
33696
3884932b
MF
336972012-04-08 Mike Frysinger <vapier@gentoo.org>
33698
33699 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33700 * sysdeps/x86_64/memset_chk.S: Likewise.
33701
54472e9c
AJ
337022012-04-08 Andreas Jaeger <aj@suse.de>
33703
6ab0fbfc
AJ
33704 [BZ #10153]
33705 * manual/startup.texi (Environment Access): Describe return value
33706 for putenv and setenv.
33707
61efba8c
AJ
33708 [BZ #6895]
33709 * manual/filesys.texi (Directory Entries): Add description for
33710 DT_LNK.
33711
95c3f29a
AJ
33712 [BZ #6890]
33713 * manual/filesys.texi (Directory Entries): Clarify that it's file
33714 system not operating system in the description of DT_UNKNOWN.
33715
54472e9c
AJ
33716 [BZ #6578]
33717 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33718
624254b1
SC
337192012-04-08 Stephen Compall <s11@member.fsf.org>
33720
33721 [BZ #6649]
33722 * manual/llio.texi (Opening and Closing Files): Add cross
33723 reference to explain mode argument.
33724
1e4920e0
MF
337252012-04-07 Mike Frysinger <vapier@gentoo.org>
33726
33727 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33728 * sysdeps/x86_64/memset_chk.S: Likewise.
33729
5ed848f3
DM
337302012-04-07 David S. Miller <davem@davemloft.net>
33731
33732 * elf/elf.h (R_SPARC_WDISP10): Define.
33733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33734 R_SPARC_SIZE32.
33735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33736 R_SPARC_SIZE64 and R_SPARC_H34.
33737
96154cd8
CD
337382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33739
33740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33741 conditions and remove no longer applicable assertion.
33742
9904dc47
L
337432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33744
33745 * bits/byteswap.h: Include <features.h>.
33746 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33747 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33748
f8887d0a
L
337492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33750
33751 * bits/byteswap.h (__bswap_16): Removed.
33752 Include <bits/byteswap-16.h> to get __bswap_16.
33753 * sysdeps/i386/bits/byteswap.h: Likewise.
33754 * sysdeps/s390/bits/byteswap.h: Likewise.
33755 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33756 * bits/byteswap-16.h: New file.
33757 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33758 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33759 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33760 * string/Makefile (headers): Add bits/byteswap-16.h.
33761
62470f60
PP
337622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33763
33764 [BZ #13895]
33765 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33766 extra indirection.
33767 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33768 * nss/tst-nss-static.c: New.
33769
4dad7bab
RM
337702012-04-06 Robert Millan <rmh@gnu.org>
33771
33772 [BZ #6486]
33773 * manual/llio.texi (File Position Primitive): lseek
33774 refers to WHENCE when it really means OFFSET.
33775
e9142a17
AJ
337762012-04-06 Andreas Jaeger <aj@suse.de>
33777
2c040eff
AJ
33778 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33779 strncmp declarations.
33780
e9142a17
AJ
33781 * abilist/libc.abilist: Add __poll and __ppoll.
33782
ff9f1c5f
DM
337832012-04-05 David S. Miller <davem@davemloft.net>
33784
dcd2ae90
DM
33785 * scripts/check-local-headers.sh: Accept a host triplet in the
33786 path matched by the exclude regexp.
33787
993eb054
DM
33788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33789 definition.
33790 * sysdeps/powerpc/powerpc32/dl-machine.h
33791 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33792 * sysdeps/s390/s390-32/dl-machine.h
33793 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33794 * sysdeps/sparc/sparc32/dl-machine.h
33795 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33796 * sysdeps/sparc/sparc64/dl-machine.h
33797 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33798
ff9f1c5f
DM
33799 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33800 lazy binding.
48e2e132 33801 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33802 undefined symbol errors.
33803
48e2e132 33804 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33805 DT_NEEDED entries.
33806
e80d6f94
MM
338072012-04-05 Michael Matz <matz@suse.de>
33808
33809 [BZ #13592]
33810 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33811
349fa79f
AJ
338122012-04-05 Andreas Jaeger <aj@suse.de>
33813
33814 [BZ #13908]
33815 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33816 comment.
33817
f402708f
KK
338182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33819
33820 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33821 which ROUND is no valid rounding mode.
33822
2ecccfc9
KK
338232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33824
33825 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33826 read again.
33827 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33828
8a53f50f
KK
338292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33830
33831 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33832 an exception using FPU order intentionally.
33833
338342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33835
33836 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33837 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33838 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33839 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33840
d653abb7
SJ
338412012-04-05 Simon Josefsson <simon@josefsson.org>
33842
33843 [BZ #12340]
33844 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33845 EINVAL when BUFLEN is too smal.
33846
c3b1bf7d
TS
338472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33848
33849 [BZ #13553]
33850 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33851 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33852
b1aa60f3
AJ
338532012-04-03 Andreas Jaeger <aj@suse.de>
33854
c3b1bf7d 33855 [BZ #13938]
67f60a26
AJ
33856 * manual/setjmp.texi (System V contexts): Fix sentence.
33857
b1aa60f3
AJ
33858 [BZ #13926]
33859 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33860 New macro for this case.
33861 [!__GNUC__] (__bswap_64): New inline function for this case.
33862 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33863 * bits/byteswap.h: Likewise.
33864 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33865 ull, guard with __GLIBC_HAVE_LONG_LONG.
33866
33867 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33868 __GLIBC_HAVE_LONG_LONG.
33869
33870 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33871 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33872
39c59c35
TMQMF
338732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33874
33875 [BZ #13691]
33876 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33877 inptr and inend, rather than using last_ch.
33878
135ffda8
DM
338792012-04-02 David S. Miller <davem@davemloft.net>
33880
33881 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33882 * stdio-common/printf-parse.h (read_int): Change return type to
33883 'int', return -1 on INT_MAX overflow.
33884 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33885 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33886 overflows INT_MAX. Check for overflow of in-format-string precision
33887 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33888 SIZE_MAX not INT_MAX for integer overflow test.
33889 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33890 skip the construct in the format string but do not record anything.
33891 * stdio-common/bug22.c: Adjust to test both width/prevision
33892 INT_MAX overflow as well as total length INT_MAX overflow. Check
33893 explicitly for proper errno values.
33894
228c019e
TS
338952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33896
302cadd3
TS
33897 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33898 CHAR_MAX.
33899 * string/test-strcmp.c [! WIDE]: Likewise.
33900 * time/tst-mktime2.c: Likewise for INT_MAX.
33901 * string/test-string.h: #include <sys/param.h> for MIN.
33902
228c019e
TS
33903 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33904 * sysdeps/i386/init-first.c (init): Likewise.
33905 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33906 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33907 * sysdeps/sh/init-first.c (init): Likewise.
33908
cfa633f5
UD
339092012-04-01 Ulrich Drepper <drepper@gmail.com>
33910
33911 * po/ru.po: Update from translation team.
d1635ef8 33912 * po/vi.po: Likewise.
cfa633f5 33913
6cd0a5ea
SP
339142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33915
33916 * resolv/nss_dns/dns-host.c: Merge copyright years.
33917
4b43400f
LD
339182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33919
33920 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33921 Optimize memcpy with prefetch if
33922 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33923 src, dst pointers have unequal 16 byte alignments.
33924
48c41d04
SP
339252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33926
33927 [BZ #13928]
33928 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33929 from a CNAME entry and return the minimum ttl for the query.
33930 (gaih_getanswer_slice): Likewise.
33931
b8dc394d
JL
339322012-03-30 Jeff Law <law@redhat.com>
33933
33934 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33935 due to long keys.
33936 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33937 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33938
2f5a5ed0
JL
33939 * resolv/nss_dns/dns-host.c: Update copyright year.
33940
1d39e359
UD
339412012-03-30 Ulrich Drepper <drepper@gmail.com>
33942
c030f70c 33943 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33944 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33945
1d39e359
UD
33946 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33947 comments for sendmmsg.
33948
339492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33950
33951 [BZ #13691]
33952 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33953 with only 1 character between 0x0041 and 0x01b0.
33954 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33955 * wcsmbs/tst-mbsnrtowcs.c: New file.
33956
20fde227
DM
339572012-03-29 David S. Miller <davem@davemloft.net>
33958
33959 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33960 small copies by hand.
33961
984a4237
JL
339622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33963
33964 [BZ #13761]
57f41c40
AS
33965 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33966 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33967 group memberships.
984a4237 33968
18c9d62b
DM
339692012-03-28 David S. Miller <davem@davemloft.net>
33970
88d85d4f
DM
33971 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33972 that branches into memcpy.
33973 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33974 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33975 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33976 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33978 bits.
33979 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33980 implementation too.
33981 * sysdeps/sparc/mempcpy.S: New file.
33982
e5aa83e1
DM
33983 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33984 the IFUNC routine in the libc case.
33985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33986
88570753
DM
33987 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33988 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33989 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33990 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33991 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33992 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33993 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33994 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33995
249d7567
DM
33996 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33997 loop to 256 bytes instead of 64 bytes and fix test signedness.
33998
18c9d62b
DM
33999 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34000 * sysdeps/sparc/sparc32/Makefile: rather than here...
34001 * sysdeps/sparc/sparc64/Makefile: and here.
34002
05f3d1f6
UD
340032012-03-28 Ulrich Drepper <drepper@gmail.com>
34004
34005 * malloc/mallocbug.c: Avoid warnings about unused variables.
34006
86ae07a8
JL
340072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34008
34009 [BZ #13760]
34010 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34011 in the right place. Discard and retry query if response is
34012 larger than input buffer size.
34013
41bf21a1
JM
340142012-03-28 Joseph Myers <joseph@codesourcery.com>
34015
d6270972
JM
34016 [BZ #369]
34017 [BZ #2678]
34018 [BZ #3866]
34019 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34020 x for large integer exponent.
34021 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34022 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34023 sign of result as needed afterwards.
34024 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34025 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34026 result for underflowing pow the same as for overflow.
34027 (__kernel_standard_l): Handle powl overflow and underflow here
34028 rather than calling __kernel_standard.
34029 * math/libm-test.inc (pow_test): Add more tests.
34030
414fca03 34031 [BZ #3868]
41bf21a1
JM
34032 [BZ #13879]
34033 [BZ #13910]
34034 [BZ #13911]
34035 [BZ #13912]
34036 [BZ #13913]
34037 [BZ #13915]
34038 [BZ #13916]
34039 [BZ #13917]
34040 [BZ #13918]
34041 [BZ #13919]
34042 [BZ #13920]
34043 [BZ #13921]
34044 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34045 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34046 (__kernel_standard_l): New function.
34047 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34048 __kernel_standard.
34049 * math/w_acosl.c (__acosl): Likewise.
34050 * math/w_asinl.c (__asinl): Likewise.
34051 * math/w_atan2l.c (__atan2l): Likewise.
34052 * math/w_atanhl.c (__atanhl): Likewise.
34053 * math/w_coshl.c (__coshl): Likewise.
34054 * math/w_exp10l.c (__exp10l): Likewise.
34055 * math/w_exp2l.c (__exp2l): Likewise.
34056 * math/w_fmodl.c (__fmodl): Likewise.
34057 * math/w_hypotl.c (__hypotl): Likewise.
34058 * math/w_j0l.c (__j0l, __y0l): Likewise.
34059 * math/w_j1l.c (__j1l, __y1l): Likewise.
34060 * math/w_jnl.c (__jnl, __ynl): Likewise.
34061 * math/w_lgammal.c (__lgammal): Likewise.
34062 * math/w_log10l.c (__log10l): Likewise.
34063 * math/w_log2l.c (__log2l): Likewise.
34064 * math/w_logl.c (__logl): Likewise.
34065 * math/w_powl.c (__powl): Likewise.
34066 * math/w_remainderl.c (__remainderl): Likewise.
34067 * math/w_scalbl.c (sysv_scalbl): Likewise.
34068 * math/w_sinhl.c (__sinhl): Likewise.
34069 * math/w_sqrtl.c (__sqrtl): Likewise.
34070 * math/w_tgammal.c (__tgammal): Likewise.
34071 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34072 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34073 * math/libm-test.inc (acos_test): Add more tests.
34074 (acosh_test): Likewise.
34075 (asin_test): Likewise.
34076 (atanh_test): Likewise.
34077 (exp_test): Likewise.
34078 (exp10_test): Likewise.
34079 (exp2_test): Likewise.
34080 (expm1_test): Likewise.
34081 (lgamma_test): Likewise.
34082 (log_test): Likewise.
34083 (log10_test): Likewise.
34084 (log1p_test): Likewise.
34085 (log2_test): Likewise.
34086 (pow_test): Do not allow some spurious overflow exceptions.
34087 (sqrt_test): Add more tests.
34088 (tgamma_test): Likewise.
34089 (y0_test): Likewise.
34090 (y1_test): Likewise.
34091 (yn_test): Likewise.
34092
dd62fda6
AB
340932012-03-27 Anton Blanchard <anton@samba.org>
34094
34095 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34096 MAP_HUGETLB.
34097 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34100
1e3cdfda
AJ
341012012-03-27 David S. Miller <davem@davemloft.net>
34102
b855ab85
DM
34103 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34104
1e3cdfda
AJ
34105 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34106 have-as-vis3 check.
34107
341082012-03-27 Andreas Jaeger <aj@suse.de>
34109
34110 * sysdeps/x86_64/elf/configure.in: Moved to ...
34111 * sysdeps/x86_64/configure.in: ... here.
34112 * sysdeps/x86_64/elf/start.S: Moved to ...
34113 * sysdeps/x86_64/start.S: ... here.
34114 * sysdeps/x86_64/elf/configure: Delete.
34115
34116 * sysdeps/x86_64/configure.in: Merge contents from
34117 sysdeps/i386/configure.in (without i686 check).
34118
34119 * sysdeps/i386/elf/Versions: Merge into ...
34120 * sysdeps/i386/Versions: ... this.
34121 * sysdeps/i386/elf/Versions: Delete file.
34122 * sysdeps/i386/elf/start.S: Moved to ...
34123 * sysdeps/i386/start.S: ...here.
34124 * sysdeps/i386/elf/configure.in: Merge into...
34125 * sysdeps/i386/configure.in: ...here.
34126 * sysdeps/i386/elf/configure.in: Delete file.
34127 * sysdeps/i386/elf/configure: Delete file.
34128
34129 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34130 * debug/backtracesyms.c: ... here.
34131 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34132 * debug/backtracesymsfd.c: ... here.
34133 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34134 * sysdeps/generic/ifunc-sel.h: ... here.
34135
34136 * sysdeps/unix/i386/start.c: Delete file.
34137 * sysdeps/unix/sparc/start.c: Delete file.
34138 * sysdeps/unix/start.c: Delete file.
34139
34140 * sysdeps/sh/elf/configure.in: Moved to ...
34141 * sysdeps/sh/configure.in: ... here.
34142 * sysdeps/sh/elf/start.S: Moved to ...
34143 * sysdeps/sh/start.S: ... here.
34144 * sysdeps/sh/elf/configure: Delete file.
34145
34146 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34147 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34148 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34149 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34150 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34151 * sysdeps/powerpc/powerpc64/start.S: here.
34152 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34153 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34154 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34155 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34156 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34157
34158 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34159 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34160 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34161 * sysdeps/powerpc/powerpc32/start.S: ... here.
34162 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34163 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34164 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34165
34166 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34167 * sysdeps/powerpc/ifunc-sel.h: ... here.
34168 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34169 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34170
34171 * sysdeps/sparc/elf/configure.in: Moved to ...
34172 * sysdeps/sparc/configure.in: ... here.
34173 * sysdeps/sparc/elf/configure: Delete file.
34174 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34175 * sysdeps/sparc/sparc32/start.S: ... here.
34176 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34177 * sysdeps/sparc/sparc64/start.S: ... here.
34178 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34179 * sysdeps/sparc/sparc32/Makefile: ... this.
34180 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34181 * sysdeps/sparc/sparc64/Makefile: ... this.
34182
34183 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34184 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34185 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34186 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34187 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34188 * sysdeps/s390/s390-32/setjmp.S: ... here.
34189 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34190 * sysdeps/s390/s390-32/configure.in: ... here.
34191 * sysdeps/s390/s390-32/elf/configure: Delete file.
34192 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34193 * sysdeps/s390/s390-32/start.S: ... here.
34194
34195 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34196 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34197 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34198 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34199 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34200 * sysdeps/s390/s390-64/setjmp.S: ... here.
34201 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34202 * sysdeps/s390/s390-64/configure.in: ... here
34203 * sysdeps/s390/s390-64/elf/configure: Delete file.
34204 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34205 * sysdeps/s390/s390-64/start.S: ... here.
34206 * sysdeps/s390/s390-64/elf/configure: Delete.
34207
34208 * configure.in: Remove support for elf directories in sysdeps.
34209
34210 * configure: Regenerated.
34211 * sysdeps/i386/configure: Regenerated.
34212 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34213 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34214 * sysdeps/s390/s390-32/configure: Regenerated.
34215 * sysdeps/s390/s390-64/configure: Regenerated.
34216 * sysdeps/sh/configure: Regenerated.
34217 * sysdeps/sparc/configure: Regenerated.
34218 * sysdeps/x86_64/configure: Regenerated.
34219
a3f61311
AS
342202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34221
c876e002
AS
34222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34223
a3f61311
AS
34224 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34225 denormal result into account.
34226
ac4c54f0
RM
342272012-03-25 Roland McGrath <roland@hack.frob.com>
34228
34229 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34230 Reported by Allan McRae <allan@archlinux.org>.
34231
6a9b9c02
JL
342322012-03-23 Jeff Law <law@redhat.com>
34233
34234 * nss/getnssent.c (__nss_getent): Fix typo.
34235
4c42a0c1
DM
342362012-03-23 David S. Miller <davem@davemloft.net>
34237
34238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34239
1532c7ac
L
342402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34241
34242 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34243 to pad to uint64_t for each field.
34244 (dl_tls_index): Replace unsigned long with uint64_t.
34245
3ff42526
PP
342462012-03-23 Daniel Jacobowitz <dmj@google.com>
34247 Paul Pluzhnikov <ppluzhnikov@google.com>
34248
34249 [BZ #6528]
34250 * grp/Makefile (otherlibs): Don't set it.
34251 * inet/Makefile (otherlibs): Likewise.
34252 * login/Makefile (otherlibs): Likewise.
34253 * nscd/Makefile (otherlibs): Likewise.
34254 * posix/Makefile (otherlibs): Likewise.
34255 * pwd/Makefile (otherlibs): Likewise.
34256 * rt/Makefile (otherlibs): Likewise.
34257 * sunrpc/Makefile (otherlibs): Likewise.
34258 * nss/Makefile (otherlibs): Likewise.
34259 Add libnss_files to routines and static-only-routines.
34260 ($(objpfx)getent): Remove rule.
34261 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34262 static-only-routines.
34263
7c69cd14
JM
342642012-03-22 Joseph Myers <joseph@codesourcery.com>
34265
34266 [BZ #13892]
34267 * math/s_cexp.c: Include <float.h>.
34268 (__cexp): Handle exp result overflowing not necessarily
34269 overflowing both real and imaginary parts of result.
34270 * math/s_cexpf.c: Likewise.
34271 * math/s_cexpl.c: Likewise.
34272 * math/libm-test.inc (cexp_test): Add more tests.
34273 * sysdeps/i386/fpu/libm-test-ulps: Update.
34274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34275
81b035fe
L
342762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34277
34278 * include/link.h (ELFW): New macro.
34279 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34280 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34281
1da7940c
L
342822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34283
34284 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34285 with uint64_t.
34286
b749dbb9
L
342872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34288
34289 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34290 declaration.
34291 (struct La_x32_retval): Likewise.
34292
2ff87f3f
L
342932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34294
34295 * sysdeps/x86_64/preconfigure.in: New file.
34296 * sysdeps/x86_64/preconfigure: New generated file.
34297
c0df8e69
JM
342982012-03-22 Joseph Myers <joseph@codesourcery.com>
34299
48e44791
JM
34300 [BZ #13824]
34301 * math/e_exp2l.c: Include <float.h>.
34302 (__ieee754_exp2l): Handle overflow and underflow cases
34303 separately. Only pass fractional part of argument to
34304 __ieee754_expl.
34305 * math/libm-test.inc (exp2_test): Add more tests.
34306
c0df8e69
JM
34307 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34308 negating x to take absolute value.
34309 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34310 Likewise.
34311 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34312 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34313 Likewise.
34314 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34315 computing low part if x was negated.
34316 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34317
c8e43ba7
L
343182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34319
34320 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34321 la_x32_gnu_pltexit.
34322 (pltexit): Cast int_retval to ptrdiff_t.
34323 * elf/tst-auditmod3b.c: Likewise.
34324 * elf/tst-auditmod4b.c: Likewise.
34325 * elf/tst-auditmod5b.c: Likewise.
34326 * elf/tst-auditmod6b.c: Likewise.
34327 * elf/tst-auditmod6c.c: Likewise.
34328 * elf/tst-auditmod7b.c: Likewise.
34329
34330 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34331 and x32_gnu_pltexit.
34332
34333 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34334 __ELF_NATIVE_CLASS.
34335 (La_x32_regs): New macro.
34336 (La_x32_retval): Likewise.
34337 (la_x32_gnu_pltenter): New function prototype.
34338 (la_x32_gnu_pltexit): Likewise.
34339
7998fa78
AS
343402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34341
dcb33988
AS
34342 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34343 exponent.
34344
233fc563
AS
34345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34346
7998fa78
AS
34347 * configure.in (libc_cv_cc_nofma): Check for option to disable
34348 generation of FMA instructions.
34349 * configure: Regenerate.
34350 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34351 * sysdeps/ieee754/dbl-64/Makefile: New file.
34352 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34353 Remove brandred-fma4.
34354 (CFLAGS-brandred-fma4.c): Remove.
34355 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34356 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34357 define.
34358 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34359 define.
34360
8e95c99a
L
343612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34362
34363 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34364 LLONG_MAX != LONG_MAX.
34365 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34366 (_fitoa_word): Likewise.
34367 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34368 LLONG_MAX != LONG_MAX.
34369 * stdio-common/_itowa.h: Include <_itoa.h>.
34370 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34371 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34372 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34373 only if not defined.
34374 (_ITOA_WORD_TYPE): Likewise.
34375 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34376 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34377
6f4db457
DM
343782012-03-21 David S. Miller <davem@davemloft.net>
34379
34380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34381
7785fe5a
L
343822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34383
34384 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34385 of x86_64 when setting libc_cv_slibdir, libdir and
34386 libc_cv_localedir.
34387 * sysdeps/unix/sysv/linux/configure: Regenerated.
34388
4535cd55
JM
343892012-03-21 Joseph Myers <joseph@codesourcery.com>
34390
34391 * manual/lang.texi (Old Varargs): Remove section.
34392 (How Variadic): Update menu.
34393 (va_start): Do not mention varargs.h.
34394
17228132
TS
343952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34396 Joseph Myers <joseph@codesourcery.com>
34397
34398 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34399 link test.
34400 * configure: Regenerated.
34401
8149f976
TS
344022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34403
05f3d1f6
UD
34404 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34405 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34406 conformtest.pl
8149f976 34407
1a4ac776
JM
344082012-03-21 Joseph Myers <joseph@codesourcery.com>
34409
be22ce65
JM
34410 * NOTES: Remove.
34411 * Makefile (files-for-dist): Remove NOTES.
34412 (NOTES): Remove rule.
34413 * README: Don't refer to NOTES.
34414 * manual/creature.texi: Don't include macros.texi.
34415 * manual/intro.texi (creature.texi): Remove comment referring to
34416 NOTES.
34417
40b601fb
JM
34418 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34419 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34420 * configure: Regenerated.
34421 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34422 LIBC_TRY_CC_OPTION.
34423 (libc_cv_as_i686): Likewise.
34424 (libc_cv_cc_avx): Likewise.
34425 (libc_cv_cc_sse2avx): Likewise.
34426 (libc_cv_cc_fma4): Likewise.
34427 (libc_cv_cc_novzeroupper): Likewise.
34428 * sysdeps/i386/configure: Regenerated.
34429
1a4ac776
JM
34430 [BZ #13883]
34431 * sysdeps/i386/fpu/s_cexp.S: Remove.
34432 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34433 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34434 * math/libm-test.inc (cexp_test): Add more tests.
34435 * sysdeps/i386/fpu/libm-test-ulps: Update.
34436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34437
a458e7fe
AM
344382012-03-21 Allan McRae <allan@archlinux.org>
34439
34440 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34441
0cb7efc5
JM
344422012-03-21 Joseph Myers <joseph@codesourcery.com>
34443
34444 [BZ #13871]
34445 * math/w_exp2.c: Do not include <float.h>.
34446 (o_threshold, u_threshold): Remove.
34447 (__exp2): Calculate result before checking finiteness and calling
34448 __kernel_standard.
34449 * math/w_exp2f.c: Likewise.
34450 * math/w_exp2l.c: Likewise.
34451 * math/libm-test.inc (exp2_test): Require overflow exception for
34452 1e6 input.
2460d3aa
JM
34453
34454 [BZ #3866]
34455 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34456 range of signed 64-bit integers before using fistpll. Remove
34457 checks for whether integers fit in mantissa bits.
34458 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34459 the range of signed 32-bit integers before using fistpl. Remove
34460 checks for whether integers fit in mantissa bits.
34461 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34462 (__ieee754_powl): Test for y outside the range of signed 64-bit
34463 integers before using fistpll. Reduce 64-bit values to 63-bit
34464 ones as needed.
34465 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34466 divide-by-zero is raised for zero to large negative powers.
34467 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34468 (__ieee754_powl): Test for y outside the range of signed 64-bit
34469 integers before using fistpll. Reduce 64-bit values to 63-bit
34470 ones as needed.
34471 * math/libm-test.inc (pow_test): Add more tests.
34472
eb96ffb0
L
344732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34474
34475 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34476 <stdio-common/_itoa.h>.
34477 * debug/segfault.c: Likewise.
34478 * elf/dl-cache.c: Likewise.
34479 * elf/dl-minimal.c: Likewise.
34480 * elf/dl-misc.c: Likewise.
34481 * elf/dl-sysdep.c: Likewise.
34482 * elf/dl-version.c: Likewise.
34483 * elf/rtld.c: Likewise.
34484 * hurd/hurdsock.c: Likewise.
34485 * hurd/lookup-retry.c: Likewise.
34486 * malloc/malloc.c: Likewise.
34487 * malloc/mtrace.c: Likewise.
34488 * nscd/nscd_getgr_r.c: Likewise.
34489 * nscd/nscd_getpw_r.c: Likewise.
34490 * nscd/nscd_getserv_r.c: Likewise.
34491 * posix/getopt_init.c: Likewise.
34492 * posix/wordexp.c: Likewise.
34493 * stdio-common/_itoa.c: Likewise.
34494 * stdio-common/printf_fphex.c: Likewise.
34495 * stdio-common/vfprintf.c: Likewise.
34496 * string/_strerror.c: Likewise.
34497 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34498 * sysdeps/i386/i686/hp-timing.h: Likewise.
34499 * sysdeps/mach/_strerror.c: Likewise.
34500 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34501 * sysdeps/mach/hurd/sethostid.c: Likewise.
34502 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34503 * sysdeps/mach/xpg-strerror.c: Likewise.
34504 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34505 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34506 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34507 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34508 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34509 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34510 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34511 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34512 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34513 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34514 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34515 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34516 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34517 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34518 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34519 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34520 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34521 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34522 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34523 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34524 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34525
34526 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34527
34528 * stdio-common/_itoa.h: Moved to ...
34529 * sysdeps/generic/_itoa.h: Here.
34530
34531 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34532
34533 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34534 instead of "_itoa.h" and "_itowa.h".
34535 * stdio-common/vfprintf.: Likewise.
34536
d1af992d
L
345372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34538
34539 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34540 <bits/wordsize.h>.
34541 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34542 (__signbit): Likwise.
34543 (llrintf): Likwise.
34544 (llrint): Likwise.
34545
114883e0
L
345462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34547
34548 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34549 __WORDSIZE != 64.
34550
c135cc1b
JM
345512012-03-20 Joseph Myers <joseph@codesourcery.com>
34552
34553 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34554 OVERFLOW_EXCEPTION_OK.
34555 * math/libm-test.inc ("Philosophy"): Update comment about
34556 exception testing.
34557 (OVERFLOW_EXCEPTION): Define.
34558 (OVERFLOW_EXCEPTION_OK): Likewise.
34559 (INVALID_EXCEPTION_OK): Renumber.
34560 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34561 (IGNORE_ZERO_INF_SIGN): Likewise.
34562 (test_exceptions): Handle FE_OVERFLOW.
34563 (exp10_test): Expect overflow exceptions.
34564 (exp2_test): Likewise.
34565 (expm1_test): Likewise.
34566 (nextafter_test): Likewise.
34567 (pow_test): Likewise.
34568 (scalbn_test): Likewise.
34569 (scalbln_test): Likewise.
34570
95443d88
L
345712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34572
34573 * sysdeps/x86_64/bits/atomic.h
34574 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34575 64bit integer.
34576 (atomic_exchange_acq): Likewise.
34577 (__arch_exchange_and_add_body): Likewise.
34578 (__arch_add_body): Likewise.
34579 (atomic_add_negative): Likewise.
34580 (atomic_add_zero): Likewise.
34581
490df6c4
L
345822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34583
c2722551 34584 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34585 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34586
5e52b189
L
345872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34588
34589 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34590 Check __x86_64__ instead of __WORDSIZE.
34591
a9879d4c
L
345922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34593
34594 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34595
5df98260
DM
345962012-03-19 David S. Miller <davem@davemloft.net>
34597
e1497744
DM
34598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34599
5df98260
DM
34600 * sysdeps/sparc/fpu/fenv_private.h: New file.
34601 * sysdeps/sparc/fpu/math_private.h: Use it.
34602 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34603 Remove.
57f41c40 34604 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34605 (libc_feholdexcept_setroundl): Remove.
34606 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34607 Remove.
34608 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34609 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34610
b4c35121
L
346112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34612
34613 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34614 int64_t instead of long int.
34615 (INSERT_WORDS64): Likwise.
34616
56965fd7
L
346172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34618
34619 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34620 _Unwind_GetCFA return to _Unwind_Ptr first.
34621
83d1aec8
JM
346222012-03-19 Joseph Myers <joseph@codesourcery.com>
34623
1897ad44
JM
34624 [BZ #13629]
34625 * math/s_clog.c: Include <float.h>.
34626 (__clog): Scale large or subnormal inputs.
34627 * math/s_clogf.c: Likewise.
34628 * math/s_clogl.c: Likewise.
34629 * math/s_clog10.c: Include <float.h>.
34630 (M_LOG10_2): Define.
34631 (__clog10): Scale large or subnormal inputs.
34632 * math/s_clog10f.c: Likewise.
34633 * math/s_clog10l.c: Likewise.
34634 * math/libm-test.inc (clog_test): Add more tests.
34635 (clog10_test): Likewise.
34636 * sysdeps/i386/fpu/libm-test-ulps: Update.
34637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34638
7726d6a9
JM
34639 [BZ #11451]
34640 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34641 x and y.
34642 * math/libm-test.inc (atan2_test): Add another test.
34643
83d1aec8
JM
34644 * Makerules (common-objdir-compile): Remove.
34645 * sysdeps/unix/Makefile (config-generated): Do not add
34646 $(unix-generated) to variable.
34647 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34648 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34649 Remove rule.
34650 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34651 Likewise.
34652 [generic bits/local_lim.h] (before-compile): Do not append to
34653 variable.
34654 [generic bits/local_lim.h] (common-generated): Likewise.
34655 [generic sys/param.h] (before-compile): Do not append to variable.
34656 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34657 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34658 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34659 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34660 include.
34661 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34662 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34663 [generic sys/param.h] ($(addprefix
34664 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34665 [generic sys/param.h] (common-generated): Do not append to
34666 variable.
34667 [generic sys/param.h] (sysdep_headers): Likewise.
34668 [generic bits/errno.h] (before-compile): Do not append to
34669 variable.
34670 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34671 rule.
34672 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34673 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34674 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34675 [generic bits/errno.h] (common-generated): Do not append to
34676 variable.
34677 [generic bits/ioctls.h] (before-compile): Do not append to
34678 variable.
34679 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34680 rule.
34681 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34682 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34683 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34684 rule.
34685 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34686 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34687 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34688 [generic bits/ioctls.h] (common-generated): Do not append to
34689 variable.
34690 [generic sys/syscall.h] (syscall.h): Remove variable.
34691 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34692 rule.
34693 [generic sys/syscall.h] (before-compile): Do not append to
34694 variable.
34695 [generic sys/syscall.h] (common-generated): Likewise.
34696 * sysdeps/unix/errnos-tmpl.c: Remove file.
34697 * sysdeps/unix/errnos.awk: Likewise.
34698 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34699 * sysdeps/unix/ioctls.awk: Likewise.
34700 * sysdeps/unix/mk-local_lim.c: Likewise.
34701 * sysdeps/unix/snarf-ioctls: Likewise.
34702
4851a949
RH
347032012-03-19 Richard Henderson <rth@twiddle.net>
34704
bd37f2ee
RH
34705 * sysdeps/i386/fpu/fenv_private.h: New file.
34706 * sysdeps/i386/fpu/math_private.h: Use it.
34707 (math_opt_barrier, math_force_eval): Remove.
34708 (libc_feholdexcept_setround_53bit): Remove.
34709 (libc_feupdateenv_53bit): Remove.
34710 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34711 (math_opt_barrier, math_force_eval): Remove.
34712 (libc_feholdexcept): Remove.
34713 (libc_feholdexcept_setround): Remove.
34714 (libc_fetestexcept, libc_fesetenv): Remove.
34715 (libc_feupdateenv_test): Remove.
34716 (libc_feupdateenv, libc_feholdsetround): Remove.
34717 (libc_feresetround): Remove.
34718
d0adc922
RH
34719 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34720 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34721
0fe0f1f8
RH
34722 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34723 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34724 (libc_feupdateenv_testl): New.
34725 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34726 (libc_feupdateenv_testf): New.
34727 (libc_feupdateenv): Use libc_feupdateenv_test.
34728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34729 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34730
eb92c487
RH
34731 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34732 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34733 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34734 (libc_feresetround_noex): New.
34735 (libc_feresetround_noexf): New.
34736 (libc_feresetround_noexl): New.
34737 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34738 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34739 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34740 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34741 SET_RESTORE_ROUND.
34742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34743 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34744 (__cos): Likewise.
34745 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34746 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34747 SET_RESTORE_ROUND_NOEX.
34748 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34749 SET_RESTORE_ROUND_NOEXF.
34750 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34751 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34752 (libc_feholdsetroundf): New.
34753 (libc_feresetround, libc_feresetroundf): New.
34754
7d2e8012
RH
34755 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34756 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34757 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34758
b4dabbb4
RH
34759 * sysdeps/generic/math_private.h: Include <fenv.h>.
34760 (default_libc_feholdexcept): New.
34761 (default_libc_feholdexcept_setround): New.
34762 (default_libc_fesetenv, default_libc_feupdateenv): New.
34763 (libc_feholdexcept): Only define if undefined.
34764 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34765 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34766 (libc_feholdexcept_setroundl): Likewise.
34767 (libc_feholdexcept_setround_53bit): Likewise.
34768 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34769 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34770 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34771 (libc_feupdateenv_53bit): Likewise.
34772 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34773 (libc_feholdexcept): Convert from macro to inline function.
34774 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34775 (libc_fesetenv, libc_feupdateenv): Likewise.
34776
4851a949
RH
34777 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34778 not previously defined.
34779 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34780 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34781 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34782 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34783 * sysdeps/ieee754/flt-32/math_private.h: New file.
34784 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34785 math_private.h below SET_FLOAT_WORD.
34786 (__isnan, __isinf_ns, __finite): Remove.
34787 (__isnanf, __isinf_nsf, __finitef): Remove.
34788
e79d442e
AS
347892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34790
34791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34792
90b80344
DM
347932012-03-17 David S. Miller <davem@davemloft.net>
34794
34795 [BZ #6471]
34796 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34797 for 2.16.
34798
edc21804
DM
347992012-03-16 David S. Miller <davem@davemloft.net>
34800
77e927af
DM
34801 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34802 warnings.
34803
374976dd
DM
34804 [BZ #6471]
34805 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34806 properly.
34807 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34808 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34809 sysdep_routines when subdir is sysvipc.
34810 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34811 __getshmlba helper.
34812
edc21804
DM
34813 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34814
473c3ef3
L
348152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34816
34817 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34818 [__LP64__].
34819
eb0f39b6
L
348202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34821
34822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34823 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34824 (__lround): Renamed to ...
34825 (__llround): This. Replace long int with long long int.
34826 Define lround functions as aliases of llround functions.
34827 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34828
6b6cd74b
L
348292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34830
34831 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34832 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34833 adresses to uintptr_t. Replace "long int" and "unsigned long
34834 int" with "greg_t" on va_arg.
34835
f1a77b01
L
348362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34837
34838 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34839 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34840
34841 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34842 Move e_machine check before EI_CLASS check. Handle x32
34843 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34844 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34845 SKIP_EM_IA_64 and include
34846 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34847
34848 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34849 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34850 (add_system_dir): New macro.
34851
34852 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34853 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34854
11b90b9f
JM
348552012-03-16 Joseph Myers <joseph@codesourcery.com>
34856
c36e1d23
JM
34857 [BZ #2551]
34858 [BZ #2552]
34859 [BZ #2553]
34860 [BZ #2554]
34861 [BZ #2562]
34862 [BZ #2563]
34863 [BZ #2565]
34864 [BZ #2566]
34865 [BZ #2576]
34866 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34867 (y0): Likewise.
34868 * math/w_j0f.c (j0f): Likewise.
34869 (y0f): Likewise.
34870 * math/w_j0l.c (__j0l): Likewise.
34871 (__y0l): Likewise.
34872 * math/w_j1.c (j1): Likewise.
34873 (y1): Likewise.
34874 * math/w_j1f.c (j1f): Likewise.
34875 (y1f): Likewise.
34876 * math/w_j1l.c (__j1l): Likewise.
34877 (__y1l): Likewise.
34878 * math/w_jn.c (jn): Likewise.
34879 (yn): Likewise.
34880 * math/w_jnf.c (jnf): Likewise.
34881 (ynf): Likewise.
34882 * math/w_jnl.c (__jnl): Likewise.
34883 (__ynl): Likewise.
34884 * math/libm-test.inc (j0_test): Add more tests.
34885 (j1_test): Likewise.
34886 (jn_test): Likewise. Add trailing semicolon to existing test.
34887 (y0_test): Likewise.
34888 (y1_test): Likewise.
34889 * sysdeps/i386/fpu/libm-test-ulps: Update.
34890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34891
11b90b9f
JM
34892 [BZ #13851]
34893 [BZ #13854]
34894 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34895 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34896 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34897 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34898 (__tanl): Set errno for infinite argument.
34899 * sysdeps/i386/fpu/mptan.c: Remove.
34900 * sysdeps/i386/fpu/s_tan.S: Likewise.
34901 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34902 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34903 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34904 * math/libm-test.inc (tan_test): Add more tests and enable more
34905 tests for double and long double.
34906 * sysdeps/i386/fpu/libm-test-ulps: Update.
34907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34908
6a1bd2a1
JK
349092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34910
34911 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34912 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34913
10a803e0
RM
349142012-03-16 Roland McGrath <roland@hack.frob.com>
34915
34916 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34917 * configure.in: Use it for both main tree and add-ons.
34918 * configure: Regenerated.
34919
f196c7f7
L
349202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34921
34922 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34923
8848d99d
JM
349242012-03-16 Joseph Myers <joseph@codesourcery.com>
34925
96cbe7f4
JM
34926 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34927 in comment.
34928
8848d99d
JM
34929 [BZ #13851]
34930 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34931 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34932 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34933 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34934 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34935 infinite argument.
34936 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34938 != 0 for prec == 2.
34939 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34940 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34941 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34942 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34943 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34944 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34945 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34946 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34947 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34948 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34949 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34950 * math/libm-test.inc (cos_test): Add more tests and enable more
34951 tests for long double.
34952 (sin_test): Likewise.
34953 (sincos_test): Likewise.
34954 * sysdeps/i386/fpu/libm-test-ulps: Update.
34955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34956
dd7f4703
DM
349572012-03-16 David S. Miller <davem@davemloft.net>
34958
34959 * sysdeps/sparc/fpu/math_private.h: New file.
34960
006f1daa
DM
349612012-03-15 David S. Miller <davem@davemloft.net>
34962
c0c83bc8
DM
34963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34964 file.
e6a62e18 34965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34967 file.
e6a62e18
DM
34968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34973 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34974 sysdep routines.
34975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34976
88cb87d9
DM
34977 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34978 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34979
006f1daa 34980 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34982 sparc-ifunc.h
006f1daa 34983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34985 Likewise.
34986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34987 Likewise.
006f1daa
DM
34988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34992 Likewise.
006f1daa
DM
34993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34998 Likewise.
34999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35000 Likewise.
006f1daa
DM
35001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35007 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35008 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35019 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35020 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35023 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35025
11e0098e
AS
350262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35027
35028 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35029 scaling.
35030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35031
e85b09d0
AJ
350322012-03-15 Andreas Jaeger <aj@suse.de>
35033
35034 [BZ #13852]
35035 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35036 ieee754/flt-32 implementation for sin, cos and sincos.
35037 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35038 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35039 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35040 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35041 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35042 ieee754/flt-32 implementation for tan.
35043
35044 * math/libm-test.inc (cos_test): Enable some large input tests for
35045 float as well
35046 (sin_test): Likewise.
35047 (sincos_test): Likewise.
35048 (tan_test): Add tests for large input.
35049
35050 * sysdeps/i386/fpu/libm-test-ulps: Update.
35051
81c64153
AJ
350522012-03-15 Andreas Jaeger <aj@suse.de>
35053
35054 [BZ #13658]
35055 * math/libm-test.inc (cos_test): Add more test cases.
35056 (sin_test): Likewise.
35057 (sincos_test): Likewise.
35058
7bbfa5c6
AJ
350592012-03-15 Andreas Jaeger <aj@suse.de>
35060
35061 [BZ #13837]
35062 * math/libm-test.inc (cos_test): Add a test case for large input
35063 value.
35064 (sin_test): Likewise.
35065 (sincos_test): Likewise.
35066
57f41c40
AS
350672012-03-15 Andreas Jaeger <aj@suse.de>
35068 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35069
35070 [BZ #13658]
0671f479 35071 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35072 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35073 * sysdeps/i386/fpu/branred.c: Likewise.
35074 * sysdeps/i386/fpu/dosincos.c: Likewise.
35075 * sysdeps/i386/fpu/mpa.c: Likewise.
35076 * sysdeps/i386/fpu/s_cos.S: Likewise.
35077 * sysdeps/i386/fpu/s_sin.S: Likewise.
35078 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35079 * sysdeps/i386/fpu/sincos32.c: Likewise.
35080
35081 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35082 Define.
35083 (libc_feupdateenv_53bit): Define.
35084 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35085 Define.
35086 (libc_feupdateenv_53bit): Define.
35087
35088 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35089 53 bit (without extend i386 double precision).
35090
35091 * math/libm-test.inc (sincos_test): Add tests for large input.
35092 (sin): Likewise.
35093 (cos): Likewise.
35094
35095 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35096
9cad04ea
AS
350972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35098
35099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35100
f7062b9a
DM
351012012-03-15 David S. Miller <davem@davemloft.net>
35102
35103 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35104 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35105 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35106 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35119 file.
f7062b9a 35120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35122 file.
f7062b9a 35123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35125 file.
f7062b9a 35126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35128 file.
f7062b9a
DM
35129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35131 fmin/fmax sysdep routines.
35132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35133
7bd951ff
DM
351342012-03-14 David S. Miller <davem@davemloft.net>
35135
559398ab
DM
35136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35140 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35165 routines.
35166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35167 file.
559398ab 35168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35170 file.
559398ab 35171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35173 file.
559398ab 35174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35176 file.
559398ab 35177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35179 file.
559398ab 35180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35182 file.
35183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35184 file.
35185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35186 file.
35187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35188 file.
35189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35190 New file.
35191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35192 file.
35193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35194 file.
559398ab 35195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35197 file.
559398ab 35198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35200 file.
559398ab 35201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35203 file.
559398ab 35204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35206 VIS3 routines.
559398ab
DM
35207
35208 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35209 New file.
35210
5a1c1e32
DM
35211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35212
eae47a36
DM
35213 * sysdeps/sparc/configure.in: New file.
35214 * sysdeps/sparc/configure: Generate.
35215 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35216 * configure: Regenerate.
35217 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35218 * config.make.in (have-as-vis3): New.
35219 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35220 available use -Av9d instead of -Av9a.
35221 * sysdeps/sparc/sparc64/Makefile: Likewise.
35222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35224 New file.
35225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35226 file.
35227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35228 New file.
35229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35230 file.
eae47a36
DM
35231 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35234 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35236
c0c83bc8
DM
35237 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35238 fzeros/fnegs to load 0x80000000 into a float register instead of
35239 using the stack.
7bd951ff
DM
35240 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35241
bd951ccb
JM
352422012-03-14 Joseph Myers <joseph@codesourcery.com>
35243
35244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35245 bits/syscall.h.
35246 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35247 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35248 ($(inst_includedir)/bits/syscall.h): Remove rule.
35249 ($(objpfx)bits/syscall.d): Include instead of
35250 $(objpfx)syscall-list.d.
35251 (generated): Change syscall-list.h and syscall-list.d to
35252 bits/syscall.h and bits/syscall.d.
35253
bb4e6db2
RM
352542012-03-14 Roland McGrath <roland@hack.frob.com>
35255
35256 [BZ #13846]
35257 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35258
aa4a2ae1
JM
352592012-03-14 Joseph Myers <joseph@codesourcery.com>
35260
e456826d
JM
35261 [BZ #13841]
35262 * math/s_csqrt.c: Include <float.h>.
35263 (__csqrt): Scale large or subnormal inputs.
35264 * math/s_csqrtf.c: Likewise.
35265 * math/s_csqrtl.c: Likewise.
35266 * math/libm-test.inc (csqrt_test): Add more tests.
35267 * sysdeps/i386/fpu/libm-test-ulps: Update.
35268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35269
aa4a2ae1
JM
35270 [BZ #13840]
35271 * math/libm-test.inc (hypot_test): Add more tests.
35272
7c10fd35
DM
352732012-03-13 David S. Miller <davem@davemloft.net>
35274
35275 [BZ #13840]
35276 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35277 double-precision for the calculation instead of scaling.
35278
f453b98b
JM
352792012-03-13 Joseph Myers <joseph@codesourcery.com>
35280
35281 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35282 manipulate bits before adding and subtracting TWO52[sx].
35283 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35284 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35285 Likewise.
35286 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35287
09a3453f
DM
352882012-03-13 David S. Miller <davem@davemloft.net>
35289
8e59da90
DM
35290 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35291 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35293 rtld-global-offsets.h
35294 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35295
2a8ab7f2
DM
35296 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35297 large parameters.
35298
10f62770
DM
35299 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35300
5f0bdb18
DM
35301 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35302 'err' in the ifdef scope in which it is actually used.
35303
09a3453f
DM
35304 * nss/nss_db/db-init.c: Include string.h
35305
b4b2eb5e
DM
353062012-03-12 David S. Miller <davem@davemloft.net>
35307
98bb2f1c
DM
35308 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35309 masking out of the most significant byte of random value used.
35310 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35311 Fix coding style in previous change.
35312
b4b2eb5e
DM
35313 * sysdeps/unix/sysv/linux/kernel-features.h
35314 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35315 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35316 expression.
35317 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35318 later.
35319
6e226b09
DM
353202012-03-11 David S. Miller <davem@davemloft.net>
35321
a1bcbd40
DM
35322 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35323 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35324 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35325 for 'resultvar' otherwise things get truncated on 64-bit.
35326
cb9d6174
DM
35327 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35328 Fix masking out of the most significant byte of random value used.
35329
6e226b09
DM
35330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35331
058c132d
AS
353322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35333
35334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35335
2d2cd515
DM
353362012-03-09 David S. Miller <davem@davemloft.net>
35337
35338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35339 variables with appropriate CPP guards.
57f41c40
AS
35340 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35341 from the frame pointer, not the stack pointer. Correct layout
35342 comments. Fix test on resulting framesize and the management of
35343 the outregs buffer for pltexit. Preserve floating point return
35344 values across _dl_call_pltexit call.
2d2cd515
DM
35345 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35346 framesize and the management of the outregs buffer for pltexit.
35347 Preserve floating point return values across _dl_call_pltexit
35348 call.
57f41c40
AS
35349 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35350 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35351 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35352 (print_exit): Fix format string for return register value.
35353
9a07f9d0
JM
353542012-03-10 Joseph Myers <joseph@codesourcery.com>
35355
35356 * sunrpc/Makefile (others): Add rpcgen.
35357 ($(objpfx)rpcgen): Remove special build rule and dependency on
35358 libc.
35359 * sunrpc/rpcgen.c: New file.
35360
547b5e30
PE
353612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35362
c524201a
PE
35363 [BZ #13673]
35364 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35365 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35366 * sysdeps/i386/crti.S: Likewise.
35367 * sysdeps/i386/crtn.S: Likewise.
35368 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35369 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35370 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35371 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35372 * sysdeps/sh/crti.S: Likewise.
35373 * sysdeps/sh/crtn.S: Likewise.
35374 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35375
7b6235f2
PE
35376 [BZ #13673]
35377 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35378 with URL.
35379 * locale/programs/locfile-kw.gperf: Likewise.
35380 * locale/programs/charmap-kw.h: Regenerated.
35381 * locale/programs/locfile-kw.h: Likewise.
35382
547b5e30
PE
35383 [BZ #13673]
35384 * intl/plural.y: Replace FSF snail mail address with URL.
35385 * intl/plural.c: Regenerated.
35386
5f0a5dae
RH
353872012-03-09 Richard Henderson <rth@twiddle.net>
35388
35389 * include/math_private.h: Remove file.
35390 * math/math_private.h: Move file ...
35391 * sysdeps/generic/math_private.h: ... here.
35392
b8c03620
RH
35393 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35394 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35395 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35396
4e234f5d 35397 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35398 and <math_private.h>.
35399 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35400 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35401 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35402 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35403 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35404 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35405 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35407 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35408 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35410 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35411 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35412 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35413 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35414 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35417 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35418 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35420 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35421 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35423 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35424 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35425 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35426 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35427 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35428 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35429 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35431 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35432 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35433 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35434 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35435 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35436 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35437 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35438 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35439 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35440 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35441 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35442 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35443 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35444 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35445 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35446 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35447 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35448 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35449 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35450 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35451 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35452 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35453 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35454 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35455 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35456 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35457 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35458 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35459 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35460 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35461 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35462 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35463 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35464 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35465 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35466 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35467 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35468 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35469 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35470 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35471 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35472 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35473 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35478 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35479 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35480 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35482 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35483 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35484 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35486 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35487 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35488 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35489 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35490 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35492 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35493 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35494 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35495 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35496 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35497 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35498 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35499 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35500 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35501 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35502 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35503 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35504 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35505 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35506 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35507 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35508 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35509 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35510 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35511 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35512 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35513 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35514 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35515 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35516 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35517 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35518 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35519 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35520 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35521 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35522 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35523 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35524 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35526 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35527 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35528 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35529 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35530 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35531 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35532 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35533 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35534 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35535 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35536 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35537 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35538 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35539 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35540 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35541 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35542 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35543 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35544 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35545 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35546 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35547 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35548 * sysdeps/ieee754/k_standard.c: Likewise.
35549 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35550 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35551 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35553 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35554 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35556 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35558 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35559 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35560 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35561 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35562 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35563 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35564 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35565 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35566 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35567 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35568 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35569 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35570 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35571 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35572 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35573 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35574 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35575 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35576 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35577 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35578 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35579 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35580 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35581 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35582 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35583 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35586 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35587 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35588 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35590 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35592 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35594 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35595 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35596 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35598 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35599 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35600 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35611 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35612 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35614 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35615 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35616 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35617 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35618 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35619 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35621 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35639 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35640 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35641 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35642 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35644 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35645 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35647 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35650 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35651 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35652 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35653 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35654 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35655 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35656 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35657 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35658 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35659 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35660 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35661 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35662 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35663 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35664 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35665 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35666 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35667 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35668 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35669 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35670 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35671 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35675 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35676 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35681 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35693 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35698 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35699 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35709 * sysdeps/ieee754/s_lib_version.c: Likewise.
35710 * sysdeps/ieee754/s_matherr.c: Likewise.
35711 * sysdeps/ieee754/s_signgam.c: Likewise.
35712 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35713 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35714 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35715 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35716 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35717 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35718 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35719 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35720 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35721 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35722 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35723 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35724 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35725 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35726 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35727 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35728 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35729 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35730 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35731 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35732 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35733
1991fa03
JM
357342012-03-09 Joseph Myers <joseph@codesourcery.com>
35735
35736 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35737 * sunrpc/rpc_main.c: Likewise.
35738 * sunrpc/rpc_svcout.c: Likewise.
35739
60d6f5a6
DM
357402012-03-09 David S. Miller <davem@davemloft.net>
35741
35742 * include/math_private.h: New file.
35743
4962050e
JM
357442012-03-09 Joseph Myers <joseph@codesourcery.com>
35745
02a6f887
JM
35746 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35747 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35748 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35749 from <bits/socket_type.h>.
35750 (enum __socket_type): Don't define here.
35751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35753 bits/socket_type.h.
35754
c6e013c1
JM
35755 [BZ #13566]
35756 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35757 checking __USE_GNU.
35758
4962050e
JM
35759 * Makerules ($(inst_includedir)/%.h): New rule.
35760 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35761 (install-others): Remove variable setting.
35762 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35763
38842f45
RH
357642012-03-08 Richard Henderson <rth@twiddle.net>
35765
67bb6da6
RH
35766 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35767 from macro to inline function; merge with the
35768 !__LIBC_INTERNAL_MATH_INLINES version.
35769 (__ieee754_sqrtf): Likewise.
35770
15194b4b
RH
35771 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35772 to inline function.
35773 (__rintf, __floor, __floorf): Likewise.
35774
64e21ede
RH
35775 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35776 macro to inline function.
35777 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35778
38842f45
RH
35779 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35780 not <math/math_private.h>.
35781
c64bf5fe
DM
357822012-03-08 David S. Miller <davem@davemloft.net>
35783
35784 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35785 copyright year.
35786 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35787
82d86f28
TS
357882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35789
35790 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35791 normalization.
35792 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35793 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35794
aea5d727
UD
357952012-03-08 Ulrich Drepper <drepper@gmail.com>
35796
35797 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35798 be defined individually, they must be defined as a block. Define
35799 S for printing a string instead of hidint the different by using a
35800 macro for adding the 'l'.
35801 * stdio-common/tst-fphex-wide.c: Adjust.
35802
70bca0a3
MP
358032012-03-07 Marek Polacek <polacek@redhat.com>
35804
35805 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35806
65b81130
MP
358072012-03-08 Marek Polacek <polacek@redhat.com>
35808
35809 [BZ #13806]
35810 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35811 * stdio-common/tst-fphex.c: Define a few macros to make the
35812 test reusable. Use them.
35813 * stdio-common/tst-fphex-wide.c: New file.
35814
07037eeb
JM
358152012-03-08 Joseph Myers <joseph@codesourcery.com>
35816
a7a93d50
JM
35817 [BZ #6911]
35818 * manual/macros.texi (gnusystems): New macro.
35819 (nongnusystems): Likewise.
35820 (gnulinuxhurdsystems): Likewise.
35821 (gnuhurdsystems): Likewise..
35822 (gnulinuxsystems): Likewise.
35823 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35824 variants of the GNU system, not "GNU system".
35825 * manual/conf.texi: Likewise.
35826 * manual/errno.texi: Likewise. Update example of errno macro
35827 expansion.
35828 * manual/filesys.texi: Likewise.
35829 (getumask): Document as specific to GNU/Hurd.
35830 * manual/install.texi: Likewise. Reword some references to
35831 GNU/Linux.
35832 * manual/intro.texi: Likewise.
35833 * manual/io.texi: Likewise.
35834 (File Name Portability): Detail which constraints are inapplicable
35835 to all GNU systems and which are only inapplicable to GNU/Hurd.
35836 * manual/job.texi: Likewise.
35837 * manual/llio.texi: Likewise.
35838 (O_NOCTTY): Document as present on GNU/Linux.
35839 * manual/maint.texi: Likewise.
35840 * manual/memory.texi: Likewise.
35841 * manual/pattern.texi: Likewise.
35842 * manual/pipe.texi: Likewise.
35843 * manual/process.texi: Likewise.
35844 * manual/resource.texi: Likewise.
35845 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35846 child on GNU/Hurd.
35847 * manual/setjmp.texi: Likewise.
35848 * manual/signal.texi: Likewise.
35849 * manual/startup.texi: Likewise.
35850 * manual/stdio.texi: Likewise.
35851 * manual/terminal.texi: Likewise.
35852 (ONLCR): Document as POSIX.
35853 (OXTABS): Document availability on GNU/Linux as XTABS.
35854 (ONOEOT): Document availability separately from other bits.
35855 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35856 * manual/time.texi: Likewise.
35857 * manual/users.texi: Likewise.
35858 * INSTALL: Regenerated.
35859 * sysdeps/gnu/errlist.c: Regenerated.
35860
07037eeb
JM
35861 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35862 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35863 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35864 puts.
35865 * configure: Regenerated.
35866
d1d3431a
JM
358672012-03-07 Joseph Myers <joseph@codesourcery.com>
35868
af6a1e37
JM
35869 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35870 default includes instead of AC_HEADER_CHECK.
35871 * sysdeps/i386/configure: Regenerated.
35872
d1d3431a
JM
35873 [BZ #10716]
35874 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35875 * math/s_cacoshf.c (__cacoshf): Likewise.
35876 * math/s_cacoshl.c (__cacoshl): Likewise.
35877 * math/s_casinh.c (__casinh): Set signs of result from argument.
35878 * math/s_casinhf.c (__casinhf): Likewise.
35879 * math/s_casinhl.c (__casinhl): Likewise.
35880 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35881 (casinh_test): Add more tests.
35882 * sysdeps/i386/fpu/libm-test-ulps: Update.
35883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35884
482ff4da
UD
358852012-03-07 Ulrich Drepper <drepper@gmail.com>
35886
872fda05
UD
35887 * po/zh_TW.po: Update from translation team.
35888
a4300c7a
UD
35889 * login/Makefile (distribute): Remove variable.
35890 * catgets/Makefile: Likewise.
35891 * mach/Makefile: Likewise.
35892 * malloc/Makefile: Likewise.
35893 * misc/Makefile: Likewise.
35894 * iconv/Makefile: Likewise.
35895 * nscd/Makefile: Likewise.
35896 * hurd/Makefile: Likewise.
35897 * manual/Makefile: Likewise.
35898 * locale/Makefile: Likewise.
35899 * intl/Makefile: Likewise.
35900 * conform/Makefile: Likewise.
35901 * nss/Makefile: Likewise.
35902 * time/Makefile: Likewise.
35903 * soft-fp/Makefile: Likewise.
35904 * dirent/Makefile: Likewise.
35905 * gmon/Makefile: Likewise.
35906 * po/Makefile: Likewise.
35907 * rt/Makefile: Likewise.
35908 * socket/Makefile: Likewise.
35909 * math/Makefile: Likewise.
35910 * signal/Makefile: Likewise.
35911 * debug/Makefile: Likewise.
35912 * elf/Makefile: Likewise.
35913 * timezone/Makefile: Likewise.
35914 * stdlib/Makefile: Likewise.
35915 * iconvdata/Makefile: Likewise.
35916 * sunrpc/Makefile: Likewise.
35917 * io/Makefile: Likewise.
35918 * argp/Makefile: Likewise.
35919 * inet/Makefile: Likewise.
35920 * hesiod/Makefile: Likewise.
35921 * grp/Makefile: Likewise.
35922 * csu/Makefile: Likewise.
35923 * wctype/Makefile: Likewise.
35924 * crypt/Makefile: Likewise.
35925 * libio/Makefile: Likewise.
35926 * string/Makefile: Likewise.
35927 * nis/Makefile: Likewise.
35928 * resolv/Makefile: Likewise.
35929 * stdio-common/Makefile: Likewise.
35930 * wcsmbs/Makefile: Likewise.
35931 * dlfcn/Makefile: Likewise.
35932 * posix/Makefile: Likewise.
35933
3b7c4e74 35934 [BZ #6959]
482ff4da
UD
35935 * timezone/Makefile: Don't install timezone files, just the programs
35936 and scripts.
35937
f72ed77d
UD
359382012-03-06 Ulrich Drepper <drepper@gmail.com>
35939
a000466f
UD
35940 * nss/databases.def: Add missing gshadow entry.
35941
f72ed77d
UD
35942 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35943
a53b7a4e
MP
359442012-03-06 Marek Polacek <polacek@redhat.com>
35945
35946 [BZ #13726]
35947 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35948 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35949 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35950 * stdio-common/tst-long-dbl-fphex.c: New file.
35951
e9258400
DM
359522012-03-06 David S. Miller <davem@davemloft.net>
35953
35954 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35955 (set_obp_int): New function.
35956 (get_obp_int): New function.
35957 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35958 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35959 Avoid unused variable warnings on 'val' and use builtin_expect.
35960 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35961 __builtin_expect.
e9258400
DM
35962 (INLINE_CLONE_SYSCALL): Likewise.
35963
3bd2c723
DM
359642012-03-05 David S. Miller <davem@davemloft.net>
35965
35966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35967
bbb78d03
AS
359682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35969
884c5db4
AS
35970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35971
bbb78d03
AS
35972 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35973 only for |x| >= 40.
35974 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35975
1c9f702a 359762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35977
35978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35979 Replace gettimeofday with __vdso_gettimeofday.
35980
7be16f82
RM
35981 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35982 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35983 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35984
35985 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35986 time with __vdso_time.
35987
ed58a00f
JM
359882012-03-05 Joseph Myers <joseph@codesourcery.com>
35989
35990 * manual/lang.texi (size_t): Note types to which size_t may be
35991 equivalent with the GNU C Library, but do not describe when
35992 differences between them are significant.
35993
30ee4ced
AJ
359942012-03-05 Andreas Jaeger <aj@suse.de>
35995
35996 * sysdeps/i386/fpu/libm-test-ulps: Update.
35997
b7cd39e8
JM
359982012-03-05 Joseph Myers <joseph@codesourcery.com>
35999
36000 [BZ #3976]
36001 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36002 (__ieee754_pow): Save and restore rounding mode and use
36003 round-to-nearest for main computations.
36004 * math/libm-test.inc (pow_test_tonearest): New function.
36005 (pow_test_towardzero): Likewise.
36006 (pow_test_downward): Likewise.
36007 (pow_test_upward): Likewise.
36008 (main): Call the new functions.
36009 * sysdeps/i386/fpu/libm-test-ulps: Update.
36010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36011
36012 [BZ #3976]
36013 * math/libm-test.inc (cosh_test_tonearest): New function.
36014 (cosh_test_towardzero): Likewise.
36015 (cosh_test_downward): Likewise.
36016 (cosh_test_upward): Likewise.
36017 (sinh_test_tonearest): Likewise.
36018 (sinh_test_towardzero): Likewise.
36019 (sinh_test_downward): Likewise.
36020 (sinh_test_upward): Likewise.
36021 (main): Call the new functions.
36022 * sysdeps/i386/fpu/libm-test-ulps: Update.
36023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36024
6c6a98c9
TV
360252012-03-05 Tom de Vries <tom@codesourcery.com>
36026
36027 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36028 default stack guard is set in last bytes.
36029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36030
21bb2d2e 360312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36032
21bb2d2e 36033 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36034
21bb2d2e
AJ
36035 [BZ #13656]
36036 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36037 possibly allocate from heap instead of stack.
36038 * stdio-common/bug-vfprintf-nargs.c: New file.
36039 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36040
c6922934
AS
360412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36042
36043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36044
bc957d53
MP
360452012-03-03 Marek Polacek <polacek@redhat.com>
36046
36047 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36048 * math/math_private.h: Likewise.
36049 * stdlib/tst-strtod.c: Likewise.
36050 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36051 * sysdeps/x86_64/bits/atomic.h: Likewise.
36052
6358490d
DM
360532012-03-02 David S. Miller <davem@davemloft.net>
36054
36055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36059 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36060 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36061 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36062 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36063
01ae168d
RM
360642012-03-02 Roland McGrath <roland@hack.frob.com>
36065
d9a17c07
RM
36066 [BZ #13792]
36067 * manual/examples/README: New file, says the example source files
36068 can be used under GPL>=2.
36069 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36070 line containing just "*/".
36071 * manual/examples/add.c: Add copyright header (GPL>=2).
36072 * manual/examples/argp-ex1.c: Likewise.
36073 * manual/examples/argp-ex2.c: Likewise.
36074 * manual/examples/argp-ex3.c: Likewise.
36075 * manual/examples/argp-ex4.c: Likewise.
36076 * manual/examples/atexit.c: Likewise.
36077 * manual/examples/db.c: Likewise.
36078 * manual/examples/dir.c: Likewise.
36079 * manual/examples/dir2.c: Likewise.
36080 * manual/examples/execinfo.c: Likewise.
36081 * manual/examples/filecli.c: Likewise.
36082 * manual/examples/filesrv.c: Likewise.
36083 * manual/examples/fmtmsgexpl.c: Likewise.
36084 * manual/examples/genpass.c: Likewise.
36085 * manual/examples/inetcli.c: Likewise.
36086 * manual/examples/inetsrv.c: Likewise.
36087 * manual/examples/isockad.c: Likewise.
36088 * manual/examples/longopt.c: Likewise.
36089 * manual/examples/memopen.c: Likewise.
36090 * manual/examples/memstrm.c: Likewise.
36091 * manual/examples/mkfsock.c: Likewise.
36092 * manual/examples/mkisock.c: Likewise.
36093 * manual/examples/mygetpass.c: Likewise.
36094 * manual/examples/pipe.c: Likewise.
36095 * manual/examples/popen.c: Likewise.
36096 * manual/examples/rprintf.c: Likewise.
36097 * manual/examples/search.c: Likewise.
36098 * manual/examples/select.c: Likewise.
36099 * manual/examples/setjmp.c: Likewise.
36100 * manual/examples/sigh1.c: Likewise.
36101 * manual/examples/sigusr.c: Likewise.
36102 * manual/examples/stpcpy.c: Likewise.
36103 * manual/examples/strdupa.c: Likewise.
36104 * manual/examples/strftim.c: Likewise.
36105 * manual/examples/strncat.c: Likewise.
36106 * manual/examples/subopt.c: Likewise.
36107 * manual/examples/swapcontext.c: Likewise.
36108 * manual/examples/termios.c: Likewise.
36109 * manual/examples/testopt.c: Likewise.
36110 * manual/examples/testpass.c: Likewise.
36111 * manual/examples/timeval_subtract.c: Likewise.
36112
01ae168d
RM
36113 [BZ #13792]
36114 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36115 function to ...
36116 * manual/timeval_subtract.c.texi: ... here, new file.
36117
49efa33d
DM
361182012-03-02 David S. Miller <davem@davemloft.net>
36119
36120 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36121
28afd92d
JM
361222012-03-02 Joseph Myers <joseph@codesourcery.com>
36123
804360ed
JM
36124 [BZ #3976]
36125 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36126 (__sin): Save and restore rounding mode and use round-to-nearest
36127 for all computations.
36128 (__cos): Save and restore rounding mode and use round-to-nearest
36129 for all computations.
36130 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36131 <fenv.h>.
36132 (tan): Save and restore rounding mode and use round-to-nearest for
36133 all computations.
36134 * math/libm-test.inc (cos_test_tonearest): New function.
36135 (cos_test_towardzero): Likewise.
36136 (cos_test_downward): Likewise.
36137 (cos_test_upward): Likewise.
36138 (sin_test_tonearest): Likewise.
36139 (sin_test_towardzero): Likewise.
36140 (sin_test_downward): Likewise.
36141 (sin_test_upward): Likewise.
36142 (tan_test_tonearest): Likewise.
36143 (tan_test_towardzero): Likewise.
36144 (tan_test_downward): Likewise.
36145 (tan_test_upward): Likewise.
36146 (main): Call the new functions.
36147 * sysdeps/i386/fpu/libm-test-ulps: Update.
36148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36149
a6d06d7b
JM
36150 [BZ #10135]
36151 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36152 small n, then large n, before computing and testing k+n.
36153 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36155 Likewise.
36156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36157 Likewise.
36158 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36159 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36160 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36161 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36162 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36163 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36164 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36165 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36166 * math/libm-test.inc (scalbn_test): Add more tests.
36167 (scalbln_test): Likewise.
36168
07e12bb3
JM
36169 * manual/filesys.texi (mode_t): Describe constraints on size and
36170 signedness, not exact equivalence to a particular type.
36171 (ino_t): Likewise.
36172 (ino64_t): Likewise.
36173 (dev_t): Likewise.
36174 (nlink_t): Likewise.
36175 (blkcnt_t): Likewise.
36176 (blkcnt64_t): Likewise.
36177 * manual/llio.texi (off_t): Likewise.
36178
28afd92d
JM
36179 [BZ #3976]
36180 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36181 (__ieee754_exp): Save and restore rounding mode and use
36182 round-to-nearest for all computations.
36183 * math/libm-test.inc (exp_test_tonearest): New function.
36184 (exp_test_towardzero): Likewise.
36185 (exp_test_downward): Likewise.
36186 (exp_test_upward): Likewise.
36187 (main): Call the new functions.
36188 * sysdeps/i386/fpu/libm-test-ulps: Update.
36189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36190
b1eeb65d
CD
361912012-03-01 Chris Demetriou <cgd@google.com>
36192
36193 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36194 have predictable order.
36195
53362a4b
DM
361962012-03-01 David S. Miller <davem@davemloft.net>
36197
3c969083
DM
36198 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36199
759707de
DM
36200 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36201 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36202 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36203 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36204
dfdb8ff2
DM
36205 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36206 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36207 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36209 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36210 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36211 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36212 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36213 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36214
ead89f96
DM
36215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36216
7f66bd07
DM
36217 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36218 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36219 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36220
53362a4b
DM
36221 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36222 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36223 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36224 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36225 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36226 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36227 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36228 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36229 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36230 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36231 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36232 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36234 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36235 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36236 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36237 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36238 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36239 * sysdeps/sparc/elf/configure: Regenerated.
36240
7b1902cb
JM
362412012-03-01 Joseph Myers <joseph@codesourcery.com>
36242
bec039bc
JM
36243 * configure.in (AS, LD): Require binutils 2.20 or later.
36244 * configure: Regenerated.
36245 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36246 as required minimum version.
36247 * INSTALL: Regenerated.
36248
7b1902cb
JM
36249 [BZ #2541]
36250 [BZ #4108]
36251 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36252 before squaring exponent.
36253 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36254 bottom long double and 27 bits of top long double before squaring
36255 exponent.
36256 * math/libm-test.inc (erfc_test): Add more tests.
36257 * sysdeps/i386/fpu/libm-test-ulps: Update.
36258 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36260
f775c276
KT
362612012-03-01 Kai Tietz <ktietz@redhat.com>
36262
36263 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36264 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36265 containing bit-fields.
36266 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36267 * soft-fp/single.h (_FP_UNION_S): Likewise.
36268 * soft-fp/double.h (_FP_UNION_D): Likewise.
36269
5b8a4d4a
JM
362702012-02-29 Joseph Myers <joseph@codesourcery.com>
36271
0bab47b6
JM
36272 [BZ #13786]
36273 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36274 not include ../strcmp.S.
36275 [USE_AS_STRNCASECMP_L]: Likewise.
36276 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36277 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36278 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36279 (__strncasecmp_l_ia32): Define as alias to
36280 __strncasecmp_l_nonascii.
36281
0fcad3e2
JM
36282 [BZ #5794]
36283 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36284 * sysdeps/i386/fpu/libm-test-ulps: Update.
36285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36286
5b8a4d4a
JM
36287 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36289
8fdceb2e
JL
362902012-02-29 Jeff Law <law@redhat.com>
36291
36292 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36293 out of bounds read.
36294
1f393a11
MP
362952012-02-29 Marek Polacek <polacek@redhat.com>
36296
36297 [BZ #13706]
36298 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36299 * elf/Makefile: Add rules to run tst-unused-dep.out.
36300
8847f037
DM
363012012-02-28 David S. Miller <davem@davemloft.net>
36302
36303 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36304 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36305 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36306 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36307 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36308 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36309
169d7f11
JM
363102012-02-29 Joseph Myers <joseph@codesourcery.com>
36311
36312 * math/libm-test.inc (llround_test): Move one test from
36313 lround_test. Use TEST_f_L in moved test.
36314 (lround_test): Move misplaced test to llround_test. Add testcase
36315 from bug 2561.
36316
39adf059
UD
363172012-02-28 Ulrich Drepper <drepper@gmail.com>
36318
36319 * sysdeps/x86_64/fpu/e_expf.S: New file.
36320 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36321
71b5d1c5
SB
363222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36323
36324 [BZ #13637]
36325 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36326 of remain_len that may cause incomplete multi-byte character and
36327 false match.
36328 * posix/bug-regex33.c: New file.
36329 * posix/Makefile (tests): Add bug-regex33.
36330
1f77f049
JM
363312012-02-28 Joseph Myers <joseph@codesourcery.com>
36332
36333 * manual/macros.texi: New file.
36334 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36335 * manual/libc.texinfo: Include macros.texi.
36336 * manual/creatute.texi: Likewise.
36337 * manual/install.texi: Likewise.
36338 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36339 @glibcadj{} in references to the GNU C Library.
36340 * manual/charset.texi: Likewise.
36341 * manual/conf.texi: Likewise.
36342 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36343 when not using those macros.
36344 * manual/creature.texi: Likewise.
36345 * manual/crypt.texi: Likewise.
36346 * manual/errno.texi: Likewise.
36347 * manual/filesys.texi: Likewise.
36348 * manual/header.texi: Likewise.
36349 * manual/install.texi: Likewise.
36350 * manual/intro.texi: Likewise.
36351 * manual/io.texi: Likewise.
36352 * manual/job.texi: Likewise.
36353 * manual/lang.texi: Likewise.
36354 * manual/libc.texiinfo: Likewise.
36355 * manual/llio.texi: Likewise.
36356 * manual/locale.texi: Likewise.
36357 * manual/maint.texi: Likewise.
36358 * manual/math.texi: Likewise.
36359 * manual/memory.texi: Likewise.
36360 * manual/message.texi: Likewise.
36361 * manual/nss.texi: Likewise.
36362 * manual/pattern.texi: Likewise.
36363 * manual/process.texi: Likewise.
36364 * manual/resource.texi: Likewise.
36365 * manual/search.texi: Likewise.
36366 * manual/setjmp.texi: Likewise.
36367 * manual/signal.texi: Likewise.
36368 * manual/socket.texi: Likewise.
36369 * manual/startup.texi: Likewise.
36370 * manual/stdio.texi: Likewise.
36371 * manual/string.texi: Likewise.
36372 * manual/sysinfo.texi: Likewise.
36373 * manual/syslog.texi: Likewise.
36374 * manual/terminal.texi: Likewise.
36375 * manual/time.texi: Likewise.
36376 * manual/users.texi: Likewise.
36377 * INSTALL: Regenerated.
36378 * NOTES: Regenerated.
d40c5d54 36379 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36380
450bf206
AS
363812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36382
36383 * include/dirent.h: Include <dirstream.h> before
36384 <dirent/dirent.h>.
36385
741a235b
DM
363862012-02-28 David S. Miller <davem@davemloft.net>
36387
36388 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36389 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36390 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36391 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36392
d6b5aa58
DM
363932012-02-27 David S. Miller <davem@davemloft.net>
36394
1aff59a3
DM
36395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36397 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36398 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36399
d6b5aa58
DM
36400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36401 frame pointer instead of stack pointer relative arg slot.
36402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36403 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36404 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36405
433f48bf
CD
364062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36407
36408 [BZ #3992]
36409 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36410
d674b76d
DM
364112012-02-27 David S. Miller <davem@davemloft.net>
36412
36413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36417 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36418 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36419 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36420 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36421
0e7727f7
JM
364222012-02-27 Joseph Myers <joseph@codesourcery.com>
36423
36424 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36425 later. Allow versions 5-9.
43be4ca2 36426 * configure: Regenerated.
0e7727f7
JM
36427 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36428 required minimum version and 4.6 as recommended version. Do not
36429 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36430 * INSTALL: Regenerated.
0e7727f7 36431
a78bc654
DM
364322012-02-27 David S. Miller <davem@davemloft.net>
36433
428d5830
DM
36434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36438 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36439 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36440 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36441 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36442
a78bc654
DM
36443 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36444 manipulate bits before adding and subtracting TWO112[sx].
36445 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36446
4579f81c
RM
364472012-02-27 Roland McGrath <roland@hack.frob.com>
36448
36c8acb4
RM
36449 [BZ #13775]
36450 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36451 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36452 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36453 being in POSIX, because they are in 1003.1-2008.
36454
84ad622b
RM
36455 * rt/tst-aio.c: Include <fcntl.h>.
36456 * rt/tst-aio7.c: Likewise.
36457 * rt/tst-aio64.c: Likewise.
36458
4579f81c
RM
36459 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36460
abd923db
JM
364612012-02-27 Joseph Myers <joseph@codesourcery.com>
36462
36463 * manual/install.texi (--with-headers): Describe headers as
36464 interface headers, not private headers.
36465 (Specific advice for GNU/Linux systems): Describe use of headers
36466 from "make headers_install", not private headers from older
36467 kernels.
43be4ca2 36468 * INSTALL: Regenerated.
abd923db
JM
36469 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36470 Change to 2.6.19.
36471 * sysdeps/unix/sysv/linux/configure: Regenerated.
36472
6664049b
JM
36473 * manual/llio.texi (fclean): Remove documentation.
36474
bb8b6697
JM
36475 * manual/Makefile (libc-texi-generated): New variable. Include
36476 version.texi.
36477 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36478 $(libc-texi-generated), not duplicated list of files.
36479 (version.texi, stamp-version): New rules.
36480 (realclean): Remove $(libc-texi-generated), not individual files
36481 from that list. Do not remove dir-add.texinfo.
36482 * manual/libc.texinfo: Comment out uses of edition numbers and
36483 references to printed manual. Remove last-updated dates.
36484 (EDITION): Comment out.
36485 (ISBN): Likewise.
36486 (VERSION, UPDATED): Remove.
36487 (version.texi): Include.
36488
12e5c3b9
AS
364892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36490
36491 * sysdeps/posix/spawni.c: Include <signal.h>.
36492 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36493 * sysdeps/pthread/aio_fsync.c: Likewise.
36494
4efeffc1 364952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36496
ba63ba08
UD
36497 * conform/Makefile (tests): Run only when not cross-compiling and
36498 when fast-check is not defined.
36499
d94a4670
UD
36500 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36501 * conform/data/limits.h-data: Fixes for POSIX2008.
36502 * conform/run-conformtest.sh: Run all tests.
36503 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36504 headers.
36505 * include/bits/dlfcn.h: Likewise.
36506 * include/langinfo.h: Likewise.
36507 * include/monetary.h: Likewise.
36508 * include/sys/poll.h: Likewise.
36509
36510 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36511 for __USE_GNU.
36512 * posix/spawn.h: Define __need_sigset_t.
36513 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36514 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36515 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36516 to get sigevent_t only.
36517 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36518 only for __USE_GNU.
36519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36520 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36521 process_vm_writev only for __USE_GNU.
36522 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36523
36524 * conform/Makefile: For now ignore errors from run-conformtest.
36525 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36526 POSIX to avoid namespace pollution. Don't prepend headers.
36527 * conform/data/aio.h-data: Fixes for POSIX testing.
36528 * conform/data/fcntl.h-data: Likewise.
36529 * conform/data/glob.h-data: Likewise.
36530 * conform/data/grp.h-data: Likewise.
36531 * conform/data/pthread.h-data: Likewise.
36532 * conform/data/pwd.h-data: Likewise.
36533 * conform/data/signal.h-data: Likewise.
36534 * conform/data/spawn.h-data: Likewise.
36535 * conform/data/stdio.h-data: Likewise.
36536 * conform/data/stdlib.h-data: Likewise.
36537 * conform/data/stropts.h-data: Likewise.
36538 * conform/data/sys/mman.h-data: Likewise.
36539 * conform/data/sys/stat.h-data: Likewise.
36540 * conform/data/sys/types.h-data: Likewise.
36541 * conform/data/sys/wait.h-data: Likewise.
36542 * conform/data/time.h-data: Likewise.
36543 * conform/data/unistd.h-data: Likewise.
36544 * conform/data/utime.h-data: Likewise.
36545
36546 * io/sys/stat.h: fchmod was always in POSIX.
36547 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36548 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36549 * rt/aio.h: Define __need_timespec before including <time.h>.
36550 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36551 struct. Add forward declaration of pthread_attr_t and use it in
36552 sigevent.
36553 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36554 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36555 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36556 always remove CLK_TCK definition.
36557
c20105c3
AS
365582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36559
36560 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36561
7a270350
UD
365622012-02-25 Ulrich Drepper <drepper@gmail.com>
36563
31341567
UD
36564 * conform/run-conformtest.sh: New file.
36565 * conform/Makefile: Run run-conformtest for tests.
36566 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36567 support.
36568
36569 * conform/data/uchar.h-data: New file.
36570 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36571 * conform/data/arpa/inet.h-data: Likewise.
36572 * conform/data/assert.h-data: Likewise.
36573 * conform/data/complex.h-data: Likewise.
36574 * conform/data/cpio.h-data: Likewise.
36575 * conform/data/ctype.h-data: Likewise.
36576 * conform/data/dirent.h-data: Likewise.
36577 * conform/data/dlfcn.h-data: Likewise.
36578 * conform/data/errno.h-data: Likewise.
36579 * conform/data/fcntl.h-data: Likewise.
36580 * conform/data/float.h-data: Likewise.
36581 * conform/data/fmtmsg.h-data: Likewise.
36582 * conform/data/fnmatch.h-data: Likewise.
36583 * conform/data/ftw.h-data: Likewise.
36584 * conform/data/glob.h-data: Likewise.
36585 * conform/data/grp.h-data: Likewise.
36586 * conform/data/iconv.h-data: Likewise.
36587 * conform/data/inttypes.h-data: Likewise.
36588 * conform/data/langinfo.h-data: Likewise.
36589 * conform/data/libgen.h-data: Likewise.
36590 * conform/data/limits.h-data: Likewise.
36591 * conform/data/locale.h-data: Likewise.
36592 * conform/data/math.h-data: Likewise.
36593 * conform/data/monetary.h-data: Likewise.
36594 * conform/data/mqueue.h-data: Likewise.
36595 * conform/data/ndbm.h-data: Likewise.
36596 * conform/data/net/if.h-data: Likewise.
36597 * conform/data/netdb.h-data: Likewise.
36598 * conform/data/netinet/in.h-data: Likewise.
36599 * conform/data/nl_types.h-data: Likewise.
36600 * conform/data/poll.h-data: Likewise.
36601 * conform/data/pthread.h-data: Likewise.
36602 * conform/data/pwd.h-data: Likewise.
36603 * conform/data/regex.h-data: Likewise.
36604 * conform/data/sched.h-data: Likewise.
36605 * conform/data/search.h-data: Likewise.
36606 * conform/data/semaphore.h-data: Likewise.
36607 * conform/data/setjmp.h-data: Likewise.
36608 * conform/data/signal.h-data: Likewise.
36609 * conform/data/spawn.h-data: Likewise.
36610 * conform/data/stdarg.h-data: Likewise.
36611 * conform/data/stdio.h-data: Likewise.
36612 * conform/data/stdlib.h-data: Likewise.
36613 * conform/data/string.h-data: Likewise.
36614 * conform/data/strings.h-data: Likewise.
36615 * conform/data/stropts.h-data: Likewise.
36616 * conform/data/sys/ipc.h-data: Likewise.
36617 * conform/data/sys/mman.h-data: Likewise.
36618 * conform/data/sys/msg.h-data: Likewise.
36619 * conform/data/sys/resource.h-data: Likewise.
36620 * conform/data/sys/select.h-data: Likewise.
36621 * conform/data/sys/sem.h-data: Likewise.
36622 * conform/data/sys/shm.h-data: Likewise.
36623 * conform/data/sys/socket.h-data: Likewise.
36624 * conform/data/sys/stat.h-data: Likewise.
36625 * conform/data/sys/statvfs.h-data: Likewise.
36626 * conform/data/sys/time.h-data: Likewise.
36627 * conform/data/sys/timeb.h-data: Likewise.
36628 * conform/data/sys/times.h-data: Likewise.
36629 * conform/data/sys/types.h-data: Likewise.
36630 * conform/data/sys/uio.h-data: Likewise.
36631 * conform/data/sys/un.h-data: Likewise.
36632 * conform/data/sys/utsname.h-data: Likewise.
36633 * conform/data/sys/wait.h-data: Likewise.
36634 * conform/data/syslog.h-data: Likewise.
36635 * conform/data/tar.h-data: Likewise.
36636 * conform/data/termios.h-data: Likewise.
36637 * conform/data/utime.h-data: Likewise.
36638 * conform/data/utmpx.h-data: Likewise.
36639 * conform/data/varargs.h-data: Likewise.
36640 * conform/data/wchar.h-data: Likewise.
36641 * conform/data/wctype.h-data: Likewise.
36642 * conform/data/wordexp.h-data: Likewise.
36643
36644 * include/stropts.h: New file.
36645 * include/uchar.h: New file.
36646 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36647 * include/assert.h: Likewise.
36648 * include/ctype.h: Likewise.
36649 * include/dirent.h: Likewise.
36650 * include/dlfcn.h: Likewise.
36651 * include/fcntl.h: Likewise.
36652 * include/fnmatch.h: Likewise.
36653 * include/glob.h: Likewise.
36654 * include/grp.h: Likewise.
36655 * include/libio.h: Likewise.
36656 * include/locale.h: Likewise.
36657 * include/math.h: Likewise.
36658 * include/net/if.h: Likewise.
36659 * include/netdb.h: Likewise.
36660 * include/netinet/in.h: Likewise.
36661 * include/pthread.h: Likewise.
36662 * include/pwd.h: Likewise.
36663 * include/regex.h: Likewise.
36664 * include/sched.h: Likewise.
36665 * include/search.h: Likewise.
36666 * include/setjmp.h: Likewise.
36667 * include/signal.h: Likewise.
36668 * include/stdio.h: Likewise.
36669 * include/stdlib.h: Likewise.
36670 * include/string.h: Likewise.
36671 * include/sys/cdefs.h: Likewise.
36672 * include/sys/mman.h: Likewise.
36673 * include/sys/msg.h: Likewise.
36674 * include/sys/resource.h: Likewise.
36675 * include/sys/select.h: Likewise.
36676 * include/sys/socket.h: Likewise.
36677 * include/sys/stat.h: Likewise.
36678 * include/sys/statvfs.h: Likewise.
36679 * include/sys/time.h: Likewise.
36680 * include/sys/times.h: Likewise.
36681 * include/sys/uio.h: Likewise.
36682 * include/sys/utsname.h: Likewise.
36683 * include/sys/wait.h: Likewise.
36684 * include/termios.h: Likewise.
36685 * include/time.h: Likewise.
36686 * include/ulimit.h: Likewise.
36687 * include/unistd.h: Likewise.
36688 * include/utime.h: Likewise.
36689 * include/wchar.h: Likewise.
36690 * include/wctype.h: Likewise.
36691 * include/wordexp.h: Likewise.
36692
36693 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36694
7a270350
UD
36695 * time/time.h: TIME_UTC must be a macro.
36696 Make timespec_get available for ISO C11 only as well.
36697
7724defc
UD
366982012-02-24 Ulrich Drepper <drepper@gmail.com>
36699
36700 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36701 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36702
6b1d1d46
JM
367032012-02-24 Joseph Myers <joseph@codesourcery.com>
36704
36705 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36706
0f8bbd69
JM
367072012-02-24 Joseph Myers <joseph@codesourcery.com>
36708
36709 * manual/texinfo.tex: Update to version 2012-01-19.16.
36710
66ab80bc
JM
367112012-02-24 Joseph Myers <joseph@codesourcery.com>
36712
36713 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36714
74981cc5
RM
367152012-02-24 Roland McGrath <roland@hack.frob.com>
36716
ee968201
RM
36717 [BZ #13738]
36718 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36719 * manual/fdl-1.3.texi: New file.
36720 * manual/fdl-1.1.texi: File removed.
36721
74981cc5
RM
36722 [BZ #13738]
36723 * manual/libc.texinfo (FDL_VERSION): New @set.
36724 Use it for mention of FDL in cover text.
36725 (Documentation License): Use it in @include file name.
36726
7bb764bc
JM
367272012-02-22 Joseph Myers <joseph@codesourcery.com>
36728 Roland McGrath <roland@hack.frob.com>
36729
36730 [BZ #5461]
57f41c40
AS
36731 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36732 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36733 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36734 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36735 name.
36736 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36737
6cbeae47
JM
367382012-02-22 Joseph Myers <joseph@codesourcery.com>
36739
36740 [BZ #2547]
36741 [BZ #11365]
36742 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36743 manipulate bits before adding and subtracting TWO23[sx].
36744 * math/libm-test.inc (nearbyint_test): Add more tests.
36745
fe45ce09
JM
367462012-02-22 Joseph Myers <joseph@codesourcery.com>
36747
36748 [BZ #2548]
36749 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36750 bits before adding and subtracting TWO23[sx].
36751 * math/libm-test.inc (rint_test): Add more tests.
36752 (rint_test_tonearest): Likewise.
36753 (rint_test_towardzero): Likewise.
36754 (rint_test_downward): Likewise.
36755 (rint_test_upward: Likewise.
36756
ff3b3d82
JM
367572012-02-22 Joseph Myers <joseph@codesourcery.com>
36758
36759 [BZ #10110]
36760 * include/stdc-predef.h: New file. Extracted from features.h.
36761 * include/features.h: Include stdc-predef.h.
36762 * Makefile (headers): Add stdc-predef.h.
36763 * CONFORMANCE (Compiler limitations): Update.
36764
ef0aab35
JM
367652012-02-22 Joseph Myers <joseph@codesourcery.com>
36766
36767 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36768
58639409
DM
367692012-02-21 David S. Miller <davem@davemloft.net>
36770
36771 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36772 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36773
c0e70b25
DM
367742012-02-20 David S. Miller <davem@davemloft.net>
36775
36776 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36777 using a normal save/restore sequence, rather than allocating a
36778 dummy stack frame just to store a frame pointer and restore.
36779 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36780
fb06851d
JM
367812012-02-21 Joseph Myers <joseph@codesourcery.com>
36782
36783 * manual/install.texi: Fix stray word in line-wrapped comment.
36784
7a8b71c3
DM
367852012-02-20 David S. Miller <davem@davemloft.net>
36786
d510c123
DM
36787 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36788 both binutils and gcc support GOTDATA.
36789
0722d7c2
DM
36790 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36791 "rd %pc" in the PIC register setup sequences.
36792
3d2b3019
DM
36793 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36794 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36795 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36796 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36797 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36799 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36800 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36802 (SYSCALL_ERROR_HANDLER): Likewise.
36803 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36804 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36805 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36806 (SYSCALL_ERROR_HANDLER): Likewise.
36807
c80098a9
DM
36808 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36809 (HAVE_GCC_GOTDATA): New.
36810 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36811 relocation support in both binutils and gcc.
36812 * sysdeps/sparc/elf/configure: Regenerate.
36813
3a2545a0
DM
36814 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36815 * sysdeps/sparc/sparc32/elf/configure: Delete.
36816 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36817 * sysdeps/sparc/sparc64/elf/configure: Delete.
36818 * sysdeps/sparc/elf/configure.in: New file.
36819 * sysdeps/sparc/elf/configure: Generate.
36820
7a8b71c3
DM
36821 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36822 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36823 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36824 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36825 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36826
f1e86fca
JM
368272012-02-21 Joseph Myers <joseph@codesourcery.com>
36828
36829 * manual/install.texi: Do not mention specific glibc version
36830 numbers.
36831 * manual/libc.texinfo (VERSION, UPDATED): Update.
36832 (@copying): Use @copyright{} and range of years.
36833
0e7dfaef
JM
368342012-02-21 Joseph Myers <joseph@codesourcery.com>
36835
36836 [BZ #13695]
36837 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36838 [crti.S not in sysdirs] (generated): Do not append.
36839 [crti.S not in sysdirs] (omit-deps): Likewise.
36840 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36841 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36842 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36843 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36844 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36845 Likewise.
36846 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36847 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36848 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36849 * csu/defs.awk: Remove file.
36850 * sysdeps/generic/initfini.c: Likewise.
36851 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36852 variable.
36853 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36854 Likewise.
36855
599af3ca
JM
368562012-02-20 Joseph Myers <joseph@codesourcery.com>
36857
36858 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36859 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36860 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36862 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36863 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36864 <bits/epoll.h>.
36865 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36866 (__EPOLL_PACKED): Define to empty if not defined by
36867 <bits/epoll.h>.
36868 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36870 bits/epoll.h.
36871
0e499750
JM
368722012-02-20 Joseph Myers <joseph@codesourcery.com>
36873
36874 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36875 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36876 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36877 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36878 <bits/timerfd.h>.
36879 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36881 bits/timerfd.h.
36882
5ad91f6e
JM
368832012-02-20 Joseph Myers <joseph@codesourcery.com>
36884
36885 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36886 in C locale.
36887 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36888 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36891
06b99b02
AJ
368922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36893
36894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36895 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36896
7638c0fd
AS
368972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36898
36899 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36900 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36901 defined.
36902 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36903 Likewise.
36904 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36905 entry for 2.16.
36906
92221550
AJ
369072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36908
36909 * math/w_acos.c: Use non-signaling floating-point comparisons.
36910 * math/w_acosf.c: Likewise.
36911 * math/w_acosh.c: Likewise.
36912 * math/w_acoshf.c: Likewise.
36913 * math/w_acoshl.c: Likewise.
36914 * math/w_acosl.c: Likewise.
36915 * math/w_asin.c: Likewise.
36916 * math/w_asinf.c: Likewise.
36917 * math/w_asinl.c: Likewise.
36918 * math/w_atanh.c: Likewise.
36919 * math/w_atanhf.c: Likewise.
36920 * math/w_atanhl.c: Likewise.
36921 * math/w_exp2.c: Likewise.
36922 * math/w_exp2f.c: Likewise.
36923 * math/w_exp2l.c: Likewise.
36924 * math/w_j0.c: Likewise.
36925 * math/w_j0f.c: Likewise.
36926 * math/w_j0l.c: Likewise.
36927 * math/w_j1.c: Likewise.
36928 * math/w_j1f.c: Likewise.
36929 * math/w_j1l.c: Likewise.
36930 * math/w_jn.c: Likewise.
36931 * math/w_jnf.c: Likewise.
36932 * math/w_log.c: Likewise.
36933 * math/w_log10.c: Likewise.
36934 * math/w_log10f.c: Likewise.
36935 * math/w_log10l.c: Likewise.
36936 * math/w_log2.c: Likewise.
36937 * math/w_log2f.c: Likewise.
36938 * math/w_log2l.c: Likewise.
36939 * math/w_logf.c: Likewise.
36940 * math/w_logl.c: Likewise.
36941 * math/w_sqrt.c: Likewise.
36942 * math/w_sqrtf.c: Likewise.
36943 * math/w_sqrtl.c: Likewise.
36944 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36945 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36946 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36947 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36948 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36949
ebaf36eb
JM
369502012-02-19 Joseph Myers <joseph@codesourcery.com>
36951
36952 [BZ #9739]
36953 * manual/string.texi (strnlen): Use correct parameter name in
36954 equivalent expression.
36955
71c254a6
JM
369562012-02-19 Joseph Myers <joseph@codesourcery.com>
36957
36958 [BZ #11174]
36959 * manual/users.texi (seteuid): Consistently use neweuid for
36960 argument name.
36961
16d2c631
JM
369622012-02-19 Joseph Myers <joseph@codesourcery.com>
36963
36964 [BZ #13704]
36965 * manual/nss.texi (Services in the NSS configuration): Correct
36966 list of services in example configuration file.
36967
cd837b09
NB
369682012-02-19 Nick Bowler <nbowler@draconx.ca>
36969
36970 [BZ #11322]
36971 * manual/arith.texi: Remove statements about negative zero
36972 behaving identically to zero.
36973
02c4bbad
JM
369742012-02-18 Joseph Myers <joseph@codesourcery.com>
36975
36976 [BZ #5993]
36977 * manual/install.texi: Do not document upgrading from libc5.
36978
366842e7
JM
369792012-02-18 Joseph Myers <joseph@codesourcery.com>
36980
36981 [BZ #4596]
36982 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36983
dd54084d
DM
369842012-02-18 David S. Miller <davem@davemloft.net>
36985
36986 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36987 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36988 %o7 across the call.
36989 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36990 instead.
36991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36992 SETUP_PIC_REG_LEAF.
36993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36994 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36995 * sysdeps/sparc/crtn.S: Likewise.
36996
2bcc53a3
UD
369972012-02-17 Ulrich Drepper <drepper@gmail.com>
36998
36999 * aout/Makefile: Remove.
37000
09c093b5
RK
370012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37002
37003 [BZ #13058]
37004 * manual/examples/argp-ex1.c (main): Format definition in GNU
37005 style.
37006 * manual/examples/argp-ex2.c (main): Likewise.
37007 * manual/examples/argp-ex3.c (main): Likewise.
37008 * manual/examples/argp-ex4.c (main): Likewise.
37009 * manual/examples/longopt.c (main): Use new-style prototype
37010 definition.
37011 * manual/examples/strncat.c (main): Specify return type and use
37012 (void) for arguments.
37013 * manual/examples/subopt.c (main): Use char **argv argument.
37014
2ee633a2
JM
370152012-02-17 Joseph Myers <joseph@codesourcery.com>
37016
37017 [BZ #5077]
37018 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37019 rounding modes.
37020
0520adde
FB
370212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37022
37023 [BZ #6907]
37024 * manual/string.texi (strchr): Change when strchrnul is
37025 recommended.
37026
3f4081cd
DGM
370272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37028
37029 [BZ #174]
37030 * manual/locale.texi (setlocale): Document LOCPATH.
37031
d1b10e78
JM
370322012-02-17 Joseph Myers <joseph@codesourcery.com>
37033
37034 [BZ #10210]
37035 * manual/process.texi (execle): Move @dots{} before last argument.
37036
79c6869c
PB
370372012-02-17 Paul Bolle <pebolle@tiscali.nl>
37038
37039 [BZ #12047]
37040 * manual/charset.texi (Generic Charset Conversion): Fix typo
37041 (LC_TYPE -> LC_CTYPE).
37042
cc6e48bc
NB
370432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37044
37045 [BZ #5805]
37046 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37047 (scalbnf): Likewise.
37048 (scalbnl): Likewise.
37049 (scalbln): Likewise.
37050 (scalblnf): Likewise.
37051 (scalblnl): Likewise.
37052 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37053 (vwarnx): Likewise.
37054 (verr): Likewise.
37055 (verrx): Likewise.
37056 * manual/filesys.texi (telldir): Use braces around return type.
37057 * manual/llio.texi (mmap): Add space after comma.
37058 (mmap64): Likewise.
37059 * manual/math.texi (jn): Use @var{} on parameter names.
37060 (jnf): Likewise.
37061 (jnl): Likewise.
37062 (yn): Likewise.
37063 (ynf): Likewise.
37064 (ynl): Likewise.
37065 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37066 line.
37067 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37068 "...".
37069 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37070 (sched_get_priority_max): Likewise.
37071 * manual/signal.texi (sigvec): Add space after comma.
37072 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37073 names.
37074 (if_indextoname): Likewise.
37075 (if_freenameindex): Likewise.
37076 (sendto): Use ',' instead of '.' in prototype.
37077 * manual/startup.texi (syscall): Use @dots{} instead of literal
37078 "...".
37079 * manual/stdio.texi (__fpending): Separate initial words of
37080 paragraph from @deftypefun line.
37081 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37082 "...".
37083 (vsyslog): Use @var{} on parameter names.
37084 * manual/terminal.texi (stty): Use @var{} on parameter names.
37085 * manual/users.texi (getutmp): Use @var{} on parameter names.
37086 (getutmpx): Likewise.
37087
5b23062f
JM
370882012-02-17 Joseph Myers <joseph@codesourcery.com>
37089
37090 [BZ #6884]
37091 * manual/stdio.texi (fopen): Fix typos in description of
37092 ",ccs=STRING".
37093
8dee4833
AJ
370942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37095
37096 [BZ #4026]
37097 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37098 get clock_id definition.
37099
9078ce93
TS
371002012-02-17 Thomas Schwinge <thomas@schwinge.name>
37101
37102 [BZ #4822]
37103 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37104 (madvise): Cast every argument to void on its own.
37105
3835c55f
JM
371062012-02-17 Joseph Myers <joseph@codesourcery.com>
37107
37108 [BZ #9902]
37109 * manual/startup.texi (Exit Status): Fix typo.
37110
35c47e37
JM
371112012-02-17 Joseph Myers <joseph@codesourcery.com>
37112
37113 [BZ #10140]
37114 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37115 * manual/examples/argp-ex2.c: Likewise.
37116 * manual/examples/argp-ex3.c: Likewise.
37117
e3b69ca7
RH
371182012-02-16 Richard Henderson <rth@redhat.com>
37119
37120 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37121 * sysdeps/s390/s390-32/initfini.c: Remove.
37122 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37123 * sysdeps/s390/s390-64/initfini.c: Remove.
37124
df83af67
KK
371252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37126
37127 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37128 compiler output for sysdeps/generic/initfini.c.
37129 * sysdeps/sh/elf/initfini.c: Remove file.
37130
f63f3380
DM
371312012-02-16 David S. Miller <davem@davemloft.net>
37132
fb59b3a4
DM
37133 [BZ #11494]
37134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37135
f63f3380
DM
37136 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37137 * sysdeps/sparc/crti.S: New file.
37138 * sysdeps/sparc/crtn.S: New file.
37139 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37140 * sysdeps/sparc/sparc64/Makefile: Likewise.
37141
df6a4a4a
MF
371422012-02-15 Mike Frysinger <vapier@gentoo.org>
37143
6dd8f3dc 37144 [BZ #3335]
df6a4a4a
MF
37145 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37146
1cac7236
RM
371472012-02-15 Roland McGrath <roland@hack.frob.com>
37148
d2c736f8
RM
37149 [BZ #4822]
37150 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37151
1cac7236
RM
37152 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37153 (write, read, close): Likewise.
37154 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37155
8e475601
JM
371562012-02-15 Joseph Myers <joseph@codesourcery.com>
37157
37158 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37159 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37160 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37161 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37162 <bits/signalfd.h>.
37163 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37165 bits/signalfd.h.
37166
ed656b40
MP
371672012-02-14 Marek Polacek <polacek@redhat.com>
37168
37169 * sysdeps/x86_64/crti.S: New file.
37170 * sysdeps/x86_64/crtn.S: New file.
37171 * sysdeps/x86_64/elf/initfini.c: Remove file.
37172
2a979d3a
JM
371732012-02-13 Joseph Myers <joseph@codesourcery.com>
37174
37175 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37176 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37177 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37178 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37179 <bits/inotify.h>.
37180 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37182 bits/inotify.h.
37183
2a418ac3
JM
371842012-02-13 Joseph Myers <joseph@codesourcery.com>
37185
37186 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37187 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37188 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37189 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37190 <bits/eventfd.h>.
37191 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37193 bits/eventfd.h.
37194
fb779be7
TS
371952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37196
e19e83c5
RM
37197 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37198 __feraiseexcept instead of feraiseexcept.
7c35ffed 37199
fb779be7
TS
37200 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37201 nanosleep invocations.
37202 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37203 strings, and add error checking for a nanosleep invocations.
37204
59ba27a6
PE
372052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37206
37207 Replace FSF snail mail address with URLs, as per GNU coding standards.
37208 Most of the snail mail addresses were wrong anyway, and omitting
37209 them makes the source code easier to maintain. Almost all of the
37210 changes are to license notices and to locale LC_IDENTIFICATION
37211 addresses, except for this one:
37212 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37213 not its snail mail address.
37214
57b957eb
RH
372152012-02-09 Richard Henderson <rth@twiddle.net>
37216
af850b1c
RH
37217 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37218 of kernel-features.h.
37219
57b957eb
RH
37220 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37221
6b73181a
MP
372222012-02-08 Marek Polacek <polacek@redhat.com>
37223
37224 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37225 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37226 * sysdeps/gnu/_G_config.h: Likewise.
37227 * sysdeps/generic/_G_config.h: Likewise.
37228
26ecc33a
AS
372292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37230
6c6dbc63
AS
37231 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37232 tests.
37233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37234
e216c012
AS
37235 * sysdeps/powerpc/powerpc32/crti.S: New file.
37236 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37237 * sysdeps/powerpc/powerpc64/crti.S: New file.
37238 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37239
26ecc33a
AS
37240 * Makeconfig (have-initfini): Don't set.
37241 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37242 * configure.in (nopic_initfini): Don't substitute.
37243 * config.h.in (HAVE_INITFINI): Don't #undef.
37244 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37245 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37246
3add8e13
JM
372472012-02-08 Joseph Myers <joseph@codesourcery.com>
37248
37249 Support crti.S and crtn.S provided directly by architectures.
37250 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37251 [crti.S in sysdirs] (omit-deps): Likewise.
37252 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37253 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37254 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37255 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37256 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37257 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37258 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37259 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37260 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37261 compiler output for sysdeps/generic/initfini.c.
37262 * sysdeps/i386/elf/Makefile: Remove file.
37263 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37264
a22f12b4
MP
372652012-02-07 Marek Polacek <polacek@redhat.com>
37266
37267 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37268 * sysdeps/gnu/_G_config.h: Likewise.
37269 * sysdeps/mach/hurd/_G_config.h: Likewise.
37270
148cf100
MP
372712012-02-07 Marek Polacek <polacek@redhat.com>
37272
37273 * math/Makefile (tests): Add tst-CMPLX2.
37274 * math/tst-CMPLX2.c: New file.
37275
cfdc0dd7
AS
372762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37277
84ba42c4
AS
37278 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37279
cfdc0dd7
AS
37280 * math/libm-test.inc (jn_test): Add missing L suffix.
37281
622c86f4
MP
372822012-02-06 Marek Polacek <polacek@redhat.com>
37283
37284 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37285 * sysdeps/i386/fpu/e_powf.S: Likewise.
37286 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37287 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37288 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37289 * sysdeps/i386/fpu/e_pow.S: Likewise.
37290 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37291 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37292 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37293 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37294 * sysdeps/i386/fpu/e_log2.S: Likewise.
37295 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37296 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37297 * sysdeps/i386/fpu/e_powl.S: Likewise.
37298 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37299 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37300 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37301 * sysdeps/i386/fpu/e_logl.S: Likewise.
37302 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37303 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37304 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37305 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37306 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37307 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37308 * sysdeps/i386/fpu/e_log.S: Likewise.
37309 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37310 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37311 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37312 * sysdeps/i386/fpu/e_logf.S: Likewise.
37313 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37314 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37315 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37316 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37317 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37318 * sysdeps/i386/fpu/e_log10.S: Likewise.
37319 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37320 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37321 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37322 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37323 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37324 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37325 * sysdeps/i386/asm-syntax.h: Likewise.
37326 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37327 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37328 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37329 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37330 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37331 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37332 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37333 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37334 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37335 * sysdeps/powerpc/sysdep.h: Likewise.
37336 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37337 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37338
d4a54ac6
JM
373392012-02-06 Joseph Myers <joseph@codesourcery.com>
37340
37341 [BZ #411]
37342 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37343
314054ea
JM
373442012-02-06 Joseph Myers <joseph@codesourcery.com>
37345
37346 * sysdeps/i386/sysdep.h: Include <features.h>.
37347 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37348 version.
37349
d8e0ca50
JM
373502012-02-05 Joseph Myers <joseph@codesourcery.com>
37351
37352 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37353 Define.
37354 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37355 LOAD_PIC_REG_STR.
37356
b1da7dd9
JM
373572012-02-03 Joseph Myers <joseph@codesourcery.com>
37358
37359 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37360 (SETUP_PIC_REG): Use GET_PC_THUNK.
37361 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37362 macro.
37363
9a1d9254
JM
373642012-02-03 Joseph Myers <joseph@codesourcery.com>
37365
37366 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37367 for non-PIC compilation.
37368 (SETUP_PIC_REG): Add .p2align directive.
37369 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37370 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37371 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37372 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37373 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37374 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37375 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37376 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37377 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37378 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37379 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37380 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37381 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37382 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37383 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37384 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37385 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37386 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37387 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37388 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37389 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37391 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37392 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37393 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37395 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37396 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37397 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37398 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37399 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37400 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37401 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37402 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37403 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37404 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37405 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37406 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37407 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37408 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37409 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37410
65dc3b75
JM
374112012-02-03 Joseph Myers <joseph@codesourcery.com>
37412
37413 * math/tst-CMPLX.c: Include <stdio.h>.
37414
d55bf177
JM
374152012-01-31 Joseph Myers <joseph@codesourcery.com>
37416
37417 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37418 float.
37419 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37420 * sysdeps/sparc/bits/mathdef.h: Likewise.
37421
69db4f8f
MP
374222012-01-31 Marek Polacek <polacek@redhat.com>
37423
37424 * libio/libio.h: Don't define _PARAMS.
37425 * locale/programs/config.h: Don't define PARAMS.
37426 * stdlib/strtol_l.c: Likewise.
37427 (__strtol_l): Remove PARAMS from the prototype.
37428
41b81892
UD
374292012-01-31 Ulrich Drepper <drepper@gmail.com>
37430
3b49edc0
UD
37431 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37432 names. Just use the correct names. Remove unnecessary wrapper
37433 functions.
37434 * malloc/arena.c: Likewise.
37435 * malloc/hooks.c: Likewise.
37436
41b81892
UD
37437 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37438 ARENA_TEST says not to. Simplify test for creation of a new arena.
37439 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37440
27a25b6e
UD
374412012-01-30 Ulrich Drepper <drepper@gmail.com>
37442
37443 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37444 into tail calls.
37445 (update_get_addr): New function.
37446 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37447 GET_ADDR_MODULE parameter.
37448
c8a89e7d
JM
374492012-01-30 Joseph Myers <joseph@codesourcery.com>
37450
37451 * crypt/cert.c: Remove __STDC__ conditionals.
37452 * crypt/crypt-entry.c: Likewise.
37453 * crypt/crypt_util.c: Likewise.
37454 * libio/filedoalloc.c: Likewise.
37455 * libio/fileops.c: Likewise.
37456 * libio/genops.c: Likewise.
37457 * libio/iofclose.c: Likewise.
37458 * libio/iofdopen.c: Likewise.
37459 * libio/iofopen.c: Likewise.
37460 * libio/iofopen64.c: Likewise.
37461 * libio/iogetdelim.c: Likewise.
37462 * libio/iopopen.c: Likewise.
37463 * libio/obprintf.c: Likewise.
37464 * libio/oldfileops.c: Likewise.
37465 * libio/oldiofclose.c: Likewise.
37466 * libio/oldiofdopen.c: Likewise.
37467 * libio/oldiofopen.c: Likewise.
37468 * libio/oldiopopen.c: Likewise.
37469 * libio/wfiledoalloc.c: Likewise.
37470 * libio/wgenops.c: Likewise.
37471 * locale/programs/xmalloc.c: Likewise.
37472 * misc/syslog.c: Likewise.
37473 * stdio-common/xbug.c: Likewise.
37474 * string/memchr.c: Likewise.
37475 * string/memcmp.c: Likewise.
37476 * string/memrchr.c: Likewise.
37477 * string/rawmemchr.c: Likewise.
37478 * sysdeps/posix/getcwd.c: Likewise.
37479 * time/strftime_l.c: Likewise.
37480
3b100462
JM
374812012-01-30 Joseph Myers <joseph@codesourcery.com>
37482
37483 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37484 * config.make.in (config-cflags-sse2avx): Define.
37485 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37486 Fix typo.
37487
607998af
CM
374882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37489
37490 * scripts/config.guess: Update from upstream config git repository.
37491 * scripts/config.sub: Likewise.
37492
3601428f
CM
374932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37494
3ac8b282
CM
37495 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37496 (EM_NUM): Update.
37497 (R_TILEPRO_*, R_TILEGX_*): New macros.
37498
e034841e
CM
37499 * scripts/firstversions.awk: Fix bug in version range handling.
37500
540d7568
CM
37501 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37502
3601428f
CM
37503 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37504
463de862
CM
37505 * include/sys/epoll.h: New file.
37506 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37507 libc_hidden_def.
37508
73139a76
UD
375092012-01-28 Ulrich Drepper <drepper@gmail.com>
37510
96bc5b45
UD
37511 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37512 Avoid unnecessary __WORDSIZE == 64 test.
37513 (fmaxf): Use VEX format if possible.
37514 (fmax): Likewise.
37515 (fminf): Likewise.
37516 (fmin): Likewise.
37517
56f6f6a2
UD
37518 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37519 * math/math_private.h: Remove libc_fegetround* and
37520 libc_fesetround*.
37521 * sysdeps/i386/configure.in: Check for -msse2avx.
37522 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37523 also if SSE2AVX is defined.
37524 Remove libc_fegetround* and libc_fesetround*.
37525 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37526 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37527 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37528 of HAS_YMM_USABLE.
37529 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37530 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37531 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37532 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37533 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37534
73139a76
UD
37535 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37536
d73f93a4
AZ
375372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37538
37539 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37540 size is not set.
37541 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37542
6ee65ed6
UD
375432012-01-27 Ulrich Drepper <drepper@gmail.com>
37544
37545 [BZ #13618]
37546 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37547 relocation.
37548 * Makeconfig (libm): Define.
37549 * elf/Makefile: Add rules to build and run tst-relsort1.
37550 * elf/tst-relsort1.c: New file.
37551 * elf/tst-relsort1mod1.c: New file.
37552 * elf/tst-relsort1mod2.c: New file.
37553
8db21882
JM
375542012-01-27 Joseph Myers <joseph@codesourcery.com>
37555
37556 * math/s_ldexp.c: Remove __STDC__ conditionals.
37557 * math/s_ldexpf.c: Likewise.
37558 * math/s_ldexpl.c: Likewise.
37559 * math/s_nextafter.c: Likewise.
37560 * math/s_nexttowardf.c: Likewise.
37561 * math/s_significand.c: Likewise.
37562 * math/s_significandf.c: Likewise.
37563 * math/s_significandl.c: Likewise.
37564 * math/w_jnl.c: Likewise.
37565 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37566 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37567 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37568 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37569 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37584 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37585 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37586 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37587 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37588 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37589 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37590 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37591 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37592 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37593 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37594 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37595 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37596 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37597 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37598 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37599 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37600 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37601 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37602 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37603 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37604 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37605 * sysdeps/ieee754/k_standard.c: Likewise.
37606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37607 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37608 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37609 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37610 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37611 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37612 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37613 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37614 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37615 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37616 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37617 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37618 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37619 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37620 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37622 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37623 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37624 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37625 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37626 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37627 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37628 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37629 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37630 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37632 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37633 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37634 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37635 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37639 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37640 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37641 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37644 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37645 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37646 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37649 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37650 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37651 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37653 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37663 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37664 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37665 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37667 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37669 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37672 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37673 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37674 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37680 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37681 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37682 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37683 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37685 * sysdeps/ieee754/s_matherr.c: Likewise.
37686 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37687 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37690
965a54a4
JM
376912012-01-26 Joseph Myers <joseph@codesourcery.com>
37692
37693 * crypt/md5.h: Remove __STDC__ conditionals.
37694 * libio/libioP.h: Likewise.
37695 * locale/programs/config.h: Likewise.
37696 * sysdeps/generic/sysdep.h: Likewise.
37697 * sysdeps/i386/asm-syntax.h: Likewise.
37698 * sysdeps/s390/asm-syntax.h: Likewise.
37699 * sysdeps/unix/sysdep.h: Likewise.
37700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37702
7071ad79
JM
377032012-01-26 Joseph Myers <joseph@codesourcery.com>
37704
37705 * libio/libio.h: Remove __STDC__ conditionals.
37706 * malloc/obstack.h: Likewise.
37707 * math/complex.h: Likewise.
37708 * math/math.h: Likewise.
37709 * sysdeps/generic/_G_config.h: Likewise.
37710 * sysdeps/gnu/_G_config.h: Likewise.
37711 * sysdeps/mach/hurd/_G_config.h: Likewise.
37712 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37713 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37714 * sysdeps/sparc/bits/mathdef.h: Likewise.
37715
afc5ed09
UD
377162012-01-26 Ulrich Drepper <drepper@gmail.com>
37717
37718 [BZ #13583]
37719 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37720 Clean up HAS_* macros.
afc5ed09 37721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37722 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37723 possible.
37724 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37725 HAS_AVX.
37726 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37727 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37728 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37729 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37730 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37731
bdb6de1d
JM
377322012-01-25 Joseph Myers <joseph@codesourcery.com>
37733
37734 * elf/tst-unique3.cc (gets): Remove declaration.
37735 * elf/tst-unique3lib.cc (gets): Likewise.
37736 * elf/tst-unique3lib2.cc (gets): Likewise.
37737 * elf/tst-unique4.cc (gets): Likewise.
37738
b15549e6
UD
377392012-01-24 Ulrich Drepper <drepper@gmail.com>
37740
37741 * include/stdio.h: Add C++ protection. Add gets declarations and
37742 definitions.
37743 * debug/tst-chk1.c: Don't declare gets here.
37744 * stdio-common/tst-gets.c: Likewise.
37745
a037381f
JM
377462012-01-24 Joseph Myers <joseph@codesourcery.com>
37747
37748 * posix/glob: Remove directory.
37749
f1d4aa75
JM
377502012-01-24 Joseph Myers <joseph@codesourcery.com>
37751
37752 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37753
81c0c964
PT
377542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37755
37756 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37757 of the non-standard EPFNOSUPPORT.
37758
0ea698ae
ST
377592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37760
37761 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37762 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37763 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37764
d220b117
UD
377652012-01-21 Ulrich Drepper <drepper@gmail.com>
37766
37767 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37768
3e1aa84e
UD
377692012-01-20 Ulrich Drepper <drepper@gmail.com>
37770
37771 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37772 transient errors.
37773 * nscd/grpcache.c (cache_addgr): Likewise.
37774 * nscd/hstcache.c (cache_addhst): Likewise.
37775 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37776 * nscd/pwdcache.c (cache_addpw): Likewise.
37777 * nscd/servicescache.c (cache_addserv): Likewise.
37778
400aa020
UD
377792012-01-16 Ulrich Drepper <drepper@gmail.com>
37780
d77e7869
UD
37781 * malloc/malloc.c: Various cleanups.
37782 * malloc/hooks.c: Likewise.
37783
400aa020
UD
37784 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37785 * stdlib/bug-fmtmsg1.c: New file.
37786
37787 * stdlib/fmtmsg.c (init): Add missing unlock.
37788 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37789
e0a309cf
MP
377902012-01-12 Marek Polacek <polacek@redhat.com>
37791
37792 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37793 and _GNU_SOURCE.
37794
929d11c7
WS
377952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37796
37797 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37798 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37799 macro to ensure uniqueness of label name.
37800 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37801 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37802
41d0e869
UD
378032012-01-11 Ulrich Drepper <drepper@gmail.com>
37804
0cc5ed3b
UD
37805 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37806
41d0e869
UD
37807 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37808 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37809 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37810 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37811
a47a831a
UD
378122012-01-10 Ulrich Drepper <drepper@gmail.com>
37813
daa891c0
UD
37814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37815
37816 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37817 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37818 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37819
e58ef0f2
UD
37820 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37821
a47a831a 37822 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37823 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37824 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37825 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37826
37827 * math/bits/math-finite.h: Add ldexp support.
37828
a0bfc9c7
MP
378292012-01-10 Marek Polacek <polacek@redhat.com>
37830
37831 * locale/programs/localedef.h (show_archive_content): Add noreturn
37832 attribute.
37833
d6e97a1d
UD
378342012-01-09 Ulrich Drepper <drepper@gmail.com>
37835
37836 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37837
d5835c26
UD
378382012-01-08 Ulrich Drepper <drepper@gmail.com>
37839
e5f484c6
UD
37840 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37841
d5835c26
UD
37842 * io/Makefile (headers): Add bits/poll2.h.
37843
d1f741e9
WS
378442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37845
37846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37847 typo #include statement.
37848
ec09c1c4
UD
378492012-01-08 Ulrich Drepper <drepper@gmail.com>
37850
37851 * include/sys/cdefs.h: Define __attribute_alloc_size.
37852 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37853 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37854 * elf/pldd.c: Likewise.
37855 * iconv/iconv_charmap.c: Likewise.
37856 * iconv/iconvconfig.c: Likewise.
37857 * iconv/strtab.c: Likewise.
37858 * locale/programs/locale.c: Likewise.
37859 * locale/programs/localedef.h: Likewise.
37860 * locale/programs/simple-hash.c: Likewise.
37861 * nscd/nscd.h: Likewise.
37862 * nss/makedb.c: Likewise.
37863 * sysdeps/generic/ldconfig.h: Likewise.
37864 * locale/programs/localedef.c: Remove xmalloc prototype.
37865 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37866
20b38e03
PP
378672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37868
37869 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37870 appropriate.
37871
a0da5fe1
UD
378722012-01-08 Ulrich Drepper <drepper@gmail.com>
37873
1d5a644a 37874 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37875 * math/tst-CMPLX.c: New file.
1d5a644a 37876
8784a6db
UD
37877 * math/complex.h (CMPLXL): Fix typo.
37878
d9a216c0
UD
37879 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37880 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37881 GLIBC_2.16.
37882 * debug/tst-chk1.c: Add poll and ppoll tests.
37883 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37884 * include/sys/poll.h: Add hidden proto for ppoll.
37885 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37886 * sysdeps/mach/hurd/ppoll.c: Likewise.
37887 * io/ppoll.c: Likewise.
37888 * debug/poll_chk.c: New file.
37889 * debug/ppoll_chk.c: New file.
37890 * include/bits/poll2.h: New file.
37891 * io/bits/poll2.h: New file.
37892
ac097f5c
UD
37893 [BZ #1350]
37894 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37895
2119dcfa
UD
37896 * configure.in: static is always set to yes. Remove.
37897 * config.make.in: Don't set build-static.
37898 * Makeconfig: Remove use of build-static.
37899 * dlfcn/Makefile: Likewise.
37900 * elf/Makefile: Likewise.
37901 * math/Makefile: Likewise.
37902 * misc/Makefile: Likewise.
37903 * nptl/Makefile: Likewise.
37904 * sysdeps/mach/hurd/Makefile: Likewise.
37905
121766a9
UD
37906 * configure.in: PWD_P is not used anymore.
37907 * config.make.in: Remove PWD_P entry.
37908
51a1d39c 37909 * configure.in: Remove last remnants of RANLIB.
8720d066 37910 No need to check for signed size_t anymore.
215f4bdc
UD
37911 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37912 and IA-64.
3857022a 37913 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37914 * aclocal.m4: Likewise.
37915
d3ed7225
UD
37916 * wcsmbs/mbrtoc16.c: Implement using towc function.
37917 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37918 * wcsmbs/wcsmbsload.c: Likewise.
37919 * iconv/gconv_simple.c: Likewise.
37920 * iconv/gconv_int.h: Likewise.
37921 * iconv/gconv_builtin.h: Likewise.
37922 * iconv/iconv_prog.c: Remove CHAR16 handling.
37923
37924 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37925
37926 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37927
a0da5fe1
UD
37928 * configure.in: Remove --with-elf and --enable-bounded options.
37929 Dont set base_machine for ia64. More non-ELF conditions removed.
37930 Remove testing and setting of leading underscore information.
37931 * config.make.in (build-bounded): Set to no.
37932 * config.h.in: Remove NO_UNDERSCORES entry.
37933 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37934 them.
37935 * csu/start.c: Remove !NO_UNDERSCORE code.
37936 * locale/localeinfo.h: Likewise.
37937 * sysdeps/generic/machine-gmon.h: Likewise.
37938 * sysdeps/generic/sysdep.h: Likewise.
37939 * sysdeps/i386/sysdep.h: Likewise.
37940 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37941 * sysdeps/mach/sysdep.h: Likewise.
37942 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37943 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37944 * sysdeps/sh/sysdep.h: Likewise.
37945 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37946 * sysdeps/unix/i386/sysdep.S: Likewise.
37947 * sysdeps/unix/sparc/start.c: Likewise.
37948 * sysdeps/unix/sparc/sysdep.S: Likewise.
37949 * sysdeps/unix/sparc/sysdep.h: Likewise.
37950 * sysdeps/unix/start.c: Likewise.
37951 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37952 * sysdeps/x86_64/sysdep.h: Likewise.
37953
df78418a
UD
379542012-01-07 Ulrich Drepper <drepper@gmail.com>
37955
a784e502
UD
37956 [BZ #13553]
37957 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37958 for non-gcc.
37959 * argp/argp-fmtstream.h: Use const instead __const.
37960 * argp/argp.h: Likewise.
37961 * assert/assert.h: Likewise.
37962 * bits/fenv.h: Likewise.
37963 * bits/sched.h: Likewise.
37964 * bits/sigset.h: Likewise.
37965 * bits/sigthread.h: Likewise.
37966 * catgets/nl_types.h: Likewise.
37967 * conform/data/pthread.h-data: Likewise.
37968 * crypt/crypt-private.h: Likewise.
37969 * crypt/crypt.h: Likewise.
37970 * crypt/crypt_util.c: Likewise.
37971 * ctype/ctype.h: Likewise.
37972 * debug/execinfo.h: Likewise.
37973 * debug/mbsnrtowcs_chk.c: Likewise.
37974 * debug/mbsrtowcs_chk.c: Likewise.
37975 * debug/wcsnrtombs_chk.c: Likewise.
37976 * debug/wcsrtombs_chk.c: Likewise.
37977 * debug/wcstombs_chk.c: Likewise.
37978 * dirent/dirent.h: Likewise.
37979 * dlfcn/dlfcn.h: Likewise.
37980 * elf/neededtest4.c: Likewise.
37981 * grp/grp.h: Likewise.
37982 * gshadow/gshadow.h: Likewise.
37983 * iconv/gconv.h: Likewise.
37984 * iconv/gconv_int.h: Likewise.
37985 * iconv/gconv_simple.c: Likewise.
37986 * iconv/iconv.h: Likewise.
37987 * iconv/loop.c: Likewise.
37988 * iconv/skeleton.c: Likewise.
37989 * include/aio.h: Likewise.
37990 * include/aliases.h: Likewise.
37991 * include/argz.h: Likewise.
37992 * include/arpa/inet.h: Likewise.
37993 * include/assert.h: Likewise.
37994 * include/dirent.h: Likewise.
37995 * include/dlfcn.h: Likewise.
37996 * include/execinfo.h: Likewise.
37997 * include/fcntl.h: Likewise.
37998 * include/fenv.h: Likewise.
37999 * include/glob.h: Likewise.
38000 * include/grp.h: Likewise.
38001 * include/libintl.h: Likewise.
38002 * include/mntent.h: Likewise.
38003 * include/netdb.h: Likewise.
38004 * include/pwd.h: Likewise.
38005 * include/rpc/netdb.h: Likewise.
38006 * include/sched.h: Likewise.
38007 * include/search.h: Likewise.
38008 * include/shadow.h: Likewise.
38009 * include/signal.h: Likewise.
38010 * include/stdio.h: Likewise.
38011 * include/stdlib.h: Likewise.
38012 * include/string.h: Likewise.
38013 * include/sys/socket.h: Likewise.
38014 * include/sys/stat.h: Likewise.
38015 * include/sys/statfs.h: Likewise.
38016 * include/sys/statvfs.h: Likewise.
38017 * include/sys/syslog.h: Likewise.
38018 * include/sys/time.h: Likewise.
38019 * include/sys/uio.h: Likewise.
38020 * include/time.h: Likewise.
38021 * include/unistd.h: Likewise.
38022 * include/utmp.h: Likewise.
38023 * include/wchar.h: Likewise.
38024 * include/wctype.h: Likewise.
38025 * inet/aliases.h: Likewise.
38026 * inet/arpa/inet.h: Likewise.
38027 * inet/netinet/ether.h: Likewise.
38028 * inet/netinet/in.h: Likewise.
38029 * intl/libintl.h: Likewise.
38030 * io/bits/fcntl2.h: Likewise.
38031 * io/fcntl.h: Likewise.
38032 * io/ftw.h: Likewise.
38033 * io/sys/poll.h: Likewise.
38034 * io/sys/stat.h: Likewise.
38035 * io/sys/statfs.h: Likewise.
38036 * io/sys/statvfs.h: Likewise.
38037 * io/utime.h: Likewise.
38038 * libio/bits/stdio.h: Likewise.
38039 * libio/bits/stdio2.h: Likewise.
38040 * libio/libio.h: Likewise.
38041 * libio/libioP.h: Likewise.
38042 * libio/stdio.h: Likewise.
38043 * locale/lc-ctype.c: Likewise.
38044 * locale/locale.h: Likewise.
38045 * login/utmp.h: Likewise.
38046 * malloc/arena.c: Likewise.
38047 * malloc/malloc.c: Likewise.
38048 * malloc/malloc.h: Likewise.
38049 * malloc/mcheck.c: Likewise.
38050 * malloc/mtrace.c: Likewise.
38051 * math/bits/mathcalls.h: Likewise.
38052 * math/fenv.h: Likewise.
38053 * math/math_private.h: Likewise.
38054 * misc/bits/error.h: Likewise.
38055 * misc/bits/syslog.h: Likewise.
38056 * misc/err.h: Likewise.
38057 * misc/error.h: Likewise.
38058 * misc/fstab.h: Likewise.
38059 * misc/mntent.h: Likewise.
38060 * misc/regexp.h: Likewise.
38061 * misc/search.h: Likewise.
38062 * misc/sgtty.h: Likewise.
38063 * misc/sys/mman.h: Likewise.
38064 * misc/sys/syslog.h: Likewise.
38065 * misc/sys/uio.h: Likewise.
38066 * misc/sys/xattr.h: Likewise.
38067 * misc/ttyent.h: Likewise.
38068 * nis/rpcsvc/ypclnt.h: Likewise.
38069 * nss/nss.h: Likewise.
38070 * posix/bits/unistd.h: Likewise.
38071 * posix/fnmatch.h: Likewise.
38072 * posix/glob.h: Likewise.
38073 * posix/sched.h: Likewise.
38074 * posix/spawn.h: Likewise.
38075 * posix/sys/wait.h: Likewise.
38076 * posix/unistd.h: Likewise.
38077 * posix/wordexp.h: Likewise.
38078 * pwd/pwd.h: Likewise.
38079 * resolv/netdb.h: Likewise.
38080 * resource/sys/resource.h: Likewise.
38081 * rt/aio.h: Likewise.
38082 * rt/bits/mqueue2.h: Likewise.
38083 * rt/mqueue.h: Likewise.
38084 * shadow/shadow.h: Likewise.
38085 * signal/signal.h: Likewise.
38086 * socket/send.c: Likewise.
38087 * socket/sendto.c: Likewise.
38088 * socket/sys/socket.h: Likewise.
38089 * stdio-common/printf.h: Likewise.
38090 * stdlib/bits/stdlib.h: Likewise.
38091 * stdlib/fmtmsg.h: Likewise.
38092 * stdlib/monetary.h: Likewise.
38093 * stdlib/stdlib.h: Likewise.
38094 * stdlib/ucontext.h: Likewise.
38095 * streams/stropts.h: Likewise.
38096 * string/argz.h: Likewise.
38097 * string/bits/string2.h: Likewise.
38098 * string/string.h: Likewise.
38099 * string/strings.h: Likewise.
38100 * sunrpc/rpc/auth.h: Likewise.
38101 * sunrpc/rpc/auth_des.h: Likewise.
38102 * sunrpc/rpc/clnt.h: Likewise.
38103 * sunrpc/rpc/netdb.h: Likewise.
38104 * sunrpc/rpc/pmap_clnt.h: Likewise.
38105 * sunrpc/rpc/xdr.h: Likewise.
38106 * sysdeps/generic/inttypes.h: Likewise.
38107 * sysdeps/generic/net/if.h: Likewise.
38108 * sysdeps/generic/sys/swap.h: Likewise.
38109 * sysdeps/gnu/net/if.h: Likewise.
38110 * sysdeps/gnu/utmpx.h: Likewise.
38111 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38112 * sysdeps/i386/i486/bits/string.h: Likewise.
38113 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38114 * sysdeps/s390/bits/string.h: Likewise.
38115 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38116 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38117 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38118 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38119 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38120 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38121 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38122 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38123 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38124 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38125 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38126 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38127 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38128 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38129 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38130 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38131 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38133 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38134 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38135 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38136 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38137 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38138 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38139 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38140 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38141 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38142 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38143 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38144 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38145 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38146 * sysvipc/sys/ipc.h: Likewise.
38147 * sysvipc/sys/msg.h: Likewise.
38148 * sysvipc/sys/sem.h: Likewise.
38149 * sysvipc/sys/shm.h: Likewise.
38150 * termios/termios.h: Likewise.
38151 * time/sys/time.h: Likewise.
38152 * time/time.h: Likewise.
38153 * wcsmbs/bits/wchar2.h: Likewise.
38154 * wcsmbs/uchar.h: Likewise.
38155 * wcsmbs/wchar.h: Likewise.
38156 * wctype/wctype.h: Likewise.
38157
0269750c
UD
38158 [BZ #13551]
38159 * Makeconfig: Remove all but ELF support including AIX support.
38160 * Makerules: Likewise.
38161 * config.h.in: Likewise.
38162 * config.make.in: Likewise.
38163 * configure: Likewise.
38164 * configure.in: Likewise.
38165 * csu/Makefile: Likewise.
38166 * csu/version.c: Likewise.
38167 * debug/Makefile: Likewise.
38168 * dlfcn/Makefile: Likewise.
38169 * elf/Makefile: Likewise.
38170 * extra-lib.mk: Likewise.
38171 * iconv/Makefile: Likewise.
38172 * include/libc-symbols.h: Likewise.
38173 * include/shlib-compat.h: Likewise.
38174 * resolv/Makefile: Likewise.
38175 * resolv/res_libc.c: Likewise.
38176 * rt/Makefile: Likewise.
38177 * sysdeps/i386/asm-syntax.h: Likewise.
38178 * sysdeps/i386/sysdep.h: Likewise.
38179 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38180 * sysdeps/mach/sysdep.h: Likewise.
38181 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38182 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38183 * sysdeps/s390/asm-syntax.h: Likewise.
38184 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38185 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38186 * sysdeps/sh/sysdep.h: Likewise.
38187 * sysdeps/unix/sparc/sysdep.h: Likewise.
38188 * sysdeps/wordsize-32/divdi3.c: Likewise.
38189 * sysdeps/x86_64/sysdep.h: Likewise.
38190
00bbd29b
UD
38191 * argp/Versions: Remove _argp_unlock_xxx.
38192
38193 [BZ #13559]
38194 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38195 * abilist/libBrokenLocale.abilist: Likewise.
38196 * abilist/libanl.abilist: Likewise.
38197 * abilist/libc.abilist: Likewise.
38198 * abilist/libcrypt.abilist: Likewise.
38199 * abilist/libdl.abilist: Likewise.
38200 * abilist/libm.abilist: Likewise.
38201 * abilist/libnsl.abilist: Likewise.
38202 * abilist/libpthread.abilist: Likewise.
38203 * abilist/libresolv.abilist: Likewise.
38204 * abilist/librt.abilist: Likewise.
38205 * abilist/libthread_db.abilist: Likewise.
38206 * abilist/libutil.abilist: Likewise.
38207 * abilist/libnss_db.abilist: New file.
38208
38209 * scripts/abilist.awk: Add support for indirect functions.
38210
a2693a0e
UD
38211 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38212
3f05895f
UD
38213 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38214
ecb6fb48
UD
38215 * shlib-versions: Remove entries for ports architectures.
38216
664f8cb9
UD
38217 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38218 files in ports.
38219 * elf/stackguard-macros.h: Remove support for IA-64.
38220 * elf/tst-auditmod1.c: Likewise.
38221 * sysdeps/generic/ldsodefs.h: Likewise.
38222
7ae81d88
UD
38223 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38224 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38225 configure files.
38226
bdeba135
UD
38227 [BZ #13552]
38228 * configure.in: Remove --enable-omitfp support.
38229 * FAQ.in: Adjust.
38230 * config.make.in: Likewise.
38231 * Makeconfig: Likewise.
38232 * manual/install.texi: Likewise.
38233
d75a0a62
UD
38234 In case anyone cares, the IA-64 architecture could move to ports.
38235 * sysdeps/ia64/*: Removed.
38236 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38237 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38238
dcc9756b
UD
38239 [BZ #13555]
38240 * configure.in: Remove entries for unsupported architectures.
38241
d3761ebc 38242 [BZ #13533]
9954432e
UD
38243 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38244 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38245 routines.
38246 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38247 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38248 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38249 fall back to using wcrtomb.
38250 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38251 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38252 renaming.
38253 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38254 * wcsmbs/tst-c16c32-1.c: New file.
38255
38256 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38257 local variable.
38258
c3a87236
UD
38259 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38260
28926a1b
UD
38261 * elf/tst-unique3.cc: Add explicit declaration of gets.
38262 * elf/tst-unique3lib.cc: Likewise.
38263 * elf/tst-unique3lib2.cc: Likewise.
38264 * elf/tst-unique4.cc: Likewise.
38265
df78418a
UD
38266 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38267
8ecd6b2a
JM
382682012-01-06 Joseph Myers <joseph@codesourcery.com>
38269
38270 [BZ #13566]
38271 * assert/assert.h (static_assert): Don't define for C++.
38272 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38273 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38274
9f115170
UD
382752012-01-03 Ulrich Drepper <drepper@gmail.com>
38276
5e0d0300
UD
38277 * iconv/loop.c (single loop): Fix assertion in storing of
38278 remaining bytes.
38279
9f115170
UD
38280 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38281
81fb02b0
UD
382822012-01-01 Ulrich Drepper <drepper@gmail.com>
38283
38284 * posix/getconf.c: Update copyright year.
38285 * nss/getent.c: Likewise.
a316c1f6 38286 * nss/makedb.c: Likewise.
81fb02b0
UD
38287 * iconv/iconvconfig.c: Likewise.
38288 * iconv/iconv_prog.c: Likewise.
38289 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38290 * elf/pldd.c: Likewise.
38291 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38292 * catgets/gencat.c: Likewise.
38293 * csu/version.c: Likewise.
38294 * elf/ldd.bash.in: Likewise.
38295 * elf/sprof.c (print_version): Likewise.
38296 * locale/programs/locale.c: Likewise.
38297 * locale/programs/localedef.c: Likewise.
a316c1f6 38298 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38299 * nscd/nscd.c (print_version): Likewise.
38300 * debug/xtrace.sh: Likewise.
38301 * malloc/memusage.sh: Likewise.
38302 * malloc/mtrace.pl: Likewise.
38303 * debug/catchsegv.sh: Likewise.
38304
2ba92745
JJ
383052011-12-30 Jakub Jelinek <jakub@redhat.com>
38306
38307 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38308 pure attribute.
38309
dadebdae
UD
383102011-12-24 Ulrich Drepper <drepper@gmail.com>
38311
d3761ebc 38312 [BZ #13533]
db6af3eb
UD
38313 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38314 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38315 transformations.
38316 * iconv/gconv_int.h: Likewise.
38317 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38318 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38319 from libc for GLIBC_2.16.
38320 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38321 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38322 * wcsmbs/uchar.h: Really define mbstate_t.
38323 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38324 * wcsmbs/c16rtomb.c: New file.
38325 * wcsmbs/mbrtoc16.c: New file.
38326 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38327 for C/POSIX locale.
38328 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38329 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38330
dadebdae
UD
38331 * wcsmbs/wchar.h: Add missing __restrict.
38332
67371b56
UD
383332011-12-23 Ulrich Drepper <drepper@gmail.com>
38334
74033a25
UD
38335 [BZ #13532]
38336 * time/Makefile (routines): Add timespec_get.
38337 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38338 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38339 timespec for ISO C11.
38340 * time/timespec_get.c: New file.
38341 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38342 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38343
380d7e87
UD
38344 [BZ #13531]
38345 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38346 * stdlib/stdlib.h: Declare aligned_alloc.
38347 * Versions.def: Add GLIBC_2.16 for libc.
38348 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38349
4e9e7a35
UD
38350 [BZ 13527]
38351 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38352 ISO C11.
38353
380d7e87 38354 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38355 code.
38356
03a71829
UD
38357 [BZ #13528]
38358 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38359
839e283e
UD
38360 [BZ #13529]
38361 * assert/assert.h (static_assert): Define.
38362
ce5294e2 38363 * version.h: Update for 2.16 development version.
90fa7312 38364
8d44e150 38365 [BZ #13526]
d7809905
UD
38366 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38367 _ISOC11_SOURCE.
38368
c0da14cd
UD
38369 * version.h (RELEASE): Bump for 2.15 release.
38370 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38371
530a3249
MP
38372 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38373 Patch by Marek Polacek <mpolacek@redhat.com>.
38374
67371b56
UD
38375 * bits/byteswap.h: Protect long long constants with __extension__.
38376 * sysdeps/i386/bits/byteswap.h: Likewise.
38377 * sysdeps/ia64/bits/byteswap.h: Likewise.
38378 * sysdeps/s390/bits/byteswap.h: Likewise.
38379 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38380
15db4de1
LD
383812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38382
38383 [BZ #13540]
bbe315ea
LD
38384 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38385 destination buffer.
15db4de1
LD
38386 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38387
2b2596b1
MP
383882011-12-23 Marek Polacek <polacek@redhat.com>
38389
38390 * elf/dl-addr.c (determine_info): Add inline keyword.
38391 * elf/tst-auditmod4b.c (check_avx): Likewise.
38392 * elf/tst-auditmod6b.c (check_avx): Likewise.
38393 * elf/tst-auditmod6c.c (check_avx): Likewise.
38394 * elf/tst-auditmod7b.c (check_avx): Likewise.
38395
70c6c246
UD
383962011-12-23 Ulrich Drepper <drepper@gmail.com>
38397
38398 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38399 !__SSE_MATH__.
38400
c044cf14
LD
384012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38402
15db4de1 38403 [BZ #13540]
c044cf14
LD
38404 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38405 processing for last bytes.
38406
6b13d9d9
BH
384072011-08-06 Bruno Haible <bruno@clisp.org>
38408
d455f537
BH
38409 [BZ #13061]
38410 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38411 U+0385, not to U+1FEE.
38412
6b13d9d9
BH
38413 [BZ #13062]
38414 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38415 entry for U+00A5 U+0301.
38416
db910efd
UD
384172011-12-22 Ulrich Drepper <drepper@gmail.com>
38418
27deeafc
UD
38419 [BZ #13166]
38420 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38421 buffer for the output is too small.
38422
aed9d171
UD
38423 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38424 optimization.
38425
db910efd
UD
38426 [BZ #13185]
38427 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38428 SSE flags if possible.
38429
2bd779ae
LD
384302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38431
e7f9dac3 38432 [BZ #13540]
2bd779ae
LD
38433 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38434 processing for last bytes.
38435
154bfc16
JM
384362011-12-22 Joseph Myers <joseph@codesourcery.com>
38437
38438 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38439 (syscall-list-default-options, syscall-list-default-condition)
38440 (syscall-list-includes): Define.
38441 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38442 list of ABIs and options and #if conditions for each ABI. Do not
38443 handle common syscalls between ABIs specially.
38444 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38445 Remove.
38446 (syscall-list-variants, syscall-list-32bit-options)
38447 (syscall-list-32bit-condition, syscall-list-64bit-options)
38448 (syscall-list-64bit-condition): Define.
38449 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38450 (syscall-list-variants, syscall-list-32bit-options)
38451 (syscall-list-32bit-condition, syscall-list-64bit-options)
38452 (syscall-list-64bit-condition): Define.
38453 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38454 Remove.
38455 (syscall-list-variants, syscall-list-32bit-options)
38456 (syscall-list-32bit-condition, syscall-list-64bit-options)
38457 (syscall-list-64bit-condition): Define.
38458 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38459 Remove.
38460 (syscall-list-variants, syscall-list-32bit-options)
38461 (syscall-list-32bit-condition, syscall-list-64bit-options)
38462 (syscall-list-64bit-condition): Define.
38463
21eaf3a5
UD
384642011-12-22 Ulrich Drepper <drepper@gmail.com>
38465
16c6f992
UD
38466 * locale/iso-639.def: Add brx entry.
38467
41043168
UD
38468 [BZ #13328]
38469 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38470 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38471
21eaf3a5
UD
38472 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38473 __feraiseexcept_renamed.
38474
e3a851a2
UD
384752011-12-21 Ulrich Drepper <drepper@gmail.com>
38476
4920765e
UD
38477 [BZ #13538]
38478 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38479 EPOLLET with unsigned values.
38480 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38481 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38482
e3a851a2
UD
38483 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38484 to large cancellation.
38485 * math/s_cacoshf.c: Likewise.
38486 * math/s_cacoshl.c: Likewise.
38487
b27e24b8
RK
384882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38489
38490 [BZ #13305]
aebefeee 38491 [BZ #12786]
b27e24b8
RK
38492 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38493 * math/s_cacoshf.c: Likewise.
38494 * math/s_cacoshl.c: Likewise.
38495
ee190f67
UD
384962011-12-21 Ulrich Drepper <drepper@gmail.com>
38497
38498 [BZ #13439]
38499 * iconv/gconv.h: Define __GCONV_SWAP.
38500 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38501 * iconvdata/utf-16.c: Likewise.
38502 * iconvdata/utf-32.c: Likewise.
38503
707f25df
AS
385042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38505
38506 [BZ #13524]
38507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38508 numerator after shifting it by one limb.
38509
d2daaa1e
RÁE
385102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38511
38512 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38513 under [__USE_EXTERN_INLINES].
38514
a4647e72
UD
385152011-12-17 Ulrich Drepper <drepper@gmail.com>
38516
38517 [BZ #13446]
38518 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38519
f0b264f1
AZ
385202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38521
38522 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38523 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38524 optimized code.
38525 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38526 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38527 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38528 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38529 for strncasecmp/strncasecmp_l compilation.
38530 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38531 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38532
8ef4f244
MP
385332011-12-08 Marek Polacek <mpolacek@redhat.com>
38534
38535 [BZ #13484]
38536 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38537 of __asm__.
38538
97ac2654
UD
385392011-12-17 Ulrich Drepper <drepper@gmail.com>
38540
38541 [BZ #13506]
38542 * time/tzfile.c (__tzfile_read): Check values from file header.
38543
91d2a845
WS
385442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38545
38546 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38547 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38548 * powerpc/powerpc32/dl-start.S: Likewise.
38549 * powerpc/powerpc32/elf/start.S: Likewise.
38550 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38551 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38552 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38553 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38554 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38555 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38556 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38557 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38558 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38559 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38560 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38561 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38562 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38563 * powerpc/powerpc32/memset.S: Likewise.
38564 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38565 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38566 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38567 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38568 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38569 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38570 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38571 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38572 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38573 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38574 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38575 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38576 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38577
a1267ba1
AZ
385782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38579
38580 * math/libm-test.inc: Added more nearbyint tests.
38581 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38582 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38583 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38585
ad8ac1bd
RL
385862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38587
38588 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38589 FD_CLOEXEC.
38590
1d3e4b61
UD
385912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38592
38593 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38594 Add wcscpy-ssse3 wcscpy-c.
38595 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38596 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38597 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38598 * sysdeps/x86_64/wcschr.S: New file.
38599 * sysdeps/x86_64/wcsrchr.S: New file.
38600 * string/test-strcmp.c: Remove checking of wcscmp function for
38601 wrong alignments.
38602 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38603 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38604 wcsrchr-sse2 wcsrchr-c.
38605 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38606 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38607 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38608 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38609 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38610 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38611 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38612 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38613 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38614 * wcsmbc/wcschr.c (WCSCHR): New macro.
38615
5b330a2d
UD
386162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38617
38618 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38619 * wcsmbs/test-wcsrchr.c: New file.
38620 * string/test-strrchr.c: Add wcsrchr support.
38621 (WIDE): New macro.
38622 * wcsmbs/test-wcscpy.c: New file.
38623 * string/test-strcpy.c: Add wcscpy support.
38624 (WIDE): New macro.
26428b7c 38625
f039c043
UD
386262011-12-10 Ulrich Drepper <drepper@gmail.com>
38627
38628 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38629 the inner loop.
38630
850fb039
AS
386312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38632
38633 [BZ #13472]
38634 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38635
4efbd5cb
UD
386362011-12-04 Ulrich Drepper <drepper@gmail.com>
38637
52ff5dd0 38638 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38639 Minor optimizations.
52ff5dd0 38640
4efbd5cb
UD
38641 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38642 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38643 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38644
8a426e12
UD
386452011-12-03 Ulrich Drepper <drepper@gmail.com>
38646
aff2453d
UD
38647 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38648 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38649 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38650 for gcc to avoid warnings.
38651 * inet/Makefile (tests): Add tst-checks.
38652 * inet/tst-checks.c: New file.
38653
38654 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38655 warning.
38656
38657 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38658 __wmemcmp_sse2.
38659
38660 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38661 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38662
8a426e12
UD
38663 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38664
9bea3473
UD
386652011-12-02 Ulrich Drepper <drepper@gmail.com>
38666
3a965496
UD
38667 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38668 problem.
38669
9bea3473
UD
38670 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38671
f101631b
UD
386722011-11-29 Joseph Myers <joseph@codesourcery.com>
38673
38674 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38675 conditional on GCC version.
38676 (__arch_compare_and_exchange_val_8_acq)
38677 (__arch_compare_and_exchange_val_16_acq)
38678 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38679 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38680 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38681
a98275aa
UD
386822011-12-02 Joseph Myers <joseph@codesourcery.com>
38683
38684 * sysdeps/sh/backtrace.c: New file.
38685
d4cc29a2
AS
386862011-12-02 Andreas Schwab <schwab@redhat.com>
38687
38688 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38689 parenthesis.
38690
6257af2d
AS
386912011-12-01 Andreas Schwab <schwab@redhat.com>
38692
38693 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38694 falling back to utime.
38695
b5f44c1a
AS
386962011-11-30 Andreas Schwab <schwab@redhat.com>
38697
38698 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38699 expectations for float.
38700
f3a6cc0a
AS
387012011-11-29 Andreas Schwab <schwab@redhat.com>
38702
38703 * locale/weight.h (findidx): Add parameter len.
38704 * locale/weightwc.h (findidx): Likewise.
38705 * posix/fnmatch_loop.c (FCT): Adjust caller.
38706 * posix/regcomp.c (build_equiv_class): Likewise.
38707 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38708 * posix/regexec.c (check_node_accept_bytes): Likewise.
38709 * string/strcoll_l.c (STRCOLL): Likewise.
38710 * string/strxfrm_l.c (STRXFRM): Likewise.
38711
9d65ea3a
UD
387122011-11-17 Ulrich Drepper <drepper@gmail.com>
38713
38714 * Makefile.in: Remove CVSOPT handling.
38715 * configure.in: Remove use of AC_REVISION.
38716 * iconvdata/Makefile (distribute): No need to filter out CVS.
38717 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38718 handling.
38719
5583a086
AS
387202011-11-16 Andreas Schwab <schwab@redhat.com>
38721
38722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38723 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38724 [USE_AS_STRNCASECMP_L]: Likewise.
38725 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38726 NO_TLS_DIRECT_SEG_REFS.
38727 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38728 Fix argument offsets for non-PIC.
38729 [USE_AS_STRNCASECMP_L]: Likewise.
38730 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38731 NO_TLS_DIRECT_SEG_REFS.
38732
d62a8200
UD
387332011-11-15 Ulrich Drepper <drepper@gmail.com>
38734
9d65ea3a 38735 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38736 O_CLOEXEC.
38737 * locale/loadlocale.c (_nl_load_locale): Likewise.
38738
09f93bd3
AS
387392011-11-15 Andreas Schwab <schwab@redhat.com>
38740
446514f9
AS
38741 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38742 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38743 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38744 (SYSCALL_GETTIME): Set errno on error.
38745
09f93bd3
AS
38746 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38747 count references to noai6ai_cached.
38748
312be3f9
UD
387492011-11-15 Ulrich Drepper <drepper@gmail.com>
38750
38751 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38752
38753 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38754 FD_CLOEXEC for /proc/self/maps.
38755
38756 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38757 FD_CLOEXEC for /proc/meminfo.
38758
38759 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38760 gai.conf.
38761
38762 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38763 FD_CLOEXEC for given file.
38764
38765 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38766
38767 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38768 FD_CLOEXEC for /etc/hosts.
38769 (_gethtent): Likewise.
38770
38771 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38772
38773 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38774 cancellation and set FD_CLOEXEC for /etc/netgroup.
38775
38776 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38777 reading /etc/publickey.
38778
38779 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38780 allow cancellation when reading /etc/group.
38781
38782 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38783 cancellation.
38784 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38785
38786 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38787 when using data file.
38788
38789 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38790
38791 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38792 (write_nis_obj): Use "c" and "e" in fopen.
38793
38794 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38795
38796 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38797
38798 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38799
38800 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38801
38802 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38803 locale.alias.
38804
38805 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38806
38807 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38808
38809 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38810
38811 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38812 file parsing and set FD_CLOEXEC.
38813
82af0fa8
UD
388142011-11-14 Ulrich Drepper <drepper@gmail.com>
38815
38816 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38817
a5fb313c
AS
388182011-11-14 Andreas Schwab <schwab@redhat.com>
38819
38820 * malloc/arena.c (arena_get2): Don't call reused_arena when
38821 _int_new_arena failed.
38822
6abf3465
UD
388232011-11-14 Ulrich Drepper <drepper@gmail.com>
38824
38825 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38826 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38827 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38828 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38829 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38830 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38831 to compile strcasecmp and strncasecmp.
38832 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38833 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38834
38835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38836
76e3966e
UD
388372011-11-13 Ulrich Drepper <drepper@gmail.com>
38838
38839 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38840 locale-defines.sym to gen-as-const-headers.
38841 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38842 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38844 to compile strcasecmp and strncasecmp.
38845 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38846 strcasecmp_l and strncasecmp_l.
38847 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38848 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38849 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38850 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38851 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38852 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38853 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38854 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38855 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38856 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38857 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38858
ab26144e
UD
388592011-11-12 Ulrich Drepper <drepper@gmail.com>
38860
7edb22ef
UD
38861 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38862 result of SYSDEP_GETTIME_CPU to retval.
38863 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38864 parameter list to macro. Remove trailing semicolon. Adjust users.
38865
9694fc44
UD
38866 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38867 variable.
38868
8ad89ef8
UD
38869 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38870 mantissa words.
38871 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38872
0c822ef9
UD
38873 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38874 from unused variable.
38875
874e0564
UD
38876 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38877 DWARF definitions.
38878 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38879 for assembling.
38880
3a2edc79
UD
38881 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38882 over namespaces.
38883
f3c2577f
UD
38884 * sunrpc/rpc_prot.c (rejected): Fix case value.
38885
294ce126
UD
38886 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38887 unsigned long long int to avoid warnings in shift.
38888
5e2b63c6
UD
38889 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38890 of use of trans.
38891 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38892 variable tmp.
38893
e7f4b08e
UD
38894 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38895 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38896 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38897
ab26144e
UD
38898 * nis/nis_table.c (nis_list): Use variable of correct type for
38899 result of __follow_path call.
38900
8a6d5255
AZ
389012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38902
38903 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38904 of math functions ceil, trunc, floor, round, and sqrt, when
38905 avaliable on the platform.
38906 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38907 name clash.
38908 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38909 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38910 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38911
aaddc98c
MP
389122011-10-30 Marek Polacek <mpolacek@redhat.com>
38913
38914 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38915 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38916
95b7042b
RM
389172011-11-11 Roland McGrath <roland@hack.frob.com>
38918
38919 * include/unistd.h: Fix __readlink return type.
38920 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38921
57769839
UD
389222011-11-11 Ulrich Drepper <drepper@gmail.com>
38923
38924 * stdlib/ucontext.h: Undo last change for makecontext.
38925
edc5984d
AS
389262011-11-11 Andreas Schwab <schwab@redhat.com>
38927
98591e58
AS
38928 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38929
edc5984d
AS
38930 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38931 * setjmp/setjmp.h: Mark functions as non-leaf.
38932 * setjmp/bits/setjmp2.h: Likewise.
38933 * stdlib/ucontext.h: Likewise.
38934
77cdc054
AS
389352011-11-10 Andreas Schwab <schwab@redhat.com>
38936
38937 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38938 (reused_arena): Don't check arena limit.
38939 (arena_get2): Atomically check arena limit.
38940
fe72eebd
UD
389412011-11-08 Ulrich Drepper <drepper@gmail.com>
38942
5f078c32
UD
38943 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38944 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38945
fe72eebd
UD
38946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38947 instructions.
38948
ae1bc2fa
AS
389492011-11-07 Andreas Schwab <schwab@redhat.com>
38950
7583a88d
AS
38951 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38952 handler when locking.
38953
ae1bc2fa
AS
38954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38955 Fix size of allocated buffer.
38956
10fb0bfa
AS
389572011-11-04 Andreas Schwab <schwab@redhat.com>
38958
998832a4
AS
38959 [BZ #10103]
38960 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38961 declarations for long double functions.
38962 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38963
10fb0bfa
AS
38964 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38965
3d7ba52b
AS
389662011-11-03 Andreas Schwab <schwab@redhat.com>
38967
a9ae54a1
AS
38968 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38969 installed.
38970
3d7ba52b
AS
38971 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38972 is disabled.
38973
bc8db248
ST
389742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38975
38976 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38977
45b96dd6
AS
389782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38979
647776f6
AS
38980 * include/alloca.h (stackinfo_alloca_round): Define.
38981 (extend_alloca): Use it.
38982 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38983 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38984 here.
38985
d91a8b93
AS
38986 * scripts/check-local-headers.sh: Ignore libaudit.h.
38987
45b96dd6
AS
38988 * nscd/Makefile (extra-objs): Make recursively expanded.
38989
432d41ce
UD
389902011-11-01 Ulrich Drepper <drepper@gmail.com>
38991
34372fc6
UD
38992 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38993 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38994
fadb59f8
UD
38995 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38996 * posix/tst-rfc3484-2.c: Likewise.
38997 * posix/tst-rfc3484-3.c: Likewise.
38998
78239589
UD
38999 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39000 process_vm_writev.
39001 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39002 process_vm_writev.
39003 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39004 process_vm_writev from libc using GLIBC_2.15 version.
39005
432d41ce
UD
39006 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39007
02f9c6cf
PP
390082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39009
39010 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39011 stack usage.
39012
3a2c0242
UD
390132011-10-31 Ulrich Drepper <drepper@gmail.com>
39014
f4ec4833
UD
39015 [BZ #13367]
39016 * nss/getent.c (initgroups_keys): Show error message in case no group
39017 names are given.
39018
3a2c0242
UD
39019 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39020 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39021 __bump_nl_timestamp.
39022 * nscd/connections (nscd_init): When host database is served open
39023 netlink socket and request notification about configuration changes.
39024 (main_loop_poll): Track netlink file descriptor and bump timestamp
39025 in case data becomes available.
39026 (main_loop_epoll): Likewise.
39027 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39028 (database_pers_head): Add extra_data fileds.
39029 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39030 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39031 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39032 Adjust caller.
39033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39034 in6ai data, call __free_in6ai.
39035 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39036 Add -DHAVE_NETLINK.
39037 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39038 interface information. Reuse previous data if netlink timestamp
39039 is not changed.
39040 (__bump_nl_timestamp): New function.
39041 (__free_in6ai): New function.
39042
636064eb
UD
390432011-10-30 Ulrich Drepper <drepper@gmail.com>
39044
39045 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39046 close_not_cancel_no_status here.
39047 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39048
9beb2334
UD
390492011-10-29 Ulrich Drepper <drepper@gmail.com>
39050
6ef76f3b
UD
39051 [BZ #13276]
39052 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39053 return value.
39054
0ffc4f3e 39055 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39056 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39057 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39058
cb95113e
UD
390592011-07-03 Andreas Jaeger <aj@suse.de>
39060
39061 [BZ #10709]
39062 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39063 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39064 * math/libm-test.inc (sin_test): Add test case.
39065
a1b560ff
UD
390662011-10-29 Ulrich Drepper <drepper@gmail.com>
39067
c9aaface
UD
39068 [BZ #13337]
39069 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39070 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39071
d272e7f1
UD
39072 * elf/chroot_canon.c (chroot_canon): Cleanups.
39073
1bc33071
UD
39074 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39075
1760874d
TJ
39076 [BZ #13335]
39077 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39078 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39079
51d91b18
UD
39080 * string/test-strchr.c: Make usable for strchrnul testing.
39081 * string/test-strchrnul.c: New file.
39082 * string/Makefile (strop-tests): Add strchrnul.
39083
a1b560ff 39084 * po/it.po: Update from translation team.
b611fb81 39085 * po/es.po: Likewise.
a1b560ff 39086
a5b81e1f
UD
390872011-10-28 Ulrich Drepper <drepper@gmail.com>
39088
fd52bc6d
UD
39089 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39090 the three constants needed as parameters. Drop the others.
39091 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39092 __m128i_strloadu_tolower.
52e4b9eb
UD
39093 Create and initialize variable zero and use it in all the places
39094 where _mm_setzero_si128 was used.
fd52bc6d 39095
a5b81e1f
UD
39096 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39097 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39098 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39099 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39100 anymore.
39101 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39102 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39103 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39104 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39105 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39106 __mpranred, __mptan.
39107 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39108 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39109 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39110 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39111 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39112 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39114 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39115 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39116
b4343346
AS
391172011-10-28 Andreas Schwab <schwab@redhat.com>
39118
0c92d8a8
AS
39119 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39120 redefine if SHARED.
39121 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39122
b4343346
AS
39123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39124 wide char related routines to wcsmbs subdir.
39125
3871f58f
AS
391262011-10-27 Andreas Schwab <schwab@redhat.com>
39127
39128 [BZ #13344]
39129 * misc/sys/cdefs.h (__THROWNL): Define.
39130 * posix/unistd.h: Use __THREADNL instead of __THREAD
39131 for memory synchronization functions.
39132
94d44d9f
RM
391332011-10-26 Roland McGrath <roland@hack.frob.com>
39134
21b64b15 39135 [BZ #13349]
94d44d9f
RM
39136 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39137 doesn't exist.
39138 * manual/stdio.texi (Obstack Streams): Node removed.
39139
f6ce9294
AS
391402011-10-26 Andreas Schwab <schwab@redhat.com>
39141
80479147
AS
39142 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39143 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39144 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39145
f6ce9294
AS
39146 * math/math_private.h (math_force_eval): Allow non-addressable
39147 arguments.
39148 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39149
618280a1
UD
391502011-10-25 Ulrich Drepper <drepper@gmail.com>
39151
e0016b11
UD
39152 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39153 file is not needed.
39154
39155 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39156 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39157 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39158 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39159 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39160 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39161 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39162 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39163 Add AVX variants.
39164 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39165 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39166 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39167 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39168 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39169 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39170 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39171 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39172 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39173 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39174 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39175 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39176 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39177 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39178 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39179 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39180 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39181 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39182 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39183
39184 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39185 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39186
618280a1
UD
39187 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39188 place. Use VEX encoding when compiling for AVX.
39189
37822576
AS
391902011-10-25 Andreas Schwab <schwab@redhat.com>
39191
1f1e1947
AS
39192 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39193 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39194
37822576
AS
39195 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39196
31ea014d
UD
391972011-10-25 Ulrich Drepper <drepper@gmail.com>
39198
d7826aa1 39199 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39200 useless if() expression.
d7826aa1
UD
39201 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39202 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39203 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39204 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39205 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39206 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39207 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39208 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39209 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39210 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39211 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39212 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39213 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39214 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39215 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39216 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39217 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39218 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39219 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39220
31ea014d
UD
39221 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39222
16437fec
AS
392232011-10-25 Andreas Schwab <schwab@redhat.com>
39224
39225 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39226 condition.
39227 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39228
31d3cc00
UD
392292011-10-25 Ulrich Drepper <drepper@gmail.com>
39230
39231 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39232 .text section. Avoid duplicate constants.
39233 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39241 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39242 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39243 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39244 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39245 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39246 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39247 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39248 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39249 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39250 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39251 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39252 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39253 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39254 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39255 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39256 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39257 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39258 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39259 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39260 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39261 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39262 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39263 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39264 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39265 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39266 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39267 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39268 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39269 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39270 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39271 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39272 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39273 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39275 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39276 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39277 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39278
58985aa9
UD
392792011-10-24 Ulrich Drepper <drepper@gmail.com>
39280
202c9deb
UD
39281 * sysdeps/x86_64/dla.h: Move to ...
39282 * sysdeps/x86_64/fpu/dla.h: ...here.
39283 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39284 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39285
af968f62
UD
39286 * config.make.in: Add have-mfma4 entry.
39287 * configure.in: Substitute libc_cv_cc_fma4.
39288 * math/Makefile (dbl-only-routines): Add sincostab.
39289 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39290 Use __sincostab not sincos.
39291 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39292 name is a macro.
39293 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39294 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39295 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39296 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39297 using __copysign.
39298 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39299 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39300 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39301 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39302 and __inv.
39303 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39304 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39305 __copysign.
39306 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39307 define aliases when function name is a macro.
39308 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39309 sysdeps/ieee754/dbl-64/sincos.tbl.
39310 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39311 fma4-enabled routines.
39312 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39313 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39314 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39315 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39316 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39317 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39318 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39319 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39320 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39321 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39322 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39323 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39324 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39325 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39326 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39327 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39328 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39329 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39330 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39332 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39333 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39334 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39335 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39336 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39337 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39338 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39339 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39340 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39341 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39342
58985aa9
UD
39343 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39344 rename.
39345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39346 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39348 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39349 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39350 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39351 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39353
a201fbcf
AS
393542011-10-24 Andreas Schwab <schwab@redhat.com>
39355
39356 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39357
fc2ee42a
LD
393582011-10-23 Ulrich Drepper <drepper@gmail.com>
39359
bb3129bd
UD
39360 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39361
0275fff8
UD
39362 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39363 prediction.
39364 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39365
2fa2ae85
UD
39366 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39367 Remove unused variable magic_bits.
39368 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39369
fc2ee42a
LD
39370 * string/strnlen.c: Define and use STRNLEN macro.
39371 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39372 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39373 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39374 * wcsmbs/wcslen.c: Define and use WCSLEN.
39375 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39376 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39377 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39378 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39379 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39380 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39381 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39382
ce7dd29f
LD
393832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39384
39385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39386 strnlen-sse2-no-bsf.
39387 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39389 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39390 Add strnlen support.
39391 (USE_AS_STRNLEN): New macro.
39392 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39393 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39394 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39395 * sysdeps/x86_64/wcslen.S: New file.
39396
979c70a3
MZ
393972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39398
39399 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39400 XMM-moves are used for copying on small sizes.
39401
2d09f82f
LD
394022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39403
39404 * wcsmbs/Makefile (strop-tests): Add wcschr.
39405 * wcsmbs/test-wcschr.c: New file.
39406 * string/test-strchr.c: Update.
39407 Add wcschr support.
39408 (WIDE): New macro.
39409
619fccca
LD
394102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39411
2d09f82f 39412 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39413 * wcsmbs/test-wcslen.c: New file.
39414 * string/test-strlen.c: Update.
39415 Add wcslen support.
39416 (WIDE): New macro.
39417
09f699ea
UD
394182011-10-23 Ulrich Drepper <drepper@gmail.com>
39419
39420 * po/it.po: Update from translation team.
39421
95584d3b
LD
394222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39423
39424 * sysdeps/x86_64/wcscmp.S: Update.
39425 Fix wrong comparison semantics.
39426 wcscmp shall use signed comparison not unsigned.
39427 Don't use substraction to avoid overflow bug.
39428 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39429 * wcsmbc/wcscmp.c: Likewise.
39430 * string/test-strcmp.c: Likewise.
39431 Add new tests to check cases with negative values.
39432
c8b3296b
UD
394332011-10-23 Ulrich Drepper <drepper@gmail.com>
39434
39435 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39436 * sysdeps/x86_64/dla.h: ...here. New file.
39437 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39438 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39441 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39443 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39445 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39446
246ad57a
AS
394472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39448
39449 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39450 __ynl_finite aliases.
39451
a1a87169
UD
394522011-10-22 Ulrich Drepper <drepper@gmail.com>
39453
0d355eb7
UD
39454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39455
a1a87169
UD
39456 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39457 define DLA_FMA.
39458 [DLA_FMA] (EMULV): Use DLA_FMA.
39459 [DLA_FMA] (MUL12): Use EMULV.
39460 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39461 that are not needed.
39462 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39466 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39468 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39469
ee2aafe0
AS
394702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39471
39472 * math/s_nan.c: Undef __nan.
39473 * math/s_nanf.c: Undef __nanf.
39474 * math/s_nanl.c: Undef __nanl.
39475 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39476 "math_private.h".
39477
bc62c2fb
UD
394782011-10-22 Ulrich Drepper <drepper@gmail.com>
39479
77425c63
UD
39480 * math/s_catan.c: Add branch predictions.
39481 * math/s_catanf.c: Likewise.
39482 * math/s_catanh.c: Likewise.
39483 * math/s_catanhf.c: Likewise.
39484 * math/s_catanhl.c: Likewise.
39485 * math/s_catanl.c: Likewise.
39486 * math/s_cexp.c: Likewise.
39487 * math/s_cexpf.c: Likewise.
39488 * math/s_cexpl.c: Likewise.
39489 * math/s_clog.c: Likewise.
39490 * math/s_clog10.c: Likewise.
39491 * math/s_clog10f.c: Likewise.
39492 * math/s_clog10l.c: Likewise.
39493 * math/s_clogf.c: Likewise.
39494 * math/s_clogl.c: Likewise.
39495 * math/s_csqrt.c: Likewise.
39496 * math/s_csqrtf.c: Likewise.
39497 * math/s_csqrtl.c: Likewise.
39498 * math/s_ctanf.c: Likewise.
39499 * math/s_ctanh.c: Likewise.
39500 * math/s_ctanhf.c: Likewise.
39501 * math/s_ctanhl.c: Likewise.
39502 * math/s_ctanl.c: Likewise.
39503
bc62c2fb
UD
39504 * math/math_private.h: Define __nan, __nanf, __nanl.
39505 * math/s_cacosh.c: Include <math_private.h>.
39506 * math/s_cacoshl.c: Likewise.
39507 * math/s_casinh.c: Likewise.
39508 * math/s_casinhf.c: Likewise.
39509 * math/s_casinhl.c: Likewise.
39510 * math/s_ccos.c: Rely entire on ccosh.
39511 * math/s_ccosf.c: Rely entire on ccoshf.
39512 * math/s_ccosl.c: Rely entirely on ccoshl.
39513 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39514 Remove tests for FE_INVALID.
39515 * math/s_ccoshf.c: Likewise.
39516 * math/s_ccoshl.c: Likewise.
39517 * math/s_csin.c: Likewise.
39518 * math/s_csinf.c: Likewise.
39519 * math/s_csinh.c Likewise.
39520 * math/s_csinhf.c: Likewise.
39521 * math/s_csinhl.c: Likewise.
39522 * math/s_csinl.c: Likewise.
39523 * math/s_ctan.c: Likewise.
39524 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39525 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39526 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39527
8ec250a4
UD
395282011-10-21 Ulrich Drepper <drepper@gmail.com>
39529
c196fed8
UD
39530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39531 compilation problems.
39532
8ec250a4
UD
39533 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39534 __builtin_expect.
39535
8d4f46c6
UD
395362011-10-20 Ulrich Drepper <drepper@gmail.com>
39537
ed72b654
UD
39538 * sysdeps/i386/configure.in: Test for -mfma4 option.
39539 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39540 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39541 COMMON_CPUID_INDEX_80000001.
39542 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39543 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39544 use it if FMA3 is not supported.
39545 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39546
8d4f46c6
UD
39547 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39548 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39549
d45c60c2
AS
395502011-10-20 Andreas Schwab <schwab@redhat.com>
39551
39552 [BZ #12892]
39553 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39554 it would create a cycle with a link time dependency.
39555
d9a4d2ab
UD
395562011-10-19 Ulrich Drepper <drepper@gmail.com>
39557
855d1560
UD
39558 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39559 instruction.
39560 * string/Makefile (strop-tests): Add rawmemchr.
39561 * string/test-rawmemchr.c: New file.
39562
d9a4d2ab
UD
39563 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39565 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39566 when compiling str{,n}casecmp and when AVX is available. Hook up
39567 new optimized code in initializers.
39568
8f3b1ffe
AS
395692011-10-19 Andreas Schwab <schwab@redhat.com>
39570
39571 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39572 __feraiseexcept instead of feraiseexcept.
39573
d38f1dba
UD
395742011-10-18 Ulrich Drepper <drepper@gmail.com>
39575
d9a8d0ab
UD
39576 * math/math_private.h: Define defaults for libc_fetestexcept and
39577 libc_feupdateenv.
39578 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39579 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39580 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39581 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39582 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39583 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39584 libc_fetestexcept and libc_feupdateenv.
39585
4855e3dd
UD
39586 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39587 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39588 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39589 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39590 libc_feholdexcept_setround.
39591
581d30e3
UD
39592 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39593 Add s_nearbyint-c and s_nearbyintf-c.
39594 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39595 nearbyintf inlines.
39596 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39597 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39598 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39599 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39600
d38f1dba
UD
39601 * math/math_private.h: Define defaults for libc_fegetround,
39602 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39603 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39604 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39605 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39606 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39607 standard functions.
39608 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39609 Remove comments and hacks for old compiler versions.
39610 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39611 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39612 libc_feholdexceptl.
39613
caa6c9d8
AS
396142011-10-18 Andreas Schwab <schwab@redhat.com>
39615
39616 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39617 (__feraiseexcept_renamed): Add __NTH.
39618 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39619 namespace violations.
39620
97c066e6
UD
396212011-10-17 Ulrich Drepper <drepper@gmail.com>
39622
99ce7b04
UD
39623 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39624
1004d182
UD
39625 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39626
228a984d
UD
39627 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39628 recently added interfaces.
39629 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39630
c8553a6a
UD
39631 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39632 about macro parameter expansion.
39633
ed22dcf6
UD
39634 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39635 __NO_MATH_INLINES is defined. Cleanups.
39636
39637 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39638 and __floorf is target has SSE4.1.
39639 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39640 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39641 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39642 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39643
b171c137
UD
39644 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39645 name.
39646 (floorf): Likewise.
39647
97c066e6
UD
39648 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39649
629f62ef
AS
396502011-10-17 Andreas Schwab <schwab@redhat.com>
39651
49a43d80
AS
39652 * misc/sys/cdefs.h: Fix last change.
39653
629f62ef
AS
39654 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39655 database lookup.
39656
e453f6cd
UD
396572011-10-16 Ulrich Drepper <drepper@gmail.com>
39658
aa78043a
UD
39659 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39660
ad0f5cad
UD
39661 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39662 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39663 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39664 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39665 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39666 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39667 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39668 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39669 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39670 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39671 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39672 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39673 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39674 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39675 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39676 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39677 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39678 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39679 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39680 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39681 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39682 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39683
39684 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39685 ceil, ceilf, floor, floorf.
39686
39687 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39688 Perform IRELATIVE relocations last.
39689
e453f6cd
UD
39690 * elf/do-rel.h: Add another parameter nrelative, replacing the
39691 local variable with the same name. Change name of the function
39692 to end in Rel or Rela (uppercase).
39693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39694 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39695 elf_dynamic_do_##reloc function.
39696
fd5bdc09
UD
396972011-10-15 Ulrich Drepper <drepper@gmail.com>
39698
79b195b5
UD
39699 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39700 is sufficient, at least on modern CPUs.
39701
d4a28569
UD
39702 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39703
b61099b5
UD
39704 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39705 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39706
bcf01e6d
UD
39707 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39708 __expl_finite.
39709 * math/bits/math-finite.h: Add entries for exp.
39710 * math/e_expl.c: Add __*_finite alias.
39711 * sysdeps/i386/fpu/e_exp.S: Likewise.
39712 * sysdeps/i386/fpu/e_expf.S: Likewise.
39713 * sysdeps/i386/fpu/e_expl.c: Likewise.
39714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39715 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39716 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39717 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39718 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39719 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39720 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39721
ba1a0d59
UD
39722 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39723 is sufficient, at least on modern CPUs.
39724
fd5bdc09
UD
39725 * ctype/ctype-info.c (__ctype_init): Define.
39726 * include/ctype.h (__ctype_init): Declare.
39727 (__ctype_b_loc): The variable is always initialized.
39728 (__ctype_toupper_loc): Likewise.
39729 (__ctype_tolower_loc): Likewise.
39730 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39731 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39732
7872cfb0
AS
397332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39734
b468825a
AS
39735 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39736
7872cfb0
AS
39737 * configure.in: Also look in $cxxmachine/include for C++ system
39738 headers.
39739
be13f7bf
LD
397402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39741
39742 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39743 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39744 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39745 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39746 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39747 (USE_AS_WMEMCMP): New macro.
39748 Fixing indents.
39749 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39750 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39751 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39752 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39754 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39755 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39756 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39757 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39758 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39759 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39760 (USE_AS_WMEMCMP): New macro.
39761 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39762 * sysdeps/string/test-memcmp.c: Update.
39763 Fix simple_wmemcmp.
39764 Add new tests.
39765 * wcsmbs/wmemcmp.c: Update.
39766 (WMEMCMP): New macro.
39767 Fix overflow bug.
39768
556a2007
AJ
397692011-10-12 Andreas Jaeger <aj@suse.de>
39770
39771 [BZ #13268]
39772 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39773
538faaa7
UD
397742011-10-15 Ulrich Drepper <drepper@gmail.com>
39775
ab6737ff
UD
39776 * libio/iofwide.c (do_length): Avoid warning.
39777
538faaa7
UD
39778 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39779
396a21b1
UD
397802011-10-14 Ulrich Drepper <drepper@gmail.com>
39781
cdf2901f
UD
39782 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39783
38ad40ce
UD
39784 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39785 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39786 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39787 * sysdeps/i386/i686/fpu/e_log.S: New file.
39788 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39789 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39790
396a21b1
UD
39791 * ctype/ctype.h: Add support for inlined isXXX functions when
39792 compiling C++ code.
39793
6b1f68c9
AS
397942011-10-14 Andreas Schwab <schwab@redhat.com>
39795
349290c0
AS
39796 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39797
6b1f68c9
AS
39798 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39799
f2282d42
RM
398002011-10-13 Roland McGrath <roland@hack.frob.com>
39801
39802 [BZ #13291]
39803 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39804
5298ffa8
AS
398052011-10-13 Andreas Schwab <schwab@redhat.com>
39806
714fad23
AS
39807 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39808 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39809 feraiseexcept.
39810
81dcc7fb
AS
39811 * sysdeps/x86_64/memrchr.S: Check for zero size.
39812
5298ffa8
AS
39813 * string/stratcliff.c: Add memrchr tests.
39814
951fbcec
LD
398152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39816
39817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39818 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39819 rawmemchr-sse2 rawmemchr-sse2-bsf.
39820 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39821 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39822 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39823 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39824 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39825 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39826 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39827 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39828 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39829 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39830 * string/memrchr.c (MEMRCHR): New macro.
39831
0ac5ae23
UD
398322011-10-12 Ulrich Drepper <drepper@gmail.com>
39833
39834 Add integration with gcc's -ffinite-math-only and optimize wrapper
39835 functions in libm.
39836 * Versions.def: Define GLIBC_2.15 version for libm.
39837 * math/Makefile (headers): Add bits/math-finite.h.
39838 * math/bits/math-finite.h: New file.
39839 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39840 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39841 * math/e_acoshl.c: Add __*_finite alias.
39842 * math/e_acosl.c: Likewise.
39843 * math/e_asinl.c: Likewise.
39844 * math/e_atan2l.c: Likewise.
39845 * math/e_atanhl.c: Likewise.
39846 * math/e_coshl.c: Likewise.
39847 * math/e_exp10.c: Likewise.
39848 * math/e_exp10f.c: Likewise.
39849 * math/e_exp10l.c: Likewise.
39850 * math/e_exp2l.c: Likewise.
39851 * math/e_fmodl.c: Likewise.
39852 * math/e_gammal_r.c: Likewise.
39853 * math/e_hypotl.c: Likewise.
39854 * math/e_j0l.c: Likewise.
39855 * math/e_j1l.c: Likewise.
39856 * math/e_jnl.c: Likewise.
39857 * math/e_lgammal_r.c: Likewise.
39858 * math/e_log10l.c: Likewise.
39859 * math/e_log2l.c: Likewise.
39860 * math/e_logl.c: Likewise.
39861 * math/e_powl.c: Likewise.
39862 * math/e_sinhl.c: Likewise.
39863 * math/e_sqrtl.c: Likewise.
39864 * math/e_scalb.c: Completely rewritten and optimized.
39865 * math/e_scalbf.c: Likewise.
39866 * math/e_scalbl.c: Likewise.
39867 * math/w_acos.c: Likewise.
39868 * math/w_acosf.c: Likewise.
39869 * math/w_acosl.c: Likewise.
39870 * math/w_acosh.c: Likewise.
39871 * math/w_acoshf.c: Likewise.
39872 * math/w_acoshl.c: Likewise.
39873 * math/w_asin.c: Likewise.
39874 * math/w_asinf.c: Likewise.
39875 * math/w_asinl.c: Likewise.
39876 * math/w_atan2.c: Likewise.
39877 * math/w_atan2f.c: Likewise.
39878 * math/w_atan2l.c: Likewise.
39879 * math/w_atanh.c: Likewise.
39880 * math/w_atanhf.c: Likewise.
39881 * math/w_atanhl.c: Likewise.
39882 * math/w_exp10.c: Likewise.
39883 * math/w_exp10f.c: Likewise.
39884 * math/w_exp10l.c: Likewise.
39885 * math/w_fmod.c: Likewise.
39886 * math/w_fmodf.c: Likewise.
39887 * math/w_fmodl.c: Likewise.
39888 * math/w_j0.c: Likewise.
39889 * math/w_j0f.c: Likewise.
39890 * math/w_j0l.c: Likewise.
39891 * math/w_j1.c: Likewise.
39892 * math/w_j1f.c: Likewise.
39893 * math/w_j1l.c: Likewise.
39894 * math/w_jn.c: Likewise.
39895 * math/w_jnf.c: Likewise.
39896 * math/w_log.c: Likewise.
39897 * math/w_logf.c: Likewise.
39898 * math/w_logl.c: Likewise.
39899 * math/w_log10.c: Likewise.
39900 * math/w_log10f.c: Likewise.
39901 * math/w_log10l.c: Likewise.
39902 * math/w_log2.c: Likewise.
39903 * math/w_log2f.c: Likewise.
39904 * math/w_log2l.c: Likewise.
39905 * math/w_pow.c: Likewise.
39906 * math/w_powf.c: Likewise.
39907 * math/w_powl.c: Likewise.
39908 * math/w_remainder.c: Likewise.
39909 * math/w_remainderf.c: Likewise.
39910 * math/w_remainderl.c: Likewise.
39911 * math/w_scalb.c: Likewise.
39912 * math/w_scalbf.c: Likewise.
39913 * math/w_scalbl.c: Likewise.
39914 * math/w_sqrt.c: Likewise.
39915 * math/w_sqrtf.c: Likewise.
39916 * math/w_sqrtl.c: Likewise.
39917 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39918 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39919 used.
39920 * math/math_private.h: Declare __kernel_standard_f.
39921 * math/w_cosh.c: Remove cruft and optimize a bit.
39922 * math/w_coshf.c: Likewise.
39923 * math/w_coshl.c: Likewise.
39924 * math/w_exp2.c: Likewise.
39925 * math/w_exp2f.c: Likewise.
39926 * math/w_exp2l.c: Likewise.
39927 * math/w_hypot.c: Likewise.
39928 * math/w_hypotf.c: Likewise.
39929 * math/w_hypotl.c: Likewise.
39930 * math/w_lgamma.c: Likewise.
39931 * math/w_lgamma_r.c: Likewise.
39932 * math/w_lgammaf.c: Likewise.
39933 * math/w_lgammaf_r.c: Likewise.
39934 * math/w_lgammal.c: Likewise.
39935 * math/w_lgammal_r.c: Likewise.
39936 * math/w_sinh.c: Likewise.
39937 * math/w_sinhf.c: Likewise.
39938 * math/w_sinhl.c: Likewise.
39939 * math/w_tgamma.c: Likewise.
39940 * math/w_tgammaf.c: Likewise.
39941 * math/w_tgammal.c: Likewise.
39942 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39943 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39944 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39945 Minor optimizations. Pretty printing. Remove cruft.
39946 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39947 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39948 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39949 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39950 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39951 * sysdeps/i386/fpu/e_asin.S: Likewise.
39952 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39953 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39954 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39955 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39956 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39957 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39958 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39959 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39960 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39961 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39962 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39963 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39964 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39965 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39966 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39967 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39968 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39969 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39970 * sysdeps/i386/fpu/e_log.S: Likewise.
39971 * sysdeps/i386/fpu/e_log10.S: Likewise.
39972 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39973 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39974 * sysdeps/i386/fpu/e_log2.S: Likewise.
39975 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39976 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39977 * sysdeps/i386/fpu/e_logf.S: Likewise.
39978 * sysdeps/i386/fpu/e_logl.S: Likewise.
39979 * sysdeps/i386/fpu/e_pow.S: Likewise.
39980 * sysdeps/i386/fpu/e_powf.S: Likewise.
39981 * sysdeps/i386/fpu/e_powl.S: Likewise.
39982 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39983 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39984 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39985 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39986 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39987 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39988 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39989 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39990 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39991 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39994 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39995 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39996 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39997 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39998 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39999 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40000 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40001 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40002 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40004 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40005 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40007 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40008 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40009 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40011 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40012 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40013 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40014 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40015 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40016 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40017 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40018 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40019 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40020 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40021 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40022 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40023 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40024 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40025 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40026 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40027 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40028 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40029 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40030 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40031 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40032 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40033 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40034 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40035 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40036 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40037 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40038 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40039 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40040 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40044 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40048 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40049 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40050 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40051 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40071 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40074 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40075 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40076 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40077 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40079 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40082 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40083 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40084 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40085 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40086 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40087 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40088 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40089 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40090 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40091 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40092 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40093 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40094 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40095 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40096 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40097 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40098 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40099 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40100 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40101 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40102 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40103 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40104 (__isnanf): Likewise.
40105 (__isinf_ns): Likewise.
40106 (__isinf_nsf): Likewise.
40107 (__finite): Likewise.
40108 (__finitef): Likewise.
40109 (__ieee754_sqrt): Define as macro.
40110 (__ieee754_sqrtf): Define as macro.
40111 (__ieee754_sqrtl): Define as macro.
40112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40113 inlined copy.
40114 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40115 __FINITE_MATH_ONLY__ consistent.
40116 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40117
12cc2fcd
AS
401182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40119
a843a204
AS
40120 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40121 of rawmemchr.
40122
12cc2fcd
AS
40123 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40124
c853acd5
UD
401252011-10-09 Ulrich Drepper <drepper@gmail.com>
40126
40127 * po/ja.po: Update from translation team.
40128
c658d255
RM
401292011-10-08 Roland McGrath <roland@hack.frob.com>
40130
110946e4
RM
40131 * locale/programs/locarchive.c (prepare_address_space): New function.
40132 (create_archive, enlarge_archive, open_archive): Use it.
40133
50604220
RM
40134 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40135 inside [SHARED], where it is used.
40136
c658d255
RM
40137 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40138
40139 * nss/getent.c (netgroup_keys): Remove unused variable.
40140 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40141
6a621eb7
UD
401422011-10-08 Ulrich Drepper <drepper@gmail.com>
40143
7edb55ce
UD
40144 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40145 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40147 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40148 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40149 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40150 * math/Makefile (libm-calls): Add s_isinf_ns.
40151 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40152 * math/multc3.c: Likewise.
40153 * math/s_casin.c: Likewise.
40154 * math/s_casinf.c: Likewise.
40155 * math/s_casinl.c: Likewise.
40156 * math/s_ccos.c: Likewise.
40157 * math/s_ccosf.c: Likewise.
40158 * math/s_ccosl.c: Likewise.
40159 * math/s_ctan.c: Likewise.
40160 * math/s_ctanf.c: Likewise.
40161 * math/s_ctanh.c: Likewise.
40162 * math/s_ctanhf.c: Likewise.
40163 * math/s_ctanhl.c: Likewise.
40164 * math/s_ctanl.c: Likewise.
40165 * math/w_fmod.c: Likewise.
40166 * math/w_fmodf.c: Likewise.
40167 * math/w_fmodl.c: Likewise.
40168 * math/w_remainder.c: Likewise.
40169 * math/w_remainderf.c: Likewise.
40170 * math/w_remainderl.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40172 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40173 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40175 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40176 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40177 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40178 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40179
187da0ae
UD
40180 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40181 of the number.
40182 * stdio-common/printf_fphex.c: Likewise.
40183 * stdio-common/printf_size.c: Likewise.
40184
9277c064
UD
40185 * math/e_exp10.c: Include math_private.h using <...> not "...".
40186 * math/e_exp10f.c: Likewise.
40187 * math/e_exp10l.c: Likewise.
40188 * math/e_exp2l.c: Likewise.
40189 * math/e_j0l.c: Likewise.
40190 * math/e_j1l.c: Likewise.
40191 * math/e_jnl.c: Likewise.
40192 * math/e_lgammal_r.c: Likewise.
40193 * math/e_rem_pio2l.c: Likewise.
40194 * math/e_scalb.c: Likewise.
40195 * math/e_scalbf.c: Likewise.
40196 * math/e_scalbl.c: Likewise.
40197 * math/k_cosl.c: Likewise.
40198 * math/k_sinl.c: Likewise.
40199 * math/k_tanl.c: Likewise.
40200 * math/s_cacoshf.c: Likewise.
40201 * math/s_catan.c: Likewise.
40202 * math/s_catanf.c: Likewise.
40203 * math/s_catanh.c: Likewise.
40204 * math/s_catanhf.c: Likewise.
40205 * math/s_catanhl.c: Likewise.
40206 * math/s_catanl.c: Likewise.
40207 * math/s_ccosh.c: Likewise.
40208 * math/s_ccoshf.c: Likewise.
40209 * math/s_ccoshl.c: Likewise.
40210 * math/s_cexp.c: Likewise.
40211 * math/s_cexpf.c: Likewise.
40212 * math/s_cexpl.c: Likewise.
40213 * math/s_clog.c: Likewise.
40214 * math/s_clog10.c: Likewise.
40215 * math/s_clog10f.c: Likewise.
40216 * math/s_clog10l.c: Likewise.
40217 * math/s_clogf.c: Likewise.
40218 * math/s_clogl.c: Likewise.
40219 * math/s_csin.c: Likewise.
40220 * math/s_csinf.c: Likewise.
40221 * math/s_csinh.c: Likewise.
40222 * math/s_csinhf.c: Likewise.
40223 * math/s_csinhl.c: Likewise.
40224 * math/s_csinl.c: Likewise.
40225 * math/s_csqrt.c: Likewise.
40226 * math/s_csqrtf.c: Likewise.
40227 * math/s_csqrtl.c: Likewise.
40228 * math/s_ctan.c: Likewise.
40229 * math/s_ctanf.c: Likewise.
40230 * math/s_ctanh.c: Likewise.
40231 * math/s_ctanhf.c: Likewise.
40232 * math/s_ctanhl.c: Likewise.
40233 * math/s_ctanl.c: Likewise.
40234 * math/s_ldexp.c: Likewise.
40235 * math/s_ldexpf.c: Likewise.
40236 * math/s_ldexpl.c: Likewise.
40237 * math/s_significand.c: Likewise.
40238 * math/s_significandf.c: Likewise.
40239 * math/s_significandl.c: Likewise.
40240 * math/w_acos.c: Likewise.
40241 * math/w_acosf.c: Likewise.
40242 * math/w_acosh.c: Likewise.
40243 * math/w_acoshf.c: Likewise.
40244 * math/w_acoshl.c: Likewise.
40245 * math/w_acosl.c: Likewise.
40246 * math/w_asin.c: Likewise.
40247 * math/w_asinf.c: Likewise.
40248 * math/w_asinl.c: Likewise.
40249 * math/w_atan2.c: Likewise.
40250 * math/w_atan2f.c: Likewise.
40251 * math/w_atan2l.c: Likewise.
40252 * math/w_atanh.c: Likewise.
40253 * math/w_atanhf.c: Likewise.
40254 * math/w_atanhl.c: Likewise.
40255 * math/w_cosh.c: Likewise.
40256 * math/w_coshf.c: Likewise.
40257 * math/w_coshl.c: Likewise.
40258 * math/w_dremf.c: Likewise.
40259 * math/w_exp10.c: Likewise.
40260 * math/w_exp10f.c: Likewise.
40261 * math/w_exp10l.c: Likewise.
40262 * math/w_exp2.c: Likewise.
40263 * math/w_exp2f.c: Likewise.
40264 * math/w_fmod.c: Likewise.
40265 * math/w_fmodf.c: Likewise.
40266 * math/w_fmodl.c: Likewise.
40267 * math/w_hypot.c: Likewise.
40268 * math/w_hypotf.c: Likewise.
40269 * math/w_hypotl.c: Likewise.
40270 * math/w_j0.c: Likewise.
40271 * math/w_j0f.c: Likewise.
40272 * math/w_j0l.c: Likewise.
40273 * math/w_j1.c: Likewise.
40274 * math/w_j1f.c: Likewise.
40275 * math/w_j1l.c: Likewise.
40276 * math/w_jn.c: Likewise.
40277 * math/w_jnf.c: Likewise.
40278 * math/w_jnl.c: Likewise.
40279 * math/w_lgamma.c: Likewise.
40280 * math/w_lgamma_r.c: Likewise.
40281 * math/w_lgammaf.c: Likewise.
40282 * math/w_lgammaf_r.c: Likewise.
40283 * math/w_lgammal.c: Likewise.
40284 * math/w_lgammal_r.c: Likewise.
40285 * math/w_log.c: Likewise.
40286 * math/w_log10.c: Likewise.
40287 * math/w_log10f.c: Likewise.
40288 * math/w_log10l.c: Likewise.
40289 * math/w_log2.c: Likewise.
40290 * math/w_log2f.c: Likewise.
40291 * math/w_log2l.c: Likewise.
40292 * math/w_logf.c: Likewise.
40293 * math/w_logl.c: Likewise.
40294 * math/w_pow.c: Likewise.
40295 * math/w_powf.c: Likewise.
40296 * math/w_powl.c: Likewise.
40297 * math/w_remainder.c: Likewise.
40298 * math/w_remainderf.c: Likewise.
40299 * math/w_remainderl.c: Likewise.
40300 * math/w_scalb.c: Likewise.
40301 * math/w_scalbf.c: Likewise.
40302 * math/w_scalbl.c: Likewise.
40303 * math/w_sinh.c: Likewise.
40304 * math/w_sinhf.c: Likewise.
40305 * math/w_sinhl.c: Likewise.
40306 * math/w_sqrt.c: Likewise.
40307 * math/w_sqrtf.c: Likewise.
40308 * math/w_sqrtl.c: Likewise.
40309 * math/w_tgamma.c: Likewise.
40310 * math/w_tgammaf.c: Likewise.
40311 * math/w_tgammal.c: Likewise.
40312
6a621eb7
UD
40313 * po/ja.po: Update from translation team.
40314
bf582445
AJ
403152011-09-29 Andreas Jaeger <aj@suse.de>
40316
f9efbf3a
AJ
40317 [BZ #13179]
40318 * sunrpc/netname.c (netname2host): Fix logic.
40319
bf582445
AJ
40320 [BZ #6779]
40321 [BZ #6783]
40322 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40323 correctly.
40324 * math/w_remainder.c (__remainder): Likewise.
40325 * math/w_remainderf.c (__remainderf): Likewise.
40326 * math/libm-test.inc (remainder_test): Add test cases.
40327
48693bea
AK
403282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40329
40330 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40331 sdiv_qrnnd.
40332
42622229
LD
403332011-10-07 Ulrich Drepper <drepper@gmail.com>
40334
40335 * string/test-memcmp.c: Avoid unncessary #defines.
40336 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40337
093ecf92
LD
403382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40339
40340 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40341 Use new sse2 version for core i3 - i7 as it's faster
40342 than sse42 version.
40343 (bit_Prefer_PMINUB_for_stringop): New.
40344 * sysdeps/x86_64/rawmemchr.S: Update.
40345 Replace with faster SSE2 version.
40346 * sysdeps/x86_64/memrchr.S: New file.
40347 * sysdeps/x86_64/memchr.S: Update.
40348 Replace with faster SSE2 version.
40349
fde56e5c
MP
403502011-09-12 Marek Polacek <mpolacek@redhat.com>
40351
40352 * elf/dl-load.c (lose): Add cast to avoid warning.
40353
21fd49a9
UD
403542011-10-07 Ulrich Drepper <drepper@gmail.com>
40355
5a06e643
UD
40356 * po/ca.po: Update from translation team.
40357
684ae515
UD
40358 * inet/getnetgrent_r.c: Hook up nscd.
40359 * nscd/Makefile (routines): Add nscd_netgroup.
40360 (nscd-modules): Add netgroupcache.
40361 (CFLAGS-netgroupcache.c): Define.
40362 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40363 (cache_search): Add const to second parameter.
40364 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40365 INNETGR.
40366 (dbs): Add netgrdb entry.
40367 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40368 (verify_persistent_db): Handle netgrdb.
40369 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40370 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40371 GETFDNETGR.
40372 (netgroup_response_header): Define.
40373 (innetgroup_response_header): Define.
40374 (datahead): Add netgroup_response_header and innetgroup_response_header
40375 elements.
40376 * nscd/nscd.conf: Add entries for netgroup cache.
40377 * nscd/nscd.h (dbtype): Add netgrdb.
40378 (_PATH_NSCD_NETGROUP_DB): Define.
40379 (netgroup_iov_disabled): Declare.
40380 (xmalloc, xcalloc, xrealloc): Move declarations here.
40381 (cache_search): Adjust prototype.
40382 Add netgroup-related prototypes.
40383 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40384 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40385 (__nscd_innetgr): Declare.
40386 * nscd/selinux.c (perms): Use access_vector_t as element type and
40387 add netgroup-related initializers.
40388 * nscd/netgroupcache.c: New file.
40389 * nscd/nscd_netgroup.c: New file.
40390 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40391 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40392 For four parameters use innetgr.
40393 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40394 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40395 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40396 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40397
21fd49a9
UD
40398 * nscd/connections.c (register_traced_file): Don't register file
40399 for disabled databases.
40400
054c0457
UD
404012011-10-06 Ulrich Drepper <drepper@gmail.com>
40402
32b63198
UD
40403 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40404
054c0457
UD
40405 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40406 from tree and freeing node.
40407
64031225
JO
404082011-09-25 Jiri Olsa <jolsa@redhat.com>
40409
40410 * nss/nsswitch.c (__nss_database_lookup): Handle
40411 nss_parse_service_list out of memory case.
40412
0490345c
JO
404132011-09-15 Jiri Olsa <jolsa@redhat.com>
40414
40415 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40416 out of memory case.
40417
3a62d00d
AS
404182011-10-04 Andreas Schwab <schwab@redhat.com>
40419
40420 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40421 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40422 pass it down.
40423 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40424 elf_machine_rela, elf_machine_lazy_rel.
40425 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40426 (ELF_DYNAMIC_DO_REL): Likewise.
40427 (ELF_DYNAMIC_DO_RELA): Likewise.
40428 (ELF_DYNAMIC_RELOCATE): Likewise.
40429 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40430 to ELF_DYNAMIC_DO_REL.
40431 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40432 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40433 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40434 elf_machine_rela.
40435 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40436 skip_ifunc, don't call ifunc function if non-zero.
40437 (elf_machine_rela): Likewise.
40438 (elf_machine_lazy_rel): Likewise.
40439 (elf_machine_lazy_rela): Likewise.
40440 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40441 (elf_machine_lazy_rel): Likewise.
40442 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40443 Likewise.
40444 (elf_machine_lazy_rel): Likewise.
40445 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40446 Likewise.
40447 (elf_machine_lazy_rel): Likewise.
40448 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40449 (elf_machine_lazy_rel): Likewise.
40450 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40451 (elf_machine_lazy_rel): Likewise.
40452 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40453 (elf_machine_lazy_rel): Likewise.
40454 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40455 (elf_machine_lazy_rel): Likewise.
40456 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40457 (elf_machine_lazy_rel): Likewise.
40458 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40459 (elf_machine_lazy_rel): Likewise.
40460
68577918
UD
404612011-09-28 Ulrich Drepper <drepper@gmail.com>
40462
40463 * nss/nss_files/files-init.c (_nss_files_init): Use static
40464 initialization for all the *_traced_file variables.
40465
68822d74
AS
404662011-09-28 Andreas Schwab <schwab@redhat.com>
40467
40468 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40469
2056100b
RM
404702011-09-27 Roland McGrath <roland@hack.frob.com>
40471
40472 [BZ #13226]
40473 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40474
32c76b63
AS
404752011-09-27 Andreas Schwab <schwab@redhat.com>
40476
40477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40478 Reread the line before reparsing it.
40479
bf972c9d
AS
404802011-09-26 Andreas Schwab <schwab@redhat.com>
40481
40482 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40483
e057a1b5
JM
404842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40485 Maxim Kuvyrkov <maxim@codesourcery.com>
40486 Joseph Myers <joseph@codesourcery.com>
40487
40488 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40489 if needed for __stack_chk_guard.
40490
bc7e1c36
RM
404912011-09-19 Roland McGrath <roland@hack.frob.com>
40492
ecb1482f
RM
40493 * sysdeps/posix/spawni.c (script_execute): Always define it.
40494 It will be optimized away if unused.
40495 (maybe_script_execute): New function.
40496 (__spawni): Call it.
40497
bc7e1c36
RM
40498 * Makerules: Don't include tls.make.
40499 (config-tls): Always set to thread.
40500 * tls.make.c: File removed.
40501
1c3b002b
MF
405022011-09-19 Mike Frysinger <vapier@gentoo.org>
40503
40504 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40505 * config.make.in (CPPFLAGS-config): New substituted variable.
40506
2840865d
UD
405072011-09-15 Ulrich Drepper <drepper@gmail.com>
40508
88738eb6
UD
40509 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40510
cbf645a6 40511 [BZ #13192]
2840865d
UD
40512 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40513 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40514
b402e91a
RM
405152011-09-15 Roland McGrath <roland@hack.frob.com>
40516
40517 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40518 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40520 (CALL_FAIL): Likewise.
40521 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40522 (CALL_FAIL): Macro removed.
40523 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40524
4c1a1f71
UD
405252011-09-15 Ulrich Drepper <drepper@gmail.com>
40526
40527 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40528 for __FINITE_MATH_ONLY__ == 1.
40529
edc121be
AS
405302011-09-15 Andreas Schwab <schwab@redhat.com>
40531
40532 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40533 __ieee754_sqrt instead of sqrt.
40534 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40535 __ieee754_sqrtf instead of sqrtf.
40536 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40537 __floorf instead of floorf.
40538 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40539 __floorf, __truncf instead of floorf, truncf.
40540
cd205654
UD
405412011-09-14 Ulrich Drepper <drepper@gmail.com>
40542
ee4d0315
UD
40543 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40544
cd205654
UD
40545 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40546 __extern_always_inline.
40547 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40548 32-bit.
40549
48b67d71
AS
405502011-09-14 Andreas Schwab <schwab@redhat.com>
40551
40552 * elf/rtld.c (dl_main): Also relocate in dependency order when
40553 doing symbol dependency testing.
40554
1ae12c75
AS
405552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40556
40557 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40558 Always define `refsym'.
40559
995a80df
AS
405602011-09-13 Andreas Schwab <schwab@redhat.com>
40561
e529793b
AS
40562 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40563 (__FD_ELT): Renamed from __FDELT.
40564 * misc/bits/select2.h (__FD_ELT): Likewise.
40565 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40566 __FD_MASK instead of __FDELT, __FDMASK.
40567 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40568 Likewise.
40569 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40570 Likewise.
40571
52d4fef8
AS
40572 * elf/Makefile (gen-ldd): Fix pattern.
40573
995a80df
AS
40574 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40575 (init_tls): Likewise.
40576
8682f8b0
UD
405772011-09-12 Ulrich Drepper <drepper@gmail.com>
40578
40579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40580
de82006d
AS
405812011-09-12 Andreas Schwab <schwab@redhat.com>
40582
a7c8e6a1
AS
40583 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40584 `struct cmsghdr *' instead of `void *'.
40585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40586 Likewise.
40587
0f31fe77
AS
405882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40589
40590 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40591 if non-absolute.
40592 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40593 ldd_rewrite_script.
0f31fe77 40594
32b4c839
UD
405952011-09-11 Ulrich Drepper <drepper@gmail.com>
40596
83cd1420
UD
40597 * configure.in: Remove --with-tls option.
40598 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40599 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40600 out in case it is missing.
40601 * sysdeps/ia64/elf/configure.in: Likewise.
40602 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40603 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40604 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40605 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40606 * sysdeps/sh/elf/configure.in: Likewise.
40607 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40608 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40609 * sysdeps/x86_64/elf/configure.in: Likewise.
40610 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40611 * sysdeps/mach/hurd/tls.h: Likewise.
40612
633f745d
UD
40613 [BZ #13067]
40614 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40615
f318beb8
UD
40616 [BZ #13090]
40617 * configure.in: Fix use of AC_INIT.
40618
32b4c839
UD
40619 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40620
3ce1f295
UD
406212011-09-10 Ulrich Drepper <drepper@gmail.com>
40622
bb016596
UD
40623 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40624 __set_errno.
8e58439c
UD
40625 * malloc/hooks.c: Likewise.
40626
aebae053 40627 [BZ #11929]
02d46fc4
UD
40628 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40629 variables statically.
40630 (narenas): Initialize.
40631 (list_lock): Initialize.
bb016596
UD
40632 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40633 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40634 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40635 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40636 Add initializers to main_arena and mp_.
40637 (malloc_state): Remove pagesize member. Change all users to use
40638 GLRO(dl_pagesize).
40639
40640 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40641 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40642 is always initialized.
40643
22a89187
UD
40644 * malloc/malloc.c: Removed unused configurations and dead code.
40645 * malloc/arena.c: Likewise.
40646 * malloc/hooks.c: Likewise.
02d46fc4 40647 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40648
d063d164
UD
40649 * include/tls.h: Removed. USE___THREAD must always be defined.
40650 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40651 * elf/dl-libc.c: Likewise.
40652 * elf/dl-tsd.c: Likewise.
40653 * include/errno.h: Likewise.
40654 * include/netdb.h: Likewise.
40655 * include/resolv.h: Likewise.
40656 * inet/herrno-loc.c: Likewise.
40657 * inet/herrno.c: Likewise.
40658 * malloc/arena.c: Likewise.
40659 * malloc/hooks.c: Likewise.
40660 * malloc/malloc.c: Likewise.
40661 * resolv/res-state.c: Likewise.
40662 * resolv/res_libc.c: Likewise.
40663 * sysdeps/i386/dl-machine.h: Likewise.
40664 * sysdeps/ia64/dl-machine.h: Likewise.
40665 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40666 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40667 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40668 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40669 * sysdeps/sh/dl-machine.h: Likewise.
40670 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40671 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40672 * sysdeps/unix/i386/sysdep.S: Likewise.
40673 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40674 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40676 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40677 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40678 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40679 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40682 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40683 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40684 * sysdeps/x86_64/dl-machine.h: Likewise.
40685 * tls.make.c: Likewise.
40686
3ce1f295
UD
40687 * configure.in: Remove --with-__thread option. Make tests for
40688 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40689 tls_model attribute fail if no support is available. Remove
40690 USE_IN_LIBIO.
40691 * Makeconfig: Adjust for dropped configure option. All features are
40692 now mandatory.
40693 * Makerules: Likewise.
40694 * Versions.def: Likewise.
40695 * argp/argp-fmtstream.c: Likewise.
40696 * argp/argp-fmtstream.h: Likewise.
40697 * argp/argp-help.c: Likewise.
40698 * assert/assert.c: Likewise.
40699 * config.h.in: Likewise.
40700 * config.make.in: Likewise.
40701 * configure: Likewise.
40702 * configure.in: Likewise.
40703 * csu/Versions: Likewise.
40704 * csu/init.c: Likewise.
40705 * elf/tst-audit2.c: Likewise.
40706 * elf/tst-tls10.c: Likewise.
40707 * elf/tst-tls10.h: Likewise.
40708 * elf/tst-tls11.c: Likewise.
40709 * elf/tst-tls12.c: Likewise.
40710 * elf/tst-tls14.c: Likewise.
40711 * elf/tst-tlsmod11.c: Likewise.
40712 * elf/tst-tlsmod12.c: Likewise.
40713 * elf/tst-tlsmod13.c: Likewise.
40714 * elf/tst-tlsmod13a.c: Likewise.
40715 * elf/tst-tlsmod14a.c: Likewise.
40716 * elf/tst-tlsmod15b.c: Likewise.
40717 * elf/tst-tlsmod16a.c: Likewise.
40718 * elf/tst-tlsmod16b.c: Likewise.
40719 * elf/tst-tlsmod7.c: Likewise.
40720 * elf/tst-tlsmod8.c: Likewise.
40721 * elf/tst-tlsmod9.c: Likewise.
40722 * gmon/gmon.c: Likewise.
40723 * grp/fgetgrent_r.c: Likewise.
40724 * grp/putgrent.c: Likewise.
40725 * hurd/fopenport.c: Likewise.
40726 * include/libc-symbols.h: Likewise.
40727 * include/tls.h: Likewise.
40728 * intl/gettextP.h: Likewise.
40729 * intl/loadinfo.h: Likewise.
40730 * locale/global-locale.c: Likewise.
40731 * locale/localeinfo.h: Likewise.
40732 * mach/devstream.c: Likewise.
40733 * malloc/arena.c: Likewise.
40734 * malloc/set-freeres.c: Likewise.
40735 * misc/err.c: Likewise.
40736 * misc/getttyent.c: Likewise.
40737 * misc/mntent_r.c: Likewise.
40738 * posix/getopt.c: Likewise.
40739 * posix/wordexp.c: Likewise.
40740 * pwd/fgetpwent_r.c: Likewise.
40741 * resolv/Versions: Likewise.
40742 * resolv/res_hconf.c: Likewise.
40743 * shadow/fgetspent_r.c: Likewise.
40744 * shadow/putspent.c: Likewise.
40745 * stdio-common/printf_fphex.c: Likewise.
40746 * stdio-common/tmpfile.c: Likewise.
40747 * stdlib/abort.c: Likewise.
40748 * stdlib/fmtmsg.c: Likewise.
40749 * sunrpc/auth_unix.c: Likewise.
40750 * sunrpc/clnt_perr.c: Likewise.
40751 * sunrpc/clnt_tcp.c: Likewise.
40752 * sunrpc/clnt_udp.c: Likewise.
40753 * sunrpc/clnt_unix.c: Likewise.
40754 * sunrpc/openchild.c: Likewise.
40755 * sunrpc/svc_simple.c: Likewise.
40756 * sunrpc/svc_tcp.c: Likewise.
40757 * sunrpc/svc_udp.c: Likewise.
40758 * sunrpc/svc_unix.c: Likewise.
40759 * sunrpc/xdr.c: Likewise.
40760 * sunrpc/xdr_array.c: Likewise.
40761 * sunrpc/xdr_rec.c: Likewise.
40762 * sunrpc/xdr_ref.c: Likewise.
40763 * sunrpc/xdr_stdio.c: Likewise.
40764
1248c1c4
PB
407652011-09-09 Ulrich Drepper <drepper@gmail.com>
40766
40767 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40768
407692011-07-03 Andreas Jaeger <aj@suse.de>
40770
40771 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40772 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40773 regenerate with gen-libm-tests.pl.
40774
407752010-05-12 Petr Baudis <pasky@suse.cz>
40776
40777 [BZ #11589]
40778 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40779 around j0() zero points by switching to j1().
40780 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40781 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40784
f22e1074
UD
407852011-09-09 Ulrich Drepper <drepper@gmail.com>
40786
f19009c1
UD
40787 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40788 instead of 0.
40789 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40790 instead of 0.
f19009c1
UD
40791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40792 Patch in part by Pavel Roskin <proski@gnu.org>.
40793
3f8cc204
UD
40794 [BZ #13138]
40795 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40796 realloc.
40797 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40798 Free memory block if necessary.
40799
f22e1074
UD
40800 [BZ #12847]
40801 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40802 be NULL. Don't lock in this case.
40803
0a2349f9
RM
408042011-09-09 Roland McGrath <roland@hack.frob.com>
40805
40806 * elf/elf.h (ELFOSABI_GNU): New macro.
40807 (ELFOSABI_LINUX): Define to that.
40808
f3cdd467
DZ
408092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40810
40811 * string/strncat.c (strncat): Undef the symbol in case it has been
40812 defined in bits/string.h.
40813
74718d13
UD
408142011-09-09 Ulrich Drepper <drepper@gmail.com>
40815
633e9e0f
UD
40816 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40817
0a2349f9 40818 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40819 link map.
40820
f9924780
AJ
408212011-08-17 Andreas Jaeger <aj@suse.de>
40822
40823 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40824
7f5517aa
PP
408252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40826 Ian Lance Taylor <iant@google.com>
40827
40828 * math/libm-test.inc (lround_test): New testcase.
40829 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40830
762011fe
UD
408312011-09-08 Ulrich Drepper <drepper@gmail.com>
40832
92963737
UD
40833 * Makefile: Remove support for automatic cvs check-ins.
40834 * Makerules: Likewise.
40835 * config.make.in: Likewise.
40836 * configure.in: Likewise.
40837 * intl/Makefile: Likewise.
40838 * locale/Makefile: Likewise.
40839 * po/Makefile: Likewise.
40840 * posix/Makefile: Likewise.
40841 * sysdeps/gnu/Makefile: Likewise.
40842 * sysdeps/mach/hurd/Makefile: Likewise.
40843 * sysdeps/sparc/sparc32/Makefile: Likewise.
40844
b0727fd8
JS
40845 [BZ #13118]
40846 * posix/Makefile (bug-regex32-ENV): Define.
40847 Patch by John Stanley <jpsinthemix@verizon.net>.
40848
a0f33f99
UD
40849 * misc/Makefile (headers): Add bits/select2.h.
40850 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40851 * misc/bits/select2.h: New file.
40852 * include/bits/select2.h: New file.
40853 * debug/Makefile (routines): Add fdelt_chk.
40854 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40855 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40856 FD_ISSET.
40857 * debug/fdelt_chk.c: New file.
40858
762011fe
UD
40859 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40860 * wcsmbs/test-wmemcmp.c: Likewise.
40861 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40862 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40863
408642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40865
40866 * string/Makefile (strop-tests): Add memcmp.
40867 * string/test-wmemcmp.c: New file.
40868 * string/test-memcmp.c: Add wmemcmp support.
40869
7f513ec8
RM
408702011-09-08 Roland McGrath <roland@hack.frob.com>
40871
0442afb4
RM
40872 [BZ #13153]
40873 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40874 2011-07-19 change.
40875
7f513ec8
RM
40876 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40877 garbage value in a __mach_port_mod_refs call in the cases of the
40878 task-self and thread-self ports.
40879
a12b2239
ST
408802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40881
40882 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40883
610f9ab4
AS
408842011-09-08 Andreas Schwab <schwab@redhat.com>
40885
7f513ec8 40886 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40887
48882a1a
LD
408882011-09-07 Ulrich Drepper <drepper@gmail.com>
40889
b49865be
UD
40890 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40891
fdc86bc9
UD
40892 * elf/dl-libc.c (dlerror_run): Pass back error code from
40893 dl_catch_error.
40894
c966526a
UD
40895 [BZ #13123]
40896 * elf/dl-load.c (lose): Free l_origin if it is valid.
40897
48882a1a
LD
40898 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40899 names.
40900 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40901 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40902 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40903 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40904 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40905 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40906
77a2a8b4
AZ
409072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40908
40909 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40910 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40911 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40912 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40913 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40914 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40915 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40916 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40917 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40918 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40919
24f579d8
AM
409202011-08-15 Alan Modra <amodra@gmail.com>
40921
40922 [BZ #13092]
40923 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40924 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40925 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40926 ppc_mcount to static-only-routines.
40927 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40928 __mcount_internal.
40929 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40930 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40931
3d4837df
UD
409322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40933
40934 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40935 for finite and infinity parameters.
40936
22700377
WS
409372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40938
40939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40940 and add nop instructions for throughput optimization.
40941 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40942
5025581e
WS
409432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40944
40945 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40946 aligned copy for power7 with vector-scalar instructions.
40947 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40948
08a300c9
L
409492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40950
40951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40952 AVX check.
40953
59178ef9
AS
409542011-09-07 Andreas Schwab <schwab@redhat.com>
40955
40956 [BZ #13144]
40957 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40958 last change.
40959
e38ba7ab
UD
409602011-09-07 Ulrich Drepper <drepper@gmail.com>
40961
40962 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40963 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40964 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40965 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40966 clock_gettime.
40967
d53a73ac
UD
409682011-09-06 Ulrich Drepper <drepper@gmail.com>
40969
fc8bffcc
UD
40970 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40971 Forgot to demangle the pointer.
40972
ceaa0c5d
UD
40973 * sysdeps/i386/sysdep.h: Define atom_text_section.
40974 * sysdeps/x86_64/sysdep.h: Likewise.
40975 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40976 section with atom_text_section.
40977 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40978 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40979 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40980 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40981 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40982
a77d3c17
UD
40983 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40984 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40985 already be defined. Change to take two parameters and don't assign
40986 result to variable. Adjust all users.
40987 Define INTERNAL_GETTIME if not already defined.
40988 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40989 call.
40990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40991 HAVE_CLOCK_GETTIME_VSYSCALL.
40992 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40993
d53a73ac
UD
40994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40995 gettimeofday vsyscall, just use time.
40996
a8f84144
AS
409972011-09-06 Andreas Schwab <schwab@redhat.com>
40998
40999 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41000 <errno.h>.
41001
ef606249
UD
410022011-09-06 Ulrich Drepper <drepper@gmail.com>
41003
41004 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41005 syscall on x86-64.
41006 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41007 syscall.
41008 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41009 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41010 syscall if possible.
41011
6585cb60
UD
410122011-09-05 Ulrich Drepper <drepper@gmail.com>
41013
41014 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41015 e_ident. Don't pass to find_mapsXX.
41016 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41017
a5f524e4
LD
410182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41019
41020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41021 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41022 * sysdeps/x86_64/multiarch/strchr.S: Update.
41023 Check bit_slow_BSF bit.
41024 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41025 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41026 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41027
554881ef
UD
410282011-09-05 Ulrich Drepper <drepper@gmail.com>
41029
d96de963
UD
41030 [BZ #13134]
41031 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41032 before glibc 2.15.
41033 (tryshell): Define.
41034 (__spawni): Change last parameter to be flag. Test
41035 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41036 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41037 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41038 * posix/spawni.c: Likewise.
41039 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41040 * posix/spawnp.c: Likewise. Change normal version to use
41041 SPAWN_XFLAGS_USE_PATH.
41042 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41043 SPAWN_XFLAGS_TRY_SHELL.
41044
d48e5868
UD
41045 [BZ #13150]
41046 * posix/glob.h: Remove gcc 1.x support.
41047
554881ef
UD
41048 [BZ #13068]
41049 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41050
693fb948
LD
410512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41052
41053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41054 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41055 strrchr-sse2-bsf
41056 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41057 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41058 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41059 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41060 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41061 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41062
1b48c537
UD
410632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41064
49d42c37
UD
41065 * sysdeps/x86_64/wcscmp.S: New file.
41066
1b48c537
UD
41067 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41068 wcscmp-c wcscmp-sse2
41069 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41070 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41071 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41072 * wcsmbs/wcscmp.c: Allow renaming.
41073
15c95c5d
DM
410742011-09-05 David S. Miller <davem@davemloft.net>
41075
41076 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41077 stack slot, rather than the struct return pointer slot.
41078 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41079 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41081 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41082
2f0ad8f3
UD
410832011-09-05 Ulrich Drepper <drepper@gmail.com>
41084
d88ae418
UD
41085 * po/ja.po: Update from translation team.
41086
2f0ad8f3
UD
41087 [BZ #13144]
41088 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41089 kernel in 64-bit binaries.
41090
5f4318d1
DM
410912011-09-01 David S. Miller <davem@davemloft.net>
41092
41093 * elf/elf.h (HWCAP_SPARC_*): Move to..
41094 * sysdeps/sparc/sysdep.h: this new file and add new values.
41095 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41096 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41097 _DL_HWCAP_COUNT to 24.
41098 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41099 entries.
41100 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41101 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41102 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41103 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41104 instead of magic constants.
41105 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41106
3ba57516
DM
411072011-08-31 David S. Miller <davem@davemloft.net>
41108
41109 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41111 Reimplement to do errno handling inline.
41112 (SYSCALL_ERROR_HANDLER): New macro.
41113 (__SYSCALL_STRING): Do not do errno handling in asm.
41114 (__CLONE_SYSCALL_STRING): Delete.
41115 (__INTERNAL_SYSCALL_STRING): Delete.
41116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41117 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41118 (PSEUDO): Reimplement to do errno handling inline.
41119 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41120 (SYSCALL_ERROR_HANDLER): New macro.
41121 (__SYSCALL_STRING): Do not do errno handling in asm.
41122 (__CLONE_SYSCALL_STRING): Delete.
41123 (__INTERNAL_SYSCALL_STRING): Delete.
41124 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41125 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41126 i386.
41127 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41128 (inline_syscall*): Add 'err' argument.
41129 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41130 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41131 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41132 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41133
41134 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41135 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41136
2bc17433
AS
411372011-08-30 Andreas Schwab <schwab@redhat.com>
41138
41139 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41140
fbeb5f4d
JO
411412011-08-29 Jiri Olsa <jolsa@redhat.com>
41142
41143 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41144 directive.
41145
ad69cc26
DM
411462011-08-24 David S. Miller <davem@davemloft.net>
41147
41148 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41149
39dd69df
AS
411502011-08-24 Andreas Schwab <schwab@redhat.com>
41151
41152 * elf/Makefile: Add rules to build and run unload8 test.
41153 * elf/unload8.c: New file.
41154 * elf/unload8mod1.c: New file.
41155 * elf/unload8mod1x.c: New file.
41156 * elf/unload8mod2.c: New file.
41157 * elf/unload8mod3.c: New file.
41158
41159 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41160 it wasn't used.
41161
2c0b250a
DM
411622011-08-23 David S. Miller <davem@davemloft.net>
41163
41164 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41165 subtract stack bias.
41166 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41167 %sp not %fp in calculations.
41168 (_JMPBUF_UNWINDS_ADJ): Likewise.
41169
22044b48
DM
41170 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41171 (aio_suspend): Call it to force an exception region around the
41172 AIO_MISC_WAIT() invocation.
41173
2cae4995
AS
411742011-08-23 Andreas Schwab <schwab@redhat.com>
41175
41176 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41177 backslash.
41178
873a772e
AJ
411792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41180
41181 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41182 protection macro.
41183 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41184 and <dl-machine.h>.
41185 (Elf64_FuncDesc): Remove.
41186
25ad0df1
DM
411872011-08-22 David S. Miller <davem@davemloft.net>
41188
41189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41190 sigaltstack check, add missing cfi directives.
41191 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41192 missing cfi directives, and sigaltstack handling.
41193
e888bcbe
AS
411942011-08-16 Andreas Schwab <schwab@redhat.com>
41195
41196 [BZ #11724]
41197 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41198 object is seen twice.
41199 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41200
41201 * elf/Makefile (distribute): Add tst-initorder2.c.
41202 (tests): Add tst-initorder2.
41203 (modules-names): Add tst-initorder2a tst-initorder2b
41204 tst-initorder2c tst-initorder2d. Add rules to build them.
41205 ($(objpfx)tst-initorder2.out): New rule.
41206 * elf/tst-initorder2.c: New file.
41207 * elf/tst-initorder2.exp: New file.
41208
87162f46
AS
412092011-08-22 Andreas Schwab <schwab@redhat.com>
41210
70538b7f
AS
41211 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41212
f55ffe58
AS
41213 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41214 dependencies back to end of function.
41215
87162f46
AS
41216 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41217 $(elfobjdir)/ld.so.
41218
91b392a4
UD
412192011-08-21 Ulrich Drepper <drepper@gmail.com>
41220
41221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41222 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41224 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41225 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41226 of __vdso_gettimeofday.
41227 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41228 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41229 attribute_hidden.
41230 (_libc_vdso_platform_setup): Remove initialization of
41231 __vdso_gettimeofday and __vdso_time.
41232
5c43483f
UD
412332011-08-20 Ulrich Drepper <drepper@gmail.com>
41234
775a77e7
UD
41235 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41236 and fgetc_unlocked.
41237 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41238 getc_unlocked.
89f447ed 41239
49c74ba9
UD
41240 * elf/dl-open.c (add_to_global): Report additions to the global scope
41241 for LD_DEBUG=scopes.
41242 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41243 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41244
5c43483f
UD
41245 [BZ #13114]
41246 * stdio-common/Makefile (tests): Add bug24.
41247 * stdio-common/bug24.c: New file.
41248
a101b025
AJ
412492011-08-19 Andreas Jaeger <aj@suse.de>
41250
41251 [BZ #13114]
41252 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41253 non-existant file when using close-on-exec mode.
41254
c88f1766
UD
412552011-08-20 Ulrich Drepper <drepper@gmail.com>
41256
0276a718
UD
41257 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41258 the very first instruction.
41259
c88f1766
UD
41260 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41261 the CFI state in the end.
41262 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41263 inclusion of dl-trampoline.h.
41264 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41265
51ccffa0
AS
412662011-08-19 Andreas Schwab <schwab@redhat.com>
41267
94d7165f
AS
41268 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41269 expectations for long double.
41270
51ccffa0
AS
41271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41272 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41273
fd708658 412742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41275
41276 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41277 artificual limit depends upon the system page size.
41278
44f0a71e
UD
412792011-08-17 Ulrich Drepper <drepper@gmail.com>
41280
41281 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41282 * resolv/Makefile: Define CFLAGS-libresolv.
41283
8de79a24
AS
412842011-08-17 Andreas Schwab <schwab@redhat.com>
41285
41286 * nss/makedb.c (compute_tables): Make variables used in nested
41287 function static.
41288
27724598
UD
412892011-08-17 Ulrich Drepper <drepper@gmail.com>
41290
c5305d88
UD
41291 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41292 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41293 if buffer was too small.
41294
27724598
UD
41295 * elf/pldd.c (main): Attach to all threads in the process.
41296 Rewrite /proc handling to use *at functions.
41297
076fe015
UD
412982011-08-16 Ulrich Drepper <drepper@gmail.com>
41299
174baab3
UD
41300 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41301 specifies first scope to show.
41302 (dl_open_worker): Update callers. Move printing scope of new
41303 object to before the relocation.
44f0a71e 41304 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41305 * sysdeps/generic/ldsodefs.h: Update declaration.
41306
076fe015
UD
41307 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41308 string for the scope number.
41309
a60df2c3
UD
413102011-08-14 Ulrich Drepper <drepper@gmail.com>
41311
41312 * nscd/servicescache.c (cache_addserv): Make sure written is always
41313 initialized.
41314
5e4287d1
RM
413152011-08-14 Roland McGrath <roland@hack.frob.com>
41316
85ae0589
RM
41317 * sysdeps/i386/i486/bits/atomic.h
41318 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41319 statement expression, so as to suppress "set but not used" warning.
41320 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41321
69f63097
RM
41322 * string/strncat.c (STRNCAT): Use prototype definition.
41323
675456ef
RM
41324 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41325 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41326 -Iprograms here.
41327 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41328 (localedef-modules): Add localedef.
41329 (locale-modules): Add locale.
41330
5e4287d1
RM
41331 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41332 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41333 to avoid a warning.
41334
9c96ff23
DM
413352011-08-14 David S. Miller <davem@davemloft.net>
41336
41337 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41338 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41339
f9ddf089
UD
413402011-08-13 Ulrich Drepper <drepper@gmail.com>
41341
44f0a71e 41342 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41343 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41344 * elf/rtld.c (dl_main): Set l_name of vDSO.
41345 Call _dl_show_scope when DL_DEBUG_SCOPES.
41346 (process_dl_debug): Recognize scopes flag and also set it for all.
41347 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41348 Declare _dl_show_scope.
41349
1dc27704
UD
41350 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41351 (do_dlopen): Pass caller_dlopen to dl_open.
41352 (__libc_dlopen_mode): Initialize caller_dlopen.
41353
f9ddf089
UD
41354 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41355 of libc. Make tolower call locale-independent. Optimize a bit by
41356 using isdigit instead of isalnum.
41357 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41358
9ac533d3
UD
413592011-08-12 Ulrich Drepper <drepper@gmail.com>
41360
41361 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41362 was a dependency or dynamically loaded.
41363
89edf2e9
UD
413642011-08-11 Ulrich Drepper <drepper@gmail.com>
41365
8e999d29
UD
41366 * intl/l10nflist.c: Allow architecture-specific pop function.
41367 * sysdeps/x86_64/l10nflist.c: New file.
41368
89edf2e9
UD
41369 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41370 classification.
41371
14d96785
AS
413722011-08-10 Andreas Schwab <schwab@redhat.com>
41373
41374 * include/dirent.h: Add libc_hidden_proto for scandirat and
41375 scandirat64. Don't declare __scandirat64.
41376 * dirent/scandirat.c: Add libc_hidden_def.
41377 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41378 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41379
6761ac04
DM
413802011-08-10 David S. Miller <davem@davemloft.net>
41381
41382 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41383 enum.
41384 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41385 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41386 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41387
c55fbd1e
UD
413882011-08-09 Ulrich Drepper <drepper@gmail.com>
41389
41390 * Versions.def [libc]: Add GLIBC_2.15.
41391 * dirent/Makefile (routines): Add scandirat and scandirat64.
41392 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41393 GLIBC_2.15.
41394 * dirent/dirent.h: Declare scandirat and scandirat64.
41395 * dirent/scandirat.c: New file.
41396 * dirent/scandirat64.c: New file.
41397 * sysdeps/wordsize-64/scandirat.c: New file.
41398 * sysdeps/wordsize-64/scandirat64.c: New file.
41399 * dirent/opendir.c: Define opendirat.
41400 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41401 using scandirat.
41402 * dirent/scandir64.c: Adjust for scandir.c change.
41403 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41404 __scandirat64, and __scandir_cancel_handler.
41405 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41406 additional parameter and use openat instead of open (outside of ld.so).
41407 Add new __opendir as wrapper around __opendirat.
41408 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41409 here without requiring old scandirat implementation.
41410
879165f2
UD
414112011-08-08 Ulrich Drepper <drepper@gmail.com>
41412
41413 * dirent/scandir.c (cancel_handler): Renamed to
41414 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41415 defined. Adjust users.
41416 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41417 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41418
cb7e923b
UD
414192011-08-04 Ulrich Drepper <drepper@gmail.com>
41420
16292edd
UD
41421 * string/test-string.h (IMPL): Use __STRING to expand name and then
41422 stringify it.
41423
cb7e923b
UD
41424 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41425 of cleanups.
41426
cff82933
LD
414272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41428
41429 * string/Makefile: Update.
41430 (strop-tests): Append strncat.
41431 * string/test-wcscmp.c: New file.
41432 New comprehensive test for wcscmp.
41433 * string/test-strcmp.c: Update.
41434 (WIDE): New define.
41435
9be9bfcc
AS
414362011-07-22 Andreas Schwab <schwab@redhat.com>
41437
41438 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41439 line.
41440
2e96f1c7
AS
414412011-07-26 Andreas Schwab <schwab@redhat.com>
41442
41443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41444 encoding to ACE if AI_IDN.
41445
85188888
JJ
414462011-08-01 Jakub Jelinek <jakub@redhat.com>
41447
41448 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41449 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41450
5fa16e9b
LD
414512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41452
41453 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41454 Fix overflow bug in strncat.
41455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41456
41457 * string/test-strncat.c: Update.
41458 Add new tests for checking overflow bugs.
41459
414602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41461
41462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41463 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41464 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41465 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41467 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41468 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41469 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41470 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41471
41472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41473 (USE_AS_STRCAT): Define.
41474 Add strcat and strncat support.
41475 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41476
8c1a459f
AS
414772011-07-25 Andreas Schwab <schwab@redhat.com>
41478
41479 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41480 __n bigger than INT_MAX+1.
41481 (__strncmp_g): Likewise.
41482
bba33c28
UD
414832011-07-23 Ulrich Drepper <drepper@gmail.com>
41484
798be72d
UD
41485 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41486 * libio/stido.h: Likewise.
41487
8accd4dc
UD
41488 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41489 (AF_NFC): Define.
41490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41491 (AF_NFC): Define.
41492
cbff0d96
UD
41493 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41494 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41495 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41496 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41497 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41498
9191c04a
UD
41499 [BZ #13021]
41500 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41501 installed.
41502
bba33c28
UD
41503 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41504 typo.
41505 (_dl_x86_64_save_sse): Likewise.
41506
90f139dd
UD
415072011-07-22 Ulrich Drepper <drepper@gmail.com>
41508
1aae088a
UD
41509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41510 OSXSAVE.
41511 (_dl_x86_64_save_sse): Likewise.
41512
8e2045f5
UD
41513 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41514
90f139dd
UD
41515 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41516
1d002f25
AS
415172011-07-21 Andreas Schwab <schwab@redhat.com>
41518
41519 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41520 change.
41521 (_dl_x86_64_save_sse): Use correct AVX check.
41522
21137f89
UD
415232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41524
41525 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41526 bug in strncpy/strncat.
41527 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41528
a65c0b7a
UD
415292011-07-21 Ulrich Drepper <drepper@gmail.com>
41530
41531 * string/tester.c (test_strcat): Add tests for different alignments
41532 of source and destination.
41533 (test_strncat): Likewise.
41534
6986b98a
UD
415352011-07-20 Ulrich Drepper <drepper@gmail.com>
41536
90bb2039
UD
41537 [BZ #12852]
41538 * posix/glob.c (glob): Check passed in values before using them in
41539 expressions to avoid some overflows.
41540 (glob_in_dir): Likewise.
41541
5644ef54
UD
41542 [BZ #13007]
41543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41544 check for AVX enablement so that we don't crash with old kernels and
41545 new hardware.
41546 * elf/tst-audit4.c: Add same checks here.
41547 * elf/tst-audit6.c: Likewise.
41548
41549 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 41550
bfc9dc9b
AS
415512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41552
41553 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41554
702e64bb
UD
415552011-07-20 Ulrich Drepper <drepper@gmail.com>
41556
41557 * po/cs.po: Update from translation team.
41558 * po/bg.po: Likewise.
41559
295e904f
MP
415602011-07-12 Marek Polacek <mpolacek@redhat.com>
41561
41562 * misc/sys/cdefs.h: Add support for const attribute.
41563 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41564 to gnu_dev_{major,minor,makedev} functions.
41565
3ff94596
MP
415662011-07-20 Marek Polacek <mpolacek@redhat.com>
41567
41568 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41569
28b59fca
AS
415702011-07-20 Andreas Schwab <schwab@redhat.com>
41571
41572 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41573 strlen results.
41574
19df733e
AK
415752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41576
41577 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41578 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41579 register in order to avoid conflicts with the soft frame pointer
41580 being held in r11 when necessary.
41581 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41582 (INTERNAL_VSYSCALL_NCS): Likewise.
41583
c8835729
MP
415842011-07-14 Marek Polacek <mpolacek@redhat.com>
41585
41586 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41587 * elf/dl-fini.c (_dl_fini): Adjust caller.
41588 * elf/dl-close.c (_dl_close_worker): Likewise.
41589 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41590
b902330c
MP
415912011-07-15 Marek Polacek <mpolacek@redhat.com>
41592
8991e135
MP
41593 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41594 "aux_cache->nlibs < 0".
41595
b902330c
MP
41596 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41597 in the reload-count case.
41598
99710781
LD
415992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41600
41601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41602 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41603 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41604 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41605 * sysdeps/x86_64/multiarch/strcat.S: New file.
41606 * sysdeps/x86_64/multiarch/strncat.S: New file.
41607 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41608 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41609 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41610 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41611 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41612 (USE_AS_STRCAT): Define.
41613 Add strcat and strncat support.
41614 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41615 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41616 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41617 * string/strncat.c: Update.
41618 (USE_AS_STRNCAT): Define.
41619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41620 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41621 and i7.
41622 * sysdeps/x86_64/multiarch/init-arch.h
41623 (bit_Prefer_PMINUB_for_stringop): New.
41624 (index_Prefer_PMINUB_for_stringop): Likewise.
41625 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41626 bit_Prefer_PMINUB_for_stringop.
41627
7dc6bd90
UD
416282011-07-19 Ulrich Drepper <drepper@gmail.com>
41629
41630 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41631 buffer64.
41632 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41633 of casting of buffer.
41634 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41635 buffer32 and buffer64.
41636 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41637 writes instead of casting of buffer.
41638 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41639 buffer32.
41640 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41641 casting of buffer.
41642
e0e72284
AS
416432011-07-19 Andreas Schwab <schwab@redhat.com>
41644
41645 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41646
feb1eb0b
UD
416472011-07-19 Ulrich Drepper <drepper@gmail.com>
41648
41649 * nscd/nscd.c (termination_handler): Don't do anything for a database
41650 if it has not yet been initialized.
41651
298711ff
UD
416522011-07-18 Ulrich Drepper <drepper@gmail.com>
41653
41654 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41655
416562011-07-15 Marek Polacek <mpolacek@redhat.com>
41657
41658 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41659
f9d68389
UD
416602011-07-18 Ulrich Drepper <drepper@gmail.com>
41661
41662 * po/nl.po: Update from translation team.
41663 * po/sv.po: Likewise.
41664
db290cf5
RM
416652011-07-16 Roland McGrath <roland@hack.frob.com>
41666
41667 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41668 now disallowed by GCC.
5c550700 41669
fd5e21c7
RM
41670 * configure.in (use-default-link): Default to yes if a test -shared
41671 link meets our qualifications.
41672 * configure: Regenerated.
41673
5c550700
RM
41674 * config.make.in (output-format): New variable.
41675 * configure.in: Check for ld --print-output-format support.
41676 * configure: Regenerated.
41677 * Makerules ($(common-objpfx)format.lds)
41678 [$(output-format) != unknown]: Just use $(output-format),
41679 instead of the linker-script munging.
41680
9fa2c032
RM
416812011-07-14 Roland McGrath <roland@hack.frob.com>
41682
a6928d51
RM
41683 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41684 of $(common-objpfx)shlib.lds.
41685 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41686
661607b3
RM
41687 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41688 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41689
9fa2c032
RM
41690 * configure.in (-z relro check): Adjust test code to add a large
41691 writable data section after it.
41692 * configure: Regenerated.
41693
defe9061
RM
416942011-07-11 Roland McGrath <roland@hack.frob.com>
41695
41696 * configure.in (-z relro check): Fix test code to make the variable
41697 truly const.
41698 * configure: Regenerated.
41699
319b9ad4
UD
417002011-07-11 Ulrich Drepper <drepper@gmail.com>
41701
41702 * nscd/nscd.h (struct traced_file): Define.
41703 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41704 elements. Add traced_files.
41705 (inotify_fd): Declare.
41706 (register_traced_file): Declare.
41707 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41708 (inotify_fd): Export.
41709 (resolv_conf_descr): Remove.
41710 (nscd_init): Move inotify descriptor creation to main.
41711 Don't register files for notification here.
41712 (register_traced_file): New function.
41713 (invalidate_cache): Don't use reset_res to determine whether to call
41714 res_init, go through the list of registered files.
41715 (main_loop_poll): The inotify descriptors are now stored in the
41716 structures for the traced files.
41717 (main_loop_epoll): Likewise
41718 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41719 to __nss_disable_nscd.
41720 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41721 for a database anymore. Check the records for all the registered
41722 files instead.
41723 * nss/Makefile (libnss_files-routines): Add files-init.
41724 (libnss_db-routines): Add db-init.
41725 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41726 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41727 * nss/nss_db/db-init.c: New file.
41728 * nss/nss_files/files-init.c: New file.
41729 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41730 __nss_lookup_function.
41731 (__nss_lookup_function): Call nss_load_library.
41732 (nss_load_all_libraries): New function.
41733 (__nss_disable_nscd): Take parameter with callback function for files
41734 to register. Set is_nscd. Load all the DSOs for the NSS modules
41735 used for the cached services.
41736 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41737 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41738 options for features to all the files in nscd.
41739
41740 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41741
23bee3e8
RM
417422011-07-10 Roland McGrath <roland@hack.frob.com>
41743
41744 * csu/elf-init.c (__libc_csu_init): Comment typo.
41745
46a5b7f0
UD
417462011-07-09 Ulrich Drepper <drepper@gmail.com>
41747
41748 * po/pl.po: Update from translation team.
41749 * po/ja.po: Likewise.
41750 * po/ru.po: Likewise.
41751 * po/ko.po: Likewise.
41752 * po/fr.po: Likewise.
41753
d30cf5bb
RM
417542011-07-09 Roland McGrath <roland@hack.frob.com>
41755
113ddea4
RM
41756 * configure.in (.ctors/.dtors header and trailer check):
41757 Use an empirical test on a built program.
41758 * configure: Regenerated.
41759
574920b4
RM
41760 * configure.in (-z relro check): Use an empirical test on a built DSO.
41761 Detect, but do not require, on ia64.
41762 * configure: Regenerated.
41763
d30cf5bb
RM
41764 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41765 Update tests that use readelf to use $READELF instead.
41766 * configure: Regenerated.
41767
8538fdb3
UD
417682011-07-08 Ulrich Drepper <drepper@gmail.com>
41769
41770 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41771 if the result is not used.
41772
04d08991
AJ
417732011-07-05 Andreas Jaeger <aj@suse.de>
41774
41775 [BZ#9696]
41776 * stdlib/tst-strtod.c: Add testcase.
41777
de283087
AD
417782011-07-07 Ulrich Drepper <drepper@gmail.com>
41779
4e5f31c8 41780 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41781 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41782 The latter has a higher limit. Take additional parameter to pass to
41783 the new function.
41784 (__pathconf): Pass file to __statfs_link_max.
41785 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41786 __statfs_link_max.
41787 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41788 __statfs_link_max.
41789
de283087
AD
41790 [BZ #12868]
41791 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41792 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41793 Handle Lustre.
41794 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41795 (__statfs_filesize_max): Likewise.
41796 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41797
c75fa153
AJ
417982011-07-05 Andreas Jaeger <aj@suse.de>
41799
41800 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41801
1a544854
UD
418022011-07-06 Marek Polacek <mpolacek@redhat.com>
41803
41804 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41805 `status' variable.
41806 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41807 Likewise.
41808
6f0eec67
UD
418092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41810
41811 * Makefile (strop-tests): Add strncat.
41812 * string/test-strncat.c: New file.
41813
aae30307
UD
418142011-06-30 Marek Polacek <mpolacek@redhat.com>
41815
41816 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41817
c0cfb5eb
UD
418182011-06-21 Andreas Jaeger <aj@suse.de>
41819
41820 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41821 Copy rule from iconvdata/Makefile.
41822
01636b21
UD
418232011-07-06 Ulrich Drepper <drepper@gmail.com>
41824
41825 [BZ #12922]
41826 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41827 but no long options are defined, just return 'W'.
41828
9895c8bc
UD
418292011-06-22 Marek Polacek <mpolacek@redhat.com>
41830
41831 [BZ #9696]
41832 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41833
5d4cf042
UD
418342011-07-06 Ulrich Drepper <drepper@gmail.com>
41835
41836 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41837 netgroups to read.
960e5535 41838 (innetgr): Likewise.
5d4cf042 41839
751eb97e
RM
418402011-07-05 Roland McGrath <roland@hack.frob.com>
41841
41842 * config.make.in (install_root): Default to $(DESTDIR).
41843
f15f1e45
UD
418442011-07-05 Ulrich Drepper <drepper@gmail.com>
41845
41846 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41847
4e34ac6a
RM
418482011-07-02 Roland McGrath <roland@hack.frob.com>
41849
5e9b6af4
RM
41850 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41851
84f9ea0f
RM
41852 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41853 containing directory rather than embedding absolute directory names.
41854
ea5ee9f7
RM
41855 * scripts/check-local-headers.sh: Rewritten using awk.
41856 Match by word, not by line. Print error messages for matches.
41857 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41858
1b74661a
RM
41859 * Makerules [shlib-lds-flags empty]:
41860 ($(common-objpfx)libc_pic.opts): New target.
41861 ($(common-objpfx)libc_pic.os.clean): New target.
41862 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41863
41864 * config.make.in (OBJCOPY): New variable.
41865 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41866 * configure: Regenerated.
41867
f781ef40
RM
41868 * config.make.in (use-default-link): New variable.
41869 * configure.in (use_default_link): Grok --with-default-link to set it.
41870 * configure: Regenerated.
41871 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41872 (shlib-lds, shlib-lds-flags): Define to empty.
41873
2d4fa81e
RM
41874 * Makerules (shlib-lds): New variable.
41875 (shlib-lds-flags): New variable.
41876 (build-shlib, build-moduile, build-module-asneeded): Use it.
41877 ($(common-objpfx)libc.so): Use $(shlib-lds).
41878 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41879 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41880
31fffa6b
RM
41881 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41882 DT_FLAGS/DT_FLAGS_1 with zero flags.
41883
4e34ac6a
RM
41884 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41885 linker script munging.
41886
fcfc776b
UD
418872011-07-02 Ulrich Drepper <drepper@gmail.com>
41888
41889 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41890 as 128-bit value.
41891 * crypt/sha512.c (sha512_process_block): Perform total addition using
41892 128-bit if possible.
41893 (__sha512_finish_ctx): Likewise.
41894 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41895 as 64-bit value.
41896 * crypt/sha256.c (SWAP64): Define.
41897 (sha256_process_block): Perform total addition using 64-bit if
41898 possible.
41899 (__sha256_finish_ctx): Likewise.
41900
99231d9a
UD
419012011-07-01 Ulrich Drepper <drepper@gmail.com>
41902
41903 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41904 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41905 * nscd/hstcache.c (cache_addhst): Likewise.
41906 * nscd/grpcache.c (cache_addgr): Likewise.
41907 * nscd/aicache.c (addhstaiX): Likewise
41908 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41909
445b4a53
TK
419102011-07-01 Thorsten Kukuk <kukuk@suse.de>
41911
41912 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41914 * nscd/hstcache.c (cache_addhst): Likewise.
41915 * nscd/grpcache.c (cache_addgr): Likewise.
41916 * nscd/aicache.c (addhstaiX): Likewise
41917
6d4d8e8e
AS
419182011-07-01 Andreas Schwab <schwab@redhat.com>
41919
41920 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41921 domain only when needed.
41922
89f654c5
AS
419232011-06-30 Andreas Schwab <schwab@redhat.com>
41924
41925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41926 is always restored.
41927
cf3b23ff
UD
419282011-06-29 Ulrich Drepper <drepper@gmail.com>
41929
41930 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41931 are re-adding the entry.
41932 * nscd/servicescache.c (cache_addserv): Likewise.
41933
751626f9
AJ
419342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41935
41936 * sysdeps/generic/dl-irel.h: fix protection against multiple
41937 inclusions.
41938 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41939
9113ea1f
UD
419402011-06-28 Ulrich Drepper <drepper@gmail.com>
41941
5c0b8d90
UD
41942 [BZ #12935]
41943 * malloc/memusage.sh: Fix quoting in message.
41944 * debug/xtrace.sh: Likewise.
41945
9113ea1f
UD
41946 * configure.in: Remove support for --experimental-malloc option, make
41947 it the default.
41948 * config.make.in: Likewise.
41949 * malloc/Makefile: Likewise.
41950
a4172181
AS
419512011-06-27 Andreas Schwab <schwab@redhat.com>
41952
41953 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41954 two-byte characters.
41955
78a7eee7
RM
419562011-06-27 Roland McGrath <roland@hack.frob.com>
41957
62bede13
RM
41958 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41959 AC_CACHE_CHECK invocation.
41960 * configure: Regenerated.
41961
78a7eee7
RM
41962 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41963
5ce33a62
UD
419642011-06-27 Ulrich Drepper <drepper@gmail.com>
41965
034807a9
UD
41966 [BZ #12350]
41967 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41968 bit from old_res_options.
41969
4902da17
UD
41970 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41971
5ce33a62
UD
41972 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41973 value type for setfct.
41974
c2344f56
L
419752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41976
41977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41978 __gettimeofday instead of gettimeofday.
41979
68468076
UD
419802011-06-26 Ulrich Drepper <drepper@gmail.com>
41981
41982 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41983
acb0d739
L
419842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41985
41986 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41987
41988 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41989 info.
41990
8912479f
L
419912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41992
41993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41994 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41995 strcpy-sse2-unaligned strncpy-sse2-unaligned
41996 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41997 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41998 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41999 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42000 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42001 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42002 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42003 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42004 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42005 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42006 (STRCPY): Support SSE2 and SSSE3 versions.
42007
d5495a11
UD
420082011-06-24 Ulrich Drepper <drepper@gmail.com>
42009
42010 [BZ #12874]
42011 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42012 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42013 kernels which artificially limit size of requests.
42014
0b1cbaae
L
420152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42016
42017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42018 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42019 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42020 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42021 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42022 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42023 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42024 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42025 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42027 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42028 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42029 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42030 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42031 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42033 Enable unaligned load optimization for Intel Core i3, i5 and i7
42034 processors.
42035 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42036 Define.
42037 (index_Fast_Unaligned_Load): Define.
42038 (HAS_FAST_UNALIGNED_LOAD): Define.
42039
07f494a0
MP
420402011-06-23 Marek Polacek <mpolacek@redhat.com>
42041
42042 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42043
fa3fc0fe
UD
420442011-06-22 Ulrich Drepper <drepper@gmail.com>
42045
42046 [BZ #12907]
42047 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42048 until it is clear that the information is realy needed.
42049 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42050
e12df166
AS
420512011-06-22 Andreas Schwab <schwab@redhat.com>
42052
42053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42054
852eb34d
UD
420552011-06-22 Ulrich Drepper <drepper@gmail.com>
42056
84e2a551
UD
42057 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42058 /sys/devices/system/cpu/online if it is usable.
42059
852eb34d
UD
42060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42061 reading the information from the /proc filesystem to once a second.
42062
6e502e19
UD
420632011-06-21 Andreas Jaeger <aj@suse.de>
42064
42065 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42066 NULL after inclusion of kernel headers.
42067
75d39ff2
UD
420682011-06-21 Ulrich Drepper <drepper@gmail.com>
42069
51f9aa6a
UD
42070 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42071 calls to internal_setent.
42072
c0244a9d
UD
42073 [BZ #12885]
42074 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42075 addresses using gethostbyname4_r ignore IPv4 addresses.
42076
c5e3c2ae
UD
42077 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42078 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42079
75d39ff2
UD
42080 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42081
42675c6f
DM
420822011-06-20 David S. Miller <davem@davemloft.net>
42083
42084 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42085 inclusions.
42086 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42087
42088 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42089 (elf_irel): Use it.
42090 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42091 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42092 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42093 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42094 * sysdeps/x86_64/dl-irel.h: Likewise.
42095
42096 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42097 * elf/dl-sym.c: Likewise.
42098
57912a71
UD
420992011-06-15 Ulrich Drepper <drepper@gmail.com>
42100
42101 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42102 need to dereference resplen2.
42103
ee22793d
AS
421042011-06-14 Andreas Schwab <schwab@redhat.com>
42105
42106 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42107
a9e836b0
UD
421082011-06-15 Ulrich Drepper <drepper@gmail.com>
42109
77fb9117
UD
42110 * Makeconfig: Define vardbdir and inst_vardbdir.
42111 * nss/Makefile: Add rules to install db-Makefile.
42112
40c1b22c
UD
42113 * nss/nss_db/db-XXX.c: Cleanup.
42114
9f2da732
UD
42115 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42116 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42117 GLIBC_PRIVATE.
42118 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42119 * nss/makedb.c: Implement -g option to specify that value strings
42120 are generated and should not be added to table iterated over for
42121 get*ent calls.
42122 * nss/nss_db/db-initgroups.c: New file.
42123
82e9a1f7
UD
42124 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42125 interface.
42126
c41af17e
UD
42127 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42128 (internal_getgrouplist): Adjust to name change.
42129 Update use_initgroups_entry if this is not the first call.
42130 * nss/databases.def: Add initgroups entry.
42131
a9e836b0
UD
42132 * nss/makedb.c (compute_tables): Check result of multiple hash table
42133 sizes to minimize maximum chain length.
42134
2666d441
UD
421352011-06-14 Ulrich Drepper <drepper@gmail.com>
42136
42137 * Versions.def: Add entry for libnss_db.
42138 * shlib-versions: Likewise.
42139 * nss/Makefile: Add rules to build libnss_db.
42140 * nss/Versions: Add libnss_db information. Organize libnss_files
42141 entries better.
42142 * nss/db-Makefile: Add gshadow support. Change rules for the new
42143 makedb progra. Some minor improvements to generate smaller files.
42144 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42145 here from...
42146 * nss/makedb.c: ...here.
42147 Improve database format to be smaller and require less memory at
42148 runtime.
42149 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42150 db anymore.
42151 * nss/nss_db/db-netgrp.c: Likewise.
42152 * nss/nss_db/db-open.c: Likewise.
42153 * nss/nss_files/flies-XXX.x: Adjust comments.
42154 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42155 * nss/nss_files/files-grp.c: Likewise.
42156 * nss/nss_files/files-hosts.c: Likewise.
42157 * nss/nss_files/files-network.c: Likewise.
42158 * nss/nss_files/files-proto.c: Likewise.
42159 * nss/nss_files/files-pwd.c: Likewise.
42160 * nss/nss_files/files-rpc.c: Likewise.
42161 * nss/nss_files/files-service.c: Likewise.
42162 * nss/nss_files/files-sgrp.c: Likewise.
42163 * nss/nss_files/files-spwd.c: Likewise.
42164 * nss/nss_db/db-alias.c: Removed.
42165 * nss/nss_db/dummy-db.h: Removed.
42166
9ee76b5a
UD
421672011-06-02 Ulrich Drepper <drepper@gmail.com>
42168
42169 * nss/makedb.c: Rewritten to not use database library.
42170 * nss/Makefile: Update to build new makedb program.
42171
c71ca1f8
AJ
421722011-06-14 Andreas Jaeger <aj@suse.de>
42173
42174 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42175 memset declaration.
42176
3154bfb8
UD
421772011-06-10 Andreas Schwab <schwab@redhat.com>
42178
42179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42180 tmpbuf.
42181
b350afab
RM
421822011-06-10 Roland McGrath <roland@hack.frob.com>
42183
decd4e50
RM
42184 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42185 * elf/Makefile ($(objpfx)ld.so): Likewise.
42186
5615eaf2
RM
42187 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42188 Don't list ld.so twice in dependencies.
42189
42190 * posix/bug-regex31.c: Include <stdlib.h>.
42191
42192 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42193
42194 * nis/nss_compat/compat-spwd.c
42195 (getspent_next_nss_netgr): Remove unused variable.
42196 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42197
42198 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42199 nonmembers" output to use the right array.
42200
42201 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42202
42203 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42204
42205 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42206 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42207 * catgets/gencat.c (read_input_file): Likewise.
42208 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42209
42210 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42211 variable definition inside #if's controlling its use.
42212
42213 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42214
42215 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42216
42217 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42218
42219 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42220 unreachable code.
42221
42222 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42223
b68e08db
RM
42224 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42225 * configure: Regenerated.
42226
b350afab
RM
42227 * Makerules: Revert last change.
42228 * elf/Makefile: Likewise.
42229
28368601
RM
422302011-06-09 Roland McGrath <roland@hack.frob.com>
42231
42232 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42233 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42234 (reloc-link): Likewise.
42235
11988f8f
UD
422362011-06-09 Ulrich Drepper <drepper@gmail.com>
42237
42238 * elf/Makefile: Add rules to build pldd.
42239 * elf/pldd.c: New file.
42240 * elf/pldd-xx.c: New file.
42241
e80fab37
UD
422422011-06-07 Ulrich Drepper <drepper@gmail.com>
42243
42244 * version.h: Update for 2.15 development version.
42245
9b849836
DM
422462011-06-07 David S. Miller <davem@davemloft.net>
42247
42248 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42249 ifuncs.
42250 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42251 elf_machine_lazy_rel): Likewise.
42252 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42253 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42254 elf_machine_lazy_rel): Likewise.
42255 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42256 dl_hwcap via passed in argument.
42257 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42258 Likewise.
42259
5a31b283
AK
422602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42261
42262 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42263
069e52f8
RM
422642011-06-06 Roland McGrath <roland@hack.frob.com>
42265
42266 [BZ #12849]
42267 * manual/fdl-1.1.texi: New file, verbatim from:
42268 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42269 * manual/lgpl-2.1.texi: New file, verbatim from:
42270 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42271 * manual/Makefile (licenses): New variable, list those new file names.
42272 (texis): Use it.
42273 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42274
42275 * manual/fdl.texi: File removed.
42276 * manual/lesser.texi: File removed.
42277 * manual/libc.texinfo (Copying, Documentation License):
42278 Use new @include file names, put @appendix directive before @include.
42279
f16846a5
JJ
422802011-06-04 Jakub Jelinek <jakub@redhat.com>
42281
42282 [BZ #12841]
42283 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42284 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42285 (mq_open): Add __NTH.
42286
3d29045b
L
422872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42288
42289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42290 Assume Intel Core i3/i5/i7 processor if AVX is available.
42291
8c297311
UD
422922011-05-31 Ulrich Drepper <drepper@gmail.com>
42293
42294 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42295 typo.
42296
c8fc0c91
UD
422972011-05-31 Andreas Schwab <schwab@redhat.com>
42298
42299 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42300 memory. Use alloca_account. Fix memory leak when retrying.
42301
5b27a807
UD
423022011-05-31 Ulrich Drepper <drepper@gmail.com>
42303
356f8bc6
UD
42304 * version.h (RELEASE): Bump for 2.14 release.
42305 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42306
5b27a807
UD
42307 * config.make.in (RANLIB): Remove entry.
42308
01f16ab0
UD
423092011-05-30 Ulrich Drepper <drepper@gmail.com>
42310
41fce8bd
UD
42311 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42312 (libc.pot): Work around missing support for .ksh extension in xgettext.
42313
4769ae77
UD
42314 [BZ #12684]
42315 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42316 if both request failed.
42317 (send_dg): In case of server errors clear resplen or *resplen2.
42318
6b1e7d19
UD
42319 [BZ #12454]
42320 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42321 when there are multiple maps.
42322 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42323 (_dl_fini): Remove test here.
42324
01f16ab0
UD
42325 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42326
b1ebd700
UD
423272011-05-29 Ulrich Drepper <drepper@gmail.com>
42328
7ae22829
UD
42329 [BZ #12350]
42330 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42331 bit from old_res_options.
42332 (gaih_inet): Likewise.
42333
553149f6 42334 [BZ #11099]
18a84741 42335 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42336 as signed.
42337
652ffab1
UD
42338 * resolv/res_init.c (res_setoptions): Make the code more compact.
42339
16985fd0
UD
42340 [BZ #11558]
42341 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42342 set RES_USEVC.
42343
0464f746
UD
42344 [BZ #11634]
42345 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42346
7d17596c
UD
42347 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42348
cf6bbbd7
UD
42349 [BZ #11781]
42350 * malloc/malloc.h: Declare malloc hook variables as volatile.
42351
13f1ab36
UD
42352 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42353 in last patch.
42354
b1ebd700
UD
42355 [BZ #11799]
42356 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42357 raise in the comment.
80e2212d
UD
42358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42359 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42360 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42361
ce67228d
UD
423622011-05-28 Ulrich Drepper <drepper@gmail.com>
42363
8887a920
UD
42364 [BZ #12811]
42365 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42366 grow the buffers more if it already has to be sufficient.
42367 (build_wcs_upper_buffer): Likewise.
42368 * posix/regexec.c (check_matching): Likewise.
42369 (clean_state_log_if_needed): Likewise.
42370 (extend_buffers): Don't enlarge buffers beyond size of the input
42371 buffer.
42372 Patches mostly by Emil Wojak <emil@wojak.eu>.
42373 * posix/bug-regex32.c: New file.
42374 * posix/Makefile (tests): Add bug-regex32.
42375
4f031072
UD
42376 * locale/findlocale.c (_nl_find_locale): Return right away if
42377 _nl_explode_name failed.
42378 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42379
d0478f0c
UD
42380 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42381
de81b246
UD
42382 * debug/xtrace.sh: Unify messages.
42383 * malloc/memusage.sh: Likewise.
42384
c738465a
UD
42385 [BZ #12813]
42386 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42387 time symbol from vDSO. Substitute with vsyscall if not available.
42388 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42389 __vdso_time.
42390
f1f929d7
UD
42391 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42392 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42393 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42394 Add sendmmsg and internal_sendmmsg.
42395 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42396 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42397 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42398
ce67228d
UD
42399 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42400 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42401 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42402
e57420c6
UD
424032011-05-27 Ulrich Drepper <drepper@gmail.com>
42404
a8509ca5
UD
42405 [BZ #12813]
42406 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42407 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42408 available.
42409 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42410 __vdso_getcpu.
42411
e57420c6
UD
42412 [BZ #12814]
42413 * iconvdata/Makefile (tests): Add bug-iconv9.
42414 * iconvdata/bug-iconv9.c: New file.
42415
4d07db15
AS
424162011-05-27 Andreas Schwab <schwab@redhat.com>
42417
42418 [BZ #12814]
42419 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42420
ea486f69
JJ
424212011-05-25 Jakub Jelinek <jakub@redhat.com>
42422
42423 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42424 (struct user_regs_struct): Change intcs field back to cs.
42425
6f038433
UD
424262011-05-25 Ulrich Drepper <drepper@gmail.com>
42427
42428 * po/ja.po: Update from translation team.
42429
67f86a25
UD
424302011-05-23 Ulrich Drepper <drepper@gmail.com>
42431
42432 [BZ #12795]
42433 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42434 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42435
def7fbd6
AS
424362011-05-20 Andreas Schwab <schwab@redhat.com>
42437
42438 * stdlib/longlong.h: Update from GCC.
42439
f50ef8f1
AS
424402011-05-23 Andreas Schwab <schwab@redhat.com>
42441
42442 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42443 parameter name.
42444 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42445 Add parameter name.
42446 (__sysconf): Pass it down.
42447
de7ce8f1
UD
424482011-05-22 Ulrich Drepper <drepper@gmail.com>
42449
f2962a71
UD
42450 [BZ #12671]
42451 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42452 some situations.
42453 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42454 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42455 add in in __libc_use_alloca calls. Adjust callers.
42456 (glob): Use malloc in some situations.
42457
de7ce8f1
UD
42458 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42459 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42460 pltexit.
42461
aec84f53
UD
424622011-05-21 Ulrich Drepper <drepper@gmail.com>
42463
05bb4a68
UD
42464 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42465 and CLOCK_BOOTTIME_ALARM.
42466
7ea72f99
UD
42467 [BZ #12782]
42468 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42469 is returned.
42470
7e4afad5
UD
42471 * string/_strerror.c (__strerror_r): Print negative errors as signed
42472 numbers.
42473
8e211fec
UD
42474 [BZ #12777]
42475 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42476 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42477 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42478
f7d82dc9
UD
42479 * configure.in: Fix typo in redirection and correct removal of test
42480 files in two cases.
42481
cc9e536d
UD
42482 [BZ #12788]
42483 * locale/setlocale.c (new_composite_name): Fix test to check for
42484 identical name of all categories.
42485
aec84f53
UD
42486 [BZ #12792]
42487 * libio/filedoalloc.c (local_isatty): New function.
42488 (_IO_file_doallocate): Use local_isatty.
42489 * stdio-common/perror.c (perror): In case a new stream is used
42490 forward the stream error.
42491 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42492 error flag.
42493
78e64fdc
RT
424942011-05-20 Ulrich Drepper <drepper@gmail.com>
42495
34a9094f
UD
42496 [BZ #11869]
42497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42498 alloca.
42499 * include/alloca.h (extend_alloca_account): Define.
42500
78e64fdc
RT
42501 [BZ #11857]
42502 * posix/regex.h: Fix comments with documentation of user-accessible
42503 fields after compilation and describe correct free'ing of pattern
42504 after re_compile_pattern.
42505 Patch by Reuben Thomas <rrt@sc3d.org>.
42506
457bddfc
RA
425072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42508
42509 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42510 and -mno-altivec to prevent the compiler from using Altivec and/or
42511 VSX instructions when the corresponding registers are not available.
42512
a4527b51
AS
425132011-05-19 Andreas Schwab <schwab@redhat.com>
42514
42515 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42516
ed690b2f
UD
425172011-05-19 Ulrich Drepper <drepper@gmail.com>
42518
42519 * libio/freopen.c (freopen): Use __dup2, not dup2.
42520 * libio/freopen64.c (freopen64): Likewise.
42521
8db73634
L
425222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42523
42524 [BZ #12775]
42525 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42526 * math/Makefile (tests): Add test-powl.
42527 (CFLAGS-test-powl.c): Define.
42528 * math/test-powl.c: New file.
42529
0a197a9d
L
425302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42531
42532 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42533
ee30c380
UD
425342011-05-17 Ulrich Drepper <drepper@gmail.com>
42535
42536 [BZ #11837]
42537 * iconvdata/gb18030.c: Update to GB18020-2005.
42538
6ce75379
UD
425392011-05-16 Ulrich Drepper <drepper@gmail.com>
42540
a4b89fd8
AR
42541 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42542 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42543 Patch by Aharon Robbins <arnold@skeeve.com>.
42544
ea389b12
UD
42545 [BZ #11892]
42546 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42547 on the stack.
42548
68a3f91f
UD
42549 [BZ #11895]
42550 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42551 through underflows.
42552
15cc7dd1
UD
42553 [BZ #12766]
42554 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42555 point to strings before performing equality test for error_one_per_line
42556 mode.
42557
f3799213
UD
42558 [BZ #11697]
42559 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42560
d79a9c94
UD
42561 [BZ #11820]
42562 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42563 (struct user_fpregs_struct): Avoid __uint*_t types.
42564
56e5eb46
UD
42565 [BZ #6420]
42566 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42567 symbol info. Use it instead of calling _dl_addr locally.
42568 (lock_and_info): New function.
42569 (tr_freehook): Call lock_and_info and pass symbol info as additional
42570 parameter to tr_where.
42571 (tr_mallochook): Likewise.
42572 (tr_reallochook): Likewise.
42573 (tr_memalignhook): Likewise.
42574
6ce75379
UD
42575 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42576 used and couldn't be at all thread-safe.
42577
f8a3b5bf
UD
425782011-05-15 Ulrich Drepper <drepper@gmail.com>
42579
94b7cc37
UD
42580 * libio/freopen.c (freopen): Don't close old file descriptor
42581 before the new one is opened. Instead dup the new file descriptor
42582 to the old one after the new stream is created.
42583 * libio/freopen64.c (freopen64): Likewise.
42584 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42585 * libio/fileops.c (_IO_new_file_close_it): Handle new
42586 _IO_FLAGS2_NOCLOSE flag.
42587 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42588 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42589 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42590 _IO_FLAGS2_NOCLOSE flag.
42591 * include/unistd.h: Add hidden_proto for dup3.
42592 Define __have_dup3.
42593 * io/dup3.c: Define hidden symbol.
42594 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42595
bd25564e
UD
42596 [BZ #7101]
42597 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42598 when an incomplete long option is used.
42599 * posix/tst-getopt_long1.c: New file.
42600 * posix/Makefile (tests): Add tst-getopt_long1.
42601
c84cfef4
UD
42602 [BZ #10138]
42603 * scripts/config.guess: Update from autoconf-2.68.
42604 * scripts/config.sub: Likewise.
42605
3b85df27
UD
42606 [BZ #10157]
42607 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42608 tests into ...
42609 (has_cpuclock): ...this. New function.
42610 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42611 macro here based on has_cpuclock code.
42612
15a856b1
UD
42613 [BZ #10149]
42614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42615 First byte (not low byte) is now always NUL.
42616 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42617
05f399e6
UD
42618 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42619 Use non-cancelable interfaces.
42620
10a52685 42621 [BZ #9809]
94ecc67d
UD
42622 * locale/iso-639.def: Add entry for Sorani.
42623
f8a3b5bf
UD
42624 [BZ #11901]
42625 * include/stdlib.h: Move include protection to the right place.
42626 Define abort_msg_s. Declare __abort_msg with it.
42627 * stdlib/abort.c (__abort_msg): Adjust type.
42628 * assert/assert.c (__assert_fail_base): New function. Majority
42629 of code from __assert_fail. Allocate memory for __abort_msg with
42630 mmap.
42631 (__assert_fail): Now call __assert_fail_base.
42632 * assert/assert-perr.c: Remove bulk of implementation. Use
42633 __assert_fail_base.
42634 * include/assert.hL Declare __assert_fail_base.
42635 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42636 mmap.
42637 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42638
1af4e298
UD
426392011-05-14 Ulrich Drepper <drepper@gmail.com>
42640
f8a3b5bf 42641 [BZ #11952]
d26dfc60
MG
42642 [BZ #12453]
42643 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42644 until all modules are registered in the DTV.
42645 * elf/Makefile: Add rules to build and run tst-tls19.
42646 * elf/tst-tls19.c: New file.
42647 * elf/tst-tls19mod1.c: New file.
42648 * elf/tst-tls19mod2.c: New file.
42649 * elf/tst-tls19mod3.c: New file.
42650 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42651
2fc54d6f
UD
42652 [BZ #12083]
42653 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42654 correctly.
42655
98d76b46
UD
42656 [BZ #12601]
42657 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42658 two-byte sequence errors.
42659 * iconvdata/Makefile (tests): Add bug-iconv8.
42660 * iconvdata/bug-iconv8.c: New file.
42661
da3c19ef
UD
42662 [BZ #12626]
42663 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42664 buf2 definition.
42665
ca408c15
UD
42666 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42667
d6f67f7d
UD
42668 [BZ #12432]
42669 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42670 (dummy_getcfa): New function.
42671 (init): Get _Unwind_GetCFA address, use dummy if not found.
42672 (backtrace_helper): In recursion check, also check whether CFA changes.
42673 (__backtrace): Completely initialize arg.
42674
1af4e298 42675 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42676 storing incomplete byte sequence in state object. Avoid testing for
42677 guaranteed too small input if we know there is enough data available.
1af4e298 42678
da62f81b
AS
426792011-05-11 Andreas Schwab <schwab@redhat.com>
42680
42681 * Makeconfig (+link-pie): Indent.
42682 * Rules (binaries-pie): Define if $(have-fpie) and
42683 $(build-shared).
42684 (binaries-shared): Also filter out $(binaries-pie).
42685 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42686 * nscd/Makefile (others-pie): Add nscd.
42687 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42688 ($(objpfx)nscd): Remove command override.
42689 * login/Makefile (others-pie): Add pt_chown.
42690 ($(objpfx)pt_chown): Remove command override.
42691 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42692 remove command overrides.
42693
fcabc0f8
UD
426942011-05-13 Ulrich Drepper <drepper@gmail.com>
42695
20030ae6
UD
42696 * libio/tst_putwc.c: Fix error messages.
42697
fcabc0f8
UD
42698 [BZ #12724]
42699 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42700 currently writing and seek to current position when not.
42701 * libio/Makefile (tests): Add bug-fclose1.
42702 * libio/bug-fclose1.c: New file.
42703
320a5dc0
PB
427042011-05-12 Ulrich Drepper <drepper@gmail.com>
42705
42706 [BZ #12511]
42707 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42708 don't set DF_1_NODELETE here.
42709 (do_lookup_x): When entering new entry test for copy relocation
42710 and if necessary set DF_1_NODELETE flag.
42711 * elf/tst-unique4.cc: New file.
42712 * elf/tst-unique4.h: New file.
42713 * elf/tst-unique4lib.cc: New file.
42714 * elf/Makefile: Add rules to build and run tst-unique4.
42715 Patch by Piotr Bury <pbury@goahead.com>.
42716
22836f52
UD
427172011-05-11 Ulrich Drepper <drepper@gmail.com>
42718
f574184a
UD
42719 [BZ #12052]
42720 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42721
e1fb097f
UD
42722 [BZ #12625]
42723 * misc/mntent_r.c (addmntent): Flush the stream after the output
42724
22836f52
UD
42725 [BZ #12393]
42726 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42727 (is_trusted_path_normalize): Skip initial colon. Append slash
42728 to empty buffer. Duplicate is_trusted_path code but allow
42729 constructed patch to be prefix.
42730 (is_dst): Allow $ORIGIN followed by /.
42731 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42732 Correct testing of result of is_trusted_path_normalize
42733 (decompose_rpath): Fix warning.
42734
7b3b0b2a
UD
427352011-05-10 Ulrich Drepper <drepper@gmail.com>
42736
42737 [BZ #11257]
42738 * grp/initgroups.c (internal_getgrouplist): When we found the service
42739 list through the initgroups entry in nsswitch.conf do not always
42740 continue on a successful lookup. Don't always use the
eac80ce2 42741 __nss_group_database value if it is set.
7b3b0b2a
UD
42742 * nss/nsswitch.conf (initgroups): Change action for successful db
42743 lookup to continue for compatibility.
42744
2a81eaa5
UD
427452011-05-09 Ulrich Drepper <drepper@gmail.com>
42746
be97a69e
UD
42747 [BZ #11532]
42748 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42749 and CP774 modules.
42750 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42751 and CP774 modules.
42752 * iconvdata/tst-tables.sh: Likewise.
42753 * iconvdata/cp770.c: New file.
42754 * iconvdata/cp771.c: New file.
42755 * iconvdata/cp772.c: New file.
42756 * iconvdata/cp773.c: New file.
42757 * iconvdata/cp774.c: New file.
42758 * iconvdata/testdata/CP770: New file.
42759 * iconvdata/testdata/CP770..UTF8: New file.
42760 * iconvdata/testdata/CP771: New file.
42761 * iconvdata/testdata/CP771..UTF8: New file.
42762 * iconvdata/testdata/CP772: New file.
42763 * iconvdata/testdata/CP772..UTF8: New file.
42764 * iconvdata/testdata/CP773: New file.
42765 * iconvdata/testdata/CP773..UTF8: New file.
42766 * iconvdata/testdata/CP774: New file.
42767 * iconvdata/testdata/CP774..UTF8: New file.
42768
42769 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42770 END CHARMAP line.
42771 * iconvdata/gen-8bit-gap.sh: Likewise.
42772 * iconvdata/gen-8bit.sh: Likewise.
42773
c1e9e399
UD
42774 * locale/iso-639.def: Add ary entry.
42775
24c55fb3 42776 [BZ #11258]
96b4b1b0
UD
42777 * locale/C-translit.h.in: Add U20A1 transliteration.
42778
bdc2f971
KB
42779 [BZ #12178]
42780 * locale/iso-639.def: Add wae entry.
42781 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42782
2952b117
UD
42783 [BZ #12545]
42784 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42785 for n.
42786
2a81eaa5
UD
42787 [BZ #12711]
42788 * locale/C-translit.h.in: Add entry for U20B9.
42789 Patch by pravin.d.s@gmail.com.
42790
28377d1b
UD
427912011-05-08 Ulrich Drepper <drepper@gmail.com>
42792
7fb90fb8
UD
42793 [BZ #12713]
42794 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42795 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42796 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42797 in rtld. Use *stat64.
7fb90fb8 42798 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42799 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42800 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42801 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42802 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42803 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42804 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42805 __fstatat64 macros.
7fb90fb8
UD
42806 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42807 * dirent/rewinddir.c: Add libc_hidden_def.
42808 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42809 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42810
28377d1b
UD
42811 * include/dirent.h (__alloc_dir): Add flags parameter.
42812 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42813 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42814 __alloc_dir.
42815 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42816 from fdopendir if O_CLOEXEC is already set.
42817
66bdbaa4
AM
428182011-03-15 Alan Modra <amodra@gmail.com>
42819
42820 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42821 l_tls_firstbyte_offset non-zero. Save padding offset in
42822 l_tls_firstbyte_offset for later use.
42823 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42824 freeing static tls block.
42825
95721191
JN
428262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42827
42828 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42829 where #ifdef was intended. The intent is to prevent ARG_MAX from
42830 being defined by the kernel headers.
42831
f87dfb1f
UD
428322011-05-07 Ulrich Drepper <drepper@gmail.com>
42833
42834 [BZ #12734]
42835 * resolv/resolv.h: Define RES_NOTLDQUERY.
42836 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42837 no-tld-query and set RES_NOTLDQUERY.
42838 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42839 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42840 modern BIND to search name as TLD unless forbidden.
42841
47c3cd7a
UD
428422011-05-07 Petr Baudis <pasky@suse.cz>
42843 Ulrich Drepper <drepper@gmail.com>
42844
42845 [BZ #12393]
42846 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42847 (is_trusted_path): ...to here.
c1e9ea35 42848 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42849 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42850 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42851
8a35c912
PP
428522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42853
42854 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42855 __BEGIN/__END_DECLS.
42856
acd41f47
UD
428572011-05-06 Ulrich Drepper <drepper@gmail.com>
42858
42859 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42860 NSS_STATUS_NOTFOUND if no record was found.
42861
597df647
AS
428622011-05-05 Andreas Schwab <schwab@redhat.com>
42863
42864 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42865 (headers-not-in-tirpc): Remove rpc/netdb.h
42866 * resolv/netdb.h: Revert last change.
42867
b9af1301
PP
428682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42869
42870 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42871 circular dependency between libgcc.a and libc.a.
42872
4e34d5f5
AS
428732011-05-05 Andreas Schwab <schwab@redhat.com>
42874
42875 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42876 * nis/Makefile: Don't install rpcsvc/*.
42877 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42878 instead of <rpc/types.h>.
42879 (MAXHOSTNAMELEN): Define.
42880
00ee369c
AS
428812011-05-03 Andreas Schwab <schwab@redhat.com>
42882
42883 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42884
0b592a30
MB
428852011-04-28 Maciej Babinski <mbabinski@google.com>
42886
42887 [BZ #12714]
42888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42889 gethostbyname4_r when IPv6 results are possible.
42890
6e04cbbe
UD
428912011-05-02 Ulrich Drepper <drepper@gmail.com>
42892
42893 [BZ #12723]
42894 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42895 _PC_PIPE_BUF handling.
42896
e4ecafe0
BH
428972011-04-30 Bruno Haible <bruno@clisp.org>
42898
42899 [BZ #12717]
42900 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42901 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42902 to 'int'.
42903 * inet/getnameinfo.c (getnameinfo): Likewise.
42904
125ee683
UD
429052011-04-29 Ulrich Drepper <drepper@gmail.com>
42906
42907 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42908 to groups setting in database lookup.
42909 * nss/nsswitch.conf: Add initgroups entry.
42910
b722481a
EB
429112011-04-22 Ulrich Drepper <drepper@gmail.com>
42912
42913 [BZ #12685]
42914 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42915 mode string.
42916 Patch by Eric Blake <eblake@redhat.com>.
42917
4df46dbd
L
429182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42919
42920 * sunrpc/Makefile (need-export-routines): Add svc_run.
42921 (routines): Remove svc_run.
42922 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42923 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42924 * sunrpc/svc_run.c (svc_run): Likewise.
42925 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42926
e84142d2
UD
429272011-04-21 Ulrich Drepper <drepper@gmail.com>
42928
42929 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42930 problem in reallocation in last patch.
42931
877175d8
UD
429322011-04-20 Ulrich Drepper <drepper@gmail.com>
42933
42934 * sunrpc/Makefile: Move inclusion of Rules.
42935
ab8eed78
UD
429362011-04-19 Ulrich Drepper <drepper@gmail.com>
42937
42938 * nss/nss_files/files-initgroups.c: New file.
42939 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42940 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42941 _nss_files_initgroups_dyn.
42942
e3d8f584
RS
429432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42944
42945 * elf/elf.h (R_ARM_IRELATIVE): Define.
42946
af190f45
UD
429472011-04-19 Ulrich Drepper <drepper@gmail.com>
42948
42949 * po/ru.po: Update from translation team.
42950
53cf59ef
UD
429512011-04-17 Ulrich Drepper <drepper@gmail.com>
42952
42953 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42954 dependencies.
42955
4c559bcd
MF
429562011-02-06 Mike Frysinger <vapier@gentoo.org>
42957
42958 [BZ #12653]
42959 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42960 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42961 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42963 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42964
4420675c
AS
429652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42966
42967 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42968 differing bytes.
42969 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42970 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42971 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42972
75ea32ab
UD
429732011-04-17 Ulrich Drepper <drepper@gmail.com>
42974
42975 [BZ #12420]
42976 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42977 storing it.
42978 * stdlib/bug-getcontext.c: New file.
42979 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42980
27390476
AK
429812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42982
42983 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42984 instructions into .machine "z9-109".
42985 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42986 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42987
10442705
AK
429882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42989
42990 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42991 between environment variables and auxiliary vector.
42992
7b57bfe5
UD
429932011-04-16 Ulrich Drepper <drepper@gmail.com>
42994
42995 * Makefile: Add rules to build linkobj/libc.so.
42996 * include/libc-symbols.h: Define libc_hidden_nolink.
42997 * include/rpc/auth.h: Mark functions which are to be hidden.
42998 * include/rpc/auth_des.h: Likewise.
42999 * include/rpc/auth_unix.h: Likewise.
43000 * include/rpc/clnt.h: Likewise.
43001 * include/rpc/des_crypt.h: Likewise.
43002 * include/rpc/key_prot.h: Likewise.
43003 * include/rpc/pmap_clnt.h: Likewise.
43004 * include/rpc/pmap_prot.h: Likewise.
43005 * include/rpc/pmap_rmt.h: Likewise.
43006 * include/rpc/rpc_msg.h: Likewise.
43007 * include/rpc/svc.h: Likewise.
43008 * include/rpc/svc_auth.h: Likewise.
43009 * include/rpc/xdr.h: Likewise.
43010 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43011 * nss/Makefile: Likewise.
43012 * sunrpc/Makefile: Don't install headers. Build library with normal
43013 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43014 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43015 for the compat linking library. Remove use of INTDEF/INTUSE.
43016 * sunrpc/auth_none.c: Likewise.
43017 * sunrpc/auth_unix.c: Likewise.
43018 * sunrpc/authdes_prot.c: Likewise.
43019 * sunrpc/authuxprot.c: Likewise.
43020 * sunrpc/clnt_gen.c: Likewise.
43021 * sunrpc/clnt_perr.c: Likewise.
43022 * sunrpc/clnt_raw.c: Likewise.
43023 * sunrpc/clnt_simp.c: Likewise.
43024 * sunrpc/clnt_tcp.c: Likewise.
43025 * sunrpc/clnt_udp.c: Likewise.
43026 * sunrpc/clnt_unix.c: Likewise.
43027 * sunrpc/des_crypt.c: Likewise.
43028 * sunrpc/des_soft.c: Likewise.
43029 * sunrpc/get_myaddr.c: Likewise.
43030 * sunrpc/key_call.c: Likewise.
43031 * sunrpc/key_prot.c: Likewise.
43032 * sunrpc/netname.c: Likewise.
43033 * sunrpc/pm_getmaps.c: Likewise.
43034 * sunrpc/pm_getport.c: Likewise.
43035 * sunrpc/pmap_clnt.c: Likewise.
43036 * sunrpc/pmap_prot.c: Likewise.
43037 * sunrpc/pmap_prot2.c: Likewise.
43038 * sunrpc/pmap_rmt.c: Likewise.
43039 * sunrpc/publickey.c: Likewise.
43040 * sunrpc/rpc_cmsg.c: Likewise.
43041 * sunrpc/rpc_common.c: Likewise.
43042 * sunrpc/rpc_dtable.c: Likewise.
43043 * sunrpc/rpc_prot.c: Likewise.
43044 * sunrpc/rpc_thread.c: Likewise.
43045 * sunrpc/rtime.c: Likewise.
43046 * sunrpc/svc.c: Likewise.
43047 * sunrpc/svc_auth.c: Likewise.
43048 * sunrpc/svc_authux.c: Likewise.
43049 * sunrpc/svc_raw.c: Likewise.
43050 * sunrpc/svc_run.c: Likewise.
43051 * sunrpc/svc_simple.c: Likewise.
43052 * sunrpc/svc_tcp.c: Likewise.
43053 * sunrpc/svc_udp.c: Likewise.
43054 * sunrpc/svc_unix.c: Likewise.
43055 * sunrpc/svcauth_des.c: Likewise.
43056 * sunrpc/xcrypt.c: Likewise.
43057 * sunrpc/xdr.c: Likewise.
43058 * sunrpc/xdr_array.c: Likewise.
43059 * sunrpc/xdr_float.c: Likewise.
43060 * sunrpc/xdr_intXX_t.c: Likewise.
43061 * sunrpc/xdr_mem.c: Likewise.
43062 * sunrpc/xdr_rec.c: Likewise.
43063 * sunrpc/xdr_ref.c: Likewise.
43064 * sunrpc/xdr_sizeof.c: Likewise.
43065 * sunrpc/xdr_stdio.c: Likewise.
43066
e6c61494
UD
430672011-04-10 Ulrich Drepper <drepper@gmail.com>
43068
43069 [BZ #12650]
43070 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43071 * sysdeps/ia64/dl-tls.h: Likewise.
43072 * sysdeps/powerpc/dl-tls.h: Likewise.
43073 * sysdeps/s390/dl-tls.h: Likewise.
43074 * sysdeps/sh/dl-tls.h: Likewise.
43075 * sysdeps/sparc/dl-tls.h: Likewise.
43076 * sysdeps/x86_64/dl-tls.h: Likewise.
43077 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43078
34fe483e
AS
430792011-03-14 Andreas Schwab <schwab@redhat.com>
43080
43081 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43082 rpath element also skip the following colon.
43083 (expand_dynamic_string_token): Add is_path parameter and pass
43084 down to DL_DST_REQUIRED and _dl_dst_substitute.
43085 (decompose_rpath): Call expand_dynamic_string_token with
43086 non-zero is_path. Ignore empty rpaths.
43087 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43088 with zero is_path.
43089
f12a32e6
AS
430902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43091
43092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43093 Make cancelable.
43094
38a7d692
UD
430952011-04-09 Ulrich Drepper <drepper@gmail.com>
43096
43097 [BZ #12655]
43098 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43099 Patch by Filipe David Manana <fdmanana@apache.org>.
43100
e451d22b
AS
431012011-04-07 Andreas Schwab <schwab@redhat.com>
43102
43103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43104 Maintain aligned stack.
43105 (CHECK_RSP): Remove unused macro.
43106
dedc7c7b
UD
431072011-04-03 Ulrich Drepper <drepper@gmail.com>
43108
43109 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43110 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43111
94521213
UD
431122011-04-02 Ulrich Drepper <drepper@gmail.com>
43113
43114 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43115
8cb700c0 43116 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43117
0354e355
L
431182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43119
43120 [BZ #12518]
43121 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43122 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43123 * sysdeps/x86_64/memmove.c: New file.
43124 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43125 (memcpy): Renamed to ...
43126 (__new_memcpy): This.
43127 (memcpy): Provide GLIBC_2_14 memcpy.
43128 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43129 (memcpy): Provide GLIBC_2_2_5 memcpy.
43130
8593482f
UD
431312011-04-01 Ulrich Drepper <drepper@gmail.com>
43132
43133 [BZ #12631]
43134 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43135
81a5726b
AS
431362011-03-30 Andreas Schwab <schwab@redhat.com>
43137
43138 * misc/syncfs.c: New file.
43139 * misc/Makefile (routines): Add syncfs.
43140 * posix/unistd.h: Declare syncfs.
43141 * sysdeps/unix/syscalls.list: Add syncfs.
43142
00e5419f
AS
431432011-04-01 Andreas Schwab <schwab@redhat.com>
43144
43145 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43146 open_by_handle_at.
43147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43148 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43150 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43152 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43153 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43154
748876bf
UD
431552011-04-01 Ulrich Drepper <drepper@gmail.com>
43156
658e451d
UD
43157 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43158 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43159 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43164
748876bf
UD
43165 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43166 sync_file_range.c with -fexceptions.
43167 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43168 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43169 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43170 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43171 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43172 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43173 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43174 sync_file_range as cancellation point
43175 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43176 now a wrapper around __call_sync_file_range with cancellation handling.
43177 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43178 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43179 function name to __call_sync_file_range.
43180 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43181 Add call_sync_file_range.
748876bf 43182
6e63d5e1
AS
431832011-04-01 Andreas Schwab <schwab@redhat.com>
43184
43185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43186 bits/timex.h.
6e63d5e1 43187
46998f74
UD
431882011-04-01 Ulrich Drepper <drepper@gmail.com>
43189
4c1423ed
UD
43190 * iconv/iconv.h: Fix typo in comment.
43191 * io/fcntl.h: Likewise.
43192 * libio/stdio.h: Likewise.
43193 * posix/spawn.h: Likewise.
43194 * posix/unistd.h: Likewise.
43195 * stdlib/stdlib.h: Likewise.
43196 * time/time.h: Likewise.
43197 * wcsmbs/wchar.h: Likewise.
43198
158648c0
UD
43199 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43200 open_by_handle): Add.
43201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43202 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43203 Augment a few comments.
43204 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43205 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43206 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43207 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43209 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43210 open_by_handle.
43211
46998f74
UD
43212 * io/fcntl.h (AT_EMPTY_PATH): Define.
43213
83fe108b
UD
432142011-03-30 Ulrich Drepper <drepper@gmail.com>
43215
43216 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43217 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43218 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43219 to...
43220 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43221 * Versions.def: Add GLIBC_2.14.
43222 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43223 Export.
83fe108b 43224
bb242059
UD
432252011-03-22 Ulrich Drepper <drepper@gmail.com>
43226
43227 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43228 round counter.
43229 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43230
c97a1282
L
432312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43232
43233 [BZ #12597]
43234 * string/test-strncmp.c (do_page_test): New function.
43235 (check2): Likewise.
43236 (test_main): Call check2.
43237 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43238
2a115601
UD
432392011-03-20 Ulrich Drepper <drepper@gmail.com>
43240
43241 [BZ #12587]
43242 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43243 Handle cache information in CPU leaf 4.
43244 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43245
8126d904
UD
432462011-03-18 Ulrich Drepper <drepper@gmail.com>
43247
042c49c6 43248 [BZ #12583]
8126d904
UD
43249 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43250 character representation.
43251 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43252
ccfe366e
RA
432532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43254
43255 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43256 END(__isnan) to END(__isnanf) to match function entry point/label
43257 EALIGN(__isnanf,...).
43258
c6e13027
JJ
432592011-03-10 Jakub Jelinek <jakub@redhat.com>
43260
43261 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43262
33f85a3f
UD
432632011-03-10 Ulrich Drepper <drepper@gmail.com>
43264
028478fa
UD
43265 [BZ #12510]
43266 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43267 copy from the symbol referenced in the relocation to initialize the
43268 used variable.
43269 Patch by Piotr Bury <pbury@goahead.com>.
43270 * elf/Makefile: Add rules to build and tst-unique3.
43271 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43272 * elf/tst-unique3.cc: New file.
43273 * elf/tst-unique3.h: New file.
43274 * elf/tst-unique3lib.cc: New file.
43275 * elf/tst-unique3lib2.cc: New file.
43276
33f85a3f
UD
43277 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43278
03592fc7
MF
432792011-03-10 Mike Frysinger <vapier@gentoo.org>
43280
43281 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43282 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43283 to _start.
03592fc7 43284
6a5ee102
UD
432852011-03-06 Ulrich Drepper <drepper@gmail.com>
43286
43287 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43288 to-be-loaded object along a path to loader is ld.so.
43289
7e4ba49c
HJ
432902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43291 Ulrich Drepper <drepper@gmail.com>
43292
43293 * sysdeps/x86_64/memset.S: After aligning destination, code
43294 branches to different locations depending on the value of
43295 misalignment, when multiarch is enabled. Fix this.
43296
432972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43298
43299 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43300 Set _x86_64_preferred_memory_instruction for AMD processsors.
43301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43302 Set bit_Prefer_SSE_for_memop for AMD processors.
43303
13a804de
UD
433042011-03-04 Ulrich Drepper <drepper@gmail.com>
43305
43306 * libio/fmemopen.c (fmemopen): Optimize a bit.
43307
9d25c392
AS
433082011-03-03 Andreas Schwab <schwab@redhat.com>
43309
43310 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43311
a5543c6a
RM
433122011-03-03 Roland McGrath <roland@redhat.com>
43313
43314 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43315
012d35f7
DM
433162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43317
7e4ba49c 43318 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43319 __bzero_ultra1 instead of __memset_ultra1.
43320
4bff6e01
AS
433212011-02-23 Andreas Schwab <schwab@redhat.com>
43322 Ulrich Drepper <drepper@gmail.com>
43323
43324 [BZ #12509]
43325 * include/link.h (struct link_map): Add l_orig_initfini.
43326 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43327 returning unsuccessfully.
43328 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43329 close of a file loaded at startup, restore the original l_initfini
43330 list.
43331 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43332 list, store the pointer.
43333 * elf/Makefile ($(objpfx)noload-mem): New rule.
43334 (noload-ENV): Define.
43335 (tests): Add $(objpfx)noload-mem.
43336 * elf/noload.c: Include <memcheck.h>.
43337 (main): Call mtrace. Close all opened handles.
43338
f2092faf
AS
433392011-02-17 Andreas Schwab <schwab@redhat.com>
43340
43341 [BZ #12454]
43342 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43343 dependencies are missing.
43344
6c8a2e88
ST
433452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43346
f2092faf 43347 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43348 Hurd needs munmap.
43349 * sysdeps/mach/hurd/ifreq.h: New file.
43350
84a42118
PB
433512011-01-27 Petr Baudis <pasky@suse.cz>
43352 Ulrich Drepper <drepper@gmail.com>
43353
071f805e 43354 [BZ 12445]#
84a42118
PB
43355 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43356 to extend_alloca().
43357 * stdio-common/bug23.c: New file.
43358 * stdio-common/Makefile (tests): Add bug23.
43359
e23fe25b
AS
433602010-09-28 Andreas Schwab <schwab@redhat.com>
43361 Ulrich Drepper <drepper@gmail.com>
43362
43363 [BZ #12489]
43364 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43365 before performing relro protection. At old place add assertion
43366 to make sure nothing changed.
43367
d3f02e10
NS
433682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43369 Glauber de Oliveira Costa <glommer@gmail.com>
43370
43371 * elf/elf.h: Add new ARM TLS relocs.
43372
d55fd7a5
RA
433732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43374
43375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43376 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43377 cast from r3.
43378 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43379 'tests' variable.
43380 * sysdeps/wordsize-64/tst-writev.c: New file.
43381
2206397e
RA
433822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43383
43384 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43385 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43386 insns in _dl_start to prevent a TOC reference before relocs are
43387 resolved.
43388
e9433893
UD
433892011-02-15 Ulrich Drepper <drepper@gmail.com>
43390
43391 [BZ #12469]
43392 * Makeconfig: Remove RANLIB definition.
43393 * Makerules: Don't use RANLIB.
43394 * aclocal.m4: Remove ranlib test.
43395 * configure.in: No need to check for ranlib.
43396 * elf/rtld-Rules: Don't use RANLIB.
43397
f75286c6
ST
433982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43399
8e31c82d
ST
43400 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43401 protection macro.
43402 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43403 inclusion protection macro.
43404
f75286c6
ST
43405 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43406 SIGRTMIN and SIGRTMAX and print information in that case only when
43407 SIGRTMIN is defined.
43408
c1d0e639
JJ
434092011-02-11 Jakub Jelinek <jakub@redhat.com>
43410
43411 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43412 arginfo fn returning -1.
43413
43414 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43415 and thousands string is zero terminated.
43416
edf9294e
AS
434172011-02-03 Andreas Schwab <schwab@redhat.com>
43418
43419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43420 sysdeps/unix/sysv/linux/bits/socket.h.
43421
2b7e92df
ST
434222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43423
edf9294e
AS
43424 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43425 (__CPU_COUNT): Remove old macros.
43426 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43427 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43428 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43429 (__sched_cpualloc, __sched_cpufree): Add declarations.
43430
a4c7ea7b
UD
434312011-02-05 Ulrich Drepper <drepper@gmail.com>
43432
43433 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43434 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43435 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43436 (readdhstai): Return value of addhstaiX call.
43437 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43438 (addgrbyX): Return value returned by cache_addgr.
43439 (readdgrbyname): Return value returned by addgrbyX.
43440 (readdgrbygid): Likewise.
43441 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43442 (addpwbyX): Return value returned by cache_addpw.
43443 (readdpwbyname): Return value returned by addhstbyX.
43444 (readdpwbyuid): Likewise.
43445 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43446 (addservbyX): Return value returned by cache_addserv.
43447 (readdservbyname): Return value returned by addservbyX:
43448 (readdservbyport): Likewise.
43449 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43450 (addhstbyX): Return value returned by cache_addhst.
43451 (readdhstbyname): Return value returned by addhstbyX.
43452 (readdhstbyaddr): Likewise.
43453 (readdhstbynamev6): Likewise.
43454 (readdhstbyaddrv6): Likewise.
43455 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43456 (readdinitgroups): Return value returned by addinitgroupsX.
43457 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43458 (prune_cache): Keep track of timeout value of re-added entries.
43459 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43460 * nscd/nscd.h: Adjust prototypes of readd* functions.
43461
a0bf67cc
RM
434622011-02-04 Roland McGrath <roland@redhat.com>
43463
43464 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43465 (nis_stats): Likewise.
43466 * nis/nis_modify.c (nis_modify): Likewise.
43467 * nis/nis_remove.c (nis_remove): Likewise.
43468 * nis/nis_add.c (nis_add): Likewise.
43469
43470 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43471
43472 * posix/fnmatch_loop.c: Add some consts.
43473
43474 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43475
435b95eb
L
434762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43477
43478 [BZ #12460]
43479 * config.make.in (config-cflags-novzeroupper): Define.
43480 * configure.in: Substitute libc_cv_cc_novzeroupper.
43481 * elf/Makefile (AVX-CFLAGS): Define.
43482 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43483 (CFLAGS-tst-auditmod4a.c): Likewise.
43484 (CFLAGS-tst-auditmod4b.c): Likewise.
43485 (CFLAGS-tst-auditmod6b.c): Likewise.
43486 (CFLAGS-tst-auditmod6c.c): Likewise.
43487 (CFLAGS-tst-auditmod7b.c): Likewise.
43488 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43489
8517b15e
UD
434902011-02-02 Ulrich Drepper <drepper@gmail.com>
43491
43492 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43493 function to the callback.
43494 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43495
10a656fe
AS
434962011-02-02 Andreas Schwab <schwab@redhat.com>
43497
43498 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43499 of errno.
43500
968dad0a
UD
435012011-01-19 Ulrich Drepper <drepper@gmail.com>
43502
9f94d2ea 43503 [BZ #11724]
968dad0a
UD
43504 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43505 of constructors.
43506 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43507 of destructors.
43508 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43509
43510 [BZ #11724]
43511 * elf/Makefile: Add rules to build and run new test.
43512 * elf/tst-initorder.c: New file.
43513 * elf/tst-initorder.exp: New file.
43514 * elf/tst-initordera1.c: New file.
43515 * elf/tst-initordera2.c: New file.
43516 * elf/tst-initordera3.c: New file.
43517 * elf/tst-initordera4.c: New file.
43518 * elf/tst-initorderb1.c: New file.
43519 * elf/tst-initorderb2.c: New file.
43520 * elf/tst-order-a1.c: New file.
43521 * elf/tst-order-a2.c: New file.
43522 * elf/tst-order-a3.c: New file.
43523 * elf/tst-order-a4.c: New file.
43524 * elf/tst-order-b1.c: New file.
43525 * elf/tst-order-b2.c: New file.
43526 * elf/tst-order-main.c: New file.
43527 New test case by George Gensure <werkt0@gmail.com>.
43528
86e92359
UD
435292010-10-01 Andreas Schwab <schwab@redhat.com>
43530
43531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43532 decoding ACE if AI_CANONIDN.
43533
5d5732b0
UD
435342011-01-18 Ulrich Drepper <drepper@gmail.com>
43535
43536 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43537
a77e8cbc
UD
435382011-01-17 Ulrich Drepper <drepper@gmail.com>
43539
6392473f
UD
43540 * version.h (RELEASE): Bump for 2.13 release.
43541 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43542
620a0529
UD
43543 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43544
18ba70a5
UD
43545 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43546 MADV_NOHUGEPAGE.
32465c3e
UD
43547 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43548 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43549 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43550 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43551 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43552 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43553
c0dafcf1
UD
43554 * posix/getconf.c: Update copyright year.
43555 * catgets/gencat.c: Likewise.
43556 * csu/version.c: Likewise.
43557 * debug/catchsegv.sh: Likewise.
43558 * debug/xtrace.sh: Likewise.
43559 * elf/ldconfig.c: Likewise.
43560 * elf/ldd.bash.in: Likewise.
43561 * elf/sprof.c (print_version): Likewise.
43562 * iconv/iconv_prog.c: Likewise.
43563 * iconv/iconvconfig.c: Likewise.
43564 * locale/programs/locale.c: Likewise.
43565 * locale/programs/localedef.c: Likewise.
43566 * malloc/memusage.sh: Likewise.
43567 * malloc/mtrace.pl: Likewise.
43568 * nscd/nscd.c (print_version): Likewise.
43569 * nss/getent.c: Likewise.
43570
a77e8cbc
UD
43571 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43572 PF_CAIF, and PF_ALG.
43573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43574
77e8bddf
AS
435752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43576
1f20b93a
AS
43577 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43578 (modules-names): Use them.
43579 (ifunc-test-modules, ifunc-pie-tests): Define.
43580 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43581 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43582 (test-extras): Likewise.
43583 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43584 $(compile-command.c).
43585 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43586 (all-built-dso): Define.
43587 (check-textrel.out, check-execstack.out): Depend on it.
43588
77e8bddf
AS
43589 * configure.in: Don't override --enable-multi-arch.
43590
bc425b33
UD
435912011-01-15 Ulrich Drepper <drepper@gmail.com>
43592
43593 [BZ #6812]
43594 * nscd/hstcache.c (tryagain): Define.
43595 (cache_addhst): Return tryagain not notfound for temporary errors.
43596 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43597 failed.
43598
794c3ad3
UD
435992011-01-14 Ulrich Drepper <drepper@gmail.com>
43600
70181fdd
UD
43601 [BZ #10563]
43602 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43603 to make the syscall.
43604 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43605
794c3ad3
UD
43606 [BZ #12378]
43607 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43608 and fall back to matching as normal character if the string ends before
43609 the matching ']' is found. This is what POSIX requires.
43610 * posix/testfnm.c: Adjust test result.
43611 * posix/globtest.sh: Adjust test result. Add new test.
43612 * posix/tst-fnmatch.input: Likewise.
43613 * posix/tst-fnmatch2.c: Add new test.
43614
68dc9497
AS
436152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43616
43617 * elf/Makefile (check-execstack): Revert last change. Depend on
43618 check-execstack.h.
43619 (check-execstack.h): New target.
43620 (generated): Add check-execstack.h.
43621 * elf/check-execstack.c: Include "check-execstack.h".
43622 (main): Revert last change.
43623 (handle_file): Return zero if GNU_STACK is absent and
43624 DEFAULT_STACK_PERMS doesn't include PF_X.
43625
451f001b
UD
436262011-01-13 Ulrich Drepper <drepper@gmail.com>
43627
cfa28e56
UD
43628 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43629 in child fails because the descriptor is already closed.
8cf8ce17
UD
43630 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43631 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43632 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43633
1086d70d
UD
43634 [BZ #12397]
43635 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43636 syscall.
43637
451f001b
UD
43638 [BZ #10484]
43639 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43640 temporary buffer used to handle multi lookups locally.
a85b5cb4 43641 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43642
08769175
UD
436432011-01-12 Ulrich Drepper <drepper@gmail.com>
43644
43645 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43646 loader is ld.so.
43647
5e49c52e
UD
436482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43649
43650 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43651 alignment for SSE2.
43652
60522a5f
UD
436532011-01-12 Ulrich Drepper <drepper@gmail.com>
43654
43655 [BZ #12394]
43656 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43657 characters. When rounding increased number of integer digits recompute
43658 number of groups.
43659 * stdio-common/tst-grouping.c: New file.
43660 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43661
f257bbd7
UD
436622011-01-09 Ulrich Drepper <drepper@gmail.com>
43663
43664 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43665 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43666
43667 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43668 void.
43669 * bits/select.h: Likewise.
43670
fa9c15cb
UD
436712011-01-08 Ulrich Drepper <drepper@gmail.com>
43672
43673 * po/ja.po: Update from translation team.
43674
16c2895f
DM
436752011-01-04 David S. Miller <davem@sunset.davemloft.net>
43676
43677 [BZ #11155]
43678 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43679 implementation just like for lxstat, fxstatat, et al.
43680
2543fef2
JM
436812010-12-27 Jim Meyering <meyering@redhat.com>
43682
43683 [BZ #12348]
43684 * posix/regexec.c (build_trtable): Return failure indication upon
43685 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43686
98727dbe
UD
436872010-12-25 Ulrich Drepper <drepper@gmail.com>
43688
5bd6dc5c
UD
43689 [BZ #12201]
43690 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43691 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43692 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43693 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43694
97983464
UD
43695 [BZ #12207]
43696 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43697
98727dbe
UD
43698 [BZ #12204]
43699 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43700 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43701
4a531bb0
L
437022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43703
43704 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43705 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43706 script has SORT_BY_INIT_PRIORITY.
43707 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43708 NO_CTORS_DTORS_SECTIONS is defined.
43709 * elf/soinit.c: Likewise.
43710 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43711 NO_CTORS_DTORS_SECTIONS is defined.
43712 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43713 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43714 * sysdeps/sh/init-first.c: Likewise.
43715 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43716
07eb4b71
UD
437172010-12-24 Ulrich Drepper <drepper@gmail.com>
43718
43719 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43720 always use the slow path.
43721
30950a5f
RA
437222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43723
43724 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43725 similar rule which adds the sysdep directories to the header search in
43726 order to pick up the correct platform stackinfo.h.
43727 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43728 perform test if it is, otherwise return successfully without testing.
43729 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43730 DEFAULT_STACK_PERMS define in stackinfo.h.
43731 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43732 defined in stackinfo.h.
43733 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43734 DEFAULT_STACK_PERMS defined in stackinfo.h.
43735 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43736 * sysdeps/ia64/stackinfo.h: Likewise.
43737 * sysdeps/s390/stackinfo.h: Likewise.
43738 * sysdeps/sh/stackinfo.h: Likewise.
43739 * sysdeps/sparc/stackinfo.h: Likewise.
43740 * sysdeps/x86_64/stackinfo.h: Likewise.
43741 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43742 PF_X for powerpc64. Retain PF_X for powerpc32.
43743
db753e2c
UD
437442010-12-19 Ulrich Drepper <drepper@gmail.com>
43745
14b697f7
UD
43746 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43747 accurately.
db753e2c
UD
43748 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43749 GETDENTS_64BIT_ALIGNED.
43750
28300719
UD
437512010-12-14 Ulrich Drepper <dreper@gmail.com>
43752
14b697f7 43753 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43754
4f197237
AS
437552010-12-10 Andreas Schwab <schwab@redhat.com>
43756
dbb0472f
AS
43757 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43758 _GNU_SOURCE.
43759
4f197237
AS
43760 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43761 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43762 Remove __restrict.
43763 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43764 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43765
fb88ac72
UD
437662010-12-09 Ulrich Drepper <drepper@gmail.com>
43767
43768 [BZ #11655]
43769 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43770 are initialized.
43771
42acbb92
JJ
437722010-12-09 Jakub Jelinek <jakub@redhat.com>
43773
43774 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43775
c038d98d
UD
437762010-12-03 Ulrich Drepper <drepper@gmail.com>
43777
43778 * po/it.po: Update from translation team.
43779
3a4a2499
L
437802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43781
43782 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43783 unused codes.
43784
1e24cf6e
UD
437852010-11-30 Ulrich Drepper <drepper@gmail.com>
43786
43787 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43788
a7690819
AS
437892010-11-24 Andreas Schwab <schwab@redhat.com>
43790
43791 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43792 specially.
43793 (gaih_getanswer_slice): Likewise.
43794
3bf8d1b1
JJ
437952010-10-20 Jakub Jelinek <jakub@redhat.com>
43796
43797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43798
6db52fbb
PB
437992010-05-31 Petr Baudis <pasky@suse.cz>
43800
43801 [BZ #11149]
43802 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43803 silently even in the chroot mode.
43804
eaca7569
UD
438052010-11-22 Ulrich Drepper <drepper@gmail.com>
43806
43807 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43808 last patch a bit. Pretty printing
43809
3056dcdb
UD
438102010-05-31 Petr Baudis <pasky@suse.cz>
43811
43812 [BZ #10085]
43813 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43814 initialization of skip_initgroups_dyn.
43815
cf7c9078
UD
438162010-11-19 Ulrich Drepper <drepper@gmail.com>
43817
43818 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43819 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43820
a1fb5e3e
UD
438212010-11-16 Ulrich Drepper <drepper@gmail.com>
43822
43823 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43824
3540d66b
AS
438252010-11-11 Andreas Schwab <schwab@redhat.com>
43826
43827 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43828 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43829 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43830 ($(objpfx)tst-fnmatch-mem): New rule.
43831 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43832 * posix/tst-fnmatch.c (main): Call mtrace.
43833
13b69574
L
438342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43835
43836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43837 Support Intel processor model 6 and model 0x2c.
43838
da93d214
LM
438392010-11-10 Luis Machado <luisgpm@br.ibm.com>
43840
43841 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43842 signed comparison.
43843
8ca52c6e
L
438442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43845
43846 [BZ #12205]
43847 * string/test-strncasecmp.c (check_result): New function.
43848 (do_one_test): Use it.
43849 (check1): New function.
43850 (test_main): Use it.
43851 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43852 Support strcasecmp and strncasecmp.
43853
69da074d
UD
438542010-11-08 Ulrich Drepper <drepper@gmail.com>
43855
43856 [BZ #12194]
43857 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43858 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43859
ff02d528
L
438602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43861
43862 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43863 IFUNC support.
43864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43865 memset-x86-64.
43866 * sysdeps/x86_64/multiarch/bzero.S: New file.
43867 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43868 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43869 * sysdeps/x86_64/multiarch/memset.S: New file.
43870 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43872 Set bit_Prefer_SSE_for_memop for Intel processors.
43873 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43874 Define.
43875 (index_Prefer_SSE_for_memop): Define.
43876 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43877
344d0b54
LM
438782010-11-04 Luis Machado <luisgpm@br.ibm.com>
43879
43880 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43881 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43882
c0dde15b
UD
438832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43884
43885 [BZ #12191]
43886 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43887 (__x86_64_raw_data_cache_size_half): Likewise.
43888 (__x86_64_raw_shared_cache_size): Likewise.
43889 (__x86_64_raw_shared_cache_size_half): Likewise.
43890
43891 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43892 (__x86_64_raw_data_cache_size_half): Likewise.
43893 (__x86_64_raw_shared_cache_size): Likewise.
43894 (__x86_64_raw_shared_cache_size_half): Likewise.
43895 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43896 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43897 and __x86_64_raw_shared_cache_size_half. Round
43898 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43899 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43900 to multiple of 256 bytes.
43901
0e516e0e
MS
439022010-11-03 Ulrich Drepper <drepper@gmail.com>
43903
43904 [BZ #12167]
43905 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43906 of inacessible symlinks. Verify result of symlink before returning it.
43907 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43908 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43909
0e012e87
ER
439102010-10-28 Erich Ritz <erichritz@gmail.com>
43911
43912 * math/math.h (isinf): Fix typo in comment.
43913
de0ff7bc
UD
439142010-11-01 Ulrich Drepper <drepper@gmail.com>
43915
43916 * po/da.po: Update from translation team.
43917
fa41c84d
UD
439182010-10-26 Ulrich Drepper <drepper@gmail.com>
43919
43920 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43921 is added to the list.
43922
f0967738
AK
439232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43924 Ulrich Drepper <drepper@gmail.com>
43925
43926 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43927 the global list here. Move code to...
43928 (_dl_add_to_namespace_list): ...here. New function.
43929 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43930 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43931 * elf/dl-load.c (lose): Don't remove the element from the list.
43932 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43933 (_dl_map_object): Likewise.
43934
439352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43936
43937 [BZ #12159]
43938 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43939 into all bytes of SSE register.
43940 Patch by Richard Li <richardpku@gmail.com>.
43941
f0967738 439422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43943
43944 [BZ #12140]
43945 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43946 perturbing.
43947
d0b9e94f
MB
439482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43949
43950 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43951 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43952 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43953 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43955 submachine.
43956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43957
8e9f92e9
AS
439582010-10-22 Andreas Schwab <schwab@redhat.com>
43959
43960 * include/dlfcn.h (__RTLD_SECURE): Define.
43961 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43962 mode & __RTLD_SECURE instead.
43963 (open_path): Rename preloaded parameter to secure.
43964 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43965 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43966 * elf/dl-deps.c (openaux): Likewise.
43967 * elf/rtld.c (struct map_args): Remove is_preloaded.
43968 (map_doit): Don't use it.
43969 (dl_main): Likewise.
43970 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43971 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43972
bc96fbda
AS
439732010-09-09 Andreas Schwab <schwab@redhat.com>
43974
43975 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43976 (sysd-rules-targets): Remove duplicates.
43977 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43978 rtld-%.$o dependency.
43979
22cd1c9b
AS
439802010-10-18 Andreas Schwab <schwab@redhat.com>
43981
43982 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43983 _dl_map_object do it.
43984
18edac48
UD
439852010-10-19 Ulrich Drepper <drepper@gmail.com>
43986
43987 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43988 fast fma builtins, define the macros in the C99 standard.
43989 (FP_FAST_FMAF): Likewise.
43990 (FP_FAST_FMAL): Likewise.
43991 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43992
43993 * bits/mathdef.h: Update copyright year.
43994 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43995
d2050124
MM
439962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43997
43998 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43999 builtins, define the macros in the C99 standard.
44000 (FP_FAST_FMAF): Likewise.
44001 (FP_FAST_FMAL): Likewise.
44002 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44003 multiply/add.
44004 (FP_FAST_FMAF): Likewise.
44005
475facd1
JJ
440062010-10-15 Jakub Jelinek <jakub@redhat.com>
44007
44008 [BZ #3268]
44009 * math/libm-test.inc (fma_test): Some new testcases.
44010 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44011 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44012 y and infinite z. Do multiplication by C already in long double.
44013 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44015 y and infinite z. Do bitwise or of inexact bit into u.d.
44016 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44017 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44018 * sysdeps/i386/fpu/s_fma.S: Removed.
44019 * sysdeps/i386/fpu/s_fmal.S: Removed.
44020
7c08a05c
JJ
440212010-10-16 Jakub Jelinek <jakub@redhat.com>
44022
44023 [BZ #3268]
44024 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44026 computation is not scheduled after fetestexcept. Fix value
44027 of minimum denormal long double.
44028
f3f7372d
JJ
440292010-10-14 Jakub Jelinek <jakub@redhat.com>
44030
44031 [BZ #3268]
44032 * math/libm-test.inc (fma_test): Add some more tests.
44033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44034 correctly.
44035
14d43591
AS
440362010-10-15 Andreas Schwab <schwab@redhat.com>
44037
44038 * scripts/data/localplt-s390-linux-gnu.data: New file.
44039 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44040
5e908464
JJ
440412010-10-13 Jakub Jelinek <jakub@redhat.com>
44042
44043 [BZ #3268]
44044 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44045 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44046 instead of dbl-64.
44047 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44048 inlines.
44049 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44051 if one of x and y is very large and the other is subnormal.
44052 * sysdeps/s390/fpu/s_fmaf.c: New file.
44053 * sysdeps/s390/fpu/s_fma.c: New file.
44054 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44055 * sysdeps/powerpc/fpu/s_fma.S: New file.
44056 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44057 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44058 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44059
440602010-10-12 Jakub Jelinek <jakub@redhat.com>
44061
44062 [BZ #3268]
44063 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44064 fma tests.
44065 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44066 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44067 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44068 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44069 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44070 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44072
b833d51f
UD
440732010-10-12 Ulrich Drepper <drepper@redhat.com>
44074
44075 [BZ #12078]
44076 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44077 * posix/bug-regex31.input: Add test case.
44078
1751705d
UD
440792010-10-11 Ulrich Drepper <drepper@gmail.com>
44080
e9b9cbf5
UD
44081 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44082 * posix/bug-regex31.input: New file.
44083
44084 [BZ #12078]
44085 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44086 (parse_sub_exp): Fix last change, use postorder.
44087
ef06edbe
UD
44088 * posix/bug-regex31.c: New file.
44089 * posix/Makefile: Add rules to build and run bug-regex31.
44090
a129c80d
UD
44091 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44092
44093 [BZ #12078]
44094 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44095
b76b818e
UD
44096 [BZ #12108]
44097 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44098 to have entries in sys_siglist.
44099
1751705d
UD
44100 [BZ #12093]
44101 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44102 be NULL.
44103
9ff8d36f
JJ
441042010-10-07 Jakub Jelinek <jakub@redhat.com>
44105
44106 [BZ #3268]
44107 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44108 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44109 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44110 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44111 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44112 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44113 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44114 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44115 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44116 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44117 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44118 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44119 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44120 * math/ftestexcept.c (fetestexcept): Likewise.
44121 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44122 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44123 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44124 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44125 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44126 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44127 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44128
af325969
UD
441292010-10-11 Ulrich Drepper <drepper@gmail.com>
44130
c579b202 44131 [BZ #12107]
af325969
UD
44132 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44133 newline.
44134
67a67b95
UD
441352010-10-06 Ulrich Drepper <drepper@gmail.com>
44136
44137 * string/bug-strstr1.c: New file.
44138 * string/Makefile: Add rules to build and run bug-strstr1.
44139
5fb308bc
EB
441402010-10-05 Eric Blake <eblake@redhat.com>
44141
44142 [BZ #12092]
44143 * string/str-two-way.h (two_way_long_needle): Always clear memory
44144 when skipping input due to the shift table.
44145
45db99c7
UD
441462010-10-03 Ulrich Drepper <drepper@gmail.com>
44147
3b111893
UD
44148 [BZ #12005]
44149 * malloc/mcheck.c: Handle large requests.
44150
45db99c7
UD
44151 [BZ #12077]
44152 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44153 for strncmp and strncasecmp.
44154 * string/stratcliff.c: Add tests for strcmp and strncmp.
44155 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44156
cf7a1eb8
NI
441572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44158
44159 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44160 __set_fpscr.
44161
6484ba5e
AJ
441622010-09-30 Andreas Jaeger <aj@suse.de>
44163
44164 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44165 (CGROUP_SUPER_MAGIC): Define.
44166 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44167 Handle btrfs and cgroup file systems.
44168 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44169 Likewise.
44170
91c42559
LM
441712010-09-27 Luis Machado <luisgpm@br.ibm.com>
44172
44173 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44174 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44175
87a97932
AK
441762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44177
44178 [BZ #12067]
44179 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44180 trying to locate the ELF header.
44181
c21cc9bc
AS
441822010-09-27 Andreas Schwab <schwab@redhat.com>
44183
44184 [BZ #11611]
44185 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44186 Mask out sign-bit copies when constructing f_fsid.
44187
315970f6
PB
441882010-09-24 Petr Baudis <pasky@suse.cz>
44189
44190 * debug/stack_chk_fail_local.c: Add missing licence exception.
44191 * debug/warning-nop.c: Likewise.
44192
1ac7a2c7
JM
441932010-09-15 Joseph Myers <joseph@codesourcery.com>
44194
44195 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44196 implementing getdents64 using getdents syscall, set d_type if
44197 __ASSUME_GETDENTS32_D_TYPE.
44198
56801c50
AS
441992010-09-16 Andreas Schwab <schwab@redhat.com>
44200
44201 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44202 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44203
dda51327
UD
442042010-09-21 Ulrich Drepper <drepper@redhat.com>
44205
44206 [BZ #12037]
44207 * posix/unistd.h: Undo change of feature selection for ftruncate from
44208 2010-01-11.
44209
8ffcee4a
UD
442102010-09-20 Ulrich Drepper <drepper@redhat.com>
44211
a545ecd9 44212 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44213 detection.
44214
e24f0a8b
AS
442152010-09-20 Andreas Schwab <schwab@redhat.com>
44216
44217 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44218 fanotify_mark.
44219 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44220
7291c56f
AS
442212010-09-14 Andreas Schwab <schwab@redhat.com>
44222
44223 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44224 variables after CHECK_SP call.
44225 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44226
bc5fb037
AS
442272010-09-13 Andreas Schwab <schwab@redhat.com>
44228 Ulrich Drepper <drepper@redhat.com>
44229
44230 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44231 re-relocationg ld.so.
44232 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44233 _dl_init_paths call.
44234 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44235 here anymore.
44236
e66e7419
UD
442372010-09-14 Ulrich Drepper <drepper@redhat.com>
44238
44239 * resolv/res_init.c (__res_vinit): Count the default server we added.
44240
c044aa75
CLT
442412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44242 Ulrich Drepper <drepper@redhat.com>
44243
44244 [BZ #11968]
44245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44246 (____longjmp_chk): Use %ebx for saving value across system call.
44247 Add unwind info.
44248
32cf4069
AS
442492010-09-06 Andreas Schwab <schwab@redhat.com>
44250
44251 * manual/Makefile: Don't mix pattern rules with normal rules.
44252
817328ee
AS
442532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44254
44255 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44256 operation.
44257 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44258 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44259 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44260 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44262 Likewise.
44263
29fddf61
UD
442642010-09-04 Ulrich Drepper <drepper@redhat.com>
44265
44266 [BZ #11979]
44267 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44268 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44269
0959ffc9
UD
442702010-09-02 Ulrich Drepper <drepper@redhat.com>
44271
44272 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44273 * sysdeps/x86_64/addmul_1.S: Likewise.
44274 * sysdeps/x86_64/lshift.S: Likewise.
44275 * sysdeps/x86_64/mul_1.S: Likewise.
44276 * sysdeps/x86_64/rshift.S: Likewise.
44277 * sysdeps/x86_64/sub_n.S: Likewise.
44278 * sysdeps/x86_64/submul_1.S: Likewise.
44279
ece29840
ST
442802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44281
0959ffc9
UD
44282 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44283 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44284 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44285 * bits/sched.h [__need_schedparam]
ece29840 44286 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44287 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44288 (__defined_schedparam): Define to 1.
ece29840
ST
44289 (__sched_param): New structure, identical to sched_param.
44290 (__need_schedparam): Undefine.
44291
e53a31fe
MF
442922010-08-31 Mike Frysinger <vapier@gentoo.org>
44293
fdc0c10d
MF
44294 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44295 (epoll_create1): Declare.
44296
e53a31fe
MF
44297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44298
a726d796
AS
442992010-08-31 Andreas Schwab <schwab@redhat.com>
44300
44301 [BZ #7066]
44302 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44303 shifting retval into place.
44304
2f3e3dc7
UD
443052010-09-01 Ulrich Drepper <drepper@redhat.com>
44306
f2933da9
UD
44307 * nis/rpcsvc/nis.h: Update copyright notice.
44308 * nis/rpcsvc/nis.x: Likewise.
44309 * nis/rpcsvc/nis_callback.h: Likewise.
44310 * nis/rpcsvc/nis_callback.x: Likewise.
44311 * nis/rpcsvc/nis_object.x: Likewise.
44312 * nis/rpcsvc/nis_tags.h: Likewise.
44313 * nis/rpcsvc/yp.h: Likewise.
44314 * nis/rpcsvc/yp.x: Likewise.
44315 * nis/rpcsvc/ypupd.h: Likewise.
44316 * nis/yp_xdr.c: Likewise.
44317 * nis/ypupdate_xdr.c: Likewise.
44318
2f3e3dc7
UD
44319 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44320 mainly the body of pmap_getport. Add parameters to specify timeouts.
44321 (pmap_getport): Use __libc_rpc_getport.
44322 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44323 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44324 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44325
f3dcc2f9
AS
443262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44327
44328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44329 fanotify_mark.
44330
6d34eb5b
RM
443312010-08-27 Roland McGrath <roland@redhat.com>
44332
44333 * sysdeps/i386/i686/multiarch/Makefile
44334 (CFLAGS-varshift.c): New variable.
44335
9ea3de11
UD
443362010-08-27 Ulrich Drepper <drepper@redhat.com>
44337
c96d23fc
UD
44338 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44339 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44340
9ea3de11
UD
44341 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44342
44343 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44344
623aac7f
L
443452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44346
44347 * sysdeps/x86_64/strlen.S: Unroll the loop.
44348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44349 strlen-sse2 strlen-sse2-bsf.
44350 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44351 __strlen_no_bsf if bit_Slow_BSF is set.
44352 (__strlen_sse42): Removed.
44353 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44354 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44355
8b2b7715
RM
443562010-08-25 Roland McGrath <roland@redhat.com>
44357
44358 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44359 * sysdeps/x86_64/multiarch/varshift.c: New file.
44360 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44361 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44362 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44363 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44364
e73015f2
L
443652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44366
44367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44368 strlen-sse2 strlen-sse2-bsf.
44369 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44370 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44371 (__strlen_sse2): Removed.
44372 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44373 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44375 bit_Slow_BSF for Atom.
44376 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44377 (index_Slow_BSF): Define.
44378 (HAS_SLOW_BSF): Define.
44379
df24a73e
UD
443802010-08-25 Ulrich Drepper <drepper@redhat.com>
44381
44382 [BZ #10851]
44383 * resolv/res_init.c (__res_vinit): When no server address at all
44384 is given default to loopback.
44385
f2ac4868
RM
443862010-08-24 Roland McGrath <roland@redhat.com>
44387
09055553
RM
44388 * configure.in: Remove config-name.h generation.
44389 * configure: Regenerated.
44390 * config-name.in: File removed.
44391 * scripts/config-uname.sh: New file.
44392 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44393 ($(objdir)config-name.h): New target.
44394
f2ac4868
RM
44395 * sunrpc/rpc_parse.h: Avoid nested comment.
44396
73f27d5e
RH
443972010-08-24 Richard Henderson <rth@redhat.com>
44398 Ulrich Drepper <drepper@redhat.com>
44399 H.J. Lu <hongjiu.lu@intel.com>
44400
44401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44403 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44404 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44405 _mm_alignr_epi8 with _mm_loadu_si128.
44406 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44407 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44408 (__m128i_shift_right): Removed.
44409 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44410 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44411 * sysdeps/x86_64/multiarch/varshift.h: New file.
44412 * sysdeps/x86_64/multiarch/varshift.S: New file.
44413
84b9230c
MF
444142010-08-21 Mike Frysinger <vapier@gentoo.org>
44415
44416 * configure.in: Move assembler checks to before sysdep dir checking.
44417
9bbd0ddc
PB
444182010-08-20 Petr Baudis <pasky@suse.cz>
44419
44420 * LICENSES: Sync the sunrpc license.
44421
9da4bb31
UD
444222010-08-19 Ulrich Drepper <drepper@redhat.com>
44423
a7ab6ec8
UD
44424 * sunrpc/auth_des.c: Update copyright notice once again.
44425 * sunrpc/auth_none.c: Likewise.
44426 * sunrpc/auth_unix.c: Likewise.
44427 * sunrpc/authdes_prot.c: Likewise.
44428 * sunrpc/authuxprot.c: Likewise.
44429 * sunrpc/bindrsvprt.c: Likewise.
44430 * sunrpc/clnt_gen.c: Likewise.
44431 * sunrpc/clnt_perr.c: Likewise.
44432 * sunrpc/clnt_raw.c: Likewise.
44433 * sunrpc/clnt_simp.c: Likewise.
44434 * sunrpc/clnt_tcp.c: Likewise.
44435 * sunrpc/clnt_udp.c: Likewise.
44436 * sunrpc/clnt_unix.c: Likewise.
44437 * sunrpc/des_crypt.c: Likewise.
44438 * sunrpc/des_soft.c: Likewise.
44439 * sunrpc/get_myaddr.c: Likewise.
44440 * sunrpc/getrpcport.c: Likewise.
44441 * sunrpc/key_call.c: Likewise.
44442 * sunrpc/key_prot.c: Likewise.
44443 * sunrpc/openchild.c: Likewise.
44444 * sunrpc/pm_getmaps.c: Likewise.
44445 * sunrpc/pm_getport.c: Likewise.
44446 * sunrpc/pmap_clnt.c: Likewise.
44447 * sunrpc/pmap_prot.c: Likewise.
44448 * sunrpc/pmap_prot2.c: Likewise.
44449 * sunrpc/pmap_rmt.c: Likewise.
44450 * sunrpc/rpc/auth.h: Likewise.
44451 * sunrpc/rpc/auth_unix.h: Likewise.
44452 * sunrpc/rpc/clnt.h: Likewise.
44453 * sunrpc/rpc/des_crypt.h: Likewise.
44454 * sunrpc/rpc/key_prot.h: Likewise.
44455 * sunrpc/rpc/netdb.h: Likewise.
44456 * sunrpc/rpc/pmap_clnt.h: Likewise.
44457 * sunrpc/rpc/pmap_prot.h: Likewise.
44458 * sunrpc/rpc/pmap_rmt.h: Likewise.
44459 * sunrpc/rpc/rpc.h: Likewise.
44460 * sunrpc/rpc/rpc_des.h: Likewise.
44461 * sunrpc/rpc/rpc_msg.h: Likewise.
44462 * sunrpc/rpc/svc.h: Likewise.
44463 * sunrpc/rpc/svc_auth.h: Likewise.
44464 * sunrpc/rpc/types.h: Likewise.
44465 * sunrpc/rpc/xdr.h: Likewise.
44466 * sunrpc/rpc_clntout.c: Likewise.
44467 * sunrpc/rpc_cmsg.c: Likewise.
44468 * sunrpc/rpc_common.c: Likewise.
44469 * sunrpc/rpc_cout.c: Likewise.
44470 * sunrpc/rpc_dtable.c: Likewise.
44471 * sunrpc/rpc_hout.c: Likewise.
44472 * sunrpc/rpc_main.c: Likewise.
44473 * sunrpc/rpc_parse.c: Likewise.
44474 * sunrpc/rpc_parse.h: Likewise.
44475 * sunrpc/rpc_prot.c: Likewise.
44476 * sunrpc/rpc_sample.c: Likewise.
44477 * sunrpc/rpc_scan.c: Likewise.
44478 * sunrpc/rpc_scan.h: Likewise.
44479 * sunrpc/rpc_svcout.c: Likewise.
44480 * sunrpc/rpc_tblout.c: Likewise.
44481 * sunrpc/rpc_util.c: Likewise.
44482 * sunrpc/rpc_util.h: Likewise.
44483 * sunrpc/rpcinfo.c: Likewise.
44484 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44485 * sunrpc/rpcsvc/key_prot.x: Likewise.
44486 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44487 * sunrpc/rpcsvc/mount.x: Likewise.
44488 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44489 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44490 * sunrpc/rpcsvc/rex.x: Likewise.
44491 * sunrpc/rpcsvc/rstat.x: Likewise.
44492 * sunrpc/rpcsvc/rusers.x: Likewise.
44493 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44494 * sunrpc/rpcsvc/spray.x: Likewise.
44495 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44496 * sunrpc/rtime.c: Likewise.
44497 * sunrpc/svc.c: Likewise.
44498 * sunrpc/svc_auth.c: Likewise.
44499 * sunrpc/svc_authux.c: Likewise.
44500 * sunrpc/svc_raw.c: Likewise.
44501 * sunrpc/svc_run.c: Likewise.
44502 * sunrpc/svc_simple.c: Likewise.
44503 * sunrpc/svc_tcp.c: Likewise.
44504 * sunrpc/svc_udp.c: Likewise.
44505 * sunrpc/svc_unix.c: Likewise.
44506 * sunrpc/svcauth_des.c: Likewise.
44507 * sunrpc/xcrypt.c: Likewise.
44508 * sunrpc/xdr.c: Likewise.
44509 * sunrpc/xdr_array.c: Likewise.
44510 * sunrpc/xdr_float.c: Likewise.
44511 * sunrpc/xdr_mem.c: Likewise.
44512 * sunrpc/xdr_rec.c: Likewise.
44513 * sunrpc/xdr_ref.c: Likewise.
44514 * sunrpc/xdr_sizeof.c: Likewise.
44515 * sunrpc/xdr_stdio.c: Likewise.
44516
9da4bb31
UD
44517 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44518 handling.
44519
bdaa77bc
AS
445202010-08-19 Andreas Schwab <schwab@redhat.com>
44521
44522 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44523
fe2f79db
LM
445242010-08-19 Luis Machado <luisgpm@br.ibm.com>
44525
44526 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44527 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44528 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44529 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44530 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44531 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44532 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44533 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44534 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44535 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44536 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44537 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44538 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44539 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44540
b9b42ee0
AB
445412010-07-26 Anton Blanchard <anton@samba.org>
44542
44543 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44544 * malloc/arena.c (heap_trim): Likewise.
44545
1c06ba31
UD
445462010-08-16 Ulrich Drepper <drepper@redhat.com>
44547
44548 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44549 here. Not...
44550 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44551 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44552
f8392f40
L
445532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44554
44555 * sysdeps/i386/elf/Makefile: New file.
44556
3162f12e
AS
445572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44558
44559 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44560 from fanotify_init.
44561 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44563
28c90b2c
UD
445642010-08-15 Ulrich Drepper <drepper@redhat.com>
44565
44566 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44567 of strncasecmp_l.
1feccb6c 44568 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 44569
ca6bb004
UD
445702010-08-14 Ulrich Drepper <drepper@redhat.com>
44571
e9f82e0d
UD
44572 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44573 strncase_l-nonascii.
44574 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44575 Add strncase_l-ssse3.
44576 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44577 * sysdeps/x86_64/strcmp.S: Likewise.
44578 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44579 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44580 * sysdeps/x86_64/strncase.S: New file.
44581 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44582 * sysdeps/x86_64/strncase_l.S: New file.
44583 * string/Makefile (strop-tests): Add strncasecmp.
44584 * string/test-strncasecmp.c: New file.
44585
44586 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44587 warning.
44588
ca6bb004
UD
44589 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44590 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44591
052fa7b3
AS
445922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44593
44594 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44595
962dba78
UD
445962010-08-12 Ulrich Drepper <drepper@redhat.com>
44597
44598 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44599 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44600 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44601
bebff237
AM
446022010-05-01 Alan Modra <amodra@gmail.com>
44603
44604 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44605 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44606 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44607 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44608 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44609 tidying. Don't tail-call __sigjmp_save for static lib.
44610 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44611 save location.
44612 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44613 (CALL_MCOUNT): Add eh info, and nop after bl.
44614 (TAIL_CALL_SYSCALL_ERROR): New macro.
44615 (PSEUDO_RET): Use it.
44616 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44617 Correct save location of integer regs and cr.
44618 (_dl_profile_resolve): Correct cr save location. Delete nops
44619 after bl when SHARED. Reduce cfi size a little by better
44620 placement of cfi directives.
44621 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44622 make a stack frame. Instead use parm save area as a temp.
44623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44624 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44626 Don't make a stack frame for parent, use parm save area.
44627 Increase child stack frame to 112 bytes. Don't save unused reg,
44628 and adjust reg usage. Set up cfi on error recovery and
44629 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44631 (__makecontext): Add dummy nop after jump to exit.
44632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44633 Use correct parm save area and cr save, reduce stack frame.
44634 Correct cfi for possible PSEUDO_RET frame setup.
44635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44636 Branch to local label emitted by PSEUDO_RET rather than
44637 __syscall_error.
44638
02637374
AS
446392010-08-12 Andreas Schwab <schwab@redhat.com>
44640
44641 [BZ #11904]
44642 * locale/programs/locale.c (print_assignment): New function.
44643 (show_locale_vars): Use it.
44644
c3e2f19b
UD
446452010-08-11 Ulrich Drepper <drepper@redhat.com>
44646
3cdaa6ad
UD
44647 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44648 field.
44649 (struct statfs64): Likewise.
44650 (_STATFS_F_FLAGS): Define.
44651 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44652 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44653 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44654 (ST_VALID): Define locally.
44655 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44656 __statvfs_getflags, use the provided value.
44657 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44658 __ASSUME_STATFS_F_FLAGS.
44659
754f7da3
UD
44660 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44661
10b3bedc
UD
44662 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44663 Add sys/fanotify.h.
44664 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44665 fanotify_mask for GLIBC_2.13.
44666 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44667 fanotify_init and fanotify_mark.
44668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44669 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44670
c08fb0d7
UD
44671 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44672 Add prlimit.
44673 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44674 prlimit64 for GLIBC_2.13.
44675 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44676 prlimit64.
44677 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44678 syscall.
44679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44680 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44681 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44682 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44683 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44684 add prlimit alias.
44685 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44686
15bac72b
UD
44687 [BZ #11903]
44688 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44689 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44690
c3e2f19b
UD
44691 * nss/Makefile: Add rules to build and run tst-nss-test1.
44692 * shlib-versions: Add entry for libnss_test1.
44693 * nss/nss_test1.c: New file.
44694 * nss/tst-nss-test1.c: New file.
44695
44696 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44697 (__nss_configure_lookup): Set appropriate entry in
44698 __nss_configure_lookup to true.
44699 * nss/nsswitch.h: Define enum with indeces of databases in
44700 databases and __nss_database_custom arrays. Declare
44701 __nss_database_custom.
44702 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44703 to avoid using nscd when custom rules are installed.
44704 * nss/getXXbyYY_r.c: Likewise.
44705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44706
44707 * nss/nss_files/files-parse.c: Whitespace fixes.
44708
f15ce4d8
UD
447092010-08-09 Ulrich Drepper <drepper@redhat.com>
44710
44711 [BZ #11883]
44712 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44713 * posix/fnmatch_loop.c: Likewise.
44714
d22e4cc9
AK
447152010-07-17 Andi Kleen <ak@linux.intel.com>
44716
44717 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44718 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44719 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44720 * Versions.def [GLIBC_2.13]: Add.
44721
805bc17d
UD
447222010-08-06 Ulrich Drepper <drepper@redhat.com>
44723
44724 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44725 Also fail if tpwd after pwuid call is NULL.
44726
5a42321d
ST
447272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44728
44729 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44730 when converting to ms.
44731
fd3ebeda
ST
447322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44733
44734 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44735 EOPNOTSUPP errors with ENOTTY.
44736 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44737 EOPNOTSUPP errors with ENOTTY.
44738
73507d3a
UD
447392010-07-31 Ulrich Drepper <drepper@redhat.com>
44740
44741 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44742 Add strcasecmp_l-ssse3.
44743 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44744 strcasecmp.
44745 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44746 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44747 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44748
fe36dd02
UD
447492010-07-30 Ulrich Drepper <drepper@redhat.com>
44750
66f6765a
UD
44751 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44752
42e08a54
UD
44753 * string/Makefile (strop-tests): Add strcasecmp.
44754 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44755 strcasecmp_l-nonascii.
44756 (gen-as-const-headers): Add locale-defines.sym.
44757 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44758 * sysdeps/x86_64/strcasecmp.S: New file.
44759 * sysdeps/x86_64/strcasecmp_l.S: New file.
44760 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44761 * sysdeps/x86_64/locale-defines.sym: New file.
44762 * string/test-strcasecmp.c: New file.
44763
fe36dd02
UD
44764 * string/test-strcasestr.c: Test both ends of the range of characters.
44765 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44766
48cbc0d6
RM
447672010-07-29 Roland McGrath <roland@redhat.com>
44768
76e6d6bc 44769 [BZ #11856]
48cbc0d6
RM
44770 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44771
880113d9
UD
447722010-07-27 Ulrich Drepper <drepper@redhat.com>
44773
44774 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44775 for ld.so.
44776
deb9cabb
AS
447772010-07-27 Andreas Schwab <schwab@redhat.com>
44778
44779 * manual/memory.texi (Malloc Tunable Parameters): Document
44780 M_PERTURB.
44781
1c7570ff
RM
447822010-07-26 Roland McGrath <roland@redhat.com>
44783
44784 [BZ #11840]
44785 * configure.in (-fgnu89-inline check): Set and substitute
44786 gnu89_inline, not libc_cv_gnu89_inline.
44787 * configure: Regenerated.
44788 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44789
24fb0f88
UD
447902010-07-26 Ulrich Drepper <drepper@redhat.com>
44791
44792 * string/test-strnlen.c: New file.
44793 * string/Makefile (strop-tests): Add strnlen.
44794 * string/tester.c (test_strnlen): Add a few more test cases.
44795 * string/tst-strlen.c: Better error reporting.
44796
44797 * sysdeps/x86_64/strnlen.S: New file.
44798
8e96b93a
UD
447992010-07-24 Ulrich Drepper <drepper@redhat.com>
44800
44801 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44802 lower-latency instructions.
44803
dbc676d4
UD
448042010-07-23 Ulrich Drepper <drepper@redhat.com>
44805
44806 * string/test-strcasestr.c: New file.
44807 * string/test-strstr.c: New file.
44808 * string/Makefile (strop-tests): Add strstr and strcasestr.
44809 * string/str-two-way.h: Don't undefine MAX.
44810 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44811
f6a31e0e
AS
448122010-07-21 Andreas Schwab <schwab@redhat.com>
44813
44814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44815 strcasestr-nonascii.
44816 (CFLAGS-strcasestr-nonascii.c): Define.
44817 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44818 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44819 Remove unused attribute.
44820
5dbc3b6c
RM
448212010-07-20 Roland McGrath <roland@redhat.com>
44822
44823 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44824 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44825 ld.so.cache was broken. With it, there is no way to disable dsocaps
44826 like LD_HWCAP_MASK can disable hwcaps.
44827
23d101d8
EPM
448282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44829
44830 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44831
cc9f2e47
UD
448322010-07-16 Ulrich Drepper <drepper@redhat.com>
44833
44834 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44835 call in strcasestr.
44836 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44837 __strcasestr_sse42_nonascii.
44838 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44839 strcasestr-nonascii.c.
44840 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44841
77c1b069
LM
448422010-06-15 Luis Machado <luisgpm@br.ibm.com>
44843
44844 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44845 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44846 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44847 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44848
440566c3
UD
448492010-07-09 Ulrich Drepper <drepper@redhat.com>
44850
44851 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44852 fcntl.
44853
5be9d05d
AS
448542010-07-06 Andreas Schwab <schwab@redhat.com>
44855
c30b7ee2 44856 [BZ #11577]
5be9d05d
AS
44857 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44858 dl_signal_cerror.
44859
8a492a67
UD
448602010-07-06 Ulrich Drepper <drepper@redhat.com>
44861
44862 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44863 _PC_PIPE_BUF using F_GETPIPE_SZ.
44864
713df3d5
RM
448652010-07-05 Roland McGrath <roland@redhat.com>
44866
44867 * manual/arith.texi (Rounding Functions): Fix rint description
44868 implicit in round description.
44869
702e8f14
UD
448702010-07-02 Ulrich Drepper <drepper@redhat.com>
44871
44872 * elf/Makefile: Fix linking for a few tests to make recent linker
44873 happy.
44874
52ed8be9
AS
448752010-06-30 Andreas Schwab <schwab@redhat.com>
44876
44877 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44878 $(common-objpfx)libc_nonshared.a.
44879
f47c9a11
LM
448802010-06-21 Luis Machado <luisgpm@br.ibm.com>
44881
44882 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44883 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44884 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44885 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44886 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44887 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44888 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44889 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44904 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44905 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44906 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44907 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44908 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44909 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44910 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44911 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44912 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44913 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44914 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44915 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44930
6fb8cbcb
L
449312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44932
44933 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44934 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44935 * string/memmove.c (memmove): Renamed to ...
44936 (MEMMOVE): ...this. Default to memmove.
44937 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44938 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44939 (END_CHK): Define.
44940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44941 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44942 mempcpy-ssse3-back memmove-ssse3-back.
44943 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44944 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44945 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44946 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44947 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44948 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44949 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44950 * sysdeps/x86_64/multiarch/memmove.c: New file.
44951 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44952 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44953 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44954 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44955 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44956 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44957 Define.
44958 (index_Fast_Copy_Backward): Define.
44959 (HAS_ARCH_FEATURE): Define.
44960 (HAS_FAST_REP_STRING): Define.
44961 (HAS_FAST_COPY_BACKWARD): Define.
44962
4e733bac 449632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44964
44965 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44966 Restore proper fallback handling.
44967
63c4ed22
UD
449682010-06-19 Ulrich Drepper <drepper@redhat.com>
44969
ac2b484c
UD
44970 [BZ #11701]
44971 * posix/group_member.c (__group_member): Correct checking loop.
44972
63c4ed22
UD
44973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44974 OOM in getpwuid_r correctly. Return error number when the caller
44975 should return, otherwise -1.
44976 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44977 call returning > 0 value.
44978 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44979
765ade4b
AS
449802010-06-07 Andreas Schwab <schwab@redhat.com>
44981
44982 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44983 libc_nonshared.a from targets in modules-names.
44984
80da2e09
KS
449852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44986
44987 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44988 requires it.
44989
158db122
LM
449902010-06-10 Luis Machado <luisgpm@br.ibm.com>
44991
44992 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44993 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44994 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44995 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44996
caa78cf8
AS
449972010-06-02 Andreas Schwab <schwab@redhat.com>
44998
44999 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45000
b2ef2c01
UD
450012010-06-14 Ulrich Drepper <drepper@redhat.com>
45002
45003 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45004 and F_GETPIPE_SZ.
45005 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45006 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45009 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45010 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45011
fbd643b6
RM
450122010-06-14 Roland McGrath <roland@redhat.com>
45013
45014 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45015
f32f2869
JJ
450162010-06-07 Jakub Jelinek <jakub@redhat.com>
45017
45018 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45019 __REDIRECT followed by __THROW.
45020 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45021 * posix/getopt.h (getopt): Likewise.
45022
2a50c078
EPM
450232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45024
45025 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45026 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45027 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45028 in AT_FLAGS.
45029 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45030 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45031
eb5ad2eb
LM
450322010-05-28 Luis Machado <luisgpm@br.ibm.com>
45033
45034 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45035
3c88fe1e
L
450362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45037
45038 [BZ #11640]
45039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45040 Properly check family and model.
45041
d2f73151
TY
450422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45043
45044 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45045
ebd2e13d
LM
450462010-05-24 Luis Machado <luisgpm@br.ibm.com>
45047
45048 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45049
b32b8b45
UD
450502010-05-21 Ulrich Drepper <drepper@redhat.com>
45051
45052 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45053 symbol reference.
45054
9acbe24d
AS
450552010-05-19 Andreas Schwab <schwab@redhat.com>
45056
45057 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45058 symbol reference.
45059
f0ccf6ea
AS
450602010-05-21 Andreas Schwab <schwab@redhat.com>
45061
3d04ff3a
AS
45062 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45063 and internal_recvmmsg.
45064 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45065 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45066 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45067 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45068
f0ccf6ea
AS
45069 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45070 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45071 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45072
5b08ac57
AS
450732010-05-20 Andreas Schwab <schwab@redhat.com>
45074
45075 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45076
4828935d
LM
450772010-05-17 Luis Machado <luisgpm@br.ibm.com>
45078
45079 POWER7 optimizations.
45080 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45081 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45082
373d545e
UD
450832010-05-19 Ulrich Drepper <drepper@redhat.com>
45084
45085 * version.h: Update for 2.13 development version.
45086
21a2b1ae
AS
450872010-05-12 Andrew Stubbs <ams@codesourcery.com>
45088
45089 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45090 exceptions. Return 0.
45091
3f7dcb2b
RM
450922010-05-07 Roland McGrath <roland@redhat.com>
45093
45094 * elf/ldconfig.c (main): Add a const.
45095
5f24d53a 450962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45097
a160f8d8
UD
45098 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45099 (args_options): Add no-idn option.
45100 (ahosts_keys_int): Add idn_flags to ai_flags.
45101 (parse_option): Handle 'i' option to clear idn_flags.
45102
5f24d53a
UD
45103 * malloc/malloc.c (_int_free): Possible race in the most recently
45104 added check. Only act on the data if no current modification
45105 happened.
265bb1ce
UD
45106
45107See ChangeLog.17 for earlier changes.